Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connecting Gentoo to PPPoE internet
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
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Aug 26, 2002 12:01 am    Post subject: Connecting Gentoo to PPPoE internet Reply with quote

I have always used a computer running CoyoteLinux as a router. This is where my Gentoo machine recieved it's DHCP internet access from. I would like to do away with the second machine and run Gentoo as my router. It does not have to be DHCP, but it would be nice. My intent is to do network internet sharing. I want my Gentoo machine to run a firewall for the rest of the network. I have everything regarding the firewall all worked out. But how do I convert my DHCP client Gentoo machine into a router? In otherwords how to I configure this computer to connect to the internet using PPPoE I have an external PPPoE modem and the required network cards to do the routing. But I dont know how to connect it to the internet with PPPoE. Please help. Thank you.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Aug 26, 2002 12:05 am    Post subject: Reply with quote

Moved from Installing Gentoo to Networking & Security. The Installing Gentoo forum covers getting Gentoo installed up through the initial Install Guide. This covers issues addressed after that point.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Mon Aug 26, 2002 9:31 am    Post subject: To answer the problem Reply with quote

http://www.becsta.net/adsl.html

Have a walkthrough on how to setup PPPoE on Linux
[OK] for Australian settings but still....

emerge net-misc/dhcpcd
#I think that is the dhcp server daemon pakage
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Mon Aug 26, 2002 2:23 pm    Post subject: Reply with quote

Just emerge rp-pppoe and then run adsl-setup.

I'm doing exactly what you are doing.

Regarding firewalling: be sure that iptables is emerged and that iptables is enabled in the kernel. It usually isn't enabled by default.
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Aug 26, 2002 2:25 pm    Post subject: Reply with quote

OK, I think I have already emerged the dhcpcd. I am not at that computer to check. If I have, or once I do emerge it, what next? :D
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Aug 26, 2002 2:29 pm    Post subject: Reply with quote

Sorry, I read more info after posting, and rizzo also replied before I finished typing my message.

How do I get it to launch pppoe automaticly without having to start it each time I restart the computer?
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Mon Aug 26, 2002 2:30 pm    Post subject: Reply with quote

Add adsl-start to /etc/conf.d/local.start
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Aug 26, 2002 2:33 pm    Post subject: Reply with quote

Thanks for all your help. I will try all of this when I get home. I will post my results.

The next thing that I need to figure out is how to do the internet connection sharing. this machine will be taking the place of an old router machine.
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Mon Aug 26, 2002 2:35 pm    Post subject: Reply with quote

I use iptables to define my firewall rules, and also the ip forwarding, NAT, ip masquerading, and port forwarding.

Look into iptables. There are many sample scripts on the internet for you to pick and choose from.
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