Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2009 23:10:04 +0800
From:      Jimmy Lim <jimmyblim@gmail.com>
To:        dikshie <dikshie@gmail.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: if_ath problem
Message-ID:  <127fb190908170810ta30da49v7889ed17152b661d@mail.gmail.com>
In-Reply-To: <910e60e80908170535y780be7d4me6aaea18bdf6edbf@mail.gmail.com>
References:  <910e60e80908170535y780be7d4me6aaea18bdf6edbf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 17, 2009 at 8:35 PM, dikshie<dikshie@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@totoro.sfc.wide.ad.jp:/usr/obj/usr/src/sys/T41-8 =A0i386
>
> ath0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
> =A0 =A0 =A0 =A0ether 00:05:4e:43:8d:ed
> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect (autoselec=
t)
> =A0 =A0 =A0 =A0status: no carrier
>
> ath0: <Atheros 5212> mem 0xc0210000-0xc021ffff irq 11 at device 2.0 on pc=
i2
> ath0: [ITHREAD]
> ath0: AR5212 mac 5.6 RF5111 phy 4.1
>
>
> device =A0 =A0 =A0 =A0 =A0wlan =A0 =A0 =A0 =A0 =A0 =A0# 802.11 support
> options =A0 =A0 =A0 =A0 IEEE80211_DEBUG # enable debug msgs
> options =A0 =A0 =A0 =A0 IEEE80211_AMPDU_AGE # age frames in AMPDU reorder=
 q's
> options =A0 =A0 =A0 =A0 IEEE80211_SUPPORT_MESH =A0# enable 802.11s D3.0 s=
upport
> device =A0 =A0 =A0 =A0 =A0wlan_wep =A0 =A0 =A0 =A0# 802.11 WEP support
> device =A0 =A0 =A0 =A0 =A0wlan_ccmp =A0 =A0 =A0 # 802.11 CCMP support
> device =A0 =A0 =A0 =A0 =A0wlan_tkip =A0 =A0 =A0 # 802.11 TKIP support
> device =A0 =A0 =A0 =A0 =A0wlan_amrr =A0 =A0 =A0 # AMRR transmit rate cont=
rol algorithm
> device =A0 =A0 =A0 =A0 =A0an =A0 =A0 =A0 =A0 =A0 =A0 =A0# Aironet 4500/48=
00 802.11 wireless NICs.
> device =A0 =A0 =A0 =A0 =A0ath =A0 =A0 =A0 =A0 =A0 =A0 # Atheros pci/cardb=
us NIC's
> device =A0 =A0 =A0 =A0 =A0ath_hal =A0 =A0 =A0 =A0 # pci/cardbus chip supp=
ort
> options =A0 =A0 =A0 =A0 AH_SUPPORT_AR5416 =A0 =A0 =A0 # enable AR5416 tx/=
rx descriptors
> device =A0 =A0 =A0 =A0 =A0ath_rate_sample # SampleRate tx rate control fo=
r ath
> device =A0 =A0 =A0 =A0 =A0wlan_xauth
> device =A0 =A0 =A0 =A0 =A0wlan_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
--=20
Jimmy B. Lim
j i m m y b l i m @ g m a i l . c o m



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?127fb190908170810ta30da49v7889ed17152b661d>