View previous topic :: View next topic |
Author |
Message |
disappearedng n00b
Joined: 22 Jun 2008 Posts: 25
|
Posted: Wed Jun 25, 2008 2:54 am Post subject: dhcp, pppoe I AM SO LOST!!! |
|
|
Hi everyone.
I subscribe to a broadband company that requires me to use pppoe. I have setup my router to establish an internet connection and I plugin my gentoo system into that modem. Does that mean I will have use pppoe in my /etc/conf.d/net or should I go with DHCP? |
|
Back to top |
|
|
shazam75 Guru
Joined: 18 Mar 2006 Posts: 563 Location: Brisbane, Australia
|
Posted: Wed Jun 25, 2008 2:59 am Post subject: |
|
|
If you router/modem is connected to the internet and your PC/Gentoo is connected to the router, then you are using ETHERNET and you may use DHCP or configure a fixed internal IP Address (e.g.192.168.1.100) for your gentoo machine - I do not use DHCP but have configured my network manually - see my reply to your post above.
follow these instructions :
Quote: | If you need to configure your network connection either because you need specific DHCP options or because you do not use DHCP at all, open /etc/conf.d/net with your favorite editor (nano is used in this example):
Code Listing 2.4: Opening /etc/conf.d/net for editing
# nano -w /etc/conf.d/net
You will see the following file:
Code Listing 2.5: Default /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
To enter your own IP address, netmask and gateway, you need to set both config_eth0 and routes_eth0:
Code Listing 2.6: Manually setting IP information for eth0
config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" )
routes_eth0=( "default via 192.168.0.1" )
|
_________________ answer an unanswered post:
https://forums.gentoo.org/search.php?search_id=unanswered |
|
Back to top |
|
|
|
|
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
|
|