home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / wireless-tools / README.Debian < prev    next >
Encoding:
Text File  |  2006-12-21  |  1.7 KB  |  59 lines

  1. Kernel version
  2. --------------
  3.  
  4. iwconfig and the other tools might complain about version conflicts. This
  5. version of iwconfig works with the interface found in recent 2.4.x kernels.
  6. This fixes a conflict between wireless and mii ioctls. It should still be
  7. usable on older kernels though.
  8.  
  9. /etc/network/interfaces
  10. -----------------------
  11.  
  12. You can now add extra statements to the iface sections of the files in
  13. /etc/network/interfaces that are specific for wireless interfaces. They are of
  14. the form:
  15.  
  16.     wireless-<function> <value>
  17.  
  18. Before the interface is brought up, such a statement will result in the
  19. execution of the following command:
  20.  
  21.     iwconfig <interface> <function> <value>
  22.  
  23. If you bring the interface down, then for each wireless-<function> statement
  24. given it will execute a corresponding iwconfig command that reverts that
  25. function back to sane defaults.  For example, if you specified a wireless-key,
  26. if you run ifdown it will set the wireless key to "off".
  27.  
  28. If you want to specify a nick, nwid or essid with spaces in them, you must not
  29. surround them with quotes.
  30.  
  31. To specify multiple keys the following statements are also available:
  32.  
  33.     wireless-key<number> <key>
  34.     wireless-defaultkey <number>
  35.     wireless-keymode restricted|open
  36.  
  37. To finetune powermanagement the following statments are also available:
  38.  
  39.     wireless-powerperiod <period>
  40.     wireless-powertimeout <timeout>
  41.  
  42. Example:
  43.  
  44. iface eth0 inet static
  45.     address 192.168.1.2
  46.     network 192.168.1.0
  47.     netmask 255.255.255.0
  48.     broadcast 192.168.1.255
  49.     wireless-essid Home
  50.     wireless-mode ad-hoc
  51.  
  52. Example of multiple keys:
  53.  
  54.     wireless-key1 0123-4567-89ab-cdef
  55.     wireless-key2 12345678
  56.     wireless-key3 s:password
  57.     wireless-defaultkey 2
  58.     wireless-keymode open
  59.