OpenWRT Demo
From SoOnCon Wiki
| OpenWRT Demo | |
|---|---|
| Presenter(s) | Chad Mounteny |
| Hackerspace | HackLab.TO |
| Website | http://absolutelyso.blogspot.com |
Contents |
Reflashing the Router
Install tftp if you haven't already. sudo apt-get install tftp (on Ubuntu!)
Download the firmware image
mkdir ~/openwrt cd ~/openwrt wget http://downloads.openwrt.org/kamikaze/8.09.1/brcm-2.4/openwrt-brcm-2.4-squashfs.trx
Flash the Router
- Set your computer's IP to 192.168.1.2, Netmask 255.255.255.0
- Put the router into Firmware Restoration Mode by unplugging its powercord; then re-applying power while holding down the Reset button
- When the power led starts to flash slowly;
tftp 192.168.1.1 >binary >trace >put openwrt-brcm-2.4-squashfs.trx
- wait at least two minutes; if you're impatient
sleep 120
- test by trying the following command;
telnet 192.168.1.1
- if you saw the prompt you're in pretty good shape; run this to enable ssh;
passwd root
- now reboot the router with the following command then login with ssh to continue on;
reboot
Rant
This talk is about installing an alternative operating system on a wireless router. We have to start this discussion by considering what we think of when we say 'computer'. The natural thing that comes to mind is your laptop or a screen and a box and key board and mouse on a desk.
Demo
- adding web radio
- adding vnstat
- using it as an ssh tunnel
- using the serial port
- use 3.3v FTDI cable from Adafruit and custom made adaptor
- pinouts from adafruit and mightyohm.org
- show boot up and interaction
- mention modem posibility
- interact directly with microntroller
- use 3.3v FTDI cable from Adafruit and custom made adaptor
Mass Storage
opkg install kmod-usb-ohci insmod usb-ohci opkg install kmod-usb-storage insmod scsi_mod insmod sd_mod insmod usb-storage
Audio
opkg install kmod-usb-ohci opkg install kmod-alsa
