From: Jason Boxman (jasonb_at_edseek.com)
Date: 2002-08-08 12:46:55 UTC
On Thursday 08 August 2002 04:53 am, Michael Milligan wrote:
> Hello,
>
<snip>
> Snippet from /etc/network/interfaces:
>
>     # Wireless interface (hostap_pci)
>     # auto wlan0
>     iface wlan0 inet static
> 	pre-up /sbin/modprobe hostap_pci || true
> 	pre-up /sbin/iwconfig wlan0 essid MyLANgoAWAY
> 	pre-up /sbin/iwconfig wlan0 channel 6
> 	pre-up /sbin/iwconfig wlan0 txpower 30mW
>     #	pre-up /sbin/iwconfig wlan0 rate 11M
> 	address 172.20.21.1
> 	netmask 255.255.255.0
I don't know about your problem, but if anyone else was curious your configuration is nearly identical to how I brought my card up under Debian, and I'd recommend this interfaces setup to anyone else here using Debian. It's easy and consistent with The Debian Way (tm).
> Here's what I see after 'ifup wlan0':
>
>     # lsmod
>     Module                  Size  Used by    Not tainted
>     hostap_pci             40908   1
>     hostap                 64388   0  [hostap_pci]
>     hostap_crypt            2084   0  [hostap]
>
>     # iwconfig wlan0
>     wlan0   IEEE 802.11-b  ESSID:"MyLANgoAWAY"
>             Mode:Master  Frequency:2.437GHz  Access Point:
> 00:05:3C:00:FB:C9 Bit Rate:11Mb/s   Tx-Power=15 dBm   Sensitivity=1/3
>             Retry min limit:8   RTS thr:off   Fragment thr:off
>             Encryption key:off
>             Power Management:off
>             Link Quality:0  Signal level:0  Noise level:0
>             Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>             Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
> A known-good-working card never sees it.
I notice you didn't configure mode Master. Is that the default? I never looked, I've just always issued it explicitly. If not, you might try issuing the mode Master command to iwconfig.
> Help?
>
> Regards,
> Mike
>
<snip>