Added Configure a MadWifi device for adhoc mode
authorMichael Gebetsroither <michael.geb@gmx.at>
Tue, 2 Oct 2007 11:35:29 +0000 (13:35 +0200)
committerMichael Gebetsroither <michael.geb@gmx.at>
Tue, 2 Oct 2007 11:35:29 +0000 (13:35 +0200)
debian/changelog
grml_tips

index f2ce4e7..1bd596f 100644 (file)
@@ -1,9 +1,14 @@
 grml-tips (0.4.7) unstable; urgency=low
 
+  [ Michael Prokop ]
   * Added tips:
     - dns2tcp [thanks, Moritz Augsburger!]
 
- -- Michael Prokop <mika@grml.org>  Sun, 30 Sep 2007 17:27:18 +0200
+  [ Michael Gebetsroither ]
+  * Added tips:
+    - Configure a MadWifi device for adhoc mode
+
+ -- Michael Gebetsroither <gebi@grml.org>  Tue, 02 Oct 2007 13:32:27 +0200
 
 grml-tips (0.4.6) unstable; urgency=low
 
index ba9cbeb..4546d3c 100644 (file)
--- 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.
+--