LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-24-2004, 02:06 PM   #1
skippy1283
LQ Newbie
 
Registered: Sep 2002
Posts: 19

Rep: Reputation: 0
network/internet problems with Mandrake 9.2


Hello,

I have Mandrake 9.2 intalled and eberything works except for the network/internet. I previously had Mandake 9.1 installed and I kad no problems with the network/internet.

I have a cable modem connected to a computer running Smoothwall which is a firewall/dhcp server. The smoothwall machine is then connected to a hub and then my computers are connected to the hub. I know that smoothwall is not the problem because I used it with mandrake 9.1 and I have a windoze machine connected to it and it works just fine.

I have used Mandrakes interent configuration tool more times than I can count and nothing I do works. I have also manually edited the /etc/sysconfig/network and the /etc/sysconfig/network-scripts/ifcfg-eth0 files. I have also edited the /etc/hosts and the /etc/resolv.conf files and input the correct data. Nothing I have done has worked. I have searched online and the only thing that I found is that sometimes windoze xp will prevent a linux comupter from getting on a network using dhcp, although I don't know if that is really true.

I know that the module for my NIC is 1839too and when I type "lsmod" it shows up. Also when I type "ifconfig" all that comes up is lo, but when I type "ifconfig eth0" then eth0 shows up, only it dosn't have an ipaddress, broadcast or netmask.

I don't know if this info will help but it might. My DNS servers are 192.168.100.1 and 192.168.100.2, and my gateway is 192.168.100.1. When I check the logs on my smoothwall machine, there are lines in the log that say that my computer requested an IP and then another line saying that the server tried to give it one, but my computer never gets an IP. I have been trying to figure this out for three days so any help would really be appreciated. Also if more information is needed I will post it as soon as I can.

Thanks
 
Old 05-24-2004, 02:27 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
The ifconfig data indicates that for some reason your network card isn't being activated even though the module is loaded. Compare /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/sysconfig/network-scripts/ifcfg-lo. If the line ONBOOT=yes is missing (or =no) for example then the network card won't be brought up at boot. Also check whether /etc/sysconfig/network has NETWORKING=yes (who knows?). Try running "ifup eth0" and see whether that brings the card up. If not then the card is missing configuration of IP address, netmask or something like that. If it does work then Mandrake is configured correctly but is just not bringing the card up at boot. If none of this works then post a copy of your ifcfg-eth0 script here.

Hope this helps - I haven't ever had Mandrake do this to me before.
 
Old 05-25-2004, 01:45 PM   #3
skippy1283
LQ Newbie
 
Registered: Sep 2002
Posts: 19

Original Poster
Rep: Reputation: 0
ok,

sorry it took so long to reply, I has to work last night. Anyway, I checked the /etc/sysconfig/network-scripts/ifcfg-eth0 file and it looks like this:

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes
NEEDHOSTNAME=no

I am not sure what the MII_NOT_SUPPORTED means, but everything else seems fine to me. When I tried "ifup eth0" it came up as:

Determining IP information for eth0. . .
/sbin/ifup: line 493: 3790 Hangup
/etc/init.d/tmdns relaod >/dev/null 2>&1

I'm not sure what all that means either but I don't think it's good.
 
Old 05-25-2004, 04:03 PM   #4
skippy1283
LQ Newbie
 
Registered: Sep 2002
Posts: 19

Original Poster
Rep: Reputation: 0
ok, now when I type "ifconfig" I get:

eth0 Link encap:Ethernet HWaddr 00:50:2c:06:6d:a4
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:586 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0. 0 b) TX bytes:0 (0. 0 b)

eth0:9 Link encap:Ethernet HWaddr 00:50:2c:06:6d:a4
inet addr:127.255.255.255 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interupt:18 Base address:0x2000

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:342 errors:0 dropped:0 overruns:0 frame:0
TX packets:342 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:26589 (25.9 kb) TX bytes:26589 (25.9 kb)

I'm not sure what the eth0:9 is but this is all confusing me and I'm hoping someone can shed some light on this problem for me.

Thanks
 
Old 05-26-2004, 05:00 PM   #5
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
The eth0:9 means that for some reason your network card has been IP aliased to have two IP addresses. My suspicion is that your DHCP client is configured wrong and that is why it fails to obtain a DHCP lease. The DHCP client may well be assigning the 127.255.255.255 to eth0:9 (thereby creating eth0:9) as well. On my Mandrake install the DHCP client stores its configuration in dhclient.conf although this is Mandrake 10 so Mandrake 9.2 may use something else (e.g. dhcpcd.conf). As I don't use DHCP personally I can't think what kind of configuration error would cause this. A further thought: check whether there is any firewall set up ("iptables -L" will list the current rules).

By the way MII (I have no idea what it stands for) is a method whereby certain network cards/kernel modules can have the connection speed, duplex state, etc. set. The MII_NOT_SUPPORTED=yes line is merely to say that this doesn't work with your card and so there is no point in the OS trying. I am sorry I can't be more helpful however I have practically no experience with DHCP.
 
Old 05-31-2004, 03:43 AM   #6
Rnd227
Member
 
Registered: Mar 2004
Location: Copenhagen, Denmark
Distribution: Mandrake 10.1 Community
Posts: 39

Rep: Reputation: 15
I got that same issue fixed by booting with an option "noapic"
 
  


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
Network and Internet Problems rowinter Fedora 0 11-13-2004 09:48 AM
Internet Problems? Network unreachable plehman Fedora 0 07-11-2004 05:18 PM
Can't connect to Network/Internet with Mandrake 9.1 ttung Linux - General 9 04-12-2004 10:01 PM
No network/internet with Mandrake wx9j Linux - Wireless Networking 3 12-23-2003 03:06 PM
internet/network connection problems denster23 Linux - Networking 3 06-07-2002 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:18 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