Skip to content

Instantly share code, notes, and snippets.

@bradleybossard
Last active May 7, 2020 02:44
Show Gist options
  • Save bradleybossard/51cae268676df4261091 to your computer and use it in GitHub Desktop.
Save bradleybossard/51cae268676df4261091 to your computer and use it in GitHub Desktop.
Fix for CenturyLink technicolor C2100T modem bug.
/*
Some bad jQuery will not let you rename devices on the Modem Status -> Device Table page. Each time I try to change the device in the drop-down,
it keeps changing to the first in the list.
Copy the line below and run it in the console on the page. You will need to change the integer var num = to whatever selection you want
*/
var num = 2; refreshTime=100000;$('select[name=lan_device] option:eq(' + num + ')').attr('selected', 'selected');
@almous71
Copy link

almous71 commented May 7, 2020

I know this is an old post but I'm trying to get this to work through telnet but I get the following error:
[569052.782] telnetd:error:processInput:652:Invalid command, do not use '&' '<' '>' '|' or ';'

Any tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment