Re: [Ninux-Wireless] AirOS radio
Il 01/04/2014 00:31, Massimiliano CARNEMOLLA ha scritto: > Come devo settare la scheda di rete wireless di ogni antenna con AirOS > se lo stesso non permette la modalita' ad-hoc ? > Una fa da AP, l'altra da Station. Stefanauss. signature.asc Description: OpenPGP digital signature ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
[Ninux-Wireless] AirOS radio
Come devo settare la scheda di rete wireless di ogni antenna con AirOS se lo stesso non permette la modalita' ad-hoc ? ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Ground Routing HOWTO
Il 31/03/2014 17:35, Salvatore Tringale ha scritto: > Ottimo lavoro! Una nota a margine... ma parlare di "soluzione a > risparmio energetico" mi sembra una contraddizione in termini. Almeno > ho trovato uno svantaggio del Routing a Terra! :-) Il routing a terra non diminuisce o aumenta il numero di dispositivi in uso (e spesso, neanche la tipologia), che dipende da altre considerazioni: altera solo la loro funzione svolta. Dove parla di "risparmio energetico" si riferisce a quello *del driver wireless*, non del routing a terra di per sè :) Stefanauss. signature.asc Description: OpenPGP digital signature ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Ground Routing HOWTO
Ottimo lavoro! Una nota a margine... ma parlare di "soluzione a risparmio energetico" mi sembra una contraddizione in termini. Almeno ho trovato uno svantaggio del Routing a Terra! :-) Il giorno 31 marzo 2014 13:41, Stefano De Carlo ha scritto: > Il 31/03/2014 11:06, Luca Postregna ha scritto: > > ho letto la guida, bel lavoro. > due considerazioni > >- per la creazione e la gestione delle vlan/bridge sul router a terra >metterei esempi di comandi shell basati su iproute2/brctl > > > Su OpenWRT, come hai detto tu, c'è /etc/config/network. Dove c'è un > framework/wrapper centralizzato delle impostazioni è meglio usar quello. > I comandi shell generici, che se uno proprio vuole si applicano anche su > OpenWRT, verranno trattati nella sezione "Linux Box". > > > >- per quel che riguarda openwrt lascierei perdere la configurazione >via luci a scapito della configurazione manuale editando > /etc/config/network > > > Immagino intendessi "a favore". > Eh, ma un motivo? :) > > saluti > LP > > > Stefanauss. > > ___ > Wireless mailing list > Wireless@ml.ninux.org > http://ml.ninux.org/mailman/listinfo/wireless > > ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] 8.8.8.8 bloccato
Cose turche.. Il 31 marzo 2014 15:58, OCBexpress (Valer;o) ha scritto: > La risposta di Google: > http://www.lastampa.it/2014/03/31/tecnologia/google-la-turchia-blocca-i-nostri-server-RyuKSYPUQkYfBYUTQoEQrO/pagina.html > > -- > Valer;o) > E-mail: ocbexpr...@gmail.com > GoogleTalk: ocbexpr...@gmail.com > VoIP: 5339...@sip.messagenet.it > > > 2014-03-25 18:08 GMT+01:00 lilo : >> >> On 25/03/2014 12:50, Clauz wrote: >> > On 03/25/2014 12:18 PM, Alessio wrote: >> >> On 25/03/2014 11:32, Clauz wrote: >> >>> On 03/25/2014 10:56 AM, Salvatore Tringale wrote: >> beh ma da l'articolo si capisce che il server DNS funziona, sono i >> turchi che non lo vogliono usare... >> >> kattivoni!!!111 :D >> >> > Si' chiaro che fuori dalla Turchia (a parte qualche altra nazione >> > censurante) 8.8.8.8 funziona. Pero' i turchi non e' che non lo >> > *vogliono* usare, non lo *possono* usare direttamente. >> > >> > Non ci capiamo per colpa del subject a cui manca "in Turchia" alla fine? >> > :) >> >> forse cosi' e' + chiaro: >> >> In Ankara people "tweeting" on the street >> https://twitter.com/birdahabak/status/447654657205501952/photo/1 >> >> e >> >> Public #DNS list: >> http://t.co/aXdWXn3mR0 >> #OpTurkey >> #Anonymous >> @YourAnonCentral >> >> >> -- >> lilo >> http://wiki.debian.org/LILO >> >> -Da grande faro' il cattivo esempio, questo e' uno stage formativo- >> bit in rebels >> GnuPG/PGP Key-Id: 0x5D172559 >> FINGERPRINT: AB62 DC0E 3CB3 2B83 6333 5DF4 9674 A4B3 5D17 2559 >> server: pgp.mit.edu >> >> >> ___ >> Wireless mailing list >> Wireless@ml.ninux.org >> http://ml.ninux.org/mailman/listinfo/wireless > > > > ___ > Wireless mailing list > Wireless@ml.ninux.org > http://ml.ninux.org/mailman/listinfo/wireless > -- - - - - - the newmediologo blog http://www.newmediologo.me ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] [OpenWrt-Devel] Fix VLAN on Atheros AR8327N
Yes, the patch makes possible to have tagged+untagged vlan on the same port at the same time. please read https://dev.openwrt.org/ticket/12181 for more details Saverio 2014-03-31 16:05 GMT+02:00 Damian Kaczkowski : > On 31 March 2014 14:05, Saverio Proto wrote: >> >> Hello, >> >> I cleaned up and rebased on current trunk the patch found on the >> following ticket: >> https://dev.openwrt.org/ticket/12181 >> >> I ask for help for proper testing. > > > > Hello there. > > Have a question. What about those switch chips: > - ar8316, > - ar8227, > - ar7240. > > Are they also capable of doing tagged+untagged vlan on the same port at the > same time? Do they benefit from this pach? Could anyone with a deeper > knowledge comment on this topic please? Many thanks in advance. ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] 8.8.8.8 bloccato
La risposta di Google: http://www.lastampa.it/2014/03/31/tecnologia/google-la-turchia-blocca-i-nostri-server-RyuKSYPUQkYfBYUTQoEQrO/pagina.html -- Valer;o) E-mail: ocbexpr...@gmail.com GoogleTalk: ocbexpr...@gmail.com VoIP: 5339...@sip.messagenet.it 2014-03-25 18:08 GMT+01:00 lilo : > On 25/03/2014 12:50, Clauz wrote: > > On 03/25/2014 12:18 PM, Alessio wrote: > >> On 25/03/2014 11:32, Clauz wrote: > >>> On 03/25/2014 10:56 AM, Salvatore Tringale wrote: > beh ma da l'articolo si capisce che il server DNS funziona, sono i > turchi che non lo vogliono usare... > > kattivoni!!!111 :D > > > Si' chiaro che fuori dalla Turchia (a parte qualche altra nazione > > censurante) 8.8.8.8 funziona. Pero' i turchi non e' che non lo > > *vogliono* usare, non lo *possono* usare direttamente. > > > > Non ci capiamo per colpa del subject a cui manca "in Turchia" alla fine? > :) > > forse cosi' e' + chiaro: > > In Ankara people "tweeting" on the street > https://twitter.com/birdahabak/status/447654657205501952/photo/1 > > e > > Public #DNS list: > http://t.co/aXdWXn3mR0 > #OpTurkey > #Anonymous > @YourAnonCentral > > > -- > lilo > http://wiki.debian.org/LILO > > -Da grande faro' il cattivo esempio, questo e' uno stage formativo- > bit in rebels > GnuPG/PGP Key-Id: 0x5D172559 > FINGERPRINT: AB62 DC0E 3CB3 2B83 6333 5DF4 9674 A4B3 5D17 2559 > server: pgp.mit.edu > > > ___ > Wireless mailing list > Wireless@ml.ninux.org > http://ml.ninux.org/mailman/listinfo/wireless > ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
[Ninux-Wireless] guifi su tv tedesca
Guifi.net su ARTE TV: http://download.www.arte.tv/permanent/u1/europe/allabouteurope/AAE-Datenschutz-REP_DE.mp4 Traduzione in inglese: https://pad.riseup.net/p/vnWiM8rjHQvH L'ospedale di Vic e' connesso in fibra alla community network, alla faccia dell'utopia... ciao! Clauz ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Banda verso ADSL limitata
grazie per aver condiviso questa disavventura di banda! :-) questi problemi "inspiegabili" sono quelli che poi fanno impazzire. Il giorno 30 marzo 2014 22:04, Saverio Proto ha scritto: > puoi accendere whaper ma lo devi configurare bene. > gli devi dire quanta banda hai in uplink e download correttamente. > > Saverio > > > Il 29 marzo 2014 22:46, Germano Massullo > ha scritto: > > Con Immanuel abbiamo scoperto che la reale causa della limitazione della > > banda era il servizio wshaper. Fermando il servizio qos, per qualche > > motivo a noi sconosciuto, veniva influenzato anche wshaper. Nel suo file > > di configurazione abbiamo trovato > > # cat /etc/config/wshaper > > config 'wshaper' 'settings' > > option 'network' 'wan' > > option 'downlink' '2000' > > option 'uplink' '240' > > > > mentre il primo blocco del file di configurazione del servizio qos fa > > pensare che non influisse sulla wan in modo tale da limitare la banda > > # cat /etc/config/qos > > # QoS configuration for OpenWrt > > > > # INTERFACES: > > config interface wan > > option classgroup "Default" > > option enabled 0 > > option upload 128 > > option download 1024 > > > > una ulteriore conferma deriva dal fatto che pur fermando qos, e > > disabilitandolo, a ogni riavvio la limitazione della banda tornava a > > manifestarsi. > > Disabilitare il servizio wshaper ha eliminato il problema in maniera > > permanente, infatti anche riavviando il router, non vi è più traccia di > > limitazioni. > > ___ > > Wireless mailing list > > Wireless@ml.ninux.org > > http://ml.ninux.org/mailman/listinfo/wireless > ___ > Wireless mailing list > Wireless@ml.ninux.org > http://ml.ninux.org/mailman/listinfo/wireless > ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
[Ninux-Wireless] Fix VLAN on Atheros AR8327N
Hello, I cleaned up and rebased on current trunk the patch found on the following ticket: https://dev.openwrt.org/ticket/12181 I ask for help for proper testing. I can provide binary images if needed. My git repository is here: https://github.com/zioproto/openwrt-trunk-zioproto/tree/ticket12181 thanks Saverio commit c172caa7844b2d10e7c9d8ac574673a6451746ef Author: Saverio Proto Date: Mon Mar 10 14:22:05 2014 +0100 Fix VLAN on Atheros AR8327N https://dev.openwrt.org/ticket/12181 With this patch tagged and untagger frames are working on the same port diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c index 3f60878..51adc12 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.c +++ b/target/linux/generic/files/drivers/net/phy/ar8216.c @@ -73,12 +73,11 @@ struct ar8xxx_chip { void (*init_globals)(struct ar8xxx_priv *priv); void (*init_port)(struct ar8xxx_priv *priv, int port); - void (*setup_port)(struct ar8xxx_priv *priv, int port, u32 egress, - u32 ingress, u32 members, u32 pvid); + void (*setup_port)(struct ar8xxx_priv *priv, int port, u32 members); u32 (*read_port_status)(struct ar8xxx_priv *priv, int port); int (*atu_flush)(struct ar8xxx_priv *priv); void (*vtu_flush)(struct ar8xxx_priv *priv); - void (*vtu_load_vlan)(struct ar8xxx_priv *priv, u32 vid, u32 port_mask); + void (*vtu_load_vlan)(struct ar8xxx_priv *priv, u32 vlan); const struct ar8xxx_mib_desc *mib_decs; unsigned num_mibs; @@ -112,7 +111,12 @@ struct ar8327_led { enum ar8327_led_pattern pattern; }; +struct ar8216_data { + u8 vlan_tagged; +}; + struct ar8327_data { + u8 vlan_tagged[AR8X16_MAX_VLANS]; u32 port0_status; u32 port6_status; @@ -138,6 +142,7 @@ struct ar8xxx_priv { u8 chip_rev; const struct ar8xxx_chip *chip; union { + struct ar8216_data ar8216; struct ar8327_data ar8327; } chip_data; bool initialized; @@ -159,7 +164,6 @@ struct ar8xxx_priv { bool vlan; u16 vlan_id[AR8X16_MAX_VLANS]; u8 vlan_table[AR8X16_MAX_VLANS]; - u8 vlan_tagged; u16 pvid[AR8X16_MAX_PORTS]; /* mirroring */ @@ -641,7 +645,7 @@ ar8216_mangle_rx(struct net_device *dev, struct sk_buff *skb) port = buf[0] & 0xf; /* no need to fix up packets coming from a tagged source */ - if (priv->vlan_tagged & (1 << port)) + if (priv->chip_data.ar8216.vlan_tagged & BIT(port)) return; /* lookup port vid from local table, the switch passes an invalid vlan id */ @@ -695,11 +699,15 @@ ar8216_vtu_flush(struct ar8xxx_priv *priv) } static void -ar8216_vtu_load_vlan(struct ar8xxx_priv *priv, u32 vid, u32 port_mask) +ar8216_vtu_load_vlan(struct ar8xxx_priv *priv, u32 vlan) { u32 op; + u32 vid = priv->vlan_id[vlan]; + u32 port_mask = priv->vlan_table[vlan]; + op = AR8216_VTU_OP_LOAD | (vid << AR8216_VTU_VID_S); + ar8216_vtu_op(priv, op, port_mask); } @@ -722,10 +730,26 @@ ar8216_read_port_status(struct ar8xxx_priv *priv, int port) } static void -ar8216_setup_port(struct ar8xxx_priv *priv, int port, u32 egress, u32 ingress, - u32 members, u32 pvid) +ar8216_setup_port(struct ar8xxx_priv *priv, int port, u32 members) { u32 header; + u32 egress, ingress; + u32 pvid; + + if (priv->vlan) { + pvid = priv->vlan_id[priv->pvid[port]]; + if (priv->chip_data.ar8216.vlan_tagged & BIT(port)) + egress = AR8216_OUT_ADD_VLAN; + else + egress = AR8216_OUT_STRIP_VLAN; + ingress = AR8216_IN_SECURE; + } else { + pvid = port; + egress = AR8216_OUT_KEEP; + ingress = AR8216_IN_PORT_ONLY; + } + + if (chip_is_ar8216(priv) && priv->vlan && port == AR8216_PORT_CPU) header = AR8216_PORT_CTRL_HEADER; @@ -807,9 +831,24 @@ static const struct ar8xxx_chip ar8216_chip = { }; static void -ar8236_setup_port(struct ar8xxx_priv *priv, int port, u32 egress, u32 ingress, - u32 members, u32 pvid) +ar8236_setup_port(struct ar8xxx_priv *priv, int port, u32 members) { + u32 egress, ingress; + u32 pvid; + + if (priv->vlan) { + pvid = priv->vlan_id[priv->pvid[port]]; + if (priv->chip_data.ar8216.vlan_tagged & BIT(port)) + egress = AR8216_OUT_ADD_VLAN; + else + egress = AR8216_OUT_STRIP_VLAN; + ingress = AR8216_IN_SECURE; + } else { + pvid = port; + egress = AR8216_OUT_KEEP; + ingress = AR8216_IN_PORT_ONLY; + } + ar8xxx_rmw(priv, AR8216_REG_PORT_CTRL(port), AR8216_PORT_CTRL_LEARN | AR8216_PORT_CTRL_VLAN_MODE | AR8216_PORT_CTRL_SINGLE_VLAN | AR8216_PORT_CTRL_STATE | @@ -1696,12 +1735,16 @@ ar8327_vtu_flush(struct ar8xxx_priv *priv) } static void -ar8327_vtu_load_vlan(struct ar8xxx_priv *priv, u32 vid, u32 port_mask) +ar8327_vtu_load_vlan(struct ar8xxx_priv *priv, u32 vlan) { - u32 op; - u32 val; + u32 op, val; int i; + u32 vid = priv->vlan_id[vlan]; + u32 port_mask = priv->vlan_table[vlan]; + u32 tagged = priv->chip_data.ar8327.vlan_tagged[vlan]; + + op = AR8327_VTU_FUNC1_OP_LOAD | (vid << AR8327_VTU_FUNC1_VID_S); val = AR8327_VTU_FUNC0_VALID | AR8327_VTU_FUNC0_IVL; for (i = 0
Re: [Ninux-Wireless] Ground Routing HOWTO
Il 31/03/2014 11:06, Luca Postregna ha scritto: > ho letto la guida, bel lavoro. > due considerazioni > > * per la creazione e la gestione delle vlan/bridge sul router a > terra metterei esempi di comandi shell basati su iproute2/brctl > Su OpenWRT, come hai detto tu, c'è /etc/config/network. Dove c'è un framework/wrapper centralizzato delle impostazioni è meglio usar quello. I comandi shell generici, che se uno proprio vuole si applicano anche su OpenWRT, verranno trattati nella sezione "Linux Box". > * per quel che riguarda openwrt lascierei perdere la configurazione > via luci a scapito della configurazione manuale editando > /etc/config/network > Immagino intendessi "a favore". Eh, ma un motivo? :) > saluti > LP > Stefanauss. signature.asc Description: OpenPGP digital signature ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Ground Routing HOWTO
ho letto la guida, bel lavoro. due considerazioni - per la creazione e la gestione delle vlan/bridge sul router a terra metterei esempi di comandi shell basati su iproute2/brctl - per quel che riguarda openwrt lascierei perdere la configurazione via luci a scapito della configurazione manuale editando /etc/config/network saluti LP 2014-03-30 15:30 GMT+02:00 Massimiliano CARNEMOLLA : > On 30/03/2014 14.43, Stefano De Carlo wrote: > >> https://docs.google.com/document/d/1tEp4rFNDis4RAwwo4wwg6xDMdqeJK >> Ai8FVYh_FsPEdk/edit >> >> > Grazie a tutti, scusatemi se vi ho rotto le scatole continuamente riguardo > le lacune personali inerenti a questa tematica. > ___ > Wireless mailing list > Wireless@ml.ninux.org > http://ml.ninux.org/mailman/listinfo/wireless > -- luca.postregna.name twitter.com/lucapost ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless
Re: [Ninux-Wireless] Nodo RossiniMusicaDalleOnde
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/30/2014 09:31 PM, Leandro Noferini wrote: [CUT] > In casa mia poi vorrei usare un qualcosa che mi faccia routing > perché vorrei provare a fare cosine un po' "strane" tipo traffico > su tor, un access point aperto e altre cose. Cosa potrei usare come > router? > Io sto usando un edge router lite (3 porte) di ubiquity, c'è installato una versione custom di vyatta [*] (Debian based) e addirittura ci si può installare gentoo [^] che ancora non ho provato. C'è un interfaccia grafica fatta in php, la cli di vyatta e bash. Mi ci sto trovando abbastanza bene e costa intorno ai 100 euri. [*] http://www.vyatta.org/ [^] http://wiki.gentoo.org/wiki/MIPS/ERLite-3 Saluti, loacker -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJTOSanAAoJELTf164IYBWQk1AIANS64i8V/5Iua9Ur7cSMdg4u z/OyoingfC3beH8rmADJb7bjTKdipqTYXTg312ISNI3KoTrUphFq/17utTfPI5KD sF3dOc4etgsF9noDD/FWLyZ1G2CfpQpyZmdnUF/QRkvn/xh9XOISB3JHYISsGVeA EKFM0bsZtuG/nKscOGCRKUCo/vMQmhJxdxKOpq3cNJLUnbZCycXJziMnspPtFSwI tP5iEd533Q7NxUJ50Q2cbAuALBbwnbU32/vpzlQyNOlo58t7u7BDwUNPn7Ck2ajw Xp+wV+2Cdam15sGnvm6n0s3lzgsaCA0/V7mq9my6IEjx0j5oAPCBF5dYReitJPw= =/2Y+ -END PGP SIGNATURE- ___ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless