[isf-wifidog] mesh

Dr. Marios Moutzouris m.moutzouris at neuron.gr
Mer 15 Juin 09:49:43 EDT 2005


I've search high and low on the openwrt site. And have tried a few things. I
killed the br0 interface somehow [how, is unknown], nevertheless. I should
be able to ping from neuronB to neuronA?

Also somewhere I saw that SSID needs to be the same ( for
neuronB[wan_hostname] I said ssid=neuronA], and so I did, and when I put wl
status, I get the status of neuronA.

Does some kind of routing need to be established so the one can ping the
other?

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 15, 2005 4:13 PM
To: WiFiDog Captive Portal
Subject: Re: [isf-wifidog] mesh

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

I don't understand why both routers don't go into AP mode even though  
they seem to be set for infrastructure mode, but for neuronB, the  
bridge is still up. Since the bridge exists, wds0.2 joins it.

I don't know if there's a way to not make it join it, besides hacking  
it with scripts after bootup OR removing the bridge.

Let's remove the bridge. I thought I had tried that before but it  
doesn't seem to have worked.

On neuronB:

nvram set lan_ifnames=vlan0
nvram set lan_proto=static
nvram set lan_ipaddr=192.168.3.1
nvram set lan_ifname=vlan0

nvram set wifi_ifnames=eth1
nvram set wifi_ifname=eth1
nvram set wifi_proto=static
nvram set wifi_ipaddr=192.168.4.1
nvram set wifi_netmask=255.255.255.0

nvram commit

Then edit /etc/dnsmasq.conf and add another line for the new  
192.168.4.0 subnet.

Now wds0.2 should not join.

Only issue left that I can see is that they both don't go into AP  
mode. Force them for now by doing:

wl ap 1

On 14-Jun-05, at 1:47 AM, Dr. Marios Moutzouris wrote:

