Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-21-2004, 10:09 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2004
Location: The Netherlands
Distribution: Debian GNU/Linux (Sarge)
Posts: 6
Rep:
|
No internet on Mandrake, eth0 fail. please help.
Hello everyone!
I have the following problem under Mandrake Linux 9.2 / 10.0
I can't connect to the Internet, because eth0 and also eth1 won't initialize on boot-up.
Both NIC's have a Realtek 8139 chip.
I have tried the following to solve the problem:
-The alias for both cards in modules.conf are 8139too, I replaced them with 8139cp, no result.
-I put 8139too and 8139cp in modprobe.preload, no result.
-Since I obtain a dynamic IP from my ISP, I tried to use DHCPCD, again without succes.
-ifconfig does seem to recognize my NIC, but it does not report any traffic whatsoever.
Since I'm relatively new to Linux,so I'm actually without a clue on how to solve my problem. I have
looked up similar problems on different websites and forums, but nothing seems to work.
(PS. I have no problems in connecting to the Internet under SuSE 9.0)
If anyone could help me solve this issue, I would be very gratefull.
Should you require any additional information, please let me know.
I thank you for reading my post. 
---------------------------------------------
AMD Athlon XP 2600+
768 MB RAM
Nvidia Geforce MX440
NIC RTL8139 PCI (eth1)
NIC RTL8139 in Mainboard.(eth0)
ECS K7VTA3 5.0 Mainboard

