SKY Broadband / DHCP Option 61?

19 posts / 0 new
Last post
Nazbit
Nazbit's picture
SKY Broadband / DHCP Option 61?

Hi,

I'm new here. I've tried to do a lot of reading and searching but apologies if we end up covering old ground.

I have an R7800 running standard firmware v1.0.1.16.

I'd like to flash DD-WRT in order to access some of the more advanced / custom features. In particular to get around the known open vpn bug in the netgear firmware.

Anyway to my question...

I have SKY VDSL in the UK. I have my R7800 connected using the DCHP client string (option 61) which I sniffed from the box that they supplied, I'm also spoofing the mac address although I don't think this is a requirement.

This works perfectly but does the latest build support this?

Lots of searching suggests it was definitely possible around 2012-2013 but the information that I can find since then seems to suggest that this is not possible in the latest builds?

Any advice would be greatly appreciated!

This is how it used to be done in previous builds...

killall udhcpc
/usr/sbin/udhcpc -i vlan2 -V "5.27.1a4N|PCBAFAST2504Nv1.0" -c "############@skydsl|################" -p /var/run/udhcpc.pid -s /tmp/udhcpc &

I will backup and follow the guides on here to flash but I want to be confident before going forward.

Thanks in advance for your assistance

Nazbit
Nazbit's picture
Well that didn't go well. I

Well that didn't go well. I couldn't even flash the router.
Tried latest builds of Kong and Vox but in both cases the netgear gui said incorrect firmware.

Nazbit
Nazbit's picture
Managed to flash the latest

Managed to flash the latest Kong build on to another 7800 I had. But I can't establish a connection.

Connected in to busybox root via SSH and ran the following...

killall udhcpc
udhcpc -i eth0 -x 0x3d:xxxxxx -p /var/run/udhcpc.pid -s/tmp/udhcpc &

Where xxxxxx is my client identifier sniffed from the sky box that I've been running successfully in my stock R7800.

All I get is :

Sending discover...
Sending discover...
Sending discover

Also tried eth1 with no joy but I presume the internet port is eth0.

Doesn't look like I'm going to be able to use dd wrt to connect to SKY using their MER protocol, which is a shame as it worked in previous builds for other users.

Can anyone offer any assistance at all???

Thanks

DedPixl
DedPixl's picture
Hi Nazbit,

Hi Nazbit,

Replies on these forums are few and far between but if you go here:

 

http://www.skyuser.co.uk/forum/sky-broadband-fibre-help/50485-known-work...  

 

I got a lot of help from these users that allowed me to successfully create my login service string for the R7800. If you look at my post of 14-01-17 there is a pdf file attached to it with some instructions that may prove useful they have worked for at least one other person if you read through thread

Good Luck

 

Nazbit
Nazbit's picture
Thanks a lot, that worked.

Thanks a lot, that worked.

phillil
phillil's picture
Thanks, worked for me as well

Thanks, worked for me as well.

With DD-WRT installed, it is as simple as entering this:

 

killall udhpcp

udhcpc -i eth0 -p /var/run/udhcpc.pid -s /tmp/udhcpc -x 0x3d:3132333435363738393130313140736b7964736c7c3839613132333435 &

 

