Problem in activating eth0
Hi,
I am new to Linux. I am using Fedora4 and I was trying to bring up eth0 and I got the following error message. SIOCSIFFLAGS:Invalid argument I used the command: ifconfig eth0 up and I got the error message. I also tried /etc/init.d/network restart and I got the same error message. Any solutions??? TIA Gaurav |
FC4 aye?
you could try: ifup eth0 dhclient eth0 Did you try Network Device Control ? Now... post output of ifconfig -a Please edit your profile to show your distro and some idea of your location. It will help folk answer your questions. New to FC4 ... take a look at: www.fedorafaq.org www.mjmwired.net |
Hi Simon,
I tried those command but could not activate eth0.I have FC4 installed on HP pavilion dv1000. ifup eth0 gave the same error SIOCSIFFLAGS:Invalid argument dhclient eth0 gave no errors but eth0 was not activated as I was not able to connect to the net. Following was the output of ifconfig-a: eth0:Link encap:Ethernet HWaddr: ....... Broadcast multicast MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 frame:0 collision:0 txqueuelen:1000 Interrup:16 Base address:0x3000 lo:....... sit0:..... |
i dunno but.. try ifconfig eth0 192.168.0.1
replace that with whatever IP you want it ot have |
FC4 should automatically bring up your ethernet connection. Are you sure that your adapter is properly detected by fedora. If you're using gnome go the hardware browser and check that its listed properly. If not, go from there.
|
I see there is one question I asked not answered...
Quote:
FC4 does not automatically bring the ethernet connection up... only if you were on a network when you first started. (At least - that's so with mine. I had to bring eth0 up in the ndc to get connected.) Have you configured eth0 for your network? Are you plugged in? |
Thanx to everybody for responding.
I did use the Network configuration utility in Fedora, the one which u get on typing neat in the konsole. There again when I click on activate for eth0 I get the same error. SIOCSIFFLAGS:Invalid Argument. One more thing, everytime I face a problem in Linux I have to boot windows and then google for the problem as I am not connected to the net on Linux. Is there any solution for this so that I dont restart everytime. |
> FC4 should automatically bring up your ethernet connection.
Yes, during bootup it does try to bring up eth0 but the same error message appears there as well. Bringing up eth0 [Failed] SIOCSIFFLAGS:Invalid Argument. |
Quote:
Linux Rescue CDs can be useful here, as can live distributions like knoppix. (Knoppix in particular because of it's legendary hardware recognition.) And, of course, there is always keeping several ways of accessing the internet. Keep a modem handy as well as an ethernet nic - that way one or the other is bound to be going. (Though, usually, ethernet is more reliable.) |
Quote:
I'm not sure what you mean by "typing neat" (typo?) but I get it from the main menue > system tools > network device control. It is unusual for users to be able to activate eth0 from the NDC. Anyway - ndc also ha a "configure" button? This takes you to the "network configuration" dialog - you get an option to start the service there too (worth a try but unlikely to work given past results). In Network Configuration, you can check your hardware status to see what it can see. You can also destroy the eth0 configuration - I am suggesting you do this, then use the internet configuration wizard (main > system tools > internet configuration wizard) to add a new ethernet connection. This should probe for your card, detect it, and walk you through configuring it properly. BTW: what is this card? (lspci) I take it this card works under <sigh> windows? |
Hmmm... done some brainstormin with some more savvy folk than me.
I take it this card has not been used in linux before? And that this is a pretty new installation of FC4? Did you skip the network configuration in anaconda (when you installed)? (If got called localhost - then you probably skipped.) You see, the serious money in on the driver being absent or wrong. lsmod (to check drivers) lspci (to tell us what card this is) It may be a matter of just modprobe <driver>. Some other things to check: What does your /etc/sysconfig/network-scripts/ifcfg-eth0 say? What is in /etc/sysconfig/networks? If this is a pci card, try reseating it, or using it in another slot. I found an article about sharing interrupts between SCSI and Ethernet being a no-no... http://linuxmafia.com/faq/VALinux-kb...ags-error.html Of course - removing the configuration and reinstalling would probably load the correct driver as well. It may end up as, conceptually, the simplest approach. |
More:
http://linuxmafia.com/faq/VALinux-kb...ags-error.html Quote:
Follow the advice above. At this point I'd need feedback before continuing. |
Hi Simon,
Thanx a lot for your continued help. The last link does look like my problem and I think it might fix it. Currently I am in my office and I would try it out tonight. Thanx once again for your help. |
ifconfig-a: gives this
eth0:Link encap:Ethernet HWaddr: ....... Broadcast multicast MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 frame:0 collision:0 txqueuelen:1000 Interrup:16 Base address:0x3000 and I checked /proc/pci and somewhere it contained the same address. I am not sure if that is causing the problem. Following was the piece in proc/pci with the same address: Bus6,device0,function0: Class 0200:PCI device 10ec:8136(rev16) IRQ16 Master Capable Latency=64 Min Gnt=32 Max Lat=64 I/O at 0x3000[0x30ff] I tried to make the changes you suggested in the BIOS settings but I could not find the option. In any case I dont think it woul be safe to make changes to BIOS settings without being sure abt what I am doing. isnt there any other way out. |
I also installed fedora again. During installation it gives two options for setting the hostname:
-> automatically via DHCP -> Manually In my earlier installation I had selected automatically via DHCP. This time I changed it to Manually and provided the IP address, subnet mask.... I thought this would solve the problem but again I got the same error:SIOCSIFFLAGS:Invalid argument |
All times are GMT -5. The time now is 11:12 AM. |