Hacking and tweaking a router if possible :) - Page 1
Forum section: electronics / general

author: Hagis2k
author_rank: Regular Contributor
timestamp: May 24, 2014, 03:17:02 pm
content: Hi there folks bought my self a cheapo 2.4/5ghz router from zyxel that i want to add usb to and if possible when dd-wrt or open-wrt supports the wireless parts of this router the mt7620 is supported already but then ill have no wifi lol...So i guess i need to add 0 ohm resistors for the data lines and then also put in a dc-dc converter to usb 5VSo at the moment i wish i knew a way to access the built in webserver for the user interface to change it to show advanced all the time, then when dd/open wrt will be available.So what i done so far is out of the box to desolder the spi flash and making a bakup of it in case of problems laterThe bin file is here:https://dl.dropboxusercontent.com/u/76712145/nbg6503.zipDo anyone know how to open it and maybe edit it?

author: PeterG
author_rank: Frequent Contributor
timestamp: May 25, 2014, 01:21:54 am
content: Looking at the firmware you linked to, it looks to be a NBG6503 router.Code:SystemName=NBG6503 DomainName=zyxel.com AdminInactivitI have no idea how to edit the bin file however dd-wrt seems to support the NBG6503.Regards

author: han
author_rank: Frequent Contributor
timestamp: May 25, 2014, 01:48:45 am
content: i just brick twice my router because i want try open-wrt,once time repairable with CPE reload via JTAG.second try make my router brick with unwriteable flash ...

author: sparkyresistor
author_rank: Contributor
timestamp: May 25, 2014, 03:40:19 am
content: You shouldn't really have any reason to modify that BIN file, but the only real way you could (with any positive result) would be through a hex editor, and ONLY if you knew what you were doing.. In short. I would keep it as a backup in case you bork it (as long as you have something like tftp access through dropbear), but other than that I wouldn't touch the bin file.What you need to do is find what you have available through the linux commands.Most routers, even if not documented (most arent) have an ssh connection. Make sure in the settings of the router that ssh is enabled (though it may not even be noted anywhere).1. Go download putty(open source telnet/ssh client):http://www.putty.org/Open putty.2. Find the ip address of your router.3. In putty, put in the IP address after selecting SSH (it may have telnet access instead, but you don't know till you try!)4. Once it asks for a login, type in whatever the web interface admin username and password is.5. Payday!You have root access in linux with ssh and telnet with the admin login, but BE CAREFUL! Don't delete anything, just root around and see what you have, try some echo commands and do some research of the internal setup. You may only be one Linux command away

author: Hagis2k
author_rank: Regular Contributor
timestamp: May 25, 2014, 10:38:34 pm
content: Yes it is the Zyxel NBG6503 router i wrote this in a kind of hurry when the lightning strikes got closer and closer lol we had our first real thunderstorm this year lolYes i shall try ssh or telnet later this gave me some ideas of tweaking the default start page as i want it to launch advanced all the timeAnd if i fuck up lol i still have the bakup and hotair

author: fluxcapacitor
author_rank: Frequent Contributor
timestamp: May 26, 2014, 02:23:19 am
content: you should be able to tftp if you need to upload the firmware.bootcmd=tftp.bootdelay=3.baudrate=57600.ethaddr="00:AA:BB:CC:DD:10".ipaddr=10.10.10.123.serverip=10.10.10.3Theres a firmware update for the router.ftp://ftp.zyxel.com/NBG6503/firmware/NBG6503_V1.00%28AAJN.1%29C0_release_note.pdf[Bug Fixed]eITS#130904567:Open DNS Resolver, Port 53 constantly open