[FFA] Ad-hoc vs. Infrastructure Mode

Marco marco.sauter at web.de
Mi Nov 25 15:54:54 CET 2015


Hi Severin,


ich hab die /etc/config/wireless angepasst, funktioniert aber leider 
trotzdem nicht.


So sieht sie momentan aus:


config wifi-device 'radio0'
     option type 'mac80211'
     option macaddr 'c4:e9:84:d5:24:a0'
     list ht_capab 'LDPC'
     list ht_capab 'SHORT-GI-20'
     list ht_capab 'SHORT-GI-40'
     list ht_capab 'TX-STBC'
     list ht_capab 'RX-STBC1'
     list ht_capab 'DSSS_CCK-40'
     option diversity '1'
     option hwmode '11g'
     option distance '1000'
     option country 'DE'
     option txpower '19'
     option channel '1'

config wifi-iface 'radio0_iface'
     option device 'radio0'
     option encryption 'none'
     option bgscan '0'
     option sw_merge '1'
     option mcast_rate '5500'
     option probereq '1'
     option network 'wireless0'
     option ssid 'augsburg.freifunk.net'
     option mode 'adhoc'
     option bssid '02:CA:FF:EE:BA:BE'

config wifi-device 'radio1'
     option type 'mac80211'
     option macaddr 'c4:e9:84:d5:24:a1'
     list ht_capab 'LDPC'
     list ht_capab 'SHORT-GI-20'
     list ht_capab 'SHORT-GI-40'
     list ht_capab 'TX-STBC'
     list ht_capab 'RX-STBC1'
     list ht_capab 'DSSS_CCK-40'
     option txpower '15'
     option country 'DE'
     option channel 'auto'
     option hwmode '11na'
     option htmode 'HT20'
*
**config wifi-iface 'radio1_iface'*
     option device 'radio1'
     option encryption 'none'
     option network 'wireless0'
     option ssid 'aindling.freifunk.net'
     option mode 'ap'


Grüße,
Marco