The big long hex string was generated from converting a generic sky username and password (my actual ones weren't needed)

So in theory, the above commands will work for ANYONE with Sky Fibre, other than entering the original Sky Router MAC address (I did this, but not sure if it was reuired) 

I'd like to do this in Voxel because I prefer the stock firmware, but can't seem to work out how to enter a command

 

phillil
phillil's picture
Note - option 61 defintely

Note - option 61 defintely seems to be missing from both DD-WRT and Voxel for the R7800

It would be nice to see it in either, becuase if the connection goes down I have to re-enter and run the command

phillil
phillil's picture
Note - option 61 defintely

Note - option 61 defintely seems to be missing from both DD-WRT and Voxel for the R7800

It would be nice to see it in either, becuase if the connection goes down I have to re-enter and run the command

Voxel
Voxel's picture
Note - option 61 defintely

Note - option 61 defintely seems to be missing from both DD-WRT and Voxel for the R7800

It would be nice to see it in either, becuase if the connection goes down I have to re-enter and run the command

 

There is a thread in SNB forums re: how to enable it in my fw:
 

https://www.snbforums.com/threads/enabling-dhcp-auth-options-60-and-61-o...

 

Voxel

phillil
phillil's picture
Thanks Voxel.

Thanks Voxel.

I've had a look through the instructions, is it possible to modify the net-wan file using telnet?

Enabling SSH looks a bit technical for me (as per your instructions in your readme).....

Many thanks

kamoj
kamoj's picture
I don't know if Nazbit's tip

I don't know if Nazbit's tip here above is working.

There is working way that Voxel links to (snbforums) above:
https://www.myopenrouter.com/comment/42580#comment-42580

For this snbforums solution you can try and follow these instructions below:

I suggest you start with backing up the current configuration and download the image-file of your current router Firmware.
Then it is just a matter of minutes to restore the router.

To start with you need your 2 User and 2 Sky equipment information:

Your 4 values can be obtained from using wireshark and label on sky equipment.
Examples:
SKY_ID:user1234@skydsl # DHCP Client ID (option 61, -c switch) : User name
SKY_PW:abcdefgh # DHCP Client ID (option 61, -c switch) : User password
SKY_S:2.02.1861.R|001|ER115 # DHCP Vendor ID (option 60, -d switch) : Router Firmware/HW version (No "|" at end of string!)
SKY_V:B1234567890123 # DHCP Vendor ID (option 60, -d switch) : Router serial number
--------------------------------------------------------------------------------------------------------
Log-in with telnet, and the issue these commands (All commands are case-sensitive):
SKY_ID='user1234@skydsl'
SKY_PW='abcdefgh'
SKY_S='2.02.1861.R|001|ER115'
SKY_V='B1234567890123'
fr='-h $u_hostname'
to='-c "'"$SKY_ID|$SKY_PW"'" -V "'"$SKY_V|$SKY_S"'"'
sed -i "s/$fr/$to/" /etc/init.d/net-wan

# Now you must reboot the router. E.g. with the command
reboot
--------------------------------------------------------------------------------------------------------
# Router web-interface/GUI commands/handling:
#If you want to fake your routers MAC-address to be same as the Sky one:
Advanced: Setup: Internet Setup: Router MAC Address: Use This MAC Address: <Sky MAC address> + Apply

#Then you might need to setup use of VLAN 101
Advanced: Advanced Setup: VLAN/Bridge Settings:
Enable VLAN/Bridge group: By VLAN tag group:
Add : (Name: Sky, VLAN ID: 101, Priority: 0, Port: ? ):
Apply
(Available ports are: Port1 Port2 Port3 Port4 WiFi-2.4G WiFi-5G
)

#To Restore the original net-wan file:
#Login with telnet and issue these commands:
\cp -f /rom/etc/init.d/net-wan /etc/init.d/net-wan
reboot

phillil
phillil's picture
Many thanks for the reply

Many thanks for the reply

All seems to be a bit over compliated to me however

It's quite easy with DD_WRT - I just enter the few commands as I posted earlier in order to connect to Sky

However I would prefer Voxel, but cannot follow the method on SNB because I cannot work out how to create the keys and transfer them to the router (withuot a Linux machine??)

kamoj
kamoj's picture
SSH keys?

SSH keys?
You don't need to use SSH.
Telnet works as well.

Sky keys? Sorry - I can not help with that.

Anything you want to transfer is easily done by puting it on a USB-stick and insert in the router.

For the 7 commands I gave above, you can just copy one line at a time from your windows (?) machine,
and insert it in the telnet window with a right-click! That will take you a few minutes.
Also there is no risk of "bricking" the R7800. Whatever wrong you do you can get it working again with "a "tftp"-session.
Don't be afraid to try!
I wish you good luck with it.

 

hywthomas
hywthomas's picture
I've just tried the above and

I've just tried the above and unfortunately I can't get a WAN IP address from the HG612.. which has successfully synchronised.

Is it possible to get hold of a working net-wan file off someone?

hywthomas
hywthomas's picture
I have no idea how it's

I have no idea how it's worked but the last thing I did was restore the original net-wan file and rebooted.. low and behold I have a WAN IP on the router...

 

I'm slightly confused...

hywthomas
hywthomas's picture
Doh! Moved the router and now

Doh! Moved the router and now it's lost the WAN connection reboot..

phillil
phillil's picture
I think once you have a WAN

I think once you have a WAN connection, your DHCP lease is valid for an hour.

So even if you reboot your router, it won't try and reconnect until the lease expires, at which point your internet connection will go down

hywthomas
hywthomas's picture
I seem to have a stable

I seem to have a stable connection on Voxel FW at the moment.

Would it be possible to get something added to the GUI to input Option 60 and 61 details?

kamoj
kamoj's picture
Wow, that's very good news!

Wow, that's very good news!

Yes, it's possible to add a GUI...

Could you please share with us, how you got it working with Voxels FW?