WLAN AccessPoint: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 33: Zeile 33:
 
  bridge_maxwait 0
 
  bridge_maxwait 0
  
 +
= AccessPoint Konfigurieren ==
 
== hostapd ==
 
== hostapd ==
 
  aptitude install hostapd
 
  aptitude install hostapd
Zeile 48: Zeile 49:
 
  wpa_group_rekey=600
 
  wpa_group_rekey=600
 
  wpa_gmk_rekey=86400
 
  wpa_gmk_rekey=86400
 +
 +
== DHCP ==
  
 
== wpa_supplicant ==
 
== wpa_supplicant ==
  
== Links ==
+
= Links =
 
* http://ubuntuforums.org/showthread.php?t=400236&page=118
 
* http://ubuntuforums.org/showthread.php?t=400236&page=118
 
* http://www.linux.com/learn/tutorials/442417-create-a-secure-linux-based-wireless-access-point
 
* http://www.linux.com/learn/tutorials/442417-create-a-secure-linux-based-wireless-access-point

Version vom 8. Juni 2011, 13:05 Uhr

VMWare Gast vorbereiten

Eigenschaften -> Hardware
Hinzufügen
"USB-Controller"
OK
Hinzufügen
"USB-Gerät"
"USB-Hostgerät" auswählen
OK

Vorbereitungen

WLAN Treiber

rt73usb

cd /usr/src/
wget http://www.ralinktech.com.tw/download.php?t=U0wyRnpjMlYwY3k4eU1ERXhMekF5THpJMEwyUnZkMjVzYjJGa01qa3dORGsyTnpZMU9TNWllakk5UFQweU1ERXhYekF5TVRCZlVsUTNNMTlNYVc1MWVGOVRWRUZmUkhKMk1TNHhMakF1TlE9PUM= -O 2011_0210_RT73_Linux_STA_Drv1.1.0.5.bz2
tar -xvjf 2011_0210_RT73_Linux_STA_Drv1.1.0.5.bz2
cd 2011_0210_RT73_Linux_STA_Drv1.1.0.5/Module
make
cp -v rt73.bin /lib/firmware/

Bridge

aptitude install bridge-utils

/etc/network/interfaces

auto br0
iface br0 inet static
	pre-up brctl addbr br0
	address 172.28.6.2
	netmask 255.255.255.0
	gateway 172.28.6.1
	bridge_ports eth1 wlan0
	bridge_stp off
	bridge_fd 0
	bridge_maxwait 0

AccessPoint Konfigurieren =

hostapd

aptitude install hostapd

/etc/default/hostapd

DAEMON_CONF="/etc/hostapd/hostapd.conf"

/etc/hostapd/hostapd.conf

interface=wlan0
driver=nl80211
ssid=<SSID-NAME>
channel=2
wpa=2
wpa_passphrase=<SECURE PASSWORD>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
wpa_group_rekey=600
wpa_gmk_rekey=86400

DHCP

wpa_supplicant

Links