Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eth0 doesnt work after reboot!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Invincible_777
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 107
Location: Washington, USA

PostPosted: Sun Nov 14, 2004 3:14 am    Post subject: Eth0 doesnt work after reboot! Reply with quote

This group is the best resourse available for installing Gentoo (duh!) But really, I could not have done it without these forums. 8) So i managed to boot, i cant seem to boot my correct kernel, but i will figure that out later. Right now, i can get into my installed Gentoo terminal, and every works - until i try to emerge. You guessed it, it work connect, i type ifconfig - all i see is lo! What did I miss?? :?: :idea: (actually, i use a Netgear 311g wireless pci network card primarily, so i am looking for madwifi drivers too...) :idea:
_________________
Carry out the bigger will for your life....
Back to top
View user's profile Send private message
Invincible_777
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 107
Location: Washington, USA

PostPosted: Sun Nov 14, 2004 3:15 am    Post subject: Reply with quote

lol, i meant *wont* connect.
_________________
Carry out the bigger will for your life....
Back to top
View user's profile Send private message
gentoo_lan
l33t
l33t


Joined: 08 Sep 2004
Posts: 891
Location: Charles Town, WV

PostPosted: Sun Nov 14, 2004 5:11 am    Post subject: Reply with quote

You are going to have to get a program like ndiswrapper or driverloader to install the proper drivers for your wireless card. You can go to: http://ndiswrapper.sourceforge.net/ to find the latest version of ndiswrapper. They also have links so you can search for the correct driver.
Back to top
View user's profile Send private message
damnreds
n00b
n00b


Joined: 01 Oct 2004
Posts: 51
Location: Darned if I should know.

PostPosted: Sun Nov 14, 2004 5:23 am    Post subject: Reply with quote

did you see the connect to the network fail during the boot-up process? that is, do you know for sure that your computer is even trying to connect to the network with your eth0?

post the outputs of:
Code:
cat /etc/resolv.conf
/sbin/ifconfig eth0
/sbin/route -n


do you connect with dhcp?
if so, also post the outputs of:
Code:
ps ax | grep dhcp
Back to top
View user's profile Send private message
damnreds
n00b
n00b


Joined: 01 Oct 2004
Posts: 51
Location: Darned if I should know.

PostPosted: Sun Nov 14, 2004 5:24 am    Post subject: Reply with quote

gentoo_lan wrote:
You are going to have to get a program like ndiswrapper or driverloader to install the proper drivers for your wireless card. You can go to: http://ndiswrapper.sourceforge.net/ to find the latest version of ndiswrapper. They also have links so you can search for the correct driver.

yes, it is most likely a driver problem.
Back to top
View user's profile Send private message
Invincible_777
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 107
Location: Washington, USA

PostPosted: Sun Nov 14, 2004 5:28 pm    Post subject: Reply with quote

So i type all that stuff in, and i recieve this output:

[code]cat /etc/resolv.conf
domain REPNAZ nameserver 64.139.97.3 nameserver 64.139.101.0

[code]/sbin/ifconfig eth0
eth0: error fetching interface infomation: Device not found[/code]

[code]/sbin/route -n
Kernel IF routing table
Destination Gateway Genmask Flags Metric Ref Use Iface[/code]

[code]ps ax | grep dhcp
2794 tty1 S 00:grep dhcp[/code]

(and for the wireless drivers, i said i wanted madwifi. nothing else - i already use madwifi in FC2. But i found the drivers etc. in portage)
_________________
Carry out the bigger will for your life....
Back to top
View user's profile Send private message
damnreds
n00b
n00b


Joined: 01 Oct 2004
Posts: 51
Location: Darned if I should know.

PostPosted: Tue Nov 16, 2004 4:24 am    Post subject: Reply with quote

yup, i think that it is definately a problem with your card's drivers (meaning they don't exist). your computer doesn't seem to even see the card.

I don't know much about wireless cards, so I don't know what you should try next, but I would definately recommend:

