if_ath problem

Jimmy Lim jimmyblim at gmail.com
Mon Aug 17 15:38:40 UTC 2009


On Mon, Aug 17, 2009 at 8:35 PM, dikshie<dikshie at gmail.com> wrote:
> Hi,
> i have if_ath problem on an old IBM T41.
>
> FreeBSD totoro.sfc.wide.ad.jp 8.0-BETA2 FreeBSD 8.0-BETA2 #7: Sat Aug
> 15 19:34:06 JST 2009
> dikshie at totoro.sfc.wide.ad.jp:/usr/obj/usr/src/sys/T41-8  i386
>
> ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
>        ether 00:05:4e:43:8d:ed
>        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
>        status: no carrier
>
> ath0: <Atheros 5212> mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on pci2
> ath0: [ITHREAD]
> ath0: AR5212 mac 5.6 RF5111 phy 4.1
>
>
> device          wlan            # 802.11 support
> options         IEEE80211_DEBUG # enable debug msgs
> options         IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
> options         IEEE80211_SUPPORT_MESH  # enable 802.11s D3.0 support
> device          wlan_wep        # 802.11 WEP support
> device          wlan_ccmp       # 802.11 CCMP support
> device          wlan_tkip       # 802.11 TKIP support
> device          wlan_amrr       # AMRR transmit rate control algorithm
> device          an              # Aironet 4500/4800 802.11 wireless NICs.
> device          ath             # Atheros pci/cardbus NIC's
> device          ath_hal         # pci/cardbus chip support
> options         AH_SUPPORT_AR5416       # enable AR5416 tx/rx descriptors
> device          ath_rate_sample # SampleRate tx rate control for ath
> device          wlan_xauth
> device          wlan_acl
>
>
> totoro# ifconfig ath0 up scan
> ifconfig: unable to get scan results
>
> totoro# ifconfig ath0 ssid 000000HFC
> ifconfig: SSID: bad value
> totoro#
>
>
> any hints?
>
> thank you!
>
> --
> -dikshie-

Hi,

Try this:

ifconfig wlan0 create wlandev ath0
ifconfig wlan0 inet 192.168.0.20 netmask 0xffffff00 ssid my_net \
   wepmode on wepkey 0x8736639624


man(4) ath
man(4) wlan

HTH
-- 
Jimmy B. Lim
j i m m y b l i m @ g m a i l . c o m


More information about the freebsd-mobile mailing list