Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I just resized the Windows partition on my hard drive and used the rest to install Linux; now it won't configure eth0 right. The device (SiS 900 PCI Fast Ethernet Adapter) works fine in Windows so it's not a hardware problem... I tried adding it in Network Configuration, which went fine, until I tried to activate the device and got the error:
Cannot activate network device eth0
It's rather confusing.. when Linux is booting up, it ends up failing the process of trying to start eth0 then because the device is "not present".
Another thing that confused me.. after installing RedHat and booting the computer.. it didn't run firstboot and hasn't yet.
btw the Linux distro I'm using is RedHat 8. Any help would be appreciated.
Hello,
Thanks for the help, but it's not working right; I went through the network setup, but when I did the network restart:
Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: sis900 device does not seem to be present, delaying eth0 initialization. [FAILED]
Let me know if you need any other information to try and figure it out.
Thanks for the help,
- Smiley
[edit] Another thing.. I'm not sure if it's really a SiS 900 card, but Windows seems to think it is.. It's not actually a network card though, it's built into the motherboard on my computer. [/edit]
Last edited by Ulaire Smiley; 03-22-2004 at 10:14 AM.
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
What motherboard is it and what does your motherboard docs refer to it as??
What does lspci return? A little more info and we might be able to help you better.
Hello,
I'm trying to figure out what I can about my computer, but my motherboard didn't come with a manual, and the only label on my network "card" says AMP. I think the motherboard is an AMD Pro 1800+. As for the output of lspci:
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
I'm going to try using an actual network card rather than the one built into my motherboard, and I'll post the results.
[edit] tried new network card, but the driver wasn't found in Linux, and I couldn't find one online so Internet still doesn't work on Linux on that comp [/edit]
Thanks,
- Smiley
Last edited by Ulaire Smiley; 03-22-2004 at 03:48 PM.
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
Okay, now what is the brand (name & model #) of the new network card you installed. Its like throwing bricks underwater trying to guess what driver you need if we don't know what specific piece of hardware you are trying to get working.
For example, I have an ASUS A7N8X Deluxe mobo that has onboard nforce2 sound, two onboard nics (one is a 3com 3c59x and the other is recognized as a Broadcom but I don't use it), a Nvidia GeForce 5600FX video card, AMD AthlonXP 2600+ processor, two 80GB Seagate 7200RPM hard drives, one 80GB Western Digital 7200RPM hard drive, a Lite-On 52x32x52x CDRW, Sony DRU530A DVD+-RW and a Sony Floppy drive all housed in a PC65B Lian-Li case (this isn't necessary for us to help you but I thought I'd finish my thought).
The error message from lspci sounds serious to me. This may be the source of the problems with your ethernet device. The setup of this device probably failed because it uses a similar method to get the information on the device as the lspci command.
Does the lspci command also fail for the root user? What directories are in /proc/bus?
Hello,
1) There are no files in /proc/bus/.
2) lspci isn't found for my normal user, and it fails for root.
3) Basic system specs:
AMD Pro 1800+
40 GB hard drive
256 MB DDR
Network card: Network Everywhere Fast Ethernet 10/100 card, Model No.: NC100
Another piece of information (dunno if this will help or not, but), when I log in I get this error:
Could not look up Internet address for localhost.localdomain. This will prevent GNOME from operating correctly. It may be possible to corrrect the problem by adding localhost.localdomain to the file /etc/hosts.
*tries adding localhost.localdomain to /etc/hosts*
Hm.. I'm not getting the error at login anymore, but my network is still not working. Another odd thing happening; when I enter 127.0.0.1 or localhost.localdomain into my browser, it returns "the connection was refused when trying to contact [what i entered]". It returns the same error for trying to access my router (192.168.0.1), but not any other IP addresses, which makes me wonder if it actually is getting to my router and being denied access.
Dumb question! Is the AMD Pro 1800+ the XP or the MP chip.
Back to the problem. If you google for the Ethernet howto, you can read up on how to add the reserve= and ether= boot options. This will allow you to disable probing the nic device and set it up manually.
The information you need, can be obtained when you are running windows.
I would also google for your particular computer and read what I could on any other problems with your model.
However the fact that lspci does not work, still bothers me. I think you may want to start over. Maybe a noapic option or noacpi option would help, but I don't know.
Tanknoles problem may be different because he is using VM ware. I believe that the kernel runs in user space in his situation. Does VM ware 4 support the 2.6 kernel?
To tell you the truth, you got further along installing Red Hat 8 on your machine. I ended up installing the next Mandrake instead when I got a new computer.
Hello,
I now have Mandrake 10.0 Community Edition running smoothly on that computer. Oddly enough, it fails while bringing up eth0 during boot, yet now the Internet works... Problem solved.
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558
Rep:
Quote:
Originally posted by charon79m All of you who are having issues with your network cards, please post the output of dmesg
This will give us some clues as to what happened with your network card.
Thanks!
MrKnisely
This is a good idea but please trim off the parts that are not relevant to your internet connection otherwise we will have posts that are a mile long and I know my head will hurt trying to decipher them all.
I'm having the same problem here. I'm running Mandrake 10.0 official on my Athlon 2100+, 1GB RAM, internet via ADSL. My network card is identified as a RealTek RTL8139. When I boot Mandrake it fails to bring up eth0 (and hangs there for over a minute). But as soon as I'm on the desktop my internet connection works.
What's causing the delay during boot? I'm guessing that mdk tries to use DHCP which it shouldn't, but have no clue how to find out.
Some logs from /var/logs/messages:
Code:
May 8 19:54:01 localhost harddrake: succeeded
May 8 19:54:01 localhost network: Setzen der Netzwerk-Parameter: succeeded
May 8 19:54:01 localhost network: Aktivieren der Loopback-Schnittstelle: succeeded
May 8 19:54:01 localhost ifup: Determining IP information for eth0...
May 8 19:54:03 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
May 8 19:54:16 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
May 8 19:54:41 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
May 8 19:55:04 localhost dhclient: No DHCPOFFERS received.
May 8 19:55:04 localhost ifup: failed.
May 8 19:55:04 localhost network: Schnittstelle »eth0« aktivieren: failed
May 8 19:55:04 localhost net_cnx_up: SIOCDELRT: No such process
May 8 19:55:04 localhost pppd[1182]: pppd 2.4.1 started by root, uid 0
May 8 19:55:04 localhost pppd[1182]: Using interface ppp0
May 8 19:55:04 localhost pppd[1182]: Modem hangup
May 8 19:55:04 localhost pppd[1182]: speed 1 not supported
May 8 19:55:04 localhost pppd[1182]: ioctl(PPPIOCGFLAGS): Bad file descriptor
May 8 19:55:04 localhost net_cnx_up: .
May 8 19:55:04 localhost pppd[1227]: pppd 2.4.1 started by root, uid 0
May 8 19:55:04 localhost pppd[1227]: Connect: ppp0 <--> /dev/pts/0
May 8 19:55:05 localhost pppd[1227]: local IP address 217.95.175.66 <29>May 8 19:55:05 pppd[1227]: remote IP address 217.5.98.50
May 8 19:55:06 localhost net_cnx_up: Connected!
May 8 19:55:06 localhost internet: Checking internet connections to start at boot succeeded
May 8 19:55:06 localhost portmap: portmap Start succeeded
May 8 19:55:09 localhost alsa: succeeded
May 8 19:55:10 localhost sound: Lade Mixer-Einstellungen: succeeded
And this is what dmesg gives me:
Code:
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
ts: Compaq touchscreen protocol output
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xf8846000, 00:e0:7d:a0:ef:02, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
inserting floppy driver for 2.6.3-7mdk-i686-up-4GB
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
NET: Registered protocol family 17
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: Printer, Canon S750
lp0: using parport0 (polling).
lp0: console ready
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0382be0(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
I have a similar problem getting my network card to work. I have a new Abit KV8-MAX3 motherboard with onboard NIC interface. In Windows the thing shows as a 3Com gigabit LAN aka 3C940 . Interstingly in my Mandrake Linux it shows the same 3C940, but doesn't know what to do with it.
I copied the driver for Linux that came with the board, pretaining to Linux to a folder and them copied the folder into my Linux "temp" folder. and there is a file there called "makefile" (I'm really really new). So how do I use makefile to install a driver?
I think all the paramaters are there for it to work in this folder, but not sure how to exactly do it.
vern jenefarm@direcway.com
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.