From: Michael Gebetsroither Date: Tue, 2 Oct 2007 11:35:29 +0000 (+0200) Subject: Added Configure a MadWifi device for adhoc mode X-Git-Tag: 0.4.7~5^2 X-Git-Url: http://git.grml.org/?p=grml-tips.git;a=commitdiff_plain;h=250a5184541b90358179cd6494d61aa47c749928 Added Configure a MadWifi device for adhoc mode --- diff --git a/debian/changelog b/debian/changelog index f2ce4e7..1bd596f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,14 @@ grml-tips (0.4.7) unstable; urgency=low + [ Michael Prokop ] * Added tips: - dns2tcp [thanks, Moritz Augsburger!] - -- Michael Prokop Sun, 30 Sep 2007 17:27:18 +0200 + [ Michael Gebetsroither ] + * Added tips: + - Configure a MadWifi device for adhoc mode + + -- Michael Gebetsroither Tue, 02 Oct 2007 13:32:27 +0200 grml-tips (0.4.6) unstable; urgency=low diff --git a/grml_tips b/grml_tips index ba9cbeb..4546d3c 100644 --- a/grml_tips +++ b/grml_tips @@ -2982,3 +2982,22 @@ user@host.example.com:~# Notice: using 'ssh -D 8080 ..' you will get a socks5-proxy listening on localhost:8080 which you can use to tunnel everything through your "dns-uplink". -- +Configure a MadWifi device for adhoc mode: + +Disable the autocreation of athX devices: +# echo "options ath_pci autocreate=none" > /etc/modprobe.d/madwifi + +Remove the autocreated device for now: +# wlanconfig ath0 destroy + +Configuration in /etc/network/interfaces: + +iface ath0 inet static + madwifi-base wifi0 + madwifi-mode adhoc + ... + +Hints: + - Do not use interface names without ending 0 (otherwise startup fails). + - Only chooss unique names for interfaces. +--