[isf-wifidog] mesh

Philippe April isf_lists at philippeapril.com
Lun 13 Juin 11:41:24 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi...

Well it looks like both AP's are off, first of all. Not sure if that  
would work so check:

nvram show | grep ^wl0_

and send the results over.

Also, it looks like the bridge on neuronB has NOT been disabled.

Send me the results of

nvram show | grep ^wan_
nvram show | grep ^wifi_
nvram show | grep ^lan_

Basically, the goal now is to bring back AP = 1 on both routers, AND  
to break the bridge on neuronB so you'd have a separate eth1 (wifi),  
vlan1 (switch ports) and wds0.2.

wds0.2 would become your new "wan" link (default gateway).

So send me the nvram show's and I can tell you what I think you could  
change.

On 13-Jun-05, at 10:41 AM, Dr. Marios Moutzouris wrote:

> Thanks Philippe.
>
> True what you say. Don’t have internet access from neuronB at  
> all.neuronA
> has 'net access.
>
> neuronA
> ========
> root at neuronA:~# brctl show
> bridge name     bridge id               STP enabled     interfaces
> br0             8000.001217c793a3       no              vlan0
>                                                         eth1
>                                                         wds0.2
> root at neuronA:~# ifconfig -a
> br0       Link encap:Ethernet  HWaddr 00:12:17:C7:93:A3
>           inet addr:192.168.2.1  Bcast:192.168.2.255  Mask: 
> 255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 B)  TX bytes:378 (378.0 B)
>
> eth0      Link encap:Ethernet  HWaddr 00:12:17:C7:93:A3
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:4409 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1473 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:395866 (386.5 KiB)  TX bytes:131316 (128.2 KiB)
>           Interrupt:5 Base address:0x2000
>
> eth1      Link encap:Ethernet  HWaddr 00:12:17:C7:93:A5
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:1518
>           TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 B)  TX bytes:900 (900.0 B)
>           Interrupt:4 Base address:0x1000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:13 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:1344 (1.3 KiB)  TX bytes:1344 (1.3 KiB)
>
> vlan0     Link encap:Ethernet  HWaddr 00:12:17:C7:93:A3
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 B)  TX bytes:414 (414.0 B)
>
> vlan1     Link encap:Ethernet  HWaddr 00:12:17:C7:93:A4
>           inet addr:192.168.0.220  Bcast:192.168.0.255  Mask: 
> 255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:2719 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1464 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:238758 (233.1 KiB)  TX bytes:130902 (127.8 KiB)
>
> wds0.2    Link encap:Ethernet  HWaddr 00:12:17:C7:93:A5
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> root at neuronA:~# netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window   
> irtt
> Iface
> 192.168.2.0     0.0.0.0         255.255.255.0   U        40  
> 0          0 br0
> 192.168.0.0     0.0.0.0         255.255.255.0   U        40  
> 0          0
> vlan1
> 0.0.0.0         192.168.0.1     0.0.0.0         UG       40  
> 0          0
> vlan1
> root at neuronA:~# wl ap
> ap is 0 (off)
> root at neuronA:~# wl channel
> No scan in progress.
> current mac channel     6
> target channel  6
> root at neuronA:~# wl ssid
> Current SSID: "neuronA"
> neuronB
> ========
> root at neuronB:~# brctl show
> bridge name     bridge id               STP enabled     interfaces
> br0             8000.001217c795e3       no              vlan0
>                                                         eth1
>                                                         wds0.2
> root at neuronB:~# ifconfig -a
> br0       Link encap:Ethernet  HWaddr 00:12:17:C7:95:E3
>           inet addr:192.168.3.1  Bcast:192.168.3.255  Mask: 
> 255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:174 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:13974 (13.6 KiB)  TX bytes:17217 (16.8 KiB)
>
> eth0      Link encap:Ethernet  HWaddr 00:12:17:C7:95:E3
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:174 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:18102 (17.6 KiB)  TX bytes:17833 (17.4 KiB)
>           Interrupt:5 Base address:0x2000
>
> eth1      Link encap:Ethernet  HWaddr 00:12:17:C7:95:E5
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:93
>           TX packets:27 errors:31 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 B)  TX bytes:3727 (3.6 KiB)
>           Interrupt:4 Base address:0x1000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:2 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:168 (168.0 B)  TX bytes:168 (168.0 B)
>
> vlan0     Link encap:Ethernet  HWaddr 00:12:17:C7:95:E3
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:174 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:14970 (14.6 KiB)  TX bytes:17833 (17.4 KiB)
>
> wds0.2    Link encap:Ethernet  HWaddr 00:12:17:C7:95:E5
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) root at neuronB:~#  
> netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window   
> irtt
> Iface
> 192.168.3.0     0.0.0.0         255.255.255.0   U        40  
> 0          0 br0
> root at neuronB:~# wl ap
> ap is 0 (off)
> root at neuronB:~# wl channel
> No scan in progress.
> current mac channel     6
> target channel  6
> root at neuronB:~# wl ssid
> Current SSID: ""
> -----Original Message-----
> From: wifidog-bounces at listes.ilesansfil.org
> [mailto:wifidog-bounces at listes.ilesansfil.org] On Behalf Of  
> Philippe April
> Sent: Monday, June 13, 2005 5:16 PM
> To: WiFiDog Captive Portal
> Subject: Re: [isf-wifidog] mesh
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> When you're not in AP mode (to scan like you're doing, wl ap 0 must
> have been done earlier), you obviously stop broadcasting ssid.
>
> Perhaps neuronA was not in AP mode when you scanned with neuronB.
>
>  From neuronB, can you ping its default gateway (which should be
> neuronA)?
>
>  From neuronB, you should be able to connect to the internet (pings,
> etc.) and it should go through neuronA.
>
> If not, show me the config:
>
> brctl show
> ifconfig -a
> netstat -rn
> wl ap
> wl channel
> wl ssid
>
> That should be enough :)
>
> On 13-Jun-05, at 9:52 AM, Dr. Marios Moutzouris wrote:
>
>
>> Okay I have now neuronA and neuronB, where neuronA has net access
>> and has
>> dhcp to its clients in 192.168.2.x range
>> While neuronB has no internet connection. Funny thing is from
>> neuronB if I
>> do a wl scan ; sleep 1 ; wl scanresults it DOES not see neuronA.
>> But neuronA
>> with the same command sees neuronB. neuronB also sees other wireless
>> networks but not the one in particular. Both are on the 11 channel.
>>
>>
>>
>>> From below I gather that wifidog will not be monitoring the LAN
>>> ports? Since
>>>
>>>
>> I don’t have wireless devices at the moment, its kinda imperative I
>> test
>> with PCs. I tried the below recipe but to no avail. Should I change
>> the mode
>> the neuronB linksys is running...example station/client mode?
>>
>> Marios
>>
>> -----Original Message-----
>> From: wifidog-bounces at listes.ilesansfil.org
>> [mailto:wifidog-bounces at listes.ilesansfil.org] On Behalf Of
>> Philippe April
>> Sent: Wednesday, June 08, 2005 5:42 PM
>> To: WiFiDog Captive Portal
>> Subject: Re: [isf-wifidog] mesh
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> There's one thing that hasn't worked:
>>
>> on 'default', wds0.2 joined the bridge, it shouldn't have.
>>
>> So perhaps this part:
>> nvram set wan_ifnames=wds0.2
>> nvram set wan_ifname=wds0.2
>> nvram set wan_ipaddr=192.168.1.2
>> nvram set wan_netmask=255.255.255.0
>> nvram set wan_gateway=192.168.1.1
>> nvram set wan_proto=static
>>
>> Isn't doing the job, the wds link seems to STILL join br0.
>>
>> Can you send me (before you act on the changes below) the output of:
>> nvram show | grep ^wan_
>>
>> Just to confirm the changes were committed alright.
>>
>> Now, what we could do is to break br0, it should work after that (on
>> default).
>>
>> nvram set lan_ifnames=vlan0
>> nvram set lan_ifname=vlan0
>>
>> nvram set wifi_ifnames=eth1
>> nvram set wifi_ifname=eth1
>> nvram set wifi_ipaddr=192.168.20.1
>> nvram set wifi_netmask=255.255.255.0
>> nvram set wifi_proto=static
>>
>> And edit /etc/dnsmasq.conf to add another line:
>> dhcp-range=192.168.20.100,192.168.20.250,255.255.255.0,12h
>>
>> To have DHCP enabled also on the "new" wireless link (eth1 now that
>> it's separated).
>>
>> Now, wds0.2 should NOT join br0 anymore (doesn't exist).
>>
>> And you should have vlan0 = your lan ports and eth1 = your wireless.
>>
>> So you could now change wifidog's config to use eth1 instead of br0.
>>
>> Let me know if we're heading somewhere with this.
>>
>> On 8-Jun-05, at 5:54 AM, Dr. Marios Moutzouris wrote:
>>
>>
>>
>>> Okay here is the spew
>>> neuronA(router 1) - is the main linksys that has an internet
>>> connection
>>> default(router 2) - the other linksys that has to get an internet
>>> connection
>>> from neuronA
>>> + root at neuronA:~# ifconfig -a
>>> br0       Link encap:Ethernet  HWaddr 00:12:17:C7:93:A3
>>>           inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:
>>> 255.255.255.0
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:247 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:174 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:22721 (22.1 KiB)  TX bytes:25088 (24.5 KiB)
>>> eth0      Link encap:Ethernet  HWaddr 00:12:17:C7:93:A3
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:1116 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:300 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:100
>>>           RX bytes:103076 (100.6 KiB)  TX bytes:38657 (37.7 KiB)
>>>           Interrupt:5 Base address:0x2000
>>> eth1      Link encap:Ethernet  HWaddr 00:12:17:C7:93:A5
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:213
>>>           TX packets:23 errors:6 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:100
>>>           RX bytes:0 (0.0 B)  TX bytes:2779 (2.7 KiB)
>>>           Interrupt:4 Base address:0x1000
>>> lo        Link encap:Local Loopback
>>>           inet addr:127.0.0.1  Mask:255.0.0.0
>>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>> vlan0     Link encap:Ethernet  HWaddr 00:12:17:C7:93:A3
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:247 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:174 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:23917 (23.3 KiB)  TX bytes:25784 (25.1 KiB)
>>> vlan1     Link encap:Ethernet  HWaddr 00:12:17:C7:93:A4
>>>           inet addr:192.168.0.220  Bcast:192.168.0.255  Mask:
>>> 255.255.255.0
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:515 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:42441 (41.4 KiB)  TX bytes:12873 (12.5 KiB)
>>> wds0.2    Link encap:Ethernet  HWaddr 00:12:17:C7:93:A5
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:100
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>> + root at neuronA:~# netstat -rn
>>> Kernel IP routing table
>>> Destination     Gateway         Genmask         Flags   MSS Window
>>> irtt
>>> Iface
>>> 192.168.2.0     0.0.0.0         255.255.255.0   U        40
>>> 0          0 br0
>>> 192.168.0.0     0.0.0.0         255.255.255.0   U        40
>>> 0          0
>>> vlan1
>>> 0.0.0.0         192.168.0.1     0.0.0.0         UG       40
>>> 0          0
>>> vlan1
>>> + root at default:~# ifconfig -a
>>> br0       Link encap:Ethernet  HWaddr 00:0F:66:C8:78:43
>>>           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:
>>> 255.255.255.0
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:823 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:535 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:104554 (102.1 KiB)  TX bytes:65823 (64.2 KiB)
>>>
>>> eth0      Link encap:Ethernet  HWaddr 00:0F:66:C8:78:43
>>>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>>>           RX packets:824 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:535 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:100
>>>           RX bytes:122801 (119.9 KiB)  TX bytes:67963 (66.3 KiB)
>>>           Interrupt:5 Base address:0x2000
>>>
>>> eth1      Link encap:Ethernet  HWaddr 00:0F:66:C8:78:45
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:72
>>>           TX packets:35 errors:27 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:100
>>>           RX bytes:0 (0.0 B)  TX bytes:8214 (8.0 KiB)
>>>           Interrupt:4 Base address:0x1000
>>>
>>> lo        Link encap:Local Loopback
>>>           inet addr:127.0.0.1  Mask:255.0.0.0
>>>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>
>>> vlan0     Link encap:Ethernet  HWaddr 00:0F:66:C8:78:43
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:824 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:535 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:0
>>>           RX bytes:107969 (105.4 KiB)  TX bytes:67963 (66.3 KiB)
>>>
>>> wds0.2    Link encap:Ethernet  HWaddr 00:0F:66:C8:78:45
>>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>           collisions:0 txqueuelen:100
>>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>
>>> root at default:~# netstat -rn
>>> Kernel IP routing table
>>> Destination     Gateway         Genmask         Flags   MSS Window
>>> irtt
>>> Iface
>>> 192.168.1.0     0.0.0.0         255.255.255.0   U        40
>>> 0          0 br0
>>>
>>> root at default:~# brctl show
>>> bridge name     bridge id               STP enabled     interfaces
>>> br0             8000.000f66c87843       no              vlan0
>>>                                                         eth1
>>>                                                         wds0.2
>>>
>>> root at default:~# wl channel
>>> No scan in progress.
>>> current mac channel     6
>>> target channel  6
>>>
>>> root at neuronA:~# brctl show
>>> bridge name     bridge id               STP enabled     interfaces
>>> br0             8000.001217c793a3       no              vlan0
>>>                                                         eth1
>>>                                                         wds0.2
>>>
>>>
>>>
>>> root at neuronA:~# wl channel
>>> No scan in progress.
>>> current mac channel     6
>>> target channel  6
>>>
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: wifidog-bounces at listes.ilesansfil.org
>>> [mailto:wifidog-bounces at listes.ilesansfil.org] On Behalf Of
>>> Philippe April
>>> Sent: Tuesday, June 07, 2005 4:34 PM
>>> To: WiFiDog Captive Portal
>>> Subject: Re: [isf-wifidog] mesh
>>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Can you give more détails on why and what didn't work exactly?
>>>
>>> If the setup is still in place, send me the output of:
>>>
>>> ifconfig -a
>>> netstat -rn
>>> brctl show
>>> wl channel
>>>
>>> for both routers.
>>>
>>> Oh, I forgot to mention, you need to install the 'wl' package I  
>>> think
>>> in order for WDS to work.
>>>
>>> On 7-Jun-05, at 8:38 AM, Dr. Marios Moutzouris wrote:
>>>
>>>
>>>
>>>
>>>> I tried, but no luck:(
>>>>
>>>> Any other ideas?
>>>>
>>>> Marios
>>>>
>>>> -----Original Message-----
>>>> From: wifidog-bounces at listes.ilesansfil.org
>>>> [mailto:wifidog-bounces at listes.ilesansfil.org] On Behalf Of
>>>> Philippe April
>>>> Sent: Monday, June 06, 2005 3:34 PM
>>>> To: WiFiDog Captive Portal
>>>> Subject: Re: [isf-wifidog] mesh
>>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> Here's what I would do:
>>>>
>>>> Put them both on the same channel (no need to be same ssid)
>>>>
>>>> router 1:
>>>> nvram set wl0_wds=mac_of_router_2's_wifi_interface
>>>>
>>>> router 2:
>>>> nvram set wl0_wds=mac_of_router_1's_wifi_interface
>>>>
>>>> Also set the wl_wds variables to the same thing, it's said that  
>>>> it's
>>>> required to have both (did anybody research this and can answer
>>>> why?)
>>>>
>>>> Turn off lazy_wds. Basically with that, anybody can make you a WDS
>>>> peer and you'll accept. No need.
>>>>
>>>> nvram set wl0_lazywds=0
>>>>
>>>> WDS links will join the bridge br0 by default. What we can try, is
>>>> basically try to make the "client" (one that'll take the internet
>>>> from the other)'s WAN config, the new wds link.
>>>>
>>>> #router2 (client)
>>>> nvram set wan_ifnames=wds0.2
>>>> nvram set wan_ifname=wds0.2
>>>> nvram set wan_ipaddr=192.168.1.2
>>>> nvram set wan_netmask=255.255.255.0
>>>> nvram set wan_gateway=192.168.1.1
>>>> nvram set wan_proto=static
>>>>
>>>> #change the IP address of the bridge, since it'll overlap with WAN
>>>> otherwise
>>>> nvram set lan_ipaddr=192.168.2.1
>>>>
>>>> #commit
>>>> nvram commit
>>>>
>>>> Edit /etc/dnsmasq.conf to make it give IPs on 192.168.2.x  
>>>> instead of
>>>> 192.168.1.x.
>>>>
>>>> So basically what I'm trying to do:
>>>>
>>>> #router1 - gateway
>>>> LAN - br0: LAN ports + WIFI + WDS link (192.168.1.x)
>>>> WAN - vlan1: Internet, you know how to configure this
>>>>
>>>> (basically, the usual config)
>>>>
>>>> #router2 - client
>>>> LAN - br0: LAN ports + WIFI
>>>> WAN - wds0.2: WDS link (192.168.1.2)
>>>>
>>>> (we're replacing the WAN link to the WDS link, so the scripts  
>>>> should
>>>> do NATting to that now instead of vlan1 + default route).
>>>>
>>>> Make wifidog listen on br0 on both.
>>>>
>>>> Okay I'm totally doing this _untested_, but it should work. Feel
>>>> free
>>>> to ask questions, it's tricky ;)
>>>>
>>>> I'd love to see if Freifunk is doing something similar. They might
>>>> have added custom scripts to deal with... custom setups like this
>>>> one :)
>>>>
>>>> On 6-Jun-05, at 6:33 AM, Dr. Marios Moutzouris wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> I was hoping that it would be simply tweaking some of the nvram
>>>>> variables on
>>>>> a standard openwrt installation. Can it not be done so?
>>>>>
>>>>> Thanks
>>>>> Marios
>>>>>
>>>>> -----Original Message-----
>>>>> From: wifidog-bounces at listes.ilesansfil.org
>>>>> [mailto:wifidog-bounces at listes.ilesansfil.org] On Behalf Of Jo
>>>>> Walsh
>>>>> Sent: Monday, June 06, 2005 1:29 PM
>>>>> To: WiFiDog Captive Portal
>>>>> Subject: Re: [isf-wifidog] mesh
>>>>>
>>>>> On Mon, Jun 06, 2005 at 01:09:39PM +0300, Dr. Marios Moutzouris
>>>>> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> I don?t know whether it belongs here, but.....how do I setup two
>>>>>> or more
>>>>>> linksys's in a form of mesh where only one receives an internet
>>>>>> connection
>>>>>> and is "shared" amongst the others. Obviously wifidog will  
>>>>>> need to
>>>>>> be run
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> on
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> each of them.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> we've had very good experiences with the Freifunk Firmware, a mesh
>>>>> routing openWRT distribution. It has a friendly web admin GUI if
>>>>> you
>>>>> visit its port 80. the ISF Wifidog ipkg runs on it just fine.
>>>>> http://www.freifunk.net/wiki/FreifunkFirmwareEnglish
>>>>>
>>>>>
>>>>> -jo
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> No virus found in this incoming message.
>>>>> Checked by AVG Anti-Virus.
>>>>> Version: 7.0.323 / Virus Database: 267.6.2 - Release Date:  
>>>>> 4/6/2005
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> No virus found in this outgoing message.
>>>>> Checked by AVG Anti-Virus.
>>>>> Version: 7.0.323 / Virus Database: 267.6.2 - Release Date:  
>>>>> 4/6/2005
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> WiFiDog mailing list
>>>>> WiFiDog at listes.ilesansfil.org
>>>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> Philippe April
>>>> GnuPG http://key.philippeapril.com
>>>>
>>>> -----BEGIN PGP SIGNATURE-----
>>>> Version: GnuPG v1.2.4 (Darwin)
>>>>
>>>> iD8DBQFCpEKqOq+Ep5Xn/aARAhjXAKCq7ifma7DyM+5ObQedFclhUtVQawCdFXWH
>>>> K7sKPOv4UnBZ5XpBp80DuXc=
>>>> =gyz2
>>>> -----END PGP SIGNATURE-----
>>>>
>>>> -- 
>>>> No virus found in this incoming message.
>>>> Checked by AVG Anti-Virus.
>>>> Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 4/6/2005
>>>>
>>>>
>>>>
>>>> -- 
>>>> No virus found in this outgoing message.
>>>> Checked by AVG Anti-Virus.
>>>> Version: 7.0.323 / Virus Database: 267.6.4 - Release Date: 6/6/2005
>>>>
>>>>
>>>> _______________________________________________
>>>> WiFiDog mailing list
>>>> WiFiDog at listes.ilesansfil.org
>>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>>
>>>>
>>>>
>>>
>>> Philippe April
>>> GnuPG http://key.philippeapril.com
>>>
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.2.4 (Darwin)
>>>
>>> iD8DBQFCpaI7Oq+Ep5Xn/aARAir4AJ0TAgltP/D1zFTzh2v92SCzYWILqwCeJPGN
>>> eRaxkVcPlJ86ZB7uYwuS+lg=
>>> =oYVz
>>> -----END PGP SIGNATURE-----
>>> _______________________________________________
>>> WiFiDog mailing list
>>> WiFiDog at listes.ilesansfil.org
>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>
>>> -- 
>>> No virus found in this incoming message.
>>> Checked by AVG Anti-Virus.
>>> Version: 7.0.323 / Virus Database: 267.6.4 - Release Date: 6/6/2005
>>>
>>>
>>> -- 
>>> No virus found in this outgoing message.
>>> Checked by AVG Anti-Virus.
>>> Version: 7.0.323 / Virus Database: 267.6.5 - Release Date: 7/6/2005
>>>
>>>
>>> _______________________________________________
>>> WiFiDog mailing list
>>> WiFiDog at listes.ilesansfil.org
>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>
>>>
>>>
>>>
>>
>> Philippe April
>> GnuPG http://key.philippeapril.com
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.4 (Darwin)
>>
>> iD8DBQFCpwO5Oq+Ep5Xn/aARAh2FAJ0WBjaCb50fo3tluwq6sFmBxtsBKQCZATYp
>> +dJEWLzKgyPevQK9OMvj0Ak=
>> =xx8r
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> WiFiDog mailing list
>> WiFiDog at listes.ilesansfil.org
>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>
>> -- 
>> No virus found in this incoming message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.323 / Virus Database: 267.6.5 - Release Date: 7/6/2005
>>
>>
>> -- 
>> No virus found in this outgoing message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 11/6/2005
>>
>>
>> _______________________________________________
>> WiFiDog mailing list
>> WiFiDog at listes.ilesansfil.org
>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>
>>
>>
>
> Philippe April
> GnuPG http://key.philippeapril.com
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFCrZUsOq+Ep5Xn/aARAo9kAJ9mGpTeizDt9VuTQlNLvPjxF6klzgCeKgCd
> MtpVNaV8pBzA/oSEiDiPzCA=
> =QTOC
> -----END PGP SIGNATURE-----
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 11/6/2005
>
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 11/6/2005
>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
>

Philippe April
GnuPG http://key.philippeapril.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCraklOq+Ep5Xn/aARAqdvAJ4/DnuleytcXFyxEg6ToZ7s8elhNACgp3vU
DgDNyvTJvz9XkYZSpmqthww=
=uDVr
-----END PGP SIGNATURE-----


More information about the WiFiDog mailing list