Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth1 at startup; quick question
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
GENsnoop
Tux's lil' helper
Tux's lil' helper


Joined: 09 Mar 2004
Posts: 138

PostPosted: Mon Mar 22, 2004 4:41 am    Post subject: eth1 at startup; quick question Reply with quote

i need to type 'dhcpcd eth1' everytime to load usb cable modem.. how do i get that during boot instead of eth0 ?? thanks ... im a NOOB!!! :lol:
Back to top
View user's profile Send private message
nofx911
n00b
n00b


Joined: 21 Jan 2004
Posts: 30
Location: Milwaukee, WI

PostPosted: Mon Mar 22, 2004 5:01 am    Post subject: Reply with quote

Do below as root:
Add:
iface_eth1="dhcp"
To:
/etc/conf.d/net

Then:
cp /etc/init.d/net.eth0 /etc/init.d/net.eth1

Finally:
rc-update add net.eth1 default

If you do not want eth0 to start at default make sure that its not being loaded with:
rc-update -s
Make sure that in the left column it does not say boot, default, or another value. If does, then type:
rc-update del net.eth0 <boot | default | [other value]>
Back to top
View user's profile Send private message
GENsnoop
Tux's lil' helper
Tux's lil' helper


Joined: 09 Mar 2004
Posts: 138

PostPosted: Mon Mar 22, 2004 5:33 am    Post subject: Reply with quote

thanks that was easy enough!
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