Support for MER (and ISP Sky) (RFC 2684)

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Goto page 1, 2  Next
Author Message
Cobra1582
DD-WRT User


Joined: 29 Nov 2011
Posts: 104

PostPosted: Sat Apr 21, 2012 14:42    Post subject: Support for MER (and ISP Sky) (RFC 2684) Reply with quote
Has anyone had any luck using MER (RFC 2684) (MAC Encapsulated Routing) and in particular sky modified version of MER
(details www.skyuser.co.uk/forum/technical-discussion/46464-skys-mer-why-does-not-work-other-routers.html ) when using DD WRT.

I have found this information for Tomato (see bottom of my post for the steps) I just not expeinced enough to know if something like this would be possible to do on DD WRT.

I know DD WRT is free but supporting MER I think would get more people using DD WRT as Sky router are rubbish and if there only one router out there currently that supports SKY MER if DD WRT were to support it would open it up to alot more routers and therefore huge number of users. Sky are now one of our fastest grown ISP(in the UK) due to great performance and price.

Link to Bullion''s beta firmware: Billion UK Forum • View topic - BiPAC 7800N beta firmware for SKY (1483MER) NOW WORKING! http://www.billion.uk.com/forum/viewtopic.php?f=9&t=343

Link to relevant SkyUser thread: Sky's MER and why it does not work with other routers http://www.skyuser.co.uk/forum/technical-discussion/46464-skys-mer-why-does-not-work-other-routers.html

Another SkyUser thread with relevant information: How to get round Sky MER and use your own router. http://www.skyuser.co.uk/forum/sky-broadband-fibre-help/47792-how-get-round-sky-mer-use-your-own-router.html

Tomato Info Found at http://wiki.ph-mb.com/wiki/MER )


1) Convert your PPPusername|PPPpassword string into HEX - I used http://www.string-functions.com/string-hex.aspx
e.g. 1a2b3c4d5e6f@skydsl|zzc7Zovbt5Fpa7B turns into 31613262336334643565366640736b7964736c7c7a7a63375a6f766274354670613742
2) In 'Advanced->DHCP/DNS DHCPC options enter '-x 61:00' immediately followed by the converted string from above. e.g. '-x 61:0031613262336334643565366640736b7964736c7c7a7a63375a6f766274354670613742' & save.
3) In 'Basic->Network set your network type to DHCP, default MTU & save
The above works in combination with a Draytek Vigor 120 ADSL2+ modem. Settings for that are: MpoA page: MpoA Enabled, Encapsulation: 1483 Bridged IP VC-Mux, VPI 0, VCI 40

Any help or advice would be great appreciated, and if anyone can tell me if I could do something similar using command lines with DD WRT.

Many THanks

Damien
Sponsor
Cobra1582
DD-WRT User


Joined: 29 Nov 2011
Posts: 104

PostPosted: Tue Apr 24, 2012 8:35    Post subject: Reply with quote
I found this setup for Tomato (found at http://wiki.ph-mb.com/wiki/MER )


1) Convert your PPPusername|PPPpassword string into HEX - I used http://www.string-functions.com/string-hex.aspx
e.g. 1a2b3c4d5e6f@skydsl|zzc7Zovbt5Fpa7B turns into 31613262336334643565366640736b7964736c7c7a7a63375a6f766274354670613742
2) In 'Advanced->DHCP/DNS DHCPC options enter '-x 61:00' immediately followed by the converted string from above. e.g. '-x 61:0031613262336334643565366640736b7964736c7c7a7a63375a6f766274354670613742' & save.
3) In 'Basic->Network set your network type to DHCP, default MTU & save
The above works in combination with a Draytek Vigor 120 ADSL2+ modem. Settings for that are: MpoA page: MpoA Enabled, Encapsulation: 1483 Bridged IP VC-Mux, VPI 0, VCI 40


can something silar be done on dd wrt

cheers
supercilious
DD-WRT Novice


Joined: 22 Dec 2010
Posts: 16

PostPosted: Tue May 21, 2013 21:10    Post subject: Reply with quote
Has there been any progress on this?

