Problems getting net going in Mandrake 9.0
I'm sure this question has been beaten to death, but I've had a good poke around here, and other places, and haven't found the help that I apparently need.
First, I just installed Mandrake 9.0 as a dual boot with Windows XP. They are on different hard drives and there are no issues there. My roommate has an XP box, and we have been sharing our cable internet (Rogers) connection using ICS. My machine is the gateway/server and his is the client. I've got an integrated nic that is connected to the modem, and a USB nic that connects to him. In XP, there are no problems whatsoever. Fast forward to last night. Got Mandrake installed without any problems. I can do everything in it, except connect to the internet. I went through the network wizard thing, and filled it out the way I thought it should. It has eth0 as the integrated nic and eth1 as the usb. It sees them both. I require DHCP to get my IP/DNS/Gateway, etc. from my ISP, so I set eth0 to be dhcp. I didn't give it a host name, as that's supposed to come through dhcp as well. My roommate is setup as 192.168.0.1 and netmask 255.255.255.0 in the XP setup, so that's what I put for eth1. End result is that I can't connect to the net, although my computer could briefly last night (when I rebooted it this morning, I couldn't anymore). As a result, neither can he, obviously. Anything that I'm missing here? If it's easier to go the command route, please tell me exactly what directory I need to be in to do it. Thanks in advance. |
If your roonmate has 192.168.0.1, it's not the right address for your eth1. But I guess it was just a mistake when typing.
Boot Mandrake, log in. See if it has eth0 up. If it does, open a terminal, then run the following commands: su (type root password when it asks you) route ifconfig Please copy result of 'route' and 'ifconfig' commands and post it here (copy to a file, for example, and then post). It will help much. |
Quote:
[root@localhost wayne]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 127.0.0.0 * 255.0.0.0 U 0 0 0 lo [root@localhost wayne]# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:140 (140.0 b) TX bytes:140 (140.0 b) |
I don't want to worry you, but there's no NIC configured, as I see from the output. Are you sure both were up when you run the commands?
|
Quote:
Oh, just one thing. When I am in Windows, my roommate's IP is, in fact, 192.168.0.1. Should it be something different in Linux. And just one more thing, a guy I was talking to last night said that Linux doesn't really like USB nics. Fact or fiction? He's a Redhat guy. Thanks. |
When your roonmapte's IP is 192.168.0.1, you must have a different one (for example 192.168.0.2). It won't work when 2 machines (well, 2 NICs, in fact) have the same IP.
I don't see much complains abut USB NICs. It's possibe that they're not so much popular. If Mandrake detects it, it should work. |
Quote:
Thanks for the info about the USB nic. |
OK, just for kicks, I took out the USB nic and tried to just get my machine to connect. It found the IP without any problems, but I still can't connect for some reason. I didn't give it a hostname (I don't have to in Windows) but I don't see why that would be an issue. This one is puzzling. Anyway, here's the route and ifconfig without the USB nic. The stars in the IP are just me trying to make it a bit harder for people to pick it off (I know anyone could get it if they wanted to).
[root@localhost wayne]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 65.*.*.* * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 65.*.*.* 0.0.0.0 UG 0 0 0 eth0 [root@localhost wayne]# ifconfig eth0 Link encap:Ethernet HWaddr 00:D0:09:F7:4F:17 inet addr:65.*.*.* Bcast:65.*.*.* Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:2951 (2.8 Kb) TX bytes:4130 (4.0 Kb) Interrupt:11 Base address:0xd800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:166 errors:0 dropped:0 overruns:0 frame:0 TX packets:166 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 |
It looks OK. What's wrong?
|
Quote:
No idea why it's not working... |
Let's test everything.
First, ping the IP you get for eth0. Then try to ping 64.179.4.146 (linuxquestions.org). How do the results look like (if possible, post them)? |
I actually uninstalled Mandrake 9.0, and then put on 9.1 to see if that would help. Nope, same thing.
So, I pinged the two IPs. I can't post the results because somehow I can't write to my FAT32 partition, or my floppy, or basically anything other than my Linux drive. Anyway, when pinging the IP I have for eth0, I get 100% packet loss. When I ping 64.179.4.146, I get 0% packet loss, with the average ping time being about 80-90 ms. In Windows, it's a constant 72ms. So, to recap... It's telling me that eth0 is up, but that I'm not connected. Trying to surf doesn't work. I can't ping myself, but I can ping the linuxquestions.org site. |
All times are GMT -5. The time now is 08:03 AM. |