Date: Wed, 16 Nov 2005 18:07:10 +0100 From: Christer Solskogen <solskogen@carebears.mine.nu> To: questions@freebsd.org Subject: FreeBSD 6, hostap, ral0 Message-ID: <20051116180710.4ab52565@wish.carebears.net>
next in thread | raw e-mail | index | archive | help
Hi! I was hoping to use my new wlan card to work as an access point for my home network. I was using a Dlink router before (and a seperate router, so the dlink was only working as a AP) But I`m having trouble getting this to work. Take a look at ifconfig: ral0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290 inet6 fe80::212:17ff:fe68:8ce9%ral0 prefixlen 64 scopeid 0x1 inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:12:17:68:8c:e9 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap> status: associated ssid carebears channel 6 bssid 00:12:17:68:8c:e9 authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit txpowmax 100 protmode CTS dtimperiod 1 bintval 100 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> inet6 fe80::250:8bff:fe69:a4c5%fxp0 prefixlen 64 scopeid 0x3 inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.0.4 netmask 0xffffffff broadcast 192.168.0.4 ether 00:50:8b:69:a4:c5 media: Ethernet autoselect (100baseTX <full-duplex>) status: active ral0 is my wireless, and fxp0 is the wired to the rest of the network. This machine also works as a server for my home network. # cat /etc/hostapd.conf interface=ral0 driver=bsd logger_syslog=-1 logger_syslog_level=0 logger_stdout=-1 logger_stdout_level=0 debug=4 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid=secret wpa=1 wpa_passphrase=verysecret wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP What do I need to do to get the wireless clients to connect? All the wired clients works as they should, but the wireless do not get an IP. # sysctl net.inet.ip.forwarding: 1 I also see this my log: Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 IEEE 802.11: associated Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: event 4 notification Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: sending 1/4 msg of 4-Way Handshake Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: received EAPOL-Key frame (2/4 Pairwise) Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: sending 3/4 msg of 4-Way Handshake Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: received EAPOL-Key frame (4/4 Pairwise) Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 IEEE 802.1X: authorizing port Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: pairwise key handshake completed (WPA) Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: sending 1/2 msg of Group Key Handshake Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: received EAPOL-Key frame (2/2 Group) Nov 16 16:53:48 tenderheart hostapd: ral0: STA 00:11:09:c0:31:d7 WPA: group key handshake completed (WPA) And I guess that means the encrypting thingi works. But still no IP. But, I also see kernel: arp: unknown hardware address format in the log. Nov 16 16:59:41 tenderheart kernel: Nov 16 16:59:41 tenderheart kernel: arp: unknown hardware address format (0x5896) Nov 16 16:59:42 tenderheart kernel: arp: unknown hardware address format (0xb655) Nov 16 16:59:42 tenderheart kernel: Nov 16 16:59:42 tenderheart kernel: arp: unknown hardware address format (0xb655) Nov 16 16:59:49 tenderheart kernel: arp: unknown hardware address format (0x4a90) Nov 16 16:59:49 tenderheart kernel: Nov 16 16:59:49 tenderheart kernel: arp: unknown hardware address format (0x4a90) Nov 16 16:59:50 tenderheart kernel: arp: unknown hardware address format (0x8289) Nov 16 16:59:50 tenderheart kernel: Nov 16 16:59:50 tenderheart kernel: arp: unknown hardware address format (0x8289) Nov 16 16:59:51 tenderheart kernel: arp: unknown hardware address format (0x21ad) Nov 16 16:59:51 tenderheart kernel: Nov 16 16:59:51 tenderheart kernel: arp: unknown hardware address format (0x21ad) (there are a lot more of these error codes) Do anyone know what I have missed? man hostapd.conf is not very good, and the hostapd.conf is different on openbsd, and linux. Please CC: I`m not on the list. -- cso
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051116180710.4ab52565>