|
|
|
|
03-21-2004, 10:21 AM
|
#2
|
|
Member
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144
Rep:
|
You mentioned that it works under SuSE 9.0 . That's why it's a software problem.
Get rid of Mandrake. It's not a very friendly distro as it says it is (maybe friendly to itself).
I recommand you stay with SuSE 9.0 for a while and then switch to something more advance when you think you are ready.
|
|
|
|
03-21-2004, 10:23 AM
|
#3
|
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
Can you post the contents of these three files please.
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg.eth0
/etc/sysconfig/network-scripts/ifcfg.eth1
If you type modprobe 8139too do you get any errors?
If you type lsmod do you see the 8139too module is loaded?
<edit>These are the correct files.
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
Last edited by /bin/bash; 03-21-2004 at 10:27 AM.
|
|
|
|
03-22-2004, 09:28 AM
|
#4
|
|
LQ Newbie
Registered: Mar 2004
Location: The Netherlands
Distribution: Debian GNU/Linux (Sarge)
Posts: 6
Original Poster
Rep:
|
Thanks for adressing to my issue, both of you.
Maybe I will stick to SuSE 9.0, but for now I really want to check-out Mandrake 10.0
As for the following:
-When I type modprobe 8139too I get the same effect as when I press the <enter> key. It doesn't report anything.
-When I type lsmod I get the following things for 8139too:
8139too, used by 0
mii, used by 1, 8139too
------------------------------
/etc/sysconfig/network:
NETWORKING=yes
------------------------------
/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
BOOTPRO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=no
NEEDHOSTNAME=yes
-------------------------------
as for ifcfg-eth1, it is not an existing file. I only have ifcfg-eth0 in my /etc/sysconfig/network-scripts/ directory.
------------------------------------
Thanks!
Last edited by psikatana; 03-22-2004 at 09:30 AM.
|
|
|
|
03-22-2004, 11:51 AM
|
#5
|
|
Member
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144
Rep:
|
SuSE is a very good start. Stick with it.
|
|
|
|
03-22-2004, 03:18 PM
|
#6
|
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
OK modprobe is very noisy when it has errors but very quiet when it works, so no output is good.
So now what you need to do is restart the network and type ifconfig and see if you got an IP.
Post the results of these commands:
service network restart
ifconfig
route
Last edited by /bin/bash; 03-22-2004 at 03:19 PM.
|
|
|
|
03-23-2004, 11:57 AM
|
#7
|
|
LQ Newbie
Registered: Mar 2004
Location: The Netherlands
Distribution: Debian GNU/Linux (Sarge)
Posts: 6
Original Poster
Rep:
|
Ok, here you go
<service network restart> gives:
Shutting down loopback interface [OK]
Setting network parameters [OK]
Bringing up loopback interface [OK]
Bringing up interface eth0 [FAILED]
--------------------------------------------------
<ifconfig> then gives:
lo Link encap: local loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK running MTU: 16436 METRIC: 1
RX packets: 206, errors: 0, dropped: 0, overruns: 0, frame: 0
TX packets: 206, errors: 0, dropped: 0, overruns: 0, carrier: 0, collisions: 0, txqueuelen: 0
RX bytes: 15434 (15,0 Kb) TX bytes 15434 (15,0 Kb)
-------------------------------------------------------------------
<route> gives no output
-------------------------------
|
|
|
|
03-23-2004, 04:27 PM
|
#8
|
|
Senior Member
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802
Rep:
|
OK I got a few more questions.
Where are you getting your IP from? Is it a cable modem or DSL router? Do you know the IP of the device your computer connects to? What do the 2 files look like in Suse? Or did you overwrite the suse install? Why do you have 2 NIC cards?
Try adding this line to /etc/sysconfig/network then restart the network and see what happens.
GATEWAYDEV=eth0
|
|
|
|
03-24-2004, 06:04 AM
|
#9
|
|
LQ Newbie
Registered: Mar 2004
Location: The Netherlands
Distribution: Debian GNU/Linux (Sarge)
Posts: 6
Original Poster
Rep:
|
Hi,
I recieve my dynamic IP from a Motorola Cable Modem. I don't know the IP of the device I connect to.
I have 2 NIC's because I used to route internet from my Window$ computer, to another computer. But since I have developed some sort of grudge against the forementioned "OS", I wanted to use an alternative OS.
However, I plan to remove the second NIC, because I'm planning to get an ADSL connection with a Multi-PC modem. As for SuSE, it stopped connecting to the internet, since I put the second NIC in my computer. (I found out yesterday).
The strange thing is however, that even without the second NIC, Mandrake 9.2 and Mandrake 10.0 still failed to initialize eth0.
I will post the output in the network files under SuSE later on this day, as well as the results of adding the line. (I'm not behind my own computer right now.)
Bye!
PS: I always install an OS, after removing all the partitions on my harddisk. (except when I make it a dual-boot system)
Last edited by psikatana; 03-24-2004 at 06:10 AM.
|
|
|
|
03-24-2004, 11:45 AM
|
#10
|
|
LQ Newbie
Registered: Mar 2004
Location: The Netherlands
Distribution: Debian GNU/Linux (Sarge)
Posts: 6
Original Poster
Rep:
|
Well, I got rid of the connection problem in SuSE.
The second NIC caused some sort of problem, I guess. I removed it and now Internet is working fine again under SuSE. As a matter of fact, I'm viewing this using Konqueror. I also got rid of my USB problem under SuSE, by loading several USB modules before YAST initialized. Sorry...I'm little off-topic. 
|
|
|
|
04-18-2004, 01:47 PM
|
#11
|
|
Member
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141
Rep:
|
I'm also having problems with my NIC on boot with mandrake 10, interface initilisation fails on boot but works if enter "ifup eth0" (try that psikatana). But its a pain on every boot.
|
|
|
|
04-18-2004, 01:58 PM
|
#12
|
|
Member
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141
Rep:
|
I've solved it disable network hotplugging on the interface using mandrake control centre => network/internet => manage connections => Options Tab. Not sure which config file it is doesn't seem to appear in eth0 cfg file
|
|
|
|
04-19-2004, 05:37 AM
|
#13
|
|
Member
Registered: Apr 2004
Location: Singapore
Distribution: Debian Sarge/Sid
Posts: 52
Rep:
|
hmm.. with regard to the initial problem, u may try installing pump (another dhcp client).. then try su-ing n type:
# ifconfig lo mtu 1500
# ifconfig eth0 mtu 1500
# pump
if successful, " pump -i eth0 -s " should return ur IP address with some other required information.. Now, you just need to implement them to ur startup script 
|
|
|
|
04-19-2004, 06:09 AM
|
#14
|
|
Member
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144
Rep:
|
It could be a bug in Mandrake (yeah, another one). Try reporting it to them if you don't have to be in the Mandrake Club to do so.
But I still think you'd be better off with SuSE rather than Mandrake.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:22 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|