Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cannot see ssid from hostapd
Folks,
I first sent this to netbsd-users@ but will try here too. Thanks to
those who responded previously. I will try looking at the hidden ssid
setting...
I am trying to set up hostapd on a recent-ish -current machine.
I am trying to configure it with WPA. The hostapd.conf looks like:
interface=urtwn0
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=NetBSD
macaddr_acl=0
auth_algs=3
wpa=1
wpa_passphrase=very secret thing here
wpa_pairwise=TKIP CCMP
The daemon starts up and looks promising, syslog shows:
Aug 21 17:40:41 rover hostapd: Configuration file: /etc/hostapd.conf
Aug 21 17:40:41 rover hostapd: Line 34: DEPRECATED: 'dump_file' configuration variable is not used anymore
Aug 21 17:40:41 rover hostapd: Using interface urtwn0 with hwaddr 74:da:38:99:3e:08 and ssid "NetBSD"
Aug 21 17:40:41 rover hostapd: urtwn0: interface state UNINITIALIZED->ENABLED
Aug 21 17:40:41 rover hostapd: urtwn0: AP-ENABLED
hostapd_cli status looks good:
>
> status
state=ENABLED
phy=
freq=0
num_sta_non_erp=0
num_sta_no_short_slot_time=0
num_sta_no_short_preamble=0
olbc=0
num_sta_ht_no_gf=0
num_sta_no_ht=0
num_sta_ht_20_mhz=0
num_sta_ht40_intolerant=0
olbc_ht=0
ht_op_mode=0x0
cac_time_seconds=0
cac_time_left_seconds=N/A
channel=0
secondary_channel=0
ieee80211n=0
ieee80211ac=0
ieee80211ax=0
beacon_int=100
dtim_period=2
bss[0]=urtwn0
bssid[0]=74:da:38:99:3e:08
ssid[0]=NetBSD
num_sta[0]=0
> ping
PONG
and ifconfig shows the interface in hostap mode:
urtwn0: flags=0x8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ssid NetBSD apbridge nwkey 3:"",0x9406244d000000009195b73b2e57eccb,0x9d00000000cf2fecd0a3f2a1259c4658,""
powersave off
bssid 74:da:38:99:3e:08 chan 1
address: 74:da:38:99:3e:08
media: IEEE802.11 autoselect hostap (autoselect mode 11b hostap)
status: no network
the only concerning thing here is the no network status.
The problem is that when I look on my android tablet I cannot see the
NetBSD ssid there. I tried manually adding the ssid on the tablet but
that didn't work. I can't see anything in the output that indicates it
is not working so I am stuck a bit.. anyone have any ideas?
--
Brett Lymn
--
Sent from my NetBSD device.
"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"
----- End forwarded message -----
--
Brett Lymn
--
Sent from my NetBSD device.
"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"
Home |
Main Index |
Thread Index |
Old Index