AngeloThe Network Guy Premium Member join:2002-06-18 |
Angelo
Premium Member
2008-May-9 11:30 am
MLPPP Guide on Linuxthough 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 |
Angelo
Premium Member
2008-May-9 11:37 am
guys any comments or addicts please feel free to add also any corrections  |
|
|
| |
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. |
|
AngeloThe Network Guy Premium Member join:2002-06-18 |
Angelo
Premium Member
2008-May-9 3:42 pm
np, if you got anything we can add for people i wouldn't mind  |
|
| Angelo |
Angelo
Premium Member
2008-May-15 4:28 pm
bump version 1.1 coming very soon |
|
Jabus join:2002-11-24 Mississauga, ON |
to Angelo
Can this be used to create MLPPP connections on a single link as well? |
|
AngeloThe Network Guy Premium Member join:2002-06-18 |
Angelo
Premium Member
2008-May-15 4:45 pm
yes |
|
1 edit |
to Angelo
To get single link MLPPP working under debian, get regular PPPoE working. You can use the following guide: » wiki.debian.org/PPPoEUse 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 |
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 2 edits |
Jabus
Member
2008-May-15 9:05 pm
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. |
|
| |
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. |
|
AngeloThe Network Guy Premium Member join:2002-06-18 |
Angelo
Premium Member
2008-May-15 10:32 pm
i'll try to add it for v1.3 |
|
| |
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 :) |
|
AngeloThe Network Guy Premium Member join:2002-06-18 4 edits |
Angelo
Premium Member
2008-May-15 11:35 pm
v.1.3 is now posted it has copy and pasted stuff from the links provided will be fgixed in upcoming versions |
|
| Angelo |
Angelo
Premium Member
2008-May-16 9:32 pm
vista guide will be posted today as well i may release v1.3  witha few changes  |
|
| Angelo |
Angelo
Premium Member
2008-May-16 11:38 pm
bump |
|
| |
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. |
|
GuspazGuspaz MVM join:2001-11-05 Montreal, QC |
Guspaz
MVM
2008-Jun-6 12:04 am
A word of warning, the user-mode alternative is substantially slower, so don't attempt to use it on very old/slow hardware. |
|
AngeloThe Network Guy Premium Member join:2002-06-18 |
Angelo
Premium Member
2008-Jun-6 4:31 am
will add this to a updated version in the morning.. =p |
|
| |
to the cerberus
Hi cerberus,
I used it; thank you. |
|
| pablo |
to Luke_85
Hi,
Using a chat client on top of a VPN client, the chat client was disconnecting. I just raised the MTU to 1452 and it _appears_ to have settled down.
Thanks for sharing the above information. |
|
pablo 2 edits |
pablo
MVM
2008-Jun-9 3:53 pm
I had some issues with a VPN'd chat client: frequently disconnecting.
I've re-jigged my roaring-penguin (3.5) settings as follows:
• MP MTU 1452
• `iptables' MSS set to 1412 for any matches greater than 1413
Edits: I found the previous settings a bit unstable so I've changed them to the above. Also as I'm a test site for a WISP, I've downgraded RP from 3.8 to 3.5 (what they're running). At the moment, my connection is holding steady for nearly 13 hours. Any updates to my configuration will be posted here in case it may help someone else. |
|
| |
hope_for_me to Angelo
Anon
2008-Jun-13 9:08 pm
to Angelo
Hi guys, I've read the mlppp guide, and I'm still unclear about a few things (I'm a linux newbie), since I couldn't get single link to run. So could someone please answer these questions for me.
my environment: Ubuntu Gutsy Gibbon, speedtouch 516 modem.
1)Is a precondition to this guide is that you're using a router? --I'm trying to build a single link mlppp without a router, and using a speedtouch 516 modem.
2)I ran pppoeconfig and appended 'mp and mtu1442' to the /etc/ppp/peers/dsl-providers ONLY. Am I suppose to append 'mp and mtu1442' to /etc/network/interfaces also?
Basically, the mlppp guide instruction of "add the following to the userspace driver" is vague, especially for a newbie. What config file am I suppose to add mp and mtu1442 to?
Much thanks for all the hard work. |
|
| hope_for_me |
hope_for_me to Angelo
Anon
2008-Jun-13 9:35 pm
to Angelo
Oh, I forgot to also ask.
Am I suppose to change my modem setup after? ie change it from 'routed-pppoe' to 'bridge mode'? |
|
| hope_for_me |
hope_for_me to Angelo
Anon
2008-Jun-13 9:54 pm
to Angelo
ok, I got everything to work.
being the noob I am, I didn't enter the right username during the pppoeconf setup.
once again, thanks guy. |
|
Haraway Premium Member join:2008-07-19 Montreal, QC |
to Angelo
This looks very simple, but I just don't have the experience with most of the terminology, and am lost. Does someone have a few moments to explain it in a way that a complete linux newb can understand? I've read the whole thread numerous times but don't quite get what this simple instruction means:
"Once that's working, add the following to your configuration: mp mtu 1442"
I don't even know what "once that's working" means. I'm on Ubuntu Hardy Heron and with Teksavvy. I know step-by-steps can be tedious for most, but I would really appreciate it. |
|
| |
to Angelo
I don't see a link any where to a guide, am I missing something? |
|
moggy join:2006-01-08 Peterborough, ON |
to Angelo
thanks to HiVolt I use this setup Here is an idea for the people who have non-WRT54G linux capable routers, to temporarily use the MLPPP trick in Windows, in order to bypass the traffic shaping. Set your modem in bridge mode & disable its DHCP server, and your router should be configured to use your TekSavvy PPPoE login, as usual. What the loopback wiring allows you to do, is to establish a PPPoE connection using Windows XP, with the multilink checkbox, while your router is still connected in the mix and can still supply your other PCs or devices with internet. When you connect in Windows using it's built in PPPoE, it overrides whatever is supplied by your router, so you can download a torrent or use whatever application is affected by the DPI. However, as you can see, it eats up two ports on a typical 4 port router. If you have another switch with more ethernet ports, you can easily uplink to your router and your problem is solved. Also, as this creates a direct IP connection to your machine, it bypasses the firewall of your router. So make sure to at least enable the Windows firewall, or use some other firewall software of your choice. Otherwise, you're left exposed to the net with a direct IP. One last thing. If you have a singlestatic IP, you will have to manually force a disconnect in your router's web interface, as an account with a single static IP will not be able to connect again unless its disconnected. You can then establish the PPPoE in Windows. As an added bonus, you can now access your modem's line stats without unhooking your router. Just make sure the modem's IP address is different than the router's. If not, change one, for example the modem 192.168.1.254 (ST516), router 192.168.1.1 -- GOLF LEAFS GOLF! » Any ideas how to Do MLPP ? with xp? |
|
| |
to Haraway
Harway it is probably easier to adjust your torrent settings (using vpn ip) to by pass the throttle. Here is the link » How to defeat the throttle |
|
moggy join:2006-01-08 Peterborough, ON |
to Angelo
how about using mlppp and port 1723 at same time I am going to test this tonight |
|