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)
(→‎WTF?: ubuntu bugfix get)
Zeile 18: Zeile 18:
 
*'''metalab-wpa2-certcreation''': und da kann man sich certs basteln ([[How_to_connect_to_the_WPA2_EAP-TLS_network]])
 
*'''metalab-wpa2-certcreation''': und da kann man sich certs basteln ([[How_to_connect_to_the_WPA2_EAP-TLS_network]])
 
-->
 
-->
 +
 +
== keine IPv4 unter Ubuntu 12.04? ==
 +
 +
it's a bug! you can fix it yourself! taken from the issuetracker-[https://metalab.at/issues/ticket/52 ticket]
 +
 +
Weil ich heute mit Ubuntu 12.04 dauernd aus dem WLAN geflogen bin bzw. keine Ipv4 Adresse bekiommen habe:
 +
 +
    /etc/NetworkManager/NetworkManager.conf
 +
 +
bearbeiten und unter
 +
 +
    [ifupdown]
 +
    managed=false
 +
 +
aendern auf
 +
 +
    [ifupdown]
 +
    managed=true
 +
 +
hat das Problem behoben. --leyrer
  
 
== Config files ==
 
== Config files ==

Version vom 7. Mai 2013, 21:05 Uhr

WTF?

Eliot.jpg

Die Wireless AccessPoint Infrastruktur im Metalab:


Es gibt derzeit folgende Netze:


keine IPv4 unter Ubuntu 12.04?

it's a bug! you can fix it yourself! taken from the issuetracker-ticket

Weil ich heute mit Ubuntu 12.04 dauernd aus dem WLAN geflogen bin bzw. keine Ipv4 Adresse bekiommen habe:

   /etc/NetworkManager/NetworkManager.conf

bearbeiten und unter

   [ifupdown]
   managed=false

aendern auf

   [ifupdown]
   managed=true

hat das Problem behoben. --leyrer

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..