D-Link DIR-655 apply.cgi

Long story short, my DIR-655 has worked awesomely as just an AP, UNTIL i tried to do IPv6!

The DIR-655 seems to spams Router Advertisement(RA) packets with M=0 O=0. I am doing DHCPv6, i.e. RA packets M=1 O=1. on a windows system, it releases the DHCPv6 ip every time it see’s the RA from the D-Link, and Renew’s every time it sees the DHCPv6 RA packets. after 3 or 4 flip flops the windows client just gives up.

This was my attempt to set it’s NVRAM variables using it’s apply.cgi, did not control RA packets as I wanted, but I thought it was useful.

LOGIN:

PASSWORD is base64 encoded, yes it should have an “A” appended before the following &

curl -X POST -d "html_response_page=login.asp&login_name=YWRtaW4A&login_pass=<strong>PASSWORD</strong>A&graph_id=2a5e7&alert_id=0&login_n=admin&log_pass=<strong>PASSWORD</strong>A&graph_code=&login=Log+In" http://wap1.wiz.lan/login.cgi

APPLY:

get the NVRAM variable names from ‘Tools -> System’ and saving the configuration. open config.bin in your favorite text editor.

Here i set opendns_enable to ``

curl -X POST -d "html_response_page=back.asp&html_response_message=The+setting+is+saved.&html_response_return_page=lan.asp&reboot_type=all&del=-1&edit=-1&max_row=0&opendns_enable=0" http://wap1.wiz.lan/apply.cgi

REBOOT:

reboot to make changes live

curl -X POST -d "html_response_page=reboot.asp" http://wap1.wiz.lan/reboot.cgi