Monday, September 23, 2013

Basic setup of OpenWRT on DIR-601 B1 with cable modem

How to install OpenWRT on DIR 601 B1 router and set up a basic network

Internet service provider: TWC
Modem: DOCSIS 2.0 (no wireless)
Router connected to modem.

It appears that LuCI cannot be installed on this router because there is not enough space available on the device, although it might work if you build own firmware image.

All of the following information is readily available on other websites. I just combined and posted it here for convenience.
  1. Download the latest OpenWRT image:
  2. Flash according to these instructions:
    Briefly, set PC IP address to, press reset button, power up router, use web UI at to upload new image
  3. Login using putty via telnet protocol to
  4. Use passwd to change password
  5. Login using putty via ssh protocol
  6. Edit /etc/config/wireless via CLI:
    1. Change ssid (network name) from "OpenWRT" to your network name:
      uci set wireless.@wifi-iface[0].ssid="NetworkName"
    2. Change "encryption" to "psk2"
      uci set wireless.@wifi-iface[0].encryption="psk2"
    3. Change "key" to "yourpassword"
      uci set wireless.@wifi-iface[0].key="yourpassword"
  7. Enable wifi, commit changes, restart wireless interface:
    uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi
  8. Plug in router to modem, power cycle cable modem
If you have DSL, you would also need to install pppoe packages and include your username and password to the config files.

No comments:

Post a Comment