Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcp, pppoe I AM SO LOST!!!
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
disappearedng
n00b
n00b


Joined: 22 Jun 2008
Posts: 25

PostPosted: Wed Jun 25, 2008 2:54 am    Post subject: dhcp, pppoe I AM SO LOST!!! Reply with quote

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
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Wed Jun 25, 2008 2:59 am    Post subject: Reply with quote

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
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