Linux on Linksys home routers

Summary

At the Chemnitz Linux Days 2005, Jens Kühnel showed that almost all DSL and Wi-Fi routers for the home run Linux without their owners knowing. Using Linksys as an example, Kühnel explained how to put your own Linux on these devices and how serial ports can be retrofitted. Routers from Asus and D-Link were also briefly covered.

How Linux got onto the router

The best-known router of the time was the Linksys WRT54G. When it became known that its firmware was based on Linux, Linksys had to publish the source code under the rules of the GPL. This gave rise to free firmware projects, above all OpenWrt, which turn a simple router into a fully fledged small Linux computer.

A retrofitted serial interface is the life insurance: if something goes wrong when flashing your own firmware, you can still reach the device’s console through it. Accordingly, the talk named soldering experience as an advantage and basic Linux knowledge as essential.

Why it matters

Free router firmware often offers more features and much longer security updates than the manufacturer’s software. The WRT54G case also shows how the GPL works in practice: because the code had to be disclosed, a community could build on it. A year later the Linux Days had a talk dedicated to OpenWrt.

Ideas

  • Many home routers are small Linux computers with restricted manufacturer software.
  • A retrofitted serial interface rescues devices after failed updates.
  • Disclosed GPL code makes free firmware projects possible.

Insights

  • The GPL ensures that communities can build on manufacturers’ code.
  • Free firmware extends the life of hardware.

Facts

  • The talk mainly covered Linksys routers, and briefly Asus and D-Link.
  • openwrt.org was given as the website for the talk.
  • Soldering experience and experience compiling software were considered advantageous.

References

Remarks

  • Visitors could bring their routers to the stand beforehand and get advice.

Recommendations

  • Before flashing free firmware, check the OpenWrt table of hardware whether exactly your hardware version is supported.
  • Back up the original firmware and find out how to reach the serial console in an emergency.

Open the programme item

Search the Web Archive

Found a mistake or have something to add? Get in touch.