InfoBake

Eine Idee aus der c't bzw. Problemen aus dem Roboterforum, da habe ich mir das mal angesehen.

Basis

Erstmal das übliche, System eingerichtet und geupdatet.

Ich habe mich im wesentlichen an die Anleitung in der c't gehalten, ich habe hostap und dnsmasq installiert und die Konfigurationen von Heise mit kleinen Modifikationen genommen.

Netzwerk

/etc/network/interfaces

auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet static
     address 192.168.255.1/24
     wireless-mode Master
     wireless-power off
 #    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

/etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE

network={
 ssid=""
 psk=""
}

hostap

/etc/hostapd/hostapd.conf

# First we configure the interface we'll be listening on
interface=wlan0
# The interface to listen on
driver=nl80211
# The driver that is being used by the WiFi adapter, this could be different for everyone
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
# These 2 are just parameters so that the hostap daemon runs.
# Now onto the important WiFi configuration
ssid=infobake
# First up, the SSID or Network name. This is what other devices will see when they try to connect.
hw_mode=g
# I'm setting this to Wireless G mode. A, B, and G are available here.
channel=1
# Other settings
beacon_int=100 # This sets how often the WiFi will send a beacon out.
auth_algs=3
wmm_enabled=1

dnsmasq

/etc/dnsmasq.conf

interface=wlan0
listen-address=192.168.255.1
dhcp-range=192.168.255.10,192.168.255.250,255.255.255.0,1h
dhcp-option=6,192.168.255.1
port=53
resolv-file=
no-resolv
no-poll
address=/#/192.168.255.1

Firewall

 


Stephan Günther, 1997-2025, letzte Änderung 28.07.2023, Datenschutzerklärung, DisclaimerPowered by GetSimple