Farlock.org

Farlock.org

What you want to hack today?

Farlock.org RSS Feed
 
 
 
 

Configure OpenWrt on Nslu2

  • Point a browser to your new nslu2 IP (in my case 10.1.20.26) and set a new password.
  • Set your time zone (with web interface is easier ;-) )
  • Login into your nslu2 with ssh (user root, password whichever password you set previously)
  • Disable Web interface (we don’t need it ;-) ):

# /etc/init.d/webif disable

# /etc/init.d/httpd disable

  • Change the hostname:

# vi /etc/config/system and edit the “option hostname” line

  • Fresh our installation:

# ipkg update && ipkg upgrade

  • Install kernel modules for usb support:

# ipkg install kmod-usb2 kmod-usb-storage kmod-usb-ohci kmod-usb-serial

  • Install kernel modules for some cellular (Motorola, Samsung,…):

# ipkg install kmod-usb-acm

  • Install kernel modules for some USB modem (Huawei E220):

# ipkg install kmod-usb-serial-option

  • Install any other kernel modules for (almost) all serial converter (such usb modem):

# ipkg install kmod-usb-serial-visor kmod-usb-serial-sierrawireless kmod-usb-serial-pl2303 kmod-usb-serial-mct kmod-usb-serial-ftdi kmod-usb-serial-belkin kmod-usb-serial-airprime

  • Install kernel modules for usb disk:

# ipkg install kmod-nls-cp1250 kmod-nls-utf8 kmod-nls-base kmod-fs-vfat

  • Install useful package:

# ipkg install usbutils pciutils minicom ntpclient

  • Add this line into start() function of /etc/init.d/boot:

echo 0 > /sys/class/leds/status/brightness
echo 0 > /sys/class/leds/ready/brightness

Leave a Reply

You must be logged in to post a comment.