allow-hotplug
wlan0 iface wlan0 inet dhcp wireless-essid FreifunkWees01-2a wireless-mode Managed auto wlan0 |
Die ESSID "FreifunkWees01-2a" ist natürlich anzupassen.
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid FreifunkWees01-2a
wireless-mode Managed
auto eth0
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid FreifunkWees01.2 (http://ffw)
wireless-mode Managed
auto wlan0
dede@rp1 ~ $ route
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
default fritz.box 0.0.0.0 UG 0 0 0 eth0
192.168.42.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.178.0 * 255.255.255.0 U 0 0 0 eth0
dede@rp1 ~ $ route
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
default 192.168.42.254 0.0.0.0 UG 0 0 0 wlan0
192.168.42.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.178.0 * 255.255.255.0 U 0 0 0 eth0
dede@rp1 ~ $ route
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
default gw 0.0.0.0 UG 0 0 0 wlan0
192.168.42.0 * 255.255.255.0 U 0 0 0 wlan0
dede@rp1 ~ $ route
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
default fritz.box 0.0.0.0 UG 0 0 0 eth0
192.168.178.0 * 255.255.255.0 U 0 0 0 eth0
allow-hotplug
wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp |
network={ key_mgmt=NONE } |
Bei dieser Variante wird irgend ein offenes WLAN verwendet.
root@rp1:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto eth0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
root@rp1:~# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
key_mgmt=NONE
}
root@rp1:~# route
Kernel-IP-Routentabelle
Ziel Router Genmask Flags Metric Ref Use Iface
default 192.168.178.1 0.0.0.0 UG 0 0 0 eth0
10.129.0.0 * 255.255.0.0 U 0 0 0 wlan0
192.168.178.0 * 255.255.255.0 U 0 0 0 eth0
iwlist wlan0 scan |
iwconfig
wlan0 |
sudo iwconfig wlan0 essid FreifunkWees01-2a |
sudo iwconfig wlan0 essid flensburg.freifunk.net |