1) visiting the manufacturer's website and looking for drivers
2) contacting the manufacurer's costomer support to see if they make a linux driver
3) search the internet and for drivers for your hardware/compatible with your hardware (try here first: http://www.driverguide.com/)
4) search the forums here, at linuxquestions.org, and anywhere else you can think of, for people who were once in your predicament.

Sorry I couldn't be of more help.
Back to top
View user's profile Send private message
Invincible_777
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 107
Location: Washington, USA

PostPosted: Tue Nov 16, 2004 6:59 am    Post subject: Reply with quote

I was wondering if i was going to get help at all, so anything would have been good to hear. I would like to know how i would install any kind of driver on my system right now, is it as simple as booting from the live cd and emerging?? Because i looked, and i saw madwifi drivers (the driver i successfully use in FC2), but when i tried to emerge it there was some kind of error. Anyway, if i can get my gosh darned REALTEC 8*** whatever, i can emerge my fluxbox, apps, any other drivers, and i will be fine and dandy. I mean, it's not like i would'nt have a connection, just not in Gentoo right? anyway, any and all help is always unmercifully desired.



Thanks!
_________________
Carry out the bigger will for your life....
Back to top
View user's profile Send private message
gentoo_lan
l33t
l33t


Joined: 08 Sep 2004
Posts: 891
Location: Charles Town, WV

PostPosted: Tue Nov 16, 2004 7:15 am    Post subject: Reply with quote

Quote:
You are going to have to get a program like ndiswrapper or driverloader to install the proper drivers for your wireless card. You can go to: http://ndiswrapper.sourceforge.net/ to find the latest version of ndiswrapper. They also have links so you can search for the correct driver.


I have told you what to do. Try this and see if it works.
Back to top
View user's profile Send private message
hotsnail
n00b
n00b


Joined: 05 Nov 2004
Posts: 26

PostPosted: Tue Nov 16, 2004 10:15 am    Post subject: Reply with quote

So you allso have a Wired network adapter? a Realtec??? And you used this adapter to install?
How did you make your kernel? Manual, of with Genkernel?
If Manual, did you add the Realtec driver to your kernel? If not: make a new kernel with these drivers, and than it should work...
Back to top
View user's profile Send private message
Invincible_777
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 107
Location: Washington, USA

PostPosted: Fri Nov 19, 2004 5:08 am    Post subject: Reply with quote

k, guys, should i be surfing on my livecd, or my installed system???? you have not told me that. And when i emerge ndiswapper, or anything, will it just load up as a module in the boot process of the installed system, or do i have to do something to enable it once i am logged in??

I keep getting a "netmount" ERROR during prompt. so I know it is trying to start it. And as for the wireless, whatever is easiest to get working first. I can always emerge whatever i want afterward. Sorry, i hope i am not being a nuisence, i am just so close i want to finish before i lose interest for a long time.
_________________
Carry out the bigger will for your life....
Back to top
View user's profile Send private message
f3lix85
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 78

PostPosted: Fri Nov 19, 2004 7:46 am    Post subject: Network Device Problems Reply with quote

I have the same problem but it is with a wired net adapter.

Code:
*Bringing eth0 up via DHCP...
/sbin/rc: line 109: /sbin/dhcpcd: No Such file or directory        [!!]
*error: Problem starting needed services
* "netmount" was not started.


cat /etc/resolv.conf
Code:
domain homenetwork
nameserver 192.168.1.1
nameserver 192.168.1.1
search myhome.westell.com


Code:
Kernel IP Routing table
Destination  127.0.0.0
Gateway 127.0.0.1
Genmask 255.0.0.0
Flags UG
Metric 0
Ref 0
Use 0
Iface lo


/sbin/ifconfig eth0
Code:
eth0: error fetching interface information: Device not found


ps ax | grep dhcp
Code:
1267 vc/1 St 0:00 grep dhcp


Im hopeing it is as easy as recompiling the kernel the correct drivers.
Back to top
View user's profile Send private message
f3lix85
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 78

PostPosted: Fri Nov 19, 2004 7:49 am    Post subject: Forgot Reply with quote

