Sveasoft Linksys WRT54G Firmware Version 2_2.00.8.3sv USE OF THIS FIRMWARE IS AT YOUR OWN RISK!!! Changes 2003-12-28 ------------------ Forced locale to provide 14 channels - modified web interface for 14 channel support - Note: you *must* use a client that has the extra channels in order to use channels 12-14 Added improved client mode support - includes option to give wireless interface a separate IP/network address - NOTE: see the client mode section below!! Added services master control in Administration->Management Added ntp timeserver time update Added wondershaper bandwidth management Added iproute2 utilities tc and ip Added telnet to Busybox Added stty, uptime, vi, sed, file sorting to Busybox Added fix for SSHD file conversions (auto-append CR) Extended WWW Command Shell cmd length to 255 characters Added Client/AP mode select to WWW interface (EXPERIMENTAL) -- under Wireless->Basic Wireless Settings Enabled IP forwarding on boot Replaced Ping, Traceroute windows with direct Command Shell -- under Administration->Diagnostics Added power adj, ant rx, ant tx to WWW interface -- under Wireless-> Advanced Wireless Settings Added sshd (dropbear) Added telnetd (busybox 0.60.x) Added hexdump, cmp, wget, dd to busybox Added sshd, boot_wait, telnetd to web interface -- Under Administration->Management Client mode enabled Updated source tree to v2_2.00.8 Linksys source Firmware version changed to 2_2.00.8.3sv To Do ----- Add WDS web interface Add VPN client/server (PPTP, and either IPSec or OpenVPN) Add frottle hidden-node management Add wavelan or equivalent wl statistics Add NoCatSplash compile time option Add sshd (dropbear) patch for password login Add dhcp patch to force static addresses for listed MAC's SSHD Key Generation Notes ------------------------- 1. Install openssh on your local machine 2. Run ssh-keygen -t rsa -f [filename] -N '' -C '' 3. Open a browser to the Linksys box (default 192.168.1.1) 4. Open [filename] and copy contents to Linksys web interface field "RSA Host Key in ASCII Armored Format". This is the linksys sshd daemon's private key. 5. Copy your public key from /[user name]/.ssh/id_rsa.pub to the "Authorized Keys" field. 6. Enable SSHD in the web interface 7. Enter your Linksys password twice at the top of the screen 8. Click on "Save Settings" 9. Restart your Linksys box Client Mode Notes ----------------- Client mode is set on the Basic Wireless Settings web page. When in client mode your WRT54G will try and associate with an AP every 30 seconds. If you leave the Linksys in it's normal mode of operation, the wireless and the 4-port LAN interfaces share a common IP address. You will have to set the WAN/Internet port to an IP address in the same sub-network and set the WAN gateway address to the address of the AP you want to reach. Example: Internet Connection Address: 192.168.1.2 Netmask: 255.255.255.0 Gateway: 192.168.1.3 ** must be the address of the AP Router IP Address: 192.168.1.1 Router Netmask: 255.255.255.0 However, if you wish to split the wireless interface from the 4-port LAN this option is now available in the Setup menu. Enable it by setting WLAN IP to Enable. When you hit the submit button you will see input fields for IP Address, Netmask, and Gateway. This will allow you to talk to an AP that is on a different sub-net than your local LAN. The separate wLAN address setting makes a couple of assumptions - 1) If you are in "client mode" the 4-port local LAN interface will be bonded/forwarded to the wireless LAN interface (using iptables). 2) If you are in "AP mode" the WAN/Internet interface will be bonded to the wireless LAN interface (also using iptables). The reasons for these assumptions are that if you are running client mode, you are most likely trying to move data from your local LAN devices to a wireless network that has an Internet connection. But if you are running the device as an AP, you are most likely connecting it directly to an Internet connection via the WAN/Internet port. You also probably want to be able to use the web based firewall rules, which only work for this port. Examples: Client mode Wireless LAN IP: 10.0.0.1 Wireless Netmask: 255.255.0.0 Wireless Gateway: 10.0.0.2 <-- the AP's address you are connecting to Local LAN IP: 192.168.1.1 Local Net Mask: 255.255.255.0 Ap Mode Wireless LAN IP: 10.0.0.2 Wireless Netmask: 255.255.0.0 WAN/Internet IP 192.168.1.1 WAN Netmask: 255.255.255.0 WAN Gateway: 192.168.1.8 (or whatever your ISP says) * note: you can also probably run DHCP for the WAN interface but this is untested