Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOL] eth0 configurations from DHCP after I've booted?
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
hq4ever
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 167

PostPosted: Sat Apr 23, 2005 1:58 pm    Post subject: [SOL] eth0 configurations from DHCP after I've booted? Reply with quote

Hello

I've booted from a live-cd but forgot to connect my network cable, so now the system thinks it has no network.
How can I turn the card on & tell it to get it's ip & dns from my local dhcp ? (my router)

Thank you.
_________________
"God doesn't play dice with the universe",
Albert Einstein.

sig: http://www.jr.co.il/humor/signatur.txt
avatar: david lanham, http://www.dlanham.com/goodies.htm


Last edited by hq4ever on Sun Apr 24, 2005 2:24 am; edited 1 time in total
Back to top
View user's profile Send private message
Momo_CCCP
Tux's lil' helper
Tux's lil' helper


Joined: 26 Oct 2004
Posts: 141

PostPosted: Sat Apr 23, 2005 2:19 pm    Post subject: Reply with quote

Quote:
dhcpcd
should do the trick if your network drivers were correctly loaded. You may need to load them manually if it's not the case.
And as a last resort, you can always reboot with the cd and the cable plugged in of course.
_________________
Momo_CCCP
Back to top
View user's profile Send private message
nadi
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 280
Location: Norway

PostPosted: Sat Apr 23, 2005 6:27 pm    Post subject: Reply with quote

usually, when I forget to connect my network cable, I just do
Code:
 /etc/init.d/net.eth0 restart
and it get the ip, and the rest.

But I am not sure whether it is the correct path in the Live CD.
try it. (or just reboot!)
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sat Apr 23, 2005 6:30 pm    Post subject: Reply with quote

Edit:
Code:
/etc/conf.d/net


Only one line is sufficient:
Code:
iface_eth0="dhcp"


Save & exit.
Start the service with:
Code:
/etc/init.d/net.eth0 restart
Back to top
View user's profile Send private message
hq4ever
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 167

PostPosted: Sun Apr 24, 2005 2:23 am    Post subject: Reply with quote

Thank you everyone.
_________________
"God doesn't play dice with the universe",
Albert Einstein.

sig: http://www.jr.co.il/humor/signatur.txt
avatar: david lanham, http://www.dlanham.com/goodies.htm
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