I forgot to ask what is the command to scan the PCI bus for the devices?
Back to top
View user's profile Send private message
f3lix85
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 78

PostPosted: Fri Nov 19, 2004 8:28 am    Post subject: Network adapter Detected Reply with quote

My system now detects the network card but it doesnt have an IP address. Still having the:
Code:
*Bringing eth0 up via DHCP...
/sbin/rc: line 109: /sbin/dhcpcd: No Such file or directory        [!!]
*error: Problem starting needed services
* "netmount" was not started.

problem
Back to top
View user's profile Send private message
hotsnail
n00b
n00b


Joined: 05 Nov 2004
Posts: 26

PostPosted: Fri Nov 19, 2004 9:12 am    Post subject: Re: Network Device Problems Reply with quote

f3lix85 wrote:
I have the same problem but it is with a wired net adapter.

Code:
*Bringing eth0 up via DHCP...
/sbin/rc: line 109: /sbin/dhcpcd: No Such file or directory        [!!]
*error: Problem starting needed services
* "netmount" was not started.


did you emerge the dhcpd? and if you have, where is it installed? If you change line 109 of the rc-file into the location where it is installed, dous it work then?

f3lix85 wrote:

/sbin/ifconfig eth0
Code:
eth0: error fetching interface information: Device not found


Did you install the correct kernel moduses fir yous ethernet-cotroller? Making a new kernel fixed the problem 4 me :)
Back to top
View user's profile Send private message
f3lix85
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 78

PostPosted: Fri Nov 19, 2004 9:15 am    Post subject: eth0 detected and working Reply with quote

i gave up on dhcp so i just set my ip to a static one that is out of the dhcp scope and it works.
Back to top
View user's profile Send private message
f3lix85
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 78

PostPosted: Fri Nov 19, 2004 9:16 am    Post subject: dhcpd Reply with quote

i tried to emerge dhcpd earlier and it didnt work it said that it couldnt find the ebuild and this is when i was running off of the live cd and the internet worked.
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Fri Nov 19, 2004 2:59 pm    Post subject: Reply with quote

What hotplug version do you have.

The CD has hotplug and will detect your cards.

If you did a non-internet installl from the CD you will not have hotplug and thus no eth0 on boot.

If you did update during install (as still recommended in the user guide!!) you will have the latest hotplug WHICH DOES NOT HOTPLUG ANYTHING AT BOOT TIME and so you still wont have eth0.

This is a mess in recent updates to portage that is very badly signalled, contradics what is in the user guide and causing much havoc. (So much for RTFM)

Hotplug now only works once the system gets to the end of boot sequence. Coldplug (if the tooth fairly told you to install it) apparently calls hotplug during boot and the new init.d/hotplug now does nothing.

The logic of ever doing this escapes me but someone thought it was a good idea. Sadly it wasted a lot of people of lot of time.

It _should_ be enough to emerge coldplug, but I have not followed that path.

If in doubt look for other posts on hotplug and coldplug.

HTH 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
f3lix85
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 78

PostPosted: Sat Nov 20, 2004 5:04 pm    Post subject: Hotplug Reply with quote

I installed form stage 1 tar ball so everything is up todate and i used the new 2004.3 disc. but i gave up on dhcp and assigned a static address outside of the dhcp scope but still in the same subnet.
Back to top
View user's profile Send private message
Invincible_777
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 107
Location: Washington, USA

PostPosted: Sun Nov 21, 2004 1:01 am    Post subject: Reply with quote

K, guys, i am using a REALTEC WIRED NIC so i only need to get dhcp working. Let us not worry about the wireless, i see that a little hurdle.
_________________
Carry out the bigger will for your life....
Back to top
View user's profile Send private message
Flipperrr
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 83
Location: Netherlands

PostPosted: Sun Nov 21, 2004 1:58 am    Post subject: Reply with quote

I just had the some problems with a fresh 2004.3 install and dhcpcd. I assigned a static ip to my eth0, emerged "dhcpcd" and after a reboot everything was fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum