site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
19002
Share Topic
Posting?
Post a:
Post a:
Links: ·TekSavvy DSL Reviews ·TekSavvy Forum FAQ ·Speedtest results
page: 1 · 2
AuthorAll Replies


Angelo
The Network Guy
Premium
join:2002-06-18

MLPPP Guide on Linux

though i'd share what i got so far... so people can add what they like to it... my hope is when it's done it will be very simple to configure mlppp on linux for newbs (at least as simple as possible) and on as many platforms as possible...


Angelo
The Network Guy
Premium
join:2002-06-18

guys any comments or addicts please feel free to add

also any corrections



silvercat

join:2007-11-07

reply to Angelo
Thanks for this guide Angelo. Would be nice to purchase a Soekris box, and perhaps try mlppp on that at some point in the future.



Angelo
The Network Guy
Premium
join:2002-06-18

np, if you got anything we can add for people i wouldn't mind



Angelo
The Network Guy
Premium
join:2002-06-18

bump version 1.1 coming very soon


Jabus

join:2002-11-24
Mississauga, ON

reply to Angelo
Can this be used to create MLPPP connections on a single link as well?



Angelo
The Network Guy
Premium
join:2002-06-18

yes


DSL_Ricer
Premium
join:2007-07-22
kudos:3

1 edit

reply to Angelo
To get single link MLPPP working under debian, get regular PPPoE working. You can use the following guide:
»wiki.debian.org/PPPoE

Use the instructions for the kernel space driver.

Once that's working, add the following to your configuration:
mp
mtu 1442

The instructions for Ubuntu should be the same.


Jabus

join:2002-11-24
Mississauga, ON

1 edit

reply to Angelo
thanks ricer going to give this a shot right now, what's even more fun is i came by your post doing a search on how to install mlppp onto ubuntu on google. Neat.

Edit: Is that config going into /etc/network/interfaces ? Apart from that it was looking good but I definitely broke something. No matter, once I fix it I'll give it another go. Basically I use wireless connection to my router to allow me to connect to TSI. But once I set the pppoe connection it stopped connecting to my wireless so on reboot my connection could no longer get the wireless signal as it assumed it was wired...or something.


Jabus

join:2002-11-24
Mississauga, ON

2 edits

Okay it appears to be working, I guess I should have tested this with multilink disabled as well, but basically it's a bit sketchy for me on ubuntu. Partially because I'm new to linux so most of my errors I was just saying "sure okay lets move on"

Start by making a backup of /etc/network/interfaces

Following the site DSL_Ricer posted, I apt-get installed pppoeconf. Then I ran pppoeconf saying yes to everything except boot at start up (you may want to say yes to that but for my purposes I have it disabled). Once that runs sudo gedit /etc/ppp/peers/dsl-provider
uncomment the # mtu 14xx and change it to mtu 1442 as DSL said. And add mp here as well.

This should get it working. If you screwed something up like I did load the back up of the file I mentioned above.

ifconfig ppp0 ...if that brings something up you're atleast as far as I am

pon dsl-provider turns the connection on
poff dsl-provider turns it off (except once i turn it off i cant bring it back without rerunning pppoeconf)

I have no way to verify this is working (apart from a torrent that went at full speed at 8:56pm EST). But that I think is good enough confirmation for me.

Edit: After some testing might want to just replace you /etc/network/interface file after the install that seems to do the trick for me and now it works perfectly fine. Guess one of the default options i selected is rewriting that file and breaking it.


the cerberus

join:2007-10-16
Richmond Hill, ON
Reviews:
·Acanac

I believe you'll just want to add the word "multilink" to your dsl-provider file. Setting the MTU in that file never worked for me. After running ifconfig you can test to see if your MTU is set. I opted for setting MSS in my iptables (Angelo should be adding this info shortly to the documentation), then you'll need to save your iptables. I'm not sure how this is done in Ubuntu but google should provide the answer. Dial up by pon and then you should be all set.



Angelo
The Network Guy
Premium
join:2002-06-18

i'll try to add it for v1.3


the cerberus

join:2007-10-16
Richmond Hill, ON
Reviews:
·Acanac

iptables -t mangle -A INPUT -i ppp0 -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1415: -j TCPMSS --set-mss 1414
iptables -t mangle -A FORWARD -i ppp0 -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1415: -j TCPMSS --set-mss 1414
iptables -t mangle -A OUTPUT -o ppp0 -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1415: -j TCPMSS --set-mss 1414
iptables -t mangle -A FORWARD -o ppp0 -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1415: -j TCPMSS --set-mss 1414
 

there it is, if anyone needs it :)


Angelo
The Network Guy
Premium
join:2002-06-18

4 edits

reply to Angelo

v.1.3 is now posted it has copy and pasted stuff from the links provided will be fgixed in upcoming versions


Angelo
The Network Guy
Premium
join:2002-06-18

vista guide will be posted today as well i may release v1.3 witha few changes



Angelo
The Network Guy
Premium
join:2002-06-18

bump


Luke_8

join:2008-05-06
Toronto, ON

reply to Angelo
Just a hint for any other Debian users - I was getting a lot of kernel stack traces when trying to use multilink PPP on a single line. I switched my peer definition from:

plugin rp-pppoe.so eth1
 

To the usermode PPPOE driver with this:
pty "/usr/sbin/pppoe -I eth1 -T 80 -m 1452"
 

And the issue was solved, with mp-pppoe working properly. So if anyone else is having issues with the kernel-mode driver, try the user-mode alternative (in the package pppoe). It's Debian Unstable for what it's worth.


Guspaz
Guspaz
Premium,MVM
join:2001-11-05
Montreal, QC
kudos:16

A word of warning, the user-mode alternative is substantially slower, so don't attempt to use it on very old/slow hardware.



Angelo
The Network Guy
Premium
join:2002-06-18

will add this to a updated version in the morning.. =p


pablo
MVM
join:2003-06-23
kudos:1

reply to the cerberus
Hi cerberus,

I used it; thank you.


Wednesday, 30-May 18:31:14 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics