Eric Dillenseger wrote:

Just a remark, in /etc/horname.if you don't write the 'up' keyword.
Otherwise, I don't see what's wrong. Once the card is configured, can
you post a ifconfig -a output? First, remove hostname.ath?, reboot and
try to configure only with ifconfig, if there's an error, ifconfig
should say something.

You can monitor the DHCP requests with tcpdump.

Is the access point filtering mac adresses?


Hi Eric.

The router don't filter mac-addresses.

When I attach the card I see this in dmesg:

ath0 at cardbus0 dev 0 function 0 "Atheros Communications, Inc., AR5001-0000-0000, Wireless LAN Reference Card": irq 5 ath0: AR5212 7.9 phy 4.5 rf2112 5.6 rf2112 5.6, NONE, address 00:11:95:93:eb:53

After this I have to set up nwid and mode and media for it.

# ifconfig ath0 nwid asuka media autoselect mode autoselect chan 1
# ifconfig ath0
ath0: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:95:93:eb:53
        media: IEEE802.11 autoselect
        status: no network
        ieee80211: nwid asuka chan 1

if I try to set up a static ip then I type:

# ifconfig ath0 192.168.1.2
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:95:93:eb:53
        media: IEEE802.11 autoselect (DS1 mode 11b)
        status: no network
        ieee80211: nwid asuka chan 1
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::211:95ff:fe93:eb53%ath0 prefixlen 64 scopeid 0x7

But the card status is "no network" and I can't ping 192.168.1.1 ( wlan router ip ). I changed the router mode "B only" so the "G" mode couldn't be the problem.

If I set ath0 the way like this:

#ifconfig ath0 192.168.1.2 mode autoselect mediaopt hostap chan 1 nwid asuka

#ifconfig ath0
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:95:93:eb:53
        media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap)
        status: active
        ieee80211: nwid asuka chan 1 bssid 00:11:95:93:eb:53
        inet6 fe80::211:95ff:fe93:eb53%ath0 prefixlen 64 scopeid 0x7
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255

Now it's running in host AP mode, but neither kismet nor airsnort sees it's broadcasted ssid. This is the only case when ifconfig shows me "status: active".

In that case, when I try to get ip by typing: "dhclient ath0" after setting up nwid, chan, mode the result is:

# ifconfig ath0 mode autoselect chan 1 nwid asuka # ifconfig ath0
ath0: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:95:93:eb:53
        media: IEEE802.11 autoselect
        status: no network
        ieee80211: nwid asuka chan 1
# dhclient ath0
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 1
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 2
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
#ifconfig ath0
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:95:93:eb:53
        media: IEEE802.11 autoselect (DS1 mode 11b)
        status: no network
        ieee80211: nwid asuka chan 1
        inet6 fe80::211:95ff:fe93:eb53%ath0 prefixlen 64 scopeid 0x8

Yesterday I tried ad-hoc mode ( peer to peer ) between iBook and my laptop. But they didn't see each other. :/


# uname -a
OpenBSD larva.portable.wooh.hu 3.8 GENERIC#1 i386

It seems that I can't get this card to work.

So I don't have any idea. The AP works well with this card and Linux/madwifi.

--
Adam PAPAI
D i g i t a l Influence
E-mail: [EMAIL PROTECTED]
Phone: +36 30 33-55-735

Reply via email to