My attempts to do it manually have failed (http://www.dd-wrt.com/phpBB2/viewtopic.php?t=172093).
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Wed May 22, 2013 18:40    Post subject: Reply with quote
i would implement it but i need a confirmed 100% working installation with the latest beta.

http://svn.dd-wrt.com/ticket/2918

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
supercilious
DD-WRT Novice


Joined: 22 Dec 2010
Posts: 16

PostPosted: Wed May 22, 2013 18:45    Post subject: Reply with quote
I have it working using an x86 Linux box running the busybox+uclibc dhcp client implementation built using buildroot. I had to use the -x argument and provide the arguments encoded as hex strings, but the rest was perfectly straigforward.

MER is just DHCP with option 60 and 61 using the ISP provided strings. The DHCP client in DD-WRT does not support these flags (on my D-Link DIR-615 D2 at least).

How can I help? Please let me know.
supercilious
DD-WRT Novice


Joined: 22 Dec 2010
Posts: 16

PostPosted: Wed May 22, 2013 18:49    Post subject: Reply with quote
Here is a confirmed working implementation on DD-WRT from someone in the Sky users forums using an earlier version of DD-WRT.

http://www.skyuser.co.uk/forum/content/198-step-step-guide-setting-dd-wrt-up-sky-fibre-d-link-dir615.html
thecrater
DD-WRT Novice


Joined: 09 Jul 2013
Posts: 42

PostPosted: Fri Aug 02, 2013 10:27    Post subject: Reply with quote
I can confirm that I managed to get it to work on a Netgear WNDR3700 (v0) using the firmware below
ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/netgear-wndr3700/

by entering this command under Commands and setting it to run at startup

killall udhcpc
/usr/sbin/udhcpc -i eth1 -c 'xxxx@skydsl|xxxx' -p /var/run/udhcpc.pid -s /tmp/udhcpc


However, I've had no luck with a Buffalo WZR-1800DH using the latest 24/07/2013 build. attempting to downgrade to the 27/05/2013 build bricked the router! Sad

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/07-24-2013-r22118/buffalo_wzr-d1800h/
jasonkruys
DD-WRT User


Joined: 13 Dec 2013
Posts: 90

PostPosted: Fri Dec 13, 2013 20:44    Post subject: Reply with quote
thecrater wrote:
I can confirm that I managed to get it to work on a Netgear WNDR3700 (v0) using the firmware below
ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/netgear-wndr3700/

by entering this command under Commands and setting it to run at startup

killall udhcpc
/usr/sbin/udhcpc -i eth1 -c 'xxxx@skydsl|xxxx' -p /var/run/udhcpc.pid -s /tmp/udhcpc


However, I've had no luck with a Buffalo WZR-1800DH using the latest 24/07/2013 build. attempting to downgrade to the 27/05/2013 build bricked the router! Sad

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/07-24-2013-r22118/buffalo_wzr-d1800h/


I have been using this method forever on my WNDR3700.

Indeed, build 21676 is the last build that this works on. I installed the latest 23082 build and it will no longer connect to Skys network. Flashing back to 21676, and all is well.

Sash (or anyone), any idea what has changed in the build to prevent this from working?
jasonkruys
DD-WRT User


Joined: 13 Dec 2013
Posts: 90

PostPosted: Sat Dec 14, 2013 8:48    Post subject: Reply with quote
Idea Correction. This works on 22118, but not the latest released build 23082
supercilious
DD-WRT Novice


Joined: 22 Dec 2010
Posts: 16

PostPosted: Sat Dec 14, 2013 17:59    Post subject: Reply with quote
I'm using the same method described above on a Linksys E3000 running build 21676 for quite a while now.

In case a developer is watching this topic, can you please make this an officially supported option? Its just a one liner change to the udhcpc startup command. The only work required to support it officially would be the GUI modification for users to enable it.

Thanks
jasonkruys
DD-WRT User


Joined: 13 Dec 2013
Posts: 90

PostPosted: Sun Dec 15, 2013 9:46    Post subject: Reply with quote
supercilious wrote:
I'm using the same method described above on a Linksys E3000 running build 21676 for quite a while now.

In case a developer is watching this topic, can you please make this an officially supported option? Its just a one liner change to the udhcpc startup command. The only work required to support it officially would be the GUI modification for users to enable it.

Thanks


This (the startup script posted) worked in build 22118, but no longer works in the latest build 23082. It appears that udhcpc has moved or been integrated into busybox, and it has killed this workaround.

I have asked what I can do to get it to work, but no response. Sadly, despite spending over a day flashing, reflashing, looking at the build timelines - I am unable to determine why this is now broken, or how to fix it - I am not familiar enough with Linux Sad

Looks like I am stuck on the last working build now!


Last edited by jasonkruys on Sun Dec 15, 2013 13:34; edited 1 time in total
jasonkruys
DD-WRT User


Joined: 13 Dec 2013
Posts: 90

PostPosted: Sun Dec 15, 2013 13:12    Post subject: Reply with quote
Success! In the later builds you need to use udhcpc as compiled into busybox, and modify the command line option. Similar to the instructions for Tomato build.

First, convert the entire string for your username and password to HEX - ie 1a2b3c4d5e6f@skydsl|zzc7Zovbt5Fpa7B turns into 31613262336334643565366640736b7964736c7c7a7a63375a6f766274354670613742

Then put the following into your startup command, replacing XXXX with the HEX value determined above:

Code:
killall udhcpc
udhcpc -i eth1 -x 0x3d:XXXX -p /var/run/udhcpc.pid -s /tmp/udhcpc &


This will allow you to continue using MER (RFC 2684) (MAC Encapsulated Routing) and in particular sky modified version of MER on the later builds.

Thanks, again, to Dragon2611 on skyuser for his help! And also for supercilious - had I read his comment properly in the first place about using -x option, it would have set me in the right direction!
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Mon Dec 16, 2013 15:50    Post subject: Reply with quote
btw have you already opened a ticket with this problem?
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
jasonkruys
DD-WRT User


Joined: 13 Dec 2013
Posts: 90

PostPosted: Wed Dec 18, 2013 19:45    Post subject: Reply with quote
Sash wrote:
btw have you already opened a ticket with this problem?


I haven't - I don't see a problem anymore. Putting the code in my previous post in the startup now works again...Or do you mean the OP who requests the feature be added into the GUI?

Thanks.
jblackburn
DD-WRT Novice


Joined: 26 Mar 2014
Posts: 6

PostPosted: Wed Mar 26, 2014 23:29    Post subject: Reply with quote
jasonkruys wrote:

Code:
killall udhcpc
udhcpc -i eth1 -x 0x3d:XXXX -p /var/run/udhcpc.pid -s /tmp/udhcpc &


This will allow you to continue using MER (RFC 2684) (MAC Encapsulated Routing) and in particular sky modified version of MER on the later builds.


Brilliant! I can confirm that this works using DD-WRT on the Trendnet TEW-812DRU router.

The ticket for implementing this in the GUI seems to be:
http://svn.dd-wrt.com/ticket/2918
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
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
You can attach files in this forum
You can download files in this forum