On Mon, Apr 6, 2015 at 11:07 PM, Adrian Chadd <adr...@freebsd.org> wrote: > Looks right; is hostapd running? > > > -a > > > On 6 April 2015 at 21:07, Waitman Gobble <gobble...@gmail.com> wrote: >> Hi, >> >> hostapd is working, clients can connect but it doesn't require a >> password to connect. I'm pretty sure I followed the manual. But I >> suppose I missed something. Can anyone give me a pointer? >> >> >> hostapd.conf (password set to 'password') >> >> interface=wlan1 >> logger_syslog=-1 >> logger_syslog_level=0 >> debug=0 >> ctrl_interface=/var/run/hostapd >> ctrl_interface_group=wheel >> ssid=DEVNAME >> wpa=1 >> wpa_passphrase=password >> wpa_key_mgmt=WPA-PSK >> wpa_pairwise=CCMP TKIP >> >> Thank you, >> >> -- >> Waitman Gobble >> Los Altos California USA >> 510-830-7975 >> _______________________________________________ >> firstname.lastname@example.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
It's working now. # /sbin/ifconfig wlan1 create wlandev run0 wlanmode hostap # /sbin/ifconfig wlan1 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ssid DEVNAME mode 11g channel 11 # /usr/sbin/hostapd -P /var/run/hostapd.pid -B /etc/hostapd.conf Configuration file: /etc/hostapd.conf Using interface wlan1 with hwaddr 00:e0:4c:81:81:f5 and ssid "DEVNAME" # /usr/cust/sbin/dhcpd -lf /var/dhcp/lease wlan1 Internet Systems Consortium DHCP Server 4.3.2 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Config file: /etc/dhcpd.conf Database file: /var/dhcp/lease PID file: /var/run/dhcpd.pid Wrote 10 leases to leases file. Listening on BPF/wlan1/00:e0:4c:81:81:f5/192.168.1.0/24 Sending on BPF/wlan1/00:e0:4c:81:81:f5/192.168.1.0/24 Sending on Socket/fallback/fallback-net If I set up the network interface in rc.conf, it didn't seem to be working. ie, hostapd_enable="YES" I'll have to go back and test again. It looks like I did something wrong before, but it's right now. Thank you, -- Waitman Gobble Los Altos California USA 510-830-7975 _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"