This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
router_setup_instructions [2010/03/22 16:31] barbaraturner |
router_setup_instructions [2013/09/28 16:06] (current) |
||
|---|---|---|---|
| Line 116: | Line 116: | ||
| ====== Other router-related stuff ====== | ====== Other router-related stuff ====== | ||
| - | [[http://www.bestessays.com.au|term paper]] | ||
| ===== Other resources ===== | ===== Other resources ===== | ||
| Line 218: | Line 217: | ||
| nvram set wl_ssid=wirelesstoronto | nvram set wl_ssid=wirelesstoronto | ||
| nvram set wl_channel=1 | nvram set wl_channel=1 | ||
| - | rm /etc/init.d/S50dnsmasq[[http://www.bestessays.com.au|term paper]] | + | rm /etc/init.d/S50dnsmasq |
| nvram commit | nvram commit | ||
| reboot | reboot | ||
| Line 235: | Line 234: | ||
| where 192.168.17.0 is the wired LAN. you won't be able to ping 192.168.17.1, but traffic will still flow through it | where 192.168.17.0 is the wired LAN. you won't be able to ping 192.168.17.1, but traffic will still flow through it | ||
| + | ===== separating wifi & wired networks ("breaking the bridge") ===== | ||
| + | |||
| + | You'd want to do this if you want wifi users to authenticate to wifidog, but for computers plugged into the ethernet ports to not have to authenticate. | ||
| + | |||
| + | The original config on the router is probably:<code> | ||
| + | lan_ifname="br0" | ||
| + | lan_proto=static | ||
| + | lan_ipaddr=192.168.1.1 | ||
| + | lan_netmask=255.255.255.0 | ||
| + | wifi_ifname="" | ||
| + | wifi_proto="" | ||
| + | wifi_ipaddr="" | ||
| + | wifi_netmask="" | ||
| + | lan_ifnames="vlan0 eth1 eth2" | ||
| + | </code> | ||
| + | |||
| + | Run these commands:<code> | ||
| + | nvram set lan_ifname=vlan0 | ||
| + | nvram set lan_proto=static | ||
| + | nvram set lan_ipaddr=192.168.2.1 | ||
| + | nvram set lan_netmask=255.255.255.0 | ||
| + | nvram set wifi_ifname=eth1 | ||
| + | nvram set wifi_proto=static | ||
| + | nvram set wifi_ipaddr=192.168.1.1 | ||
| + | nvram set wifi_netmask=255.255.255.0 | ||
| + | nvram set lan_ifnames=vlan0 | ||
| + | nvram commit | ||
| + | </code> | ||
| + | |||
| + | Edit /etc/dnsmasq.conf, adding these lines:<code> | ||
| + | dhcp-range=eth1,192.168.1.100,192.168.1.250,255.255.255.0,12h | ||
| + | dhcp-range=vlan0,192.168.2.100,192.168.2.250,255.255.255.0,12h | ||
| + | </code> | ||
| + | |||
| + | Edit /etc/wifidog.conf, and change "GatewayInterface" to eth1 | ||
| + | |||
| + | Reboot | ||
| + | |||
| + | (Done!) | ||