Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— |
access_point_selbst_machen [2010/12/13 10:32] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Access Point selbst machen ====== | ||
+ | IBM Thinkpad R52 | ||
+ | |||
+ | http://sourceforge.net/projects/ipw2200/ | ||
+ | |||
+ | zypper in hostapd dhcp-server | ||
+ | |||
+ | yast2 lan | ||
+ | |||
+ | *wlan0 auf statische IP Adresse einstellen: 10.0.0.1 | ||
+ | *WLAN Konfiguration egal... | ||
+ | |||
+ | */etc/hostapd.conf | ||
+ | |||
+ | <file> | ||
+ | interface=wlan0 | ||
+ | driver=nl80211 | ||
+ | |||
+ | hw_mode=g | ||
+ | channel=1 | ||
+ | ssid=WLAN_NAME | ||
+ | |||
+ | wpa=2 | ||
+ | wpa_key_mgmt=WPA-PSK | ||
+ | wpa_pairwise=CCMP | ||
+ | wpa_passphrase=WPA_PASSWORT | ||
+ | </file> | ||
+ | |||
+ | hostapd -B /etc/hostapd.conf | ||
+ | |||
+ | */etc/dhcpd.conf | ||
+ | |||
+ | <file> | ||
+ | option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; | ||
+ | option domain-name "nueller"; | ||
+ | option domain-name-servers 8.8.8.8; | ||
+ | option routers 10.0.0.1; | ||
+ | max-lease-time 7200; | ||
+ | ddns-updates off; | ||
+ | ddns-update-style none; | ||
+ | log-facility local7; | ||
+ | default-lease-time 600; | ||
+ | subnet 10.0.0.0 netmask 255.255.255.0 { | ||
+ | range 10.0.0.100 10.0.0.200; | ||
+ | default-lease-time 14400; | ||
+ | max-lease-time 172800; | ||
+ | } | ||
+ | </file> | ||
+ | |||
+ | rcdhcpd start | ||
+ | |||
+ | yast2 firewall | ||
+ | |||
+ | *Automatischen Start | ||
+ | *Schnittstellen: eth0 extern, wlan0 intern | ||
+ | *Masquerading | ||
+ | |||
+ | *Enjoy! |