[Ninux-Calabria] problema gr e openwrt
BornAgain
bornagain a autoproduzioni.net
Dom 15 Mar 2015 23:24:48 UTC
aggiornamento se al posto di trelay il bridge provo a farlo con relayd configurando una nuova interfaccia
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth1.7'
option proto 'static'
option ipaddr '10.89.2.253'
option netmask '255.255.255.0'
option dns '10.11.12.13 8.8.8.8'
option gateway '10.89.2.1'
#config interface 'backbone_ap'
# option proto 'none'
# option ifname 'eth1.3'
# option type 'bridge'
config interface 'backbone_sta'
option proto 'none'
option ifname 'eth1.4'
# option macaddr '00:15:6d:e8:49:55'
# option type 'bridge'
config internace 'bridge'
option proto 'relay'
option network ‘wlan0 eth1.4'
il bridge anche in questo caso non sale ma avviene un cambiamento a livello radio
root a OsservatorioSud:~# iw wlan0 station dump
Station 00:27:22:54:11:d7 (on wlan0)
inactive time: 8300 ms
rx bytes: 781216
rx packets: 4307
tx bytes: 667
tx packets: 8
tx retries: 3
tx failed: 0
signal: -69 [-73, -71] dBm
signal avg: -69 [-74, -70] dBm
tx bitrate: 216.0 MBit/s MCS 13 40Mhz
rx bitrate: 6.0 MBit/s
authorized: yes
authenticated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
root a OsservatorioSud:~#
in tx il bitrate sale ai valori che dovrebbe normalmente avere .. questo però non avviene in rx
adesso io non so dove altro sbattere la testa .. se qualcuno ha idee che le dica
Danilo è convinto di ripiallare il gr e seguire la vostra guida (noi sostanzialmente abbiamo fatto circa le stesse cose fatte a cosenza ma da shell)
Io credo che il problema non stia lì (altrimenti non funzionerebbe neanche l’antenna lato nord) ma risieda nel bridge dell’antenna openwrt
tra le altre cose correggetemi ma nessuno di voi ha provato gr con antenna in sta in openwrt quindi mi sembra che questo sia un buon banco di prova
aspetto idee
> Il giorno 15/mar/2015, alle ore 21:44, BornAgain <bornagain a autoproduzioni.net> ha scritto:
>
>
>> Disabilita trelay, disabilita ogni opzione “option mac address" (cose che comunque ti saranno necessarie per provare WDS), rimetti la vlan in bridge con la wlan-STA (con option type bridge)
> il mac del wifi l’ho lasciato perchè senno mi porta errore PHY
>
> ti posto le config di wireless e network
>
>
> config interface 'loopback'
> option ifname 'lo'
> option proto 'static'
> option ipaddr '127.0.0.1'
> option netmask '255.0.0.0'
>
> config interface 'lan'
> option ifname 'eth1.7'
> option proto 'static'
> option ipaddr '10.89.2.253'
> option netmask '255.255.255.0'
> option dns '10.11.12.13 8.8.8.8'
> option gateway '10.89.2.1'
>
> #config interface 'backbone_ap'
> # option proto 'none'
> # option ifname 'eth1.3'
> # option type 'bridge'
>
> config interface 'backbone_sta'
> option proto 'none'
> option ifname 'eth1.4'
>
> # option macaddr '00:15:6d:e8:49:55'
> option type ‘bridge'
>
>
> poi
>
> root a OsservatorioSud:~# vi /etc/config/wireless
>
> config wifi-device 'radio0'
> option type 'mac80211'
> option hwmode '11na'
> option macaddr '00:15:6d:e8:49:55'
> list ht_capab 'SHORT-GI-40'
> list ht_capab 'TX-STBC'
> list ht_capab 'RX-STBC1'
> list ht_capab 'DSSS_CCK-40'
> # option country 'US'
> option htmode 'HT20'
> option channel 'auto'
> option distance '2500'
> option txpower '25'
>
> config wifi-iface
> option device 'radio0'
> option encryption 'none'
> option network 'backbone_sta'
> option mode 'sta'
> option ssid 'ninux.org'
> option type 'bridge'
> # option wds ‘1'
>
>
> a questo punto
>
> root a OsservatorioSud:~# wifi
> wpa_supplicant_setup_vif(wlan0): Refusing to bridge sta mode interface
> enable_mac80211(radio0): Failed to set up wpa_supplicant for interface wlan0
> root a OsservatorioSud:~#
>
>
>>
>> non ti salirà il bridge, ma puoi postare gli output sull'antenna dei comandi
>>
>> ifconfig -a
>
> root a OsservatorioSud:~# ifconfig -a
> br-backbone_sta Link encap:Ethernet HWaddr 02:15:6D:E9:49:55
> inet6 addr: fe80::15:6dff:fee9:4955/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:284 errors:0 dropped:0 overruns:0 frame:0
> TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:201584 (196.8 KiB) TX bytes:478 (478.0 B)
>
> eth0 Link encap:Ethernet HWaddr 00:15:6D:E9:49:55
> BROADCAST 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:1000
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
> Interrupt:4
>
> eth1 Link encap:Ethernet HWaddr 02:15:6D:E9:49:55
> inet6 addr: fe80::15:6dff:fee9:4955/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:43929 errors:0 dropped:0 overruns:0 frame:0
> TX packets:21195 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:25097355 (23.9 MiB) TX bytes:5755001 (5.4 MiB)
> Interrupt:5
>
> eth1.4 Link encap:Ethernet HWaddr 02:15:6D:E9:49:55
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:284 errors:0 dropped:0 overruns:0 frame:0
> TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:201584 (196.8 KiB) TX bytes:478 (478.0 B)
>
> eth1.7 Link encap:Ethernet HWaddr 02:15:6D:E9:49:55
> inet addr:10.89.2.253 Bcast:10.89.2.255 Mask:255.255.255.0
> inet6 addr: fe80::15:6dff:fee9:4955/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:1208 errors:0 dropped:0 overruns:0 frame:0
> TX packets:439 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:389294 (380.1 KiB) TX bytes:65538 (64.0 KiB)
>
> gre0 Link encap:UNSPEC HWaddr 00-00-00-00-97-30-00-48-00-00-00-00-00-00-00-00
> NOARP MTU:1476 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)
>
> ifb0 Link encap:Ethernet HWaddr 1A:35:7A:BC:3A:7F
> BROADCAST NOARP 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:32
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> ifb1 Link encap:Ethernet HWaddr 02:46:A9:6F:8A:95
> BROADCAST NOARP 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:32
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
> NOARP MTU:1452 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)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> 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)
>
> tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-94-F0-00-48-00-00-00-00-00-00-00-00
> NOARP MTU:1480 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)
>
> wlan0 Link encap:Ethernet HWaddr 00:15:6D:E8:49:55
> BROADCAST 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:1000
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
>> brctl show
>
> root a OsservatorioSud:~# brctl show
> bridge name bridge id STP enabled interfaces
> br-backbone_sta 8000.02156de94955 no eth1.4
>
>>
>> Poi, se puoi, riattiva la configurazione non funzionante con trelay e riproduci gli stessi output
>
> a questo punto commento i bridge e li faccio gestire a
>
> config trelay
> option enabled 1
> option dev1 eth1.4
> option dev2 wlan0
>
>
> abilito
>
> root a OsservatorioSud:~# /etc/init.d/network restart
> Successfully initialized wpa_supplicant
> Command failed: Operation not supported
> root a OsservatorioSud:~# /etc/init.d/trelay start
>
>
>
> root a OsservatorioSud:~# ifconfig -a
> eth0 Link encap:Ethernet HWaddr 00:15:6D:E9:49:55
> BROADCAST 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:1000
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
> Interrupt:4
>
> eth1 Link encap:Ethernet HWaddr 02:15:6D:E9:49:55
> inet6 addr: fe80::15:6dff:fee9:4955/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:45481 errors:0 dropped:0 overruns:0 frame:0
> TX packets:21746 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:25754519 (24.5 MiB) TX bytes:5852764 (5.5 MiB)
> Interrupt:5
>
> eth1.4 Link encap:Ethernet HWaddr 02:15:6D:E9:49:55
> inet6 addr: fe80::15:6dff:fee9:4955/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:73 errors:0 dropped:0 overruns:0 frame:0
> TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:52868 (51.6 KiB) TX bytes:32832 (32.0 KiB)
>
> eth1.7 Link encap:Ethernet HWaddr 02:15:6D:E9:49:55
> inet addr:10.89.2.253 Bcast:10.89.2.255 Mask:255.255.255.0
> inet6 addr: fe80::15:6dff:fee9:4955/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:287 errors:0 dropped:0 overruns:0 frame:0
> TX packets:85 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:97552 (95.2 KiB) TX bytes:9814 (9.5 KiB)
>
> gre0 Link encap:UNSPEC HWaddr 00-00-00-00-96-10-00-48-00-00-00-00-00-00-00-00
> NOARP MTU:1476 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)
>
> ifb0 Link encap:Ethernet HWaddr 1A:35:7A:BC:3A:7F
> BROADCAST NOARP 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:32
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> ifb1 Link encap:Ethernet HWaddr 02:46:A9:6F:8A:95
> BROADCAST NOARP 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:32
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> ip6tnl0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
> NOARP MTU:1452 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)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> 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)
>
> tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-93-D0-00-48-00-00-00-00-00-00-00-00
> NOARP MTU:1480 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)
>
> wlan0 Link encap:Ethernet HWaddr 00:15:6D:E8:49:55
> inet6 addr: fe80::215:6dff:fee8:4955/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:159 errors:0 dropped:0 overruns:0 frame:0
> TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:41402 (40.4 KiB) TX bytes:41960 (40.9 KiB)
>
>
>
> root a OsservatorioSud:~# brctl show
> bridge name bridge id STP enabled interfaces
> root a OsservatorioSud:~#
>
>
>>
>> Lo scopo è, come probabilmente avrai notato, di determinare come fa su AirOS a funzionare la medesima cosa che su OpenWrt non funziona, e conseguente capire di più su che succede.
>
> sostanzialmente mi sembra di capire che con la configurazione con trelay non alza il bridge
>
> a scanso di equivoci ho anche riavviato l’antenna con trelay abilitato e non lo fa nemmeno all’avvio
>
>>
>> Stefanauss.
>>
>> _______________________________________________
>> Calabria mailing list
>> Calabria a ml.ninux.org
>> http://ml.ninux.org/mailman/listinfo/calabria
>
> _______________________________________________
> Calabria mailing list
> Calabria a ml.ninux.org
> http://ml.ninux.org/mailman/listinfo/calabria
-------------- parte successiva --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://ml.ninux.org/pipermail/calabria/attachments/20150316/7ecaf80e/attachment-0001.pgp>
Maggiori informazioni sulla lista
Calabria