Am 25.11.2015 um 12:25 schrieb swuensch:
> Hallo Marco,
>
> 2015-11-25 11:38 GMT+01:00 Marco <marco.sauter at web.de 
> <mailto:marco.sauter at web.de>>:
>
>     Hallo,
>
>
>     momentan ist auf radio0 das Ad-Hoc mit der SSID
>     augsburg.freifunk.net <http://augsburg.freifunk.net> konfiguriert
>     Auf radio1 hab ich mal testweise eine SSID aindling.freifunk.net
>     <http://aindling.freifunk.net> angelegt und als Modus Access Point
>     gewählt.
>
>     Beim Aktivieren der SSID aindling.freifunk.net
>     <http://aindling.freifunk.net> bekomme ich im WebInterface immer
>     die Meldung:
>     //WLAN ist deaktiviert oder nicht assoziiert
>
>     //Anbei die /etc/config/wireless
>
>
>     root at Freifunk-Aindling:~# cat /etc/config/wireless
>
>     config wifi-device 'radio0'
>         option type 'mac80211'
>         option macaddr 'c4:e9:84:d5:24:a0'
>         list ht_capab 'LDPC'
>         list ht_capab 'SHORT-GI-20'
>         list ht_capab 'SHORT-GI-40'
>         list ht_capab 'TX-STBC'
>         list ht_capab 'RX-STBC1'
>         list ht_capab 'DSSS_CCK-40'
>         option diversity '1'
>         option hwmode '11g'
>         option distance '1000'
>         option country 'DE'
>         option txpower '19'
>         option channel '1'
>
>     config wifi-iface 'radio0_iface'
>         option device 'radio0'
>         option encryption 'none'
>         option bgscan '0'
>         option sw_merge '1'
>         option mcast_rate '5500'
>         option probereq '1'
>         option network 'wireless0'
>         option ssid 'augsburg.freifunk.net <http://augsburg.freifunk.net>'
>         option mode 'adhoc'
>         option bssid '02:CA:FF:EE:BA:BE'
>
>     config wifi-device 'radio1'
>         option type 'mac80211'
>         option hwmode '11na'
>         option macaddr 'c4:e9:84:d5:24:a1'
>         option htmode 'HT20'
>         list ht_capab 'LDPC'
>         list ht_capab 'SHORT-GI-20'
>         list ht_capab 'SHORT-GI-40'
>         list ht_capab 'TX-STBC'
>         list ht_capab 'RX-STBC1'
>         list ht_capab 'DSSS_CCK-40'
>         option txpower '15'
>         option country 'DE'
>         option channel 'auto'
>
>     config wifi-iface
>
>
> Sollte hier nicht auch ein name wie in den anderen einträgen stehen also
> config wifi-iface 'radio1_interface'
>
> kann dir nicht sagen ob es nur daran liegt aber schau mal ob es so 
> funktioniert.
>
> mfg Severin
>
>         option device 'radio1'
>         option encryption 'none'
>         option mode 'ap'
>         option network 'wireless0'
>         option ssid 'aindling.freifunk.net <http://aindling.freifunk.net>'
>
>
>
>     Hat jemand eine Idee?
>
>
>     Grüße,
>     Marco
>
>
>
>
>     Am 24.11.2015 um 00:39 schrieb Steini:
>>     Hallo Marco,
>>
>>     Am 23.11.2015 um 21:39 schrieb Marco:
>>>     Servus,
>>>
>>>     ich schon wieder ;)
>>     schön dass Du noch immer Fragen stellst!
>>>     Der Ad-hoc Modus funktioniert ja mit Androiden eher schlecht als recht.
>>     Ja, bitte sämtlichen Beschwerden über eine verspackte Implementierung
>>     des wpa_supplicant-Pakets bitte an Google!
>>>     Wie macht ihr das? Betreibt ihr zwei ESSIDs mit Ad-hoc und Infrastructure Mode parallel?
>>     Ja. Seit dem Aufkommen der Smartphones, sind wir dazu übergegangen
>>     zusätzlichen zuaugsburg.freifunk.net <http://augsburg.freifunk.net>, das im adhoc-Modus sendet ein
>>     zusätzliches WLAN im infrastructure/master-Mode auszusenden.
>>     Glücklicherweise unterstützen, viele neuer Chips VAP (virtual
>>     accesspoint) und dann kannst das master-WLAN z.B. Freifunk-$standort
>>     benennen.
>>>     Mein Node ist ein TP-Link WDR3600 mit DualBand.
>>>     Der Node steht in Aindling und ist momentan der einzige Freifunk Knoten dort.
>>>     Macht es für mich dann überhaupt Sinn eine Ad-hoc ESSID zu betreiben, da ja keine anderen Freifunk Knoten in Reichweite sind?
>>     Ich würde sagen, das ist schon sinnvoll, auch ein adhoc-Interfaces zu
>>     konfigurieren, weil es könnte ja sein, dass dein Nachbar auch von Dir
>>     angesteckt wird. Machst Du kein adhoc, meshen die nicht. Die Idee is ja
>>     auch, dass die Hardware ohne Interaktion mesht, d.h. dass nicht erst
>>     jemand bei Anfragen muss: "Hey, das muss ich denn einstellen, damit
>>     unsren Nodes meshen". Ich würd's machen, aber letztlich isses deine
>>     Entscheidung.
>>
>>     Ciao
>>
>>     Steini
>>>     Grüße,
>>>     Marco
>>>
>>>     _______________________________________________
>>>     freifunk-augsburg mailing list
>>>     freifunk-augsburg at lists.subsignal.org
>>>     <mailto:freifunk-augsburg at lists.subsignal.org>
>>>     https://lists.subsignal.org/mailman/listinfo/freifunk-augsburg
>>     _______________________________________________
>>     freifunk-augsburg mailing list
>>     freifunk-augsburg at lists.subsignal.org
>>     <mailto:freifunk-augsburg at lists.subsignal.org>
>>     https://lists.subsignal.org/mailman/listinfo/freifunk-augsburg
>
>
>     _______________________________________________
>     freifunk-augsburg mailing list
>     freifunk-augsburg at lists.subsignal.org
>     <mailto:freifunk-augsburg at lists.subsignal.org>
>     https://lists.subsignal.org/mailman/listinfo/freifunk-augsburg
>
>
>
>
> _______________________________________________
> freifunk-augsburg mailing list
> freifunk-augsburg at lists.subsignal.org
> https://lists.subsignal.org/mailman/listinfo/freifunk-augsburg

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.subsignal.org/pipermail/freifunk-augsburg/attachments/20151125/e137e481/attachment-0001.html>


Mehr Informationen über die Mailingliste freifunk-augsburg