freifunk / api.freifunk.net

Freifunk Community API
http://freifunk.net/api-generator/
47 stars 24 forks source link

wifi settings (ch,ad-hoc-bssid,vAP-names) als API Variablen #118

Open FreifunkUFO opened 9 years ago

FreifunkUFO commented 9 years ago

wifi settings should be mentioned in freifunk-api. for 2.4 and 5 GHz

mojoaxel commented 9 years ago

I think this is a really good Idea! We could create a new technicaDetails section for wifi settings.

andibraeu commented 9 years ago

sound great, can also help https://github.com/ffansbach/de-map to get more information about local wifi

@StilgarBF what do you think?

andibraeu commented 9 years ago

can anyone™ make a suggestion?

StilgarBF commented 9 years ago

great point! something under technicalDetails would be the place I think - as @mojoaxel pointed out.

maybe

'technicalDetails' : {
 'wifiSettings' : {
   'mesh' : {
     'ssid': '',
     'frequency': [
       // an array, of objects - somehow containing frequencies and channels
       {
          'frequency' : '2.4',
          'channel' : '8'
       },
       .... // optional
     ],
     .....
   },
   'open' : { // how to name this?
     // same as mesh
   }
 }
}

At twitter someone asked about using the api to eget nodes to instabridge. This would require the ssid too.

mojoaxel commented 9 years ago

Danke @StilgarBF Ich schlage mal eine flexiblere aber auch kompliziertere Alternative vor:

'technicalDetails' : {
    'wifiSettings' : [{
        'ssid': '',
        'mesh' : false,
        'frequency': [{
            'standard' : ['802.11n+g', '802.11b+g', '802.11n+a', ...],
            'frequency' :  ['2.4', '3.6', '4.9', '5', '5.9'],
            'channel' : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14],
            'security' : {
                'encryption' : ['none', 'WEP', 'WPA (TKIP)', 'WPA2 (CCMP)', 'WPA+WPA2'],
                'password' : '1234'
            }
        },
        ...],  
    },
    ...]
}
FreifunkUFO commented 9 years ago

DIe Frequency könnte vielleicht überfluessig sein. Ob "security" notwendig ist, weiss ich auch nicht, klingt aber zukunftssicher (zb aber nicht für radius-verwaltete systeme, oder mehrere mögliche passwörter). An 802.11s sollten wir auch schonmal denken..

Ziel sollte es ja sein, aus o.g. Angaben sein eigenes wlan-device kompatibel zu einer COmmunity einzurichten. Zumindest für Freifunk würde das übrigens noch nicht klappen. Es fehlt wahrscheinlich das jeweils verwendete routingprotoll, das VLAN, wo dies ggf. laeuft, vielleicht wäre sogar HT-mode bzw. MTU interessant zu erwähnen. Leipzig settings derzeit: ch1 - adhoc - OLSR (ipv4) ch1 - adhoc - im VLAN12: batman-adv 2014 (mtu 1532) ch1 - adhoc - im VLAN61: batman-adv 2014 (mtu 1532) dazu kommen noch zwei 2 virtuelle Accesspoints für die Clients bei Dual-Band-Geräten kommt das Zeug vom 5GHZ Bereich auch noch dazu.

FreifunkUFO commented 8 years ago

also eher so?

'technicalDetails' : {
    'wifiSettings' : [{
    'description': ['gluon', 'olsr', 'olsr2', 'bmx','11s'],
    'ssid': 'mesh.freifunk.net',
    'bssid': '02:ca:ff:ee:ba:be',
    'mesh' : ['none', 'batman-adv', 'olsr', 'olsr2', 'bmx', '11s'],
    'meshvlan' : ['', 12, 13,14,15,16,42],
    'frequency': [{
        'channel' : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48],
        'security' : {
            'encryption' : ['none', 'WEP', 'WPA (TKIP)', 'WPA2 (CCMP)', 'WPA+WPA2'],                
            'password' : '1234'            
        }
    }, 
    ...],  
    }, 
    ...]
}
FreifunkUFO commented 8 years ago

siehe auch Ticket #115

FreifunkUFO commented 8 years ago

siehe zb auch hier: https://forum.freifunk.net/t/uebersicht-aller-site-mk-paketzusammenstellungen/13155/10

Vorsicht, die Diskussion dort ist sehr Gluon-orientiert!