This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Click to read the The GNU General Public License
start/stop telnetdecho "#!/sbin/reboot" > /tmp/ses_button chmod +x /tmp/ses_button
echo "#!/bin/sh killall telnetd || telnetd" > /tmp/ses_button chmod +x /tmp/ses_button
By default all DNS requests are handled by Dnsmasq (192.168.1.1). Dnsmasq then forwards the requests to the proper DNS servers and caches the results. This is also how the names entered in the Static DHCP/Domain Name page are able to work. You can disable this behavior by disabling "Use Dnsmasq for DNS" in the Basic Setup page.Why DHCP-served IP addresses do not begin at "192.168.1.100".
Dnsmasq does not give sequentially ordered IP addresses. The addresses are calculated based on your computer's MAC address and "a variable." This is normal and your computers will still get an address within the range you defined. It's just a little different from the way the original Linksys firmware worked.Why are computers not in the DHCP lease table even though they are "connected."
For those who want the details, it's calculated using something like [lease_start + [[mac_hash + variable] % lease_max]]. The "variable" changes whenever Dnsmasq sees a conflict.
The lease table is cleared when the router is upgraded, unplugged, rebooted, and in situations where a config change requires a reboot. If your computer is already connected when this happens, it will remain connected but will not be in the lease table until the next time it tries to renew.
led <white/amber/dmz/diag/wl> <on/off> [...]Simple examples:
led white on -- white Cisco logoYou can also shorten and string several keywords together:
led diag on -- flashes the power light on my v4.
led wh on am on wl of -- turn on the white and amber leds, and turn off the wlan ledA flashing for no reason Cisco logo:
Amber when a wireless client is connected, white when there's data being transferred wirelessly:#!/bin/sh while true; do led wh on am of usleep 200000 led wh of am on usleep 200000 done
#!/bin/sh I=`nvram get wl0_ifname` while sleep 1; do if [ "`wl assoclist`" != "" ]; then XFER=`ifconfig $I|grep bytes` if [ "$XFER" != "$PXFER" ]; then LED="am on wh on" PXFER=$XFER else LED="am on wh of" fi else LED="am of wh of" fi if [ "$LED" != "$PLED" ]; then led $LED PLED=$LED fi done
Key | Values (default in bold) | Description |
ajax | 0, 1 | Use XMLHTTP in Device List and Site Survey. Allows these pages to update the information without reloading the entire page. |
capfix | 0, 1 | On some browsers like Opera, the text "Capture()" is displayed instead of the correct one. This variable enables a work-around to the problem. |
dhcpc_ckps | 0, 1 | If enabled, udhcpc is always kept running. If it crashes for example, udhcpc is restarted. |
dhcpd_auth | 0, 1 | Allow dnsmasq to be the authoritative server. |
dhcpd_quirk | 0, 1 | Allow renewal of leases not in the DHCP table. If the router is rebooted for example, a computer will still be allowed to renew a now non-existing lease. |
dhcpd_slt | (minutes), 0, -1 | Override lease time for static DHCP leases. 0 means use the same value as the normal DHCP lease. -1 means the lease is "infinite." |
dnsmasq_conf | (blank) | Adds the string to the Dnsmasq configuration. |
dstcode | 5, 0 | Use new 2007 US rule for daylight savings time. Do not enable before 2007. |
dvlrssi | 0, 1 | Get wireless RSSI information for Device List. |
dvlwds | 0, 1 | Get WDS interfaces for Device List. |
forcewep0 | 0, 1 | Enables a work-around to a WEP bug. Forces WEP to always use the first index internally. |
ifstat | 0, 1 | Use ifstat, the tool that watches for byte transfer statistics for the Status page. |
klogd | 0, 1 | Use klogd to forward kernel messages to syslog. This is also required if you wish to view firewall dropped/accepted connection messages via syslog |
log_file | 0, 1 | Enable syslog output to /var/log/messages. Used for debugging. |
mourowhi | 0, 1 | Enables mouse highlighting of table rows on some pages. |
noffx | 0, 1 | In Firefox 1.0.x, drop-down listboxes are not displayed properly if the last item is selected when the page loads. This disables a work-around for that problem. |
tz | (unset) | Manually set the time zone and daylight savings time using TZ. To use, set the time zone in the GUI to GMT+0 and disable daylight savings time. Example for California: PST8PDT,M4.1.0/2,M10.5.0/2. More information. |
WRT-A / Access Point | ||||||
WEP | WPA/TKIP | WPA/AES | WPA2/AES | WPA2/AES+TKIP | ||
WRT-B | WEP | STA,WDS,WET | ||||
WPA/TKIP | STA,WDS,WET | STA,WDS | ||||
WPA/AES | STA,WDS,WET | |||||
WPA2/AES | STA,WDS | |||||
WPA2/AES+TKIP | STA |
WRT_A | WRT_B | |
Basic Settings | ||
Internet Connection Type | DHCP | DHCP |
Router IP | 192.168.1.1 | 192.168.3.1 |
DHCP Server | Enabled | Enabled |
Basic Wireless Settings | ||
Wireless Mode | Access Point | Client Mode |
WRT_A | WRT_B | |
Basic Settings | ||
Internet Connection Type | DHCP | Disabled |
Router IP | 192.168.1.1 | 192.168.1.2 |
DHCP Server | Enabled | Disabled |
LAN Gateway | N/A | 192.168.1.1 |
LAN DNS | N/A | 192.168.1.1 |
Basic Wireless Settings | ||
Wireless Mode | WDS | WDS |
WDS Mode | Link to the following | Link to the following |
Remote Bridges | Wireless MAC of WRT_B | Wireless MAC of WRT_A |
WRT_A | WRT_B | |
Basic Settings | ||
Internet Connection Type | DHCP | Disabled |
Router IP | 192.168.1.1 | 192.168.5.1 |
DHCP Server | Enabled | Disabled |
Basic Wireless Settings | ||
Wireless Mode | Access Point | WET |
Run "make menuconfig" from release/src/router/busybox/ and release/src/router/. You don't have to change anything here since the default options are ok, but you should still run both and save the settings.4. Build...
Go to release/src/ and run make.