Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to get eth0 back up during install?
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
plutek
n00b
n00b


Joined: 04 Oct 2004
Posts: 37
Location: Ontario, Canada

PostPosted: Fri Dec 03, 2004 3:35 am    Post subject: how to get eth0 back up during install? Reply with quote

greetings!

(possibly stupid) noob question here:
during installation of 2004.3, eth0 was detected and configured automatically (using DHCP) with no trouble. i did "emerge --fetchonly system" and then did a "ifconfig eth0 down" to take down the network while running "emerge system" overnight.

unfortunately, if i do "ifconfig eth0 up", my network connection does not come back up. can someone please help me with the proper command to get eth0 back up? i'm just between "emerge system" and compiling the kernel in the install handbook.

thanks!

-p
Back to top
View user's profile Send private message
shade266
Guru
Guru


Joined: 29 Oct 2003
Posts: 593
Location: Internal

PostPosted: Fri Dec 03, 2004 3:36 am    Post subject: Reply with quote

Code:
dhcpcd eth0

_________________
I've been away for a long time, bear with me.
Back to top
View user's profile Send private message
plutek
n00b
n00b


Joined: 04 Oct 2004
Posts: 37
Location: Ontario, Canada

PostPosted: Fri Dec 03, 2004 3:57 am    Post subject: Reply with quote

tyvm! i'm back up.

-p
Back to top
View user's profile Send private message
shade266
Guru
Guru


Joined: 29 Oct 2003
Posts: 593
Location: Internal

PostPosted: Fri Dec 03, 2004 4:28 am    Post subject: Reply with quote

no problem.. the latest dev-source kernel (2.6.9) has been giving me trouble with the eth0 not being brought up at boot. Dunno if it is my mistake or not.. re-run the command posted in the thread from a terminal as root and eth will come back up if having not been executed at boot.
_________________
I've been away for a long time, bear with me.
Back to top
View user's profile Send private message
plutek
n00b
n00b


Joined: 04 Oct 2004
Posts: 37
Location: Ontario, Canada

PostPosted: Fri Dec 03, 2004 1:09 pm    Post subject: Reply with quote

ok...... what's the best way to take down a nic? "ifconfig eth0 down" leaves a /var/run/dhspcd-eth0.pid file which must be deleted before running "dhcpcd eth0".

thanks again.

-p
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Fri Dec 03, 2004 5:24 pm    Post subject: Reply with quote

Try "/etc/init.d/net.eth0 stop or start or zap". You can do "rc-update -s " to see all avaliable init scripts.
_________________
An A-Z Index of the Linux BASH command line
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