DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th August 2014
kimotori kimotori is offline
Port Guard
 
Join Date: Jun 2013
Posts: 17
Unhappy Hidden ssid wpa2-psk

Hallo
how to connect with hidden network? (hidden ssid is "BSD")

in /etc/rc.conf:
Quote:
wpa_supplicant=YES
wpa_supplicant_flags="-B -i ath0 -c /etc/wpa_supplicant.conf"

/etc/wpa_supplicant.conf:
Quote:
network={
ssid="BSD"
scan_ssid=1
proto=RSN <-- is it good?
key_mgmt=WPA-PSK
psk=b7d1304e45ebbdb66ac1dcb1efae521beaa76fb78708fe 9b
}
but not connect
I also used wpa_passphrase BSD 1234567890 > /etc/wpa_supplicant.conf
but not good...

it also in /etc/ifconfig.ath0:
Quote:
inet 192.168.1.23 netmask 255.255.255.0
!route add default 192.168.1.254
Surely, forgiven me for my "ignorance" if I missed something!

Tnx for helpme.

Last edited by kimotori; 19th August 2014 at 01:34 PM.
Reply With Quote
  #2   (View Single Post)  
Old 20th August 2014
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Hi. It's been a while since I used wpa-supplicant on NetBSD. The RSN part looks ok. A few questions:

1) Your config file doesn't have a ctrl_interface= definition. I think this is necessary.

2) The psk in your config file shows a space in it (near the end). Is that just a glitch in your post, or is it really in your config file (it shouldn't be)?

3) Have you tried enabling the debugging for wpa_supplicant? This is controlled by by the -d and -f flags to the command.

If you haven't already done so, careful reading of wpa_supplicant.conf(5) and wpa_supplicant(8) may be helpful.
Reply With Quote
  #3   (View Single Post)  
Old 21st August 2014
kimotori kimotori is offline
Port Guard
 
Join Date: Jun 2013
Posts: 17
Default

Quote:
Originally Posted by IdOp View Post
Hi. It's been a while since I used wpa-supplicant on NetBSD. The RSN part looks ok. A few questions:

1) Your config file doesn't have a ctrl_interface= definition. I think this is necessary.

2) The psk in your config file shows a space in it (near the end). Is that just a glitch in your post, or is it really in your config file (it shouldn't be)?

3) Have you tried enabling the debugging for wpa_supplicant? This is controlled by by the -d and -f flags to the command.

If you haven't already done so, careful reading of wpa_supplicant.conf(5) and wpa_supplicant(8) may be helpful.
Tnx for your post/answer

1) yes, I not post all data pardon

2) is a non real psk code

3) yes, i read the man page, and I installed wpa_gui


I returned: unable driver etcetera etcetera .... I do not remember very well ... in the meantime I deleted the installation ...


I'm sorry

I decided use netbsd under the virtual machine

thx,have a good day
Reply With Quote
  #4   (View Single Post)  
Old 21st August 2014
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

You're welcome, and sorry to hear it didn't work out for you.
Reply With Quote
  #5   (View Single Post)  
Old 22nd August 2014
kimotori kimotori is offline
Port Guard
 
Join Date: Jun 2013
Posts: 17
Default

Quote:
Originally Posted by IdOp View Post
You're welcome, and sorry to hear it didn't work out for you.
thank you very much
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa2-psk kimotori NetBSD General 11 14th July 2013 06:44 PM
Gnome hidden Hallin OpenBSD Packages and Ports 1 4th May 2010 06:30 PM
Keeping /var/log/pflog clean from NetBIOS and SSID junk J65nko General software and network 1 26th April 2010 02:12 PM
WPA2, crackable? Sunnz General software and network 2 7th July 2008 10:17 PM
Dual ath cards with WPA2 in hostapd? Malinda FreeBSD Security 4 8th June 2008 08:34 PM


All times are GMT. The time now is 07:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick