How do you set up a PPPoE internet connection ?

Discussions about anything.

Moderators: Patrick Verner, Icecube

How do you set up a PPPoE internet connection ?

Postby DSpider » Wed Aug 26, 2009 7:41 pm



Because I only see DHCP and static. I would like to set up an internet connection based on a username and password. The DNS address(es) is/are provided by the server.

Other distros provide pppoe-setup, pppoe-start, pppoe-stop, etc.


/etc/rc.d/adsl start
/etc/rc.d/adsl stop

?


PS: Searching the forum for "pppoe" didn't help. Seems like this issue hasn't been addressed (yet).

Thank you.


DSpider
 
Posts: 23
Joined: Wed Apr 22, 2009 3:42 pm

Re: How do you set up a PPPoE internet connection ?

Postby Patrick Verner » Wed Aug 26, 2009 9:09 pm

You are the first person to ask for it. I don't like to add things that I'm not sure people are even going to use. It's a waste of space...

The next test version will have the rp-pppoe package. If you want to help make this easy for yourself other people in the future, try to bring it up in the command line and tell me exactly how you did it. I can make a GUI dialog for the Start Network program for pppoe like the dial-up one.
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin

Re: How do you set up a PPPoE internet connection ?

Postby DSpider » Wed Aug 26, 2009 9:26 pm

Sure. I'll help. Bring on the test version ! Or better yet, how do I manually install rp-pppoe ? I'll probably manage from there and you could include it in Parted Magic v4.5.
DSpider
 
Posts: 23
Joined: Wed Apr 22, 2009 3:42 pm

Re: How do you set up a PPPoE internet connection ?

Postby Patrick Verner » Thu Aug 27, 2009 12:12 am

Or better yet, how do I manually install rp-pppoe?


Download a Slackware package:

ftp://carroll.cac.psu.edu/pub/linux/dis ... i486-1.txz

Either place it in /pmagic/pmodules and boot, or install it with 'installpkg rp-pppoe-3.10-i486-1.txz' with the command line.

I'll upload load it anyway in a few hours. :D
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin

Re: How do you set up a PPPoE internet connection ?

Postby DSpider » Thu Aug 27, 2009 10:40 am

.
..
...
So... how do I set it up ?

Welcome - Parted Magic (Linux 2.6.30.4-pmagic)
Most of the filesystem tools and partition programs featured by Parted Magic
include man pages. To read a manual page, simply type man and
the name of the tool. (Examples: 'man ntfsprogs' or 'man fdisk')

root@PartedMagic:~# installpkg /media/sdb1/rp-pppoe-3.10.i486-1.txz
Cannot install /media/sdb1/rp-pppoe-3.10.i486-1.txz: file not found ...sorry. Typo.
root@PartedMagic:~# installpkg /media/sdb1/rp-pppoe-3.10-i486-1.txz
Verifying package rp-pppoe-3.10-i486-1.txz.
Installing package rp-pppoe-3.10-i486-1.txz:
PACKAGE DESCRIPTION:
# rp-pppoe (Roaring Penguin PPPoE client)
#
# PPPoE (Point-to-Point Protocol over Ethernet) is a protocol used by
# many ADSL Internet Service Providers. Roaring Penguin has a free
# client for Linux systems to connect to PPPoE service providers.
#
# The client is a user-mode program and does not require any kernel
# modifications. It is fully compliant with RFC 2516, the official
# PPPoE specification.
#
Executing install script for rp-pppoe-3.10-i486-1.txz.
Package rp-pppoe-3.10-i486-1.txz installed.

root@PartedMagic:~# pppoe
pppoe: send (sendPacket): Network is down
pppoe: recv (receivePacket): Network is down
pppoe: send (sendPacket): Network is down
pppoe: send (sendPacket): Network is down
pppoe: Timeout waiting for PADO packets
root@PartedMagic:~# pppoe-setup
/usr/sbin/pppoe-setup: line 44: /usr/bin/echo: No such file or directory
/usr/sbin/pppoe-setup: line 45: /usr/bin/echo: No such file or directory
/usr/sbin/pppoe-setup: line 46: /usr/bin/echo: No such file or directory
/usr/sbin/pppoe-setup: line 47: /usr/bin/echo: No such file or directory
/usr/sbin/pppoe-setup: line 50: /usr/bin/id: No such file or directory
/usr/sbin/pppoe-setup: line 51: /usr/bin/echo: No such file or directory
root@PartedMagic:~# pppoe-start
/usr/sbin/pppoe-start: line 44: /usr/bin/id: No such file or directory
/usr/sbin/pppoe-start: line 45: /usr/bin/echo: No such file or directory
root@PartedMagic:~# pppoe-connect
/usr/sbin/pppoe-connect: line 42: /usr/bin/id: No such file or directory
/usr/sbin/pppoe-connect: You must be root to run this script ...say what ??
root@PartedMagic:~# pppoe-status
pppoe-status: Link is down (can't read pppoe PID file /var/run/pppoe.conf-pppoe.pid.pppoe)
root@PartedMagic:~#


Didn't include a manual either.
DSpider
 
Posts: 23
Joined: Wed Apr 22, 2009 3:42 pm

Re: How do you set up a PPPoE internet connection ?

Postby Patrick Verner » Thu Aug 27, 2009 11:22 am

Use the new test version, I have the /usr/bin/echo(id, etc...) static path nonsense fixed. What kind of jerk programs like that? I noticed it first thing.
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin

Re: How do you set up a PPPoE internet connection ?

Postby DSpider » Thu Aug 27, 2009 12:29 pm

Test version worked and I've successfully set up a PPPoE connection. I'm typing this from Parted Magic right now. :) Thanks for adding it.

If you're interested in setting it up manually (or until an option is added to "Start Network") it basically went like this:

- opened ROXTerm
- typed pppoe-setup
- typed in my username
- when asked for eth0 I pressed enter
- when asked for link on demand ("no" by default) again I pressed enter
- since the DNS address(es) is/are provided by the server I typed "server"
- typed in my password
- chose "1" for a firewall
- and "y" to save the settings
- pppoe-start
- And that's it. You're done. Go test Firefox with Google or some site you KNOW is always online (like Microsoft, yeah right).


PS: Test version booted ok from a USB stick with this menu.lst:

title Parted Magic v4.5 test
find --set-root /Images/pmagic-4.5.iso
map /Images/pmagic-4.5.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)


...except for some garbage at the top. If you want I can write it down for you. But that's beside the point of this topic.


PS: This rc-pppoe file only takes up 80 KB. Did you add anything else to the test version ? Because the v4.5 ISO was a bit larger than v4.4. Or maybe you used a different compression. Anyway. Thanks again for adding it.
DSpider
 
Posts: 23
Joined: Wed Apr 22, 2009 3:42 pm

Re: How do you set up a PPPoE internet connection ?

Postby Patrick Verner » Thu Aug 27, 2009 8:47 pm

PS: This rc-pppoe file only takes up 80 KB. Did you add anything else to the test version ? Because the v4.5 ISO was a bit larger than v4.4. Or maybe you used a different compression. Anyway. Thanks again for adding it.


You can always see what I'm up to here:

http://partedmagic.com/change-log.html

I updated to the newest Xorg, added better support for bluetooth, and some additional ntfsprogs stuff. Well, and rp-pppoe-3.10. glibc-2.9 was a few megabytes bigger too.
Last test version of Parted Magic: http://beefdrapes.partedmagic.com
User avatar
Patrick Verner
Site Admin
 
Posts: 880
Joined: Wed Nov 19, 2008 2:27 am
Location: Kaukauna, Wisconsin


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests