Schakelen tussen kabel en draadloos
U zult waarschijnlijk gebruik moeten maken van de non-free firmware en deze via een USB-stick beschikbaar hebben om deze te installeren op het besturingssysteem. Raadpleeg ook non-free firmware debs op een usbstick.
De eenvoudigste manier om te schakelen tussen een bekabelde LAN-verbinding en een draadloze LAN-verbinding is met behulp van de daemon ifplugd. Deze is standaard geïnstalleerd.
Pas het bestand /etc/network/interfaces aan
De eerste stap is om te zorgen dat eth0 niet geconfigureerd is:
ifdown eth0
Voorbeeld van een werkende interface:
De configuratie is eenvoudig: - de bekabelde interface (hier: eth0) mag niet worden voorafgegaan door een configuratie zoals "allow-hotplug" of anderen:
auto lo iface lo inet loopback # governed by ifplugd ... do not use allow-hotplug or auto options iface eth0 inet dhcp
Herconfigureer nu ifplugd:
dpkg-reconfigure ifplugd
Debconf instellingen van ifplugd
Laat statische interfaces los:
![Static interfaces Static interfaces](../lib/images-common/images-hotplug/ifplugd1.png)
Voeg je bekabelde interface (hier "eth0") toe aan "hotplugged interfaces":
![Hotplugged interfaces Hotplugged interfaces](../lib/images-common/images-hotplug/ifplugd2.png)
Help pagina voor gebruikersconfiguraties:
![Configuration help Configuration help](../lib/images-common/images-hotplug/ifplugd3.png)
Laat de standaard configuratie in takt, klik gewoon op OK:
![Default configuraton Default configuration](../lib/images-common/images-hotplug/ifplugd4.png)
Vertel ifplugd dat deze eerst moet stoppen voordat het in suspend mode gaat, het wordt automatisch geherstart na een resume:
![Suspend behaviour Suspend behaviour](../lib/images-common/images-hotplug/ifplugd5.png)
Het resultaat is een configuratiebestand /etc/default/ifplugd met volgende inhoud:
INTERFACES="" HOTPLUG_INTERFACES="eth0" ARGS="-q -f -u0 -d10 -w -I" SUSPEND_ACTION="stop"
Je computer is nu ingesteld om te schakelen tussen de verschillende netwerken inclusief draadloos. Om draadloze roaming in te stellen raadpleeg dan WiFi Roaming met wpa instellen.