Config file for hostap_pci??

Ricardo Galli gallir
Sun Oct 20 01:14:01 PDT 2002


On Sunday 20 October 2002 07:27, Michael Milligan shaped the electrons to 
shout:
> For example, add something like this to bottom of /etc/network/interfaces,
> fix up <ID> and 1234-5678-9A (or delete the key line if you don't run
> WEP)..
>
> # Wireless interface (hostap_pci)
> auto wlan0
> iface wlan0 inet dhcp
>      pre-up /sbin/modprobe hostap_pci || true
>      pre-up /sbin/iwconfig wlan0 mode Master essid <ID> channel 1
>      pre-up /sbin/iwconfig wlan0 key 1234-5678-9A

There is no need of the pre-up commands for setting up iwconfig's paramaters. 
For example in my laptop I have:

auto eth1
iface eth1 inet dhcp
        wireless_essid  Antoli
        wireless_mode   Managed
        wireless_key    s:mykey
        wireless_rate   auto
        wireless_nick   sofi
#       wireless_power  period 2
#       wireless_power  1
#       wireless_power  timeout 300u all


-- 
  ricardo galli       GPG id C8114D34
       A paperless office has about as much a chance as a paperless bathroom




More information about the Hostap mailing list