I'm looking for some help to understand and maybe debug the following behaviour:
My ath network card on 8-stable associates with my wlan router (AVM Fritz!Box 7270) using WPA or WPA2, dhcp works fine, the route shows my laptop with correct mac address, but ping to the router shows "host down" and http etc. also do not work.
Also pinging the laptop from another device (my smartphone) logged into the same router does not work (the option to allow this is activated in the Fritz!Box).
The same wlan router / laptop combination works fine without encryption.
I really do not understand how dhcp can work, but nothing else...
Some facts:
Excerpt from /etc/rc.conf:
Excerpt from wpa_supplicant.conf
My ath network card on 8-stable associates with my wlan router (AVM Fritz!Box 7270) using WPA or WPA2, dhcp works fine, the route shows my laptop with correct mac address, but ping to the router shows "host down" and http etc. also do not work.
Also pinging the laptop from another device (my smartphone) logged into the same router does not work (the option to allow this is activated in the Fritz!Box).
The same wlan router / laptop combination works fine without encryption.
I really do not understand how dhcp can work, but nothing else...
Some facts:
Code:
% uname -a
FreeBSD mp.virtual-earth.de 8.2-STABLE FreeBSD 8.2-STABLE #20: Fri Apr 22 12:45:24 CEST 2011 [email]mathiasp@mp.virtual-
earth.de[/email]:/usr/obj/usr/src/sys/acer5553g amd64
% ifconfig
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether c8:0a:a9:7c:8b:2a
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether c8:0a:a9:7c:8b:2a
inet 192.168.178.29 netmask 0xffffff00 broadcast 192.168.178.255
media: Ethernet autoselect
status: active
laggproto failover
laggport: wlan0 flags=4<ACTIVE>
laggport: alc0 flags=1<MASTER>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether c8:0a:a9:7c:8b:2a
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
status: associated
ssid "FRITZ!Box Fon WLAN 7270" channel 1 (2412 MHz 11g) bssid bc:05:43:52:c0:ce
regdomain 101 indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF TKIP 3:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
wme burst roaming MANUAL
% dhclient lagg0
DHCPREQUEST on lagg0 to 255.255.255.255 port 67
DHCPACK from 192.168.178.1
bound to 192.168.178.29 -- renewal in 432000 seconds.
% arp -a
? (192.168.178.29) at c8:0a:a9:7c:8b:2a on lagg0 permanent [ethernet]
? (192.168.178.1) at (incomplete) on lagg0 expired [ethernet]
% ping 192.168.178.1
PING 192.168.178.1 (192.168.178.1): 56 data bytes
ping: sendto: Host is down
% route get default
route to: default
destination: default
mask: default
gateway: 192.168.178.1
interface: lagg0
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec mtu weight expire
0 0 0 0 1500 1 0
% cat /etc/resolv.conf
search fritz.box
nameserver 192.168.178.1
Excerpt from /etc/rc.conf:
Code:
ifconfig_alc0="up"
ifconfig_ath0="`ifconfig alc0 ether`"
ifconfig_ath0="ether ${ifconfig_ath0##*ether }"
wlans_ath0="wlan0"
ifconfig_wlan0="ifconfig 0.0.0.0 WPA"
#ifconfig_wlan0="ifconfig 0.0.0.0 ssid MP"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport alc0 laggport wlan0 SYNCDHCP"
Excerpt from wpa_supplicant.conf
Code:
# allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
fast_reauth=0
network={
ssid="FRITZ!Box Fon WLAN 7270"
psk="0872550863082776"
}