LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2003, 01:06 PM   #1
sorensilk
LQ Newbie
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.1
Posts: 14

Rep: Reputation: 0
Angry No Linux internet again but in a different way.


Here's what I've got. A Windows 98 machine that is hooked up to a hub, a cable modem hooked into the hub and a Mandrake 9.1 machine hooked into the hub.

Here's what's happening. The Windows machine can acess the internet. The Mandrake one used to be able to. I reinstalled Mandrake on a bigger hard drive and added some packages. Since then I haven't been able to access the internet.

When I would access it before it would have the same IP address (at least when i when to an outside site like whatismyip.com). I don't know if that makes a difference or not. I've searched around a ton and asked a friend of mine who's a little better at Linux than I am but we haven't been able to fix it. Can some one please give me some step by step troubleshooting ideas?

I'm really new to Linux but I love it already, I just need a veteran to hold my hand in the beginning. I've been working on this for almost a week and I'm starting to get frustrated. Thanks everyone.
 
Old 10-17-2003, 01:22 PM   #2
Aerlock
LQ Newbie
 
Registered: Oct 2003
Location: Earth
Distribution: Mandrake 9.2
Posts: 29

Rep: Reputation: 15
It sounds like you need a router. I was having a similar issue with 2 windows machines and a hub when I first got my cable modem. The only options I had were to get a router or to pay an extra $5-$6 a month for a second IP address, and since I have an old laptop also that I use once and a while I went for the router. Hope this helps.
 
Old 10-17-2003, 01:33 PM   #3
sorensilk
LQ Newbie
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Well, I thought about that but it was working before. I don't ever use both computers at the same time so it shouldn't matter if they have the same IP address. If it was working before there has to be something I can do to make it work again.
 
Old 10-17-2003, 01:37 PM   #4
Aerlock
LQ Newbie
 
Registered: Oct 2003
Location: Earth
Distribution: Mandrake 9.2
Posts: 29

Rep: Reputation: 15
I forgot to mention that until I went and got a router every time I wanted to switch machines I had to disconnect the first machine, turn off the cable modem for about 30 secs, and then connect the second machine.
 
Old 10-17-2003, 01:44 PM   #5
sorensilk
LQ Newbie
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Aerlock
I forgot to mention that until I went and got a router every time I wanted to switch machines I had to disconnect the first machine, turn off the cable modem for about 30 secs, and then connect the second machine.
Well, when it was working I never had to do that. I specifically checked it and I could browse a webpage on the Linux machine then walk into the other room and browse other pages on the Windows machine. They never screwed each other up. it worked for a few days then it quit working after I re-installed. Any more ideas?
 
Old 10-17-2003, 08:56 PM   #6
Aerlock
LQ Newbie
 
Registered: Oct 2003
Location: Earth
Distribution: Mandrake 9.2
Posts: 29

Rep: Reputation: 15
Well I've just about exhausted my knowledge on the subject. The only thing left to do that I can think of is to check and make sure your network card is configured properly in Mandrake. If it is I'd try to connect your cable modem directly to the Mandrake machine and see if you can hit the internet that way. If you can then you need to check your cabling setup. If you can't get it to work after that someone else is going to have to take over for me because I know next to nothing on troubleshooting cabling problems.
 
Old 10-18-2003, 04:22 AM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I have very little clue about how cable modems work (and am probably about to prove it) but I thought that the device expected to be dealing with a fixed hardware network address (i.e. the code hardwired into the network interface) and got confused if this code changed. If this is so it might be necessary at least to power the modem off/on when changing the machine accessing it.

In fact I never heard of this modem/hub arrangement before. I'm not surprised there are unpredictable problems.
 
Old 10-20-2003, 08:22 AM   #8
sorensilk
LQ Newbie
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Well, I did a little more troubleshooting this weekend and it I still haven't gotten this figured out. I tried shutting off the cable modem and turning it back on and it still didn't work. I know it's not a hardware issue because I'm dual booting on the Linux machine and when I go back to Windows the two computers can see each other on the Network. I'm still going to try hooking the Linux box straight to the cable modem and see if it works that way. I think part of the problem is the Windows 98 machine because when I go to Control Panel>Add Remove programs>Windows Setup>Internet tools>and then try to click on Share Internet Connection it says I have to setup my harware first. Except all my hardware is setup and I didn't mess with any of that last time when it was working. Anyone else have any ideas? Please...
 
