Just acquired an Atheros based wireless card. acquired madwifi-ng and
tools.  Using the /etc/conf.d/wireless.example I set up as per  RTFM'n .
I have in /etc/conf.d/wireless:

essid_ath0="patkno"
mode_ath0="managed"
channel_ath0="6"
key_patkno="s:********** enc open"

and I have in /etc/conf.d/net the line:

modules=( "iwconfig" )

# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

after entering each of the fields manually:

iwconfig ath0 channel 6

iwconfig ath0 essid patkno
iwconfig ath0 key s:**********
iwpriv ath0 keymgtalgs 1
ifconfig ath0 up
crash ~ #   # iwconfig ath0
ath0      IEEE 802.11g  ESSID:"patkno"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0F:3D:B5:A0:84
          Bit Rate:11 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****   Security mode:restricted
          Power Management:off
          Link Quality=56/94  Signal level=-39 dBm  Noise level=-95 dBm
          Rx invalid nwid:3494  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
However when I issue:
dhcpcd ath0 it times out and ifconfig does not show an ath0.

I'm running 2.6.17-gentoo-r7  kernel and
iwconfig -v
iwconfig  Wireless-Tools version 28
          Compatible with Wireless Extension v11 to v20.

Modprobed modules:
ath_pci
wlan_scan_sta
ath_hal
Have I missed something obvious?




-- 
Ted Ozolins(VE7TVO)


-- 
gentoo-user@gentoo.org mailing list

Reply via email to