Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kabelinternet + netwerk opstarten bij opstarten
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
Andréas
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 75
Location: Delfzijl - Netherlands

PostPosted: Wed Sep 18, 2002 11:22 am    Post subject: Kabelinternet + netwerk opstarten bij opstarten Reply with quote

Mja.. de titel is een beetje in raar nederlands geformuleerd. Breek me de bek daar niet op af s.v.p. ;)

Ik heb twee netwerkkaarten (eth0 en eth1). eth0 gaat naar de kabelmodem. Om een IP-nummer te verkrijgen gebruik ik dhcpcd -h computernaam eth0

Voor eth1 heb ik ip-adres 192.168.0.1.

Deze instellingen wil ik graag bij het opstarten zien doen. Ik heb nu een eigen scriptje gemaakt maar dat is niet echt professioneel en het ziet er eerlijk gezegd niet uit.

Kan iemand mij vertellen hoe ik dit kan regelen. Grootste probleem zit hem bij eth0 met de dhcp release waarbij ik de hostnaam moet meegeven.
Back to top
View user's profile Send private message
Roel
n00b
n00b


Joined: 09 Apr 2002
Posts: 31
Location: Helmond, The netherlands

PostPosted: Wed Sep 18, 2002 12:13 pm    Post subject: Reply with quote

Als je even in de installation guide van gentoo leest van zie je daar hoe je een netwerk moet instellen.

uit m'n hoofd, zit op school zonder linux bij hand:
- /etc/conf.d/net goed instellen,
- cp net.eth0 net.eth1 in /etc/rc.d
en rc-update add net.eth1 default

zoiets is het, gentoo install guide heeft de nodige informatie ;)
_________________
Woei.
Back to top
View user's profile Send private message
Andréas
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 75
Location: Delfzijl - Netherlands

PostPosted: Wed Sep 18, 2002 12:15 pm    Post subject: Reply with quote

mja.. dat had ik gelezen. en dat begreep ik ook wel, maar niet hoe ik een hostnaam meestuur via dhcp.
Back to top
View user's profile Send private message
Roel
n00b
n00b


Joined: 09 Apr 2002
Posts: 31
Location: Helmond, The netherlands

PostPosted: Wed Sep 18, 2002 12:20 pm    Post subject: Reply with quote

Je kunt in die net configuratie file ook extra opties voor de dhcpclient meegeven, daar moet jij je -h computernaam bijzetten. :)
_________________
Woei.
Back to top
View user's profile Send private message
Andréas
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 75
Location: Delfzijl - Netherlands

PostPosted: Wed Sep 18, 2002 1:08 pm    Post subject: Reply with quote

Heb het probleem al gezien. had geen hekje voor de eerste regel gezet waardoor hij gewoon ip-adres 192.168.0.2 kreeg zonder dhcp te gebruiken. sorry, zoals jij het zei werkt het inderdaad.
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