[Ninux-Calabria] problema gr e openwrt
BornAgain
bornagain a autoproduzioni.net
Dom 15 Mar 2015 21:44:44 CET
> 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
-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome: signature.asc
Tipo: application/pgp-signature
Dimensione: 496 bytes
Descrizione: Message signed with OpenPGP using GPGMail
URL: <http://ml.ninux.org/pipermail/calabria/attachments/20150315/75ba3f23/attachment-0001.sig>
Maggiori informazioni sulla lista
Calabria