Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
more network card problems, plz help urgent!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SRC_DoD
Apprentice
Apprentice


Joined: 06 Apr 2006
Posts: 172

PostPosted: Fri Apr 07, 2006 2:22 pm    Post subject: more network card problems, plz help urgent! Reply with quote

ok so i've finally gotten gentoo installed. net works like a charm on the live cd.

i LSPCI and LSMOD'd and lspci shows realtek RLT-8139/8139c/8139c+

LSMOD shows 8139cp,8139too, and the mii modules being run on the live cd.

i've tried this with the network card, and mmi, both at built in and modules. ifconfig eth0 shows the device but no address. so i'm pretty sure the kernel is recognizing the device in either fashion (built in or module)

i edited the /etc/modules.autoload.d/kernel-2.6 to have all three modules i listed above...however still no IP address!

i'm running behind a gov firewall and for somereason on boot up i get a message to the effect 'no modules to support 'dhcp'"

in /etc/conf.d/net i have iface_eth0="dhcp", can anyone help me out i'm screwed here...i probably just need to enter the gateway somewhere but dont know where
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Fri Apr 07, 2006 2:40 pm    Post subject: not a problem Reply with quote

I have recieved that error message before.

Here's what's wrong: your initscript is configured properly to use dhcp, but upon trying to bring the interface up via dhcp it finds that you have no dhcp client daemon running on your computer.

The one i use is 'dhcpcd'

put back in the cd, mount /mnt/gentoo as you did last time, chroot /mnt/gentoo like last time, and then
Code:
emerge dhcpcd


then restart, dhcp should work fine.
Back to top
View user's profile Send private message
SRC_DoD
Apprentice
Apprentice


Joined: 06 Apr 2006
Posts: 172

PostPosted: Fri Apr 07, 2006 2:42 pm    Post subject: Reply with quote

i was just about to try that. i think i have dhcpcd in my USE statement but oh well
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Fri Apr 07, 2006 4:20 pm    Post subject: that's not what use does Reply with quote

just because it is in the use variable, doesn't mean portage is going to download and install software you haven't told it to. <smirk>

the use variable is for changing the options with which emerge builds packages you tell it to install. for example, you might compile a program with or without X support by putting X in the use variable in make.conf.

The use variable definitely doesn't make it so that the initscript net.eth0 knows to automatically download build and install dhcpcd or a suitable replacement.

in other words, use USE to tell emerge how to build pakages, "kde -gnome" or "gnome -kde" is a popular way to avoid one or the other window managers, these are defined per ebuild and you can't just put any old phrase in there, it has to be a valid use flag.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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