Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to fix dit? dhcpcd @ boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Dutch
View previous topic :: View next topic  
Author Message
alberstom
n00b
n00b


Joined: 05 Sep 2002
Posts: 26

PostPosted: Fri Sep 27, 2002 10:08 am    Post subject: how to fix dit? dhcpcd @ boot Reply with quote

alles werkt nu eindelijk op me gentoo bak ik zit alleen met het probleem dat ik elke keer als ik gentoo heb opgestart het volgende commando moet geven om me inet verbinding aan de praat te krijgen:

dhcpcd -h hostname

hoe fix ik dit dat dit gelijk wordt gedaan tijdens het opstarten van gentoo?
Back to top
View user's profile Send private message
spufi
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2002
Posts: 119
Location: Mechelen - Belgium

PostPosted: Fri Sep 27, 2002 11:12 am    Post subject: Reply with quote

staat nochtans in install-instructies:

cd /etc/conf.d
nano -w net

default staat er dit:
Quote:

# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."



dat verander je dan in
Quote:

# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."

...
nadien rc-update add net.eth0 default en je zou gesteld moeten zijn.[/quote]
Back to top
View user's profile Send private message
alberstom
n00b
n00b


Joined: 05 Sep 2002
Posts: 26

PostPosted: Fri Sep 27, 2002 11:47 am    Post subject: Reply with quote

kijk dat heb ik wel ingevuld allemaal hehehe

maar ik wil ervoor zorgen dat als ik linux start niet het commando

dhcpcd eth0 -h hoef intevullen om verbinding te kunnen maken met internet
Back to top
View user's profile Send private message
kraaij
n00b
n00b


Joined: 07 Aug 2002
Posts: 66
Location: Maastricht, The Netherlands

PostPosted: Fri Sep 27, 2002 1:21 pm    Post subject: heb je wel rc-update gedaan? Reply with quote

Heb je gedaan wat spufi zei:

spufi wrote:
nadien rc-update add net.eth0 default en je zou gesteld moeten zijn.


Dan moet je netwerk namelijk gewoon bij het booten aangezet worden....

Het script wordt automatisch geladen dan. Als je dit wel gedaan hebt, wat gebeurt er als je gewoon net.eth0 runt in /etc/init.d/? Gaat dat wel goed?

Anton.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Dutch 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