> Okay here goes;-)
>
> root at neuronA:~# nvram show | grep ^wl0_
> wl0_net_mode=mixed
> wl0_frameburst=off
> wl0_wep_buf=
> wl0_macmode1=disabled
> wl0_infra=1
> wl0_country_code=AU
> wl0_ap_ssid=
> wl0_ifname=eth1
> wl0_mrate=0
> wl0_mode=ap
> wl0_ap_isolate=0
> wl0_gmode=1
> wl0_wep_last=
> wl0_ssid=neuronA
> wl0_dtim=1
> wl0_key1=
> wl0_key2=
> wl0_key3=
> wl0_key4=
> wl0_closed=0
> wl0_rate=0
> wl0_plcphdr=long
> wl0_macmode=disabled
> wl0_radioids=BCM2050
> wl0_phytype=g
> wl0_lazywds=0
> wl0_afterburner=off
> wl0_antdiv=-1
> wl0_wpa_psk=
> wl0_mac_list=
> wl0_unit=0
> size: 8876 bytes (23892 left)
> wl0_wds=00:12:17:C7:95:E5
> wl0_auth=0
> wl0_radius_port=1812
> wl0_mac_deny=
> wl0_radius_ipaddr=
> wl0_phytypes=g
> wl0_wep=disabled
> wl0_frag=2346
> wl0_country=Worldwide
> wl0_rateset=default
> wl0_wep_bit=64
> wl0_passphrase=
> wl0_rts=2347
> wl0_wpa_gtk_rekey=3600
> wl0_key=1
> wl0_active_mac=
> wl0_radio=1
> wl0_bcn=100
> wl0_hwaddr=00:12:17:C7:93:A5
> wl0_wep_gen=
> wl0_gmode_protection=off
> wl0_maclist=
> wl0_radius_key=
> wl0_corerev=7
> wl0_channel=6
> wl0_auth_mode=open
> wl0_crypto=tkip
> wl0_ap_ip=
>
> root at neuronA:~# nvram show | grep ^wan_
> wan_unit=0
> wan_get_dns=192.168.0.2
> wan_run_mtu=1500
> wan_lease=43200
> wan_gateway=192.168.0.1
> wan_hwname=
> wan_domain=
> wan_netmask=255.255.255.0
> wan_dns=192.168.0.2
> wan_proto=dhcp
> size: 8876 bytes (23892 left)
> wan_hwaddr=00:12:17:C7:93:A4
> wan_ifnames=vlan1
> wan_primary=1
> wan_gateway_buf=0.0.0.0
> wan_iface=vlan1
> wan_ipaddr=10.0.0.1
> wan_ipaddr_buf=0.0.0.0
> wan_wins=0.0.0.0
> wan_mtu=1500
> wan_get_domain=
> wan_ifname=vlan1
> wan_hostname=neuronA
>
> root at neuronA:~# nvram show | grep ^wifi_
> size: 8876 bytes (23892 left)
> wifi_proto=dhcp
>
> root at neuronA:~# nvram show | grep ^lan_
> lan_domain=
> lan_netmask=255.255.255.0
> lan_lease=86400
> lan_stp=0
> lan_hwaddr=00:12:17:C7:93:A3
> size: 8876 bytes (23892 left)
> lan_ifnames=vlan0 eth1 eth2 eth3
> lan_ipaddr=192.168.2.1
> lan_proto=dhcp
> lan_ifname=br0
> lan_wins=
> lan_hwnames=
>
>
> root at neuronB:~# nvram show | grep ^wl0_
> wl0_net_mode=mixed
> wl0_frameburst=off
> wl0_wep_buf=
> wl0_macmode1=disabled
> wl0_infra=1
> wl0_country_code=AU
> wl0_ap_ssid=
> wl0_ifname=eth1
> wl0_mrate=0
> wl0_mode=sta
> wl0_ap_isolate=0
> wl0_gmode=1
> wl0_wep_last=
> wl0_dtim=1
> wl0_ssid=neuronB
> wl0_key1=
> wl0_key2=
> wl0_key3=
> wl0_key4=
> wl0_plcphdr=long
> wl0_rate=0
> wl0_closed=0
> wl0_macmode=disabled
> wl0_radioids=BCM2050
> wl0_phytype=g
> wl0_lazywds=0
> wl0_afterburner=off
> wl0_antdiv=-1
> wl0_wpa_psk=
> wl0_mac_list=
> wl0_unit=0
> size: 8871 bytes (23897 left)
> wl0_wds=00:12:17:C7:93:A5
> wl0_mac_deny=
> wl0_radius_port=1812
> wl0_auth=0
> wl0_radius_ipaddr=
> wl0_phytypes=g
> wl0_frag=2346
> wl0_wep=disabled
> wl0_country=Worldwide
> wl0_rateset=default
> wl0_wep_bit=64
> wl0_passphrase=
> wl0_rts=2347
> wl0_wpa_gtk_rekey=3600
> wl0_key=1
> wl0_active_mac=
> wl0_radio=1
> wl0_bcn=100
> wl0_hwaddr=00:12:17:C7:95:E5
> wl0_wep_gen=
> wl0_gmode_protection=off
> wl0_maclist=
> wl0_radius_key=
> wl0_corerev=7
> wl0_channel=6
> wl0_auth_mode=open
> wl0_crypto=tkip
> wl0_ap_ip=
>
> root at neuronB:~# nvram show | grep ^wan_
> wan_unit=0
> wan_get_dns=62.169.201.2
> wan_run_mtu=1500
> wan_lease=43200
> wan_gateway=192.168.2.1
> wan_domain=
> wan_hwname=
> wan_netmask=255.255.255.0
> wan_dns=192.168.0.2
> wan_proto=static
> size: 8871 bytes (23897 left)
> wan_hwaddr=00:12:17:C7:95:E4
> wan_ifnames=wds0.2
> wan_primary=1
> wan_gateway_buf=0.0.0.0
> wan_iface=vlan1
> wan_ipaddr=192.168.2.2
> wan_wins=0.0.0.0
> wan_mtu=1500
> wan_get_domain=
> wan_ifname=wds0.2
> wan_hostname=neuronB
>
> root at neuronB:~# nvram show | grep ^wifi_
> size: 8871 bytes (23897 left)
>
>
> root at neuronB:~# nvram show | grep ^lan_
> lan_domain=
> lan_netmask=255.255.255.0
> lan_lease=86400
> lan_stp=0
> lan_hwaddr=00:12:17:C7:95:E3
> size: 8871 bytes (23897 left)
> lan_ifnames=vlan0 eth1 eth2 eth3
> lan_proto=dhcp
> lan_ipaddr=192.168.3.1
> lan_ifname=br0
> lan_wins=
> lan_hwnames=
>
> -----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 6:41 PM
> To: WiFiDog Captive Portal
> Subject: Re: [isf-wifidog] mesh
>
> -----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-----
>
> -- 
> 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)

iD8DBQFCsClnOq+Ep5Xn/aARAoulAJ9RPn7tGja2JMuAF5pfVGUeqB01PgCeLTSQ
R9wtvfeBq1A5lEXCFM34jfI=
=/OMG
-----END PGP SIGNATURE-----

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 14/6/2005
 
  

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 14/6/2005
 



More information about the WiFiDog mailing list