Wlan: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
K (Djangonet ist momentan nicht verfügbar, daher auskommentiert)
(12 dazwischenliegende Versionen von 9 Benutzern werden nicht angezeigt)
Zeile 2: Zeile 2:
  
 
[[Bild:Eliot.jpg|thumb|400px|left]]
 
[[Bild:Eliot.jpg|thumb|400px|left]]
Das Metalab stellt seit neuestem eine umfangreichere Wirelessinfrastruktur bereit.
+
Die Wireless AccessPoint Infrastruktur im Metalab:
 +
 
  
 
Es gibt derzeit folgende Netze:
 
Es gibt derzeit folgende Netze:
  
 +
*'''metalab_802.11g_NOCRYPT''': unverschlüsselter Direktzugang ins Netz
 +
*'''whateverlab''': unverschlüsseltes Netz im [[WhateverLab]]
 +
*'''bobonet''': unverschllüsseltes 802.11n-5GHz-Wlan mit [http://www.apple.com/airportextreme/ kleines weisses extreme Kastl]
 +
<!--*'''djangonet''': unverschllüsseltes geNATetes Wlan in der [[Bibliothek]] bereitgestellt von einem [http://homesupport.cisco.com/en-us/wireless/lbc/WRT160N Qualitätsprodukt aus dem Hause Cisco] ("experimental")-->
  
'''metalab_802.11g_NOCRYPT'''
+
<br clear="all">
  unverschlüsselter direktzugang ins netz
+
<!-- früher gab es auch:
'''metalab_802.11g_TOR'''
+
*'''metalab_802.11g_TOR''': TOR geroutet, etwas langsamer dafür aber "fast" anonym
  TOR geroutet, etwas langsamer dafür aber "fast" anonym
+
*'''metalab-wpa2''': WPA2 enterprise mit clientzertifikaten
'''metalab-wpa2'''
+
*'''metalab-wpa2-certcreation''': und da kann man sich certs basteln ([[How_to_connect_to_the_WPA2_EAP-TLS_network]])
  WPA2 enterprise mit clientzertifikaten
+
-->
'''metalab-wpa2-certcreation'''
 
  und da kann man sich certs basteln
 
  
 
== Config files ==
 
== Config files ==
  
..tbd..
+
=== <tt>metalab_820.11.g_NOCRYPT</tt> (Linksys) ===
 +
 
 +
'''/etc/config/network'''
 +
 
 +
<pre>
 +
#### VLAN configuration
 +
config switch eth0
 +
option vlan0 "1 2 3 4 5*"
 +
        option vlan1    "0 5"
 +
 
 +
#### Loopback configuration
 +
config interface loopback
 +
option ifname "lo"
 +
option proto static
 +
option ipaddr 127.0.0.1
 +
option netmask 255.0.0.0
 +
 
 +
 
 +
#### LAN configuration
 +
config interface lan
 +
option type bridge
 +
option ifname "eth0.0"
 +
option proto static
 +
option ipaddr  10.20.30.99
 +
option netmask 255.255.255.0
 +
option gateway  10.20.30.1
 +
 +
 +
config interface tor
 +
        option ifname  "eth0.1"
 +
        option proto    static
 +
        option ipaddr  192.168.42.1
 +
        option netmask  255.255.255.0
 +
       
 +
config route
 +
        option interface tor
 +
        option target 10.20.42.0
 +
        option netmask 255.255.255.0
 +
</pre>
 +
 
 +
 
 +
 
 +
'''/etc/config/wireless'''
 +
 
 +
<pre>
 +
config wifi-device  wl0
 +
option type    broadcom
 +
option channel  1
 +
config wifi-iface
 +
option device  wl0
 +
option network lan
 +
option mode    ap
 +
option ssid    metalab_802.11g_NOCRYPT
 +
        option encryption none
 +
        option hidden    '0'
 +
        option isolate    '0'
 +
        option bgscan    '0'
 +
        option wds    '0'
 +
</pre>
 +
 
 +
=== <tt>whateverlab</tt> (Linksys WRT54G v3.1) ===
 +
'''/etc/config/network'''
 +
<pre>
 +
#### VLAN configuration
 +
config switch eth0
 +
option enable  1
 +
 
 +
config switch_vlan eth0_0
 +
option device  "eth0"
 +
option vlan    0
 +
option ports    "1 2 3 4 5"
 +
 
 +
config switch_vlan eth0_1
 +
option device  "eth0"
 +
option vlan    1
 +
option ports    "0 5"
 +
 
 +
#### Loopback configuration
 +
config interface loopback
 +
option ifname "lo"
 +
option proto static
 +
option ipaddr 127.0.0.1
 +
option netmask 255.0.0.0
 +
 
 +
 
 +
#### LAN configuration
 +
config interface lan
 +
option type bridge
 +
option ifname "eth0.0"
 +
option proto static
 +
option ipaddr 10.20.30.45
 +
option netmask 255.255.0.0
 +
option gateway 10.20.30.1
 +
option dns 10.20.30.1
 +
 
 +
 
 +
#### WAN configuration
 +
config interface wan
 +
option ifname "eth0.1"
 +
option proto dhcp
 +
</pre>
 +
 
 +
'''/etc/config/wireless'''
 +
<pre>
 +
config wifi-device  radio0
 +
option type    mac80211
 +
option channel  5
 +
option macaddr 00:14:bf:37:40:6a
 +
option hwmode 11g
 +
 
 +
## REMOVE THIS LINE TO ENABLE WIFI:
 +
#option disabled 1
 +
 
 +
config wifi-iface
 +
option device  radio0
 +
option network  lan
 +
option mode    ap
 +
option ssid    whateverlab
 +
option encryption none
 +
</pre>
  
 
== Software links ==
 
== Software links ==
 +
 
..tbd..
 
..tbd..
 +
 +
=== <tt>whateverlab</tt> ===
 +
Am Whateverlab-Router läuft OpenWrt 10.03.1-rc3 (''Backfire'') für brcm47xx.
  
  
 
== About ==
 
== About ==
 
..tbd..
 
..tbd..
 +
 +
[[Kategorie:Netzwerk]]

Version vom 14. Februar 2012, 18:30 Uhr

WTF?

Eliot.jpg

Die Wireless AccessPoint Infrastruktur im Metalab:


Es gibt derzeit folgende Netze:


Config files

metalab_820.11.g_NOCRYPT (Linksys)

/etc/config/network

#### VLAN configuration 
config switch eth0
	option vlan0	"1 2 3 4 5*"
        option vlan1    "0 5"

#### Loopback configuration
config interface loopback
	option ifname	"lo"
	option proto	static
	option ipaddr	127.0.0.1
	option netmask	255.0.0.0


#### LAN configuration
config interface lan
	option type 	bridge
	option ifname	"eth0.0"
	option proto	static
	option ipaddr   10.20.30.99
	option netmask	255.255.255.0
	option gateway  10.20.30.1
	
	
config interface tor
        option ifname   "eth0.1"
        option proto    static
        option ipaddr   192.168.42.1
        option netmask  255.255.255.0
        
config route
        option interface tor 
        option target 10.20.42.0
        option netmask 255.255.255.0


/etc/config/wireless

config wifi-device  wl0
	option type     broadcom
	option channel  1 
config wifi-iface
	option device   wl0
	option network	lan
	option mode     ap
	option ssid     metalab_802.11g_NOCRYPT 
        option encryption none 
        option hidden    '0'
        option isolate    '0'
        option bgscan    '0'
        option wds    '0'

whateverlab (Linksys WRT54G v3.1)

/etc/config/network

#### VLAN configuration 
config switch eth0
	option enable   1

config switch_vlan eth0_0
	option device   "eth0"
	option vlan     0
	option ports    "1 2 3 4 5"

config switch_vlan eth0_1
	option device   "eth0"
	option vlan     1
	option ports    "0 5"

#### Loopback configuration
config interface loopback
	option ifname	"lo"
	option proto	static
	option ipaddr	127.0.0.1
	option netmask	255.0.0.0


#### LAN configuration
config interface lan
	option type 	bridge
	option ifname	"eth0.0"
	option proto	static
	option ipaddr	10.20.30.45
	option netmask	255.255.0.0
	option gateway	10.20.30.1
	option dns	10.20.30.1


#### WAN configuration
config interface	wan
	option ifname	"eth0.1"
	option proto	dhcp

/etc/config/wireless

config wifi-device  radio0
	option type     mac80211
	option channel  5
	option macaddr	00:14:bf:37:40:6a
	option hwmode	11g

	## REMOVE THIS LINE TO ENABLE WIFI:
	#option disabled 1

config wifi-iface
	option device   radio0
	option network  lan
	option mode     ap
	option ssid     whateverlab
	option encryption none

Software links

..tbd..

whateverlab

Am Whateverlab-Router läuft OpenWrt 10.03.1-rc3 (Backfire) für brcm47xx.


About

..tbd..