Old 10-20-2003, 08:34 AM   #9
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
I'd suggest noting down the settings for your network connection under windows, then booting into Linux and seeing if there's anything different between the two.

Can you ping external IPs?
 
Old 10-20-2003, 11:09 AM   #10
sorensilk
LQ Newbie
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Which settings should I be comparing between Windows and Linux?

Nope, I can't ping external IP's. I can't ping the computer with the internet connection either. It says that the network is unavailable. But when I'm running the computer in Windows I can ping the Internet PC and even run a VNC program to control the internet PC.
 
Old 10-20-2003, 11:22 AM   #11
Zunger
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 8.0
Posts: 6

Rep: Reputation: 0
when you boot up does your eth0 device boot up or fail?
can try /sbin/ifup eth0 (i think) and post what that says, if its *working* you might need to change your DHCP settings
 
Old 10-20-2003, 02:36 PM   #12
sorensilk
LQ Newbie
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Zunger
when you boot up does your eth0 device boot up or fail?
can try /sbin/ifup eth0 (i think) and post what that says, if its *working* you might need to change your DHCP settings
It doesn't fail but it takes a really long time to check it. I'll try /sbin/ifup eth0 as soon as I get home.
 
Old 10-20-2003, 09:36 PM   #13
sorensilk
LQ Newbie
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Zunger
can try /sbin/ifup eth0 (i think) and post what that says, if its *working* you might need to change your DHCP settings
Well, it said "Determining IP information for eth0..." then it said "done."

It didn't give me any errors or anything, it just said "done". Does that mean I need to mess with the DHCP settings? What should I be trying to do? I haven't messed with DHCP before. Again, thanks to everyone helping me out so far. We're gonna get this figured out!
 
Old 10-21-2003, 11:14 AM   #14
sorensilk
LQ Newbie
 
Registered: Oct 2003
Location: Texas
Distribution: Mandrake 9.1
Posts: 14

Original Poster
Rep: Reputation: 0
Anyone else have any ideas?
 
Old 10-21-2003, 02:35 PM   #15
phekno
Member
 
Registered: May 2003
Distribution: Gentoo, Slackware
Posts: 75

Rep: Reputation: 15
I don't know how much I will be able to help you as I have never actually done what I'm about to tell you.

First let me get something straight. You have 2 computers, a hub, and a cable modem and you want to be able to look at the internet from both computers at the same time. If I have this correct then you have 3 options.

1. Buy a "Cable/DSL Router" from your favorite electronics giant. (i.e. Best Buy, Circuit City, CompUSA, etc). Turn everything off (cable modem, computers, everything.) Connect both computers to the router (probably ports 1 and 2 or something like that) and then connect the cable modem to the WAN port (or something similar) on the router. First power up the cable modem and wait until it has acquired a signal, etc. Then power up the router and wait about another 30 seconds to 1 minute. Then power up your computers and that might just work depending on the network settings of your computers. (This is currently how I have my network setup using 2 computers. windows and linux)

2. Setup IP Masquerading (?sp). This is what I have never tried. For more information look up the HOWTO at www.tldp.org. This option is probably the hardest and may require you to recompile the kernel. (I haven't tried this YET. But I do plan on it in the next couple of days)

3. Setup Internet Connection Sharing on your Windows PC. I did this once with Windows 2000 Pro once and it worked. I don't know how it works now, but would probably work if you did your research.

I hope this was helpful.

Phekno
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XP-Linux Internet network linux gateway ALInux Linux - Networking 1 05-16-2005 06:11 AM
allow only Linux for internet masand Linux - General 9 04-28-2005 10:19 PM
ok. reply if you can help me with my modem, Linux+Internet= :), Linux €/ Internet= Wi carrie Linux - Hardware 1 10-24-2004 10:13 AM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
sharing internet connection from linux to another linux priest_judas Linux - Networking 7 12-15-2003 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration