linux on linksys routers - sluug · on linksys firmware – one of the first 3rdparty firmware...
TRANSCRIPT
![Page 1: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/1.jpg)
Linux on Linksys Routers
Jeff MuseSt. Louis Unix Users Group
August, 2008
![Page 2: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/2.jpg)
Why Hack Your Linksys?
● You might like a commandline interface on your router
● You want/need added functionality, such as asterisk, hotspots, SMB clients, or wireless IDS.
● You want a better GUI● It adds to your geek cred
![Page 3: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/3.jpg)
A Bit of History
● Linksys originally based their firmware on Linux – the GPL required they release their code.
● Later versions used vxworks, an embedded system from Wind River not covered by the GPL. Using
vxworks allowed Linksys to include less flash and RAM.
![Page 4: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/4.jpg)
What Hardware Do I Need?
● A Linksys or similar wireless router● There are many Linksys versions – be careful
which version you get. See the Wikipedia or OpenWRT pages so you get one which has enough
power. Avoid those with limited flash and/or RAM, or plan on running “micro” firmware.
● There are versions specifically aimed at third party firmware, including WRT54GL and Netgear
KWGR614
![Page 5: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/5.jpg)
What 3rdParty Firmware is Available?
● Sveasoft – subscription only, possibly in violation of the GPL due to redistributing OpenWRT
binaries without releasing code. Originally based on Linksys firmware – one of the first 3rdparty
firmware distributors.● Ddwrt – based on Sveasoft's modifications of
Linksys firmware. Pure GPL.● OpenWRT – complete “fromscratch” firmware
entirely under the GPL● Tomato – includes proprietary Broadcom code and
nonGPL code for the ajaxbased user interface
![Page 6: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/6.jpg)
How Do I Decide What Firmware to Use?
● Read the feature lists!● Verify that your router has enough flash and RAM
for the firmware you'd like to run (you'll probably need to check the serial number against the docs)
![Page 7: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/7.jpg)
How Do I Install New Firmware?
● Upload a new image. Depending your current firmware, you could use the web GUI, TFTP, or (if
you're already running 3rdparty firmware) the command line. See the docs for your new firmware
and hardware.● Use a wired connection
● The router's IP address will be reset to 192.168.1.1 when the new firmware is loaded
● Don't interrupt the upload – go make some coffee while it's running!
![Page 8: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/8.jpg)
What If I Brick My Router?
● Like everything else, this is dependent on what hardware you have and exactly how your router is
broken.● In general, holding the reset button, unplugging the
router while still holding the reset button, plugging in again, and releasing the reset button is a good place to start. This will reset the firmware
to defaults, but will not restore prior firmware versions.
![Page 9: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/9.jpg)
What If I Brick My Router? (continued)
● If you have boot_wait enabled in nvram, you might be able to reflash via TFTP
● The ddwrt wiki has lots of documentation about recovering from a bad flash.
![Page 10: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/10.jpg)
![Page 11: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/11.jpg)
![Page 12: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/12.jpg)
![Page 13: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/13.jpg)
Installing Webif2
![Page 14: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/14.jpg)
![Page 15: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/15.jpg)
![Page 16: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/16.jpg)
![Page 17: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/17.jpg)
![Page 18: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/18.jpg)
![Page 19: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/19.jpg)
![Page 20: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/20.jpg)
![Page 21: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/21.jpg)
![Page 22: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/22.jpg)
![Page 23: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/23.jpg)
![Page 24: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/24.jpg)
![Page 25: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/25.jpg)
![Page 26: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/26.jpg)
![Page 27: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/27.jpg)
![Page 28: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/28.jpg)
![Page 29: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/29.jpg)
And on to ddwrt!
![Page 30: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/30.jpg)
![Page 31: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/31.jpg)
![Page 32: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/32.jpg)
![Page 33: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/33.jpg)
![Page 34: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/34.jpg)
![Page 35: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/35.jpg)
![Page 36: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/36.jpg)
![Page 37: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/37.jpg)
![Page 38: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/38.jpg)
![Page 39: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/39.jpg)
![Page 40: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/40.jpg)
![Page 41: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/41.jpg)
![Page 42: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/42.jpg)
![Page 43: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/43.jpg)
![Page 44: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/44.jpg)
![Page 45: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/45.jpg)
![Page 46: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/46.jpg)
![Page 47: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/47.jpg)
![Page 48: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/48.jpg)
![Page 49: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/49.jpg)
![Page 50: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/50.jpg)
![Page 51: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/51.jpg)
![Page 52: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/52.jpg)
![Page 53: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/53.jpg)
References
● http://en.wikipedia.org/wiki/Linksys_WRT54G_series● http://www.ddwrt.com/wiki/index.php/Main_Page● http://wiki.openwrt.org/OpenWrtDocs● http://www.techreviewcentral.com/?p=47
![Page 55: Linux on Linksys Routers - SLUUG · on Linksys firmware – one of the first 3rdparty firmware distributors. Ddwrt – based on Sveasoft's modifications of Linksys firmware. Pure](https://reader033.vdocuments.net/reader033/viewer/2022060410/5f1079487e708231d44948ac/html5/thumbnails/55.jpg)
Questions?