Wlan: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
K (hat Eliot nach Elliot verschoben: http://www.ciao.de/Elliot_das_Schmunzelmonster_DVD__Test_192883)
(Config files)
Zeile 18: Zeile 18:
 
== Config files ==
 
== Config files ==
  
..tbd..
+
'''LINKSYS METALAB_820.11.g_NOCRYPT'''
 +
 
 +
'''/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>
 +
 
 +
 
 +
'''FONERA METALAB_820.11.g_TOR'''
 +
 
 +
 
 +
'''/etc/config/network'''
 +
<pre>
 +
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 eth0
 +
option proto static
 +
option ipaddr 192.168.42.2
 +
option netmask 255.255.255.0
 +
option gateway 192.168.42.1
 +
 
 +
 
 +
config interface wlan
 +
option ifname ath0
 +
option proto static
 +
option ipaddr 10.20.42.1
 +
option netmask 255.255.255.0
 +
</pre>
 +
 
 +
 
 +
'''/etc/config/wireless'''
 +
 
 +
 
 +
<pre>
 +
config wifi-device  wifi0
 +
option type    atheros
 +
option channel 1
 +
 
 +
config wifi-iface
 +
option device wifi0
 +
option mode ap
 +
option ssid "metalab_802.11g_TOR"
 +
option encryption none
 +
 
 +
</pre>
  
 
== Software links ==
 
== Software links ==

Version vom 3. März 2009, 22:27 Uhr

WTF?

Eliot.jpg

Das Metalab stellt seit neuestem eine umfangreichere Wirelessinfrastruktur bereit.

Es gibt derzeit folgende Netze:


metalab_802.11g_NOCRYPT

  unverschlüsselter direktzugang ins netz

metalab_802.11g_TOR

  TOR geroutet, etwas langsamer dafür aber "fast" anonym

metalab-wpa2

  WPA2 enterprise mit clientzertifikaten

metalab-wpa2-certcreation

  und da kann man sich certs basteln

Config files

LINKSYS METALAB_820.11.g_NOCRYPT

/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'


FONERA METALAB_820.11.g_TOR


/etc/config/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 eth0
 option proto static
 option ipaddr 192.168.42.2
 option netmask 255.255.255.0
 option gateway 192.168.42.1


config interface wlan 
 option ifname ath0
 option proto static
 option ipaddr 10.20.42.1
 option netmask 255.255.255.0


/etc/config/wireless


config wifi-device  wifi0
	option type     atheros
	option channel 1 

config wifi-iface
	option device	wifi0	
	option mode	ap
	option ssid "metalab_802.11g_TOR" 
	option encryption none

Software links

..tbd..


About

..tbd..