Hello,
I am running FreeBSD 11 RC1 on a raspberry pi 2. I have a urtwn(4) usb wifi device. I can get it associated with my access point, but it just won't seem to send/receive any traffic: not DHCP packets, and not pings if I configure it statically.
From another connect machine in the same subnet:
I am running FreeBSD 11 RC1 on a raspberry pi 2. I have a urtwn(4) usb wifi device. I can get it associated with my access point, but it just won't seem to send/receive any traffic: not DHCP packets, and not pings if I configure it statically.
Code:
# uname -a
FreeBSD rpi2 11.0-RC1 FreeBSD 11.0-RC1 #0 r303979: Fri Aug 12 17:12:13 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2 arm
Code:
# cat /boot/loader.conf
#
# RealTek
#
legal.realtek.license_ack=1
if_urtwn_load="YES"
Code:
# cat /etc/rc.conf
hostname="rpi2"
#ifconfig_DEFAULT="DHCP"
ifconfig_ue0="X.X.X.250 netmask 255.255.255.0"
defaultrouter="X.X.X.1"
sshd_enable="YES"
sendmail_enable="NONE"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
growfs_enable="YES"
#
# WiFi
#
wlans_urtwn0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
Code:
network={
ssid="MySSID"
psk="MyInsanelyComplexPassword"
proto=RSN
key_mgmt=WPA-PSK
}
Code:
# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 40:a5:ef:0c:ad:93
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
groups: wlan
ssid Air channel 6 (2437 MHz 11g ht/20) bssid 28:94:0f:79:f7:90
regdomain FCC country US authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 60
protmode CTS ht20 -ampdutx ampdurx ampdulimit 64k ampdudensity 16
-stbc wme roaming MANUAL
media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Code:
# dhclient wlan0
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Code:
# ifconfig wlan0 inet X.X.X.251 netmask 255.255.255.0
# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 40:a5:ef:0c:ad:93
inet X.X.X.251 netmask 0xffffff00 broadcast X.X.X.255
groups: wlan
ssid Air channel 6 (2437 MHz 11g ht/20) bssid 28:94:0f:79:f7:90
regdomain FCC country US authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 60
protmode CTS ht20 -ampdutx ampdurx ampdulimit 64k ampdudensity 16
-stbc wme roaming MANUAL
media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
From another connect machine in the same subnet:
Code:
$ ping X.X.X.251
PING X.X.X.251 (X.X.X.251): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4