LinuxQuestions.org
Review your favorite Linux distribution.
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 07-23-2003, 02:30 PM   #1
kid88
LQ Newbie
 
Registered: Jul 2003
Location: London, ON
Posts: 9

Rep: Reputation: 0
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.
 
Old 07-23-2003, 03:50 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
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.
 
Old 07-23-2003, 06:25 PM   #3
kid88
LQ Newbie
 
Registered: Jul 2003
Location: London, ON
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Mara
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.
OK, here you go (sorry if it's a bit mangled):

[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)
 
Old 07-24-2003, 03:56 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
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?
 
Old 07-25-2003, 11:52 AM   #5
kid88
LQ Newbie
 
Registered: Jul 2003
Location: London, ON
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Mara
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?
It said that eth0 was up, but nothing about eth1. When I saw 127.0.0.1, I knew something was rotten in the state of Denmark. I'll go through the wizard (again) and see what happens. I know the networks runs when I'm in Windows, so either Mandrake doesn't like one (or both) of the nics, or I'm not doing something right.

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.
 
Old 07-25-2003, 01:27 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
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.
 
Old 07-25-2003, 01:40 PM   #7
kid88
LQ Newbie
 
Registered: Jul 2003
Location: London, ON
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Mara
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.
Oh, I see what you're talking about. My machine connects directly to the internet (no router or hub) so my IP is the IP that my ISP assigns me. Then, my roommate's is 192.168.0.1 because he connects through my computer (using a cross-over cable).

Thanks for the info about the USB nic.
 
Old 07-25-2003, 02:18 PM   #8
kid88
LQ Newbie
 
Registered: Jul 2003
Location: London, ON
Posts: 9

Original Poster
Rep: Reputation: 0
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 000: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
 
Old 07-26-2003, 03:49 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
It looks OK. What's wrong?
 
Old 07-27-2003, 12:54 AM   #10
kid88
LQ Newbie
 
Registered: Jul 2003
Location: London, ON
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Mara
It looks OK. What's wrong?
I don't have any kind of connection. Can't surf or do anything. In the control panel, it says that eth0 is up, but that I'm not connected. I hit connect and it says there was an error and to check the configuration or some such thing.

No idea why it's not working...
 
Old 07-27-2003, 02:44 PM   #11
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,570

Rep: Reputation: 171Reputation: 171
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)?
 
Old 08-10-2003, 11:12 AM   #12
kid88
LQ Newbie
 
Registered: Jul 2003
Location: London, ON
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
hw to connect net on Mandrake 10.1 vishalsharmait Linux - Networking 5 10-23-2005 06:21 AM
Mandrake 10 sound & net problems thtr2k Linux - Networking 25 04-27-2005 10:48 PM
Mandrake 10 can't connect to net ryland22 Mandriva 5 11-19-2004 10:43 PM
Help! Mandrake 9.1 user with net connection problems. KiLLaWaBBiT Linux - Software 9 04-02-2003 12:42 PM
Mandrake 9.1, net connection problems KiLLaWaBBiT Linux - Distributions 6 03-31-2003 04:14 PM


All times are GMT -5. The time now is 11:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration