OpenWRT on a Linksys WRT54G

The following documentation is for installing the OpenWRT
firmware on the Linksys WRT54G. I decided I would take 
advantage of my router and all of it's features.

Setting up the OpenWRT on my Linksys Router

0) Made sure my hardware was supported

Compared the serial listed here:

http://wiki.openwrt.org/OpenWrtDocs/Installing

1) Download and Upload the firmware

http://downloads.openwrt.org/whiterussian/newest/bin/openwrt-wrt54g-squashfs.bin

Then I upload the firmware it to the Router.

2) Connect to the Router and change the password

telnet router
...snip

BusyBox v1.00 (2006.03.27-00:00+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 WHITE RUSSIAN (RC5) -------------------------------
  * 2 oz Vodka   Mix the Vodka and Kahlua together
  * 1 oz Kahlua  over ice, then float the cream or
  * 1/2oz cream  milk on the top.
 ---------------------------------------------------


root@OpenWrt:~# passwd

root@OpenWrt:~# uname -a

Linux OpenWrt 2.4.30 #1 Sun Mar 26 19:02:04 CEST 2006 mips unknown

3) Remove telnet

root@OpenWrt:~# cd /etc/init.d/
root@OpenWrt:~# rm S50telnet

3) Install some sniffing tools

Install tcpdump

root@OpenWrt:~# ipkg install tcpdump

Install dsniff

root@OpenWrt:~# ipkg install dsniff

4) Setup WPA to work

The configuration was already taken from my router.
Therefore, I just needed to install the package.

root@OpenWrt:~# ipkg install nas

5) Install screen 

root@OpenWrt:~# ipkg install screen

Time to call it a night. 

CTRL-A  CTRL-D