DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 6th July 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default Can I connect to unprotected Wifi?

Hello. I would like to connect to unprotected Wifi. I am aware of risk of this.
My operating system:
Code:
kern.version=OpenBSD 6.1-current (GENERIC.MP) #73: Sat Jul  1 10:53:54 MDT 2017
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
I have said unprotected. I mean by this lack of WEP/WPA/WPA2, basically anything based on cryptography to authenticate and authorize access. This network restricts access based on MAC addresses, but my MAC is added by admin of this public network. I can connect to this network from the same laptop using Windows operating system, so this is not hardware problem.
I have Wifi network device supported by iwn(4) driver.
Fun thing is that I managed to connect to WPA2-Personal without any problems, but I am stuck at connecting to unprotected Wifi.

I would like to anonymise at least some info, but if you think I censor too much tell me about this.

I see the network existence via command (nwid name is altered, but really contains spaces):
Code:
# ifconfig iwn0 scan
                nwid "word1 space word2" chan 6 bssid 80(censored)e5 -49dBm HT-MCS23 short_preamble,short_slottime
but there are other Wifi networks with the same nwid (they are legitimate, there are several APs to this network).

I have instructed iwn(4) driver to connect to this network by this file:
Code:
# cat /etc/hostname.iwn0                                                       
media autoselect mode 11n
nwid "word1 space word2"
dhcp
This gives me:
Code:
# ifconfig iwn0
iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	lladdr 00:(censored):cc
	index 2 priority 4 llprio 3
	groups: wlan
	media: IEEE802.11 autoselect (DS1 mode 11g)
	status: no network
	ieee80211: nwid "word1 space word2" chan 6 bssid 80:(censored):e5 -49dB
Some info from Windows when connected to this Wifi network:

Code:
ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : (censored)
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : (censored).pl

Wireless LAN adapter Wi-Fi 2:

   Connection-specific DNS Suffix  . : (censored).pl
   Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6200 AGN
   Physical Address. . . . . . . . . : 00-(censored)CC
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::(censored)2263%30(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.(censored).136(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.128
   Lease Obtained. . . . . . . . . . : 5 7 2017 22:15:19
   Lease Expires . . . . . . . . . . : 5 7 2017 22:25:17
   Default Gateway . . . . . . . . . : 10.(censored).129
   DHCP Server . . . . . . . . . . . : 10.(censored).0
   DHCPv6 IAID . . . . . . . . . . . : 5(censored)6
   DHCPv6 Client DUID. . . . . . . . : 00-(censored)-70

   DNS Servers . . . . . . . . . . . : 10.(censored).129
                                       212.(censored).177
   NetBIOS over Tcpip. . . . . . . . : Enabled
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase

Last edited by e1-531g; 16th July 2017 at 05:57 AM.
Reply With Quote
 

Tags
openbsd, wifi


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
connect to wifi networks without GUI spermwhale_warrior NetBSD Installation and Upgrading 6 24th November 2015 07:27 PM
connect to OpenBSD BOX with VNC mfaridi OpenBSD General 9 14th April 2010 08:38 PM
connect to openbsd box (ssh) milo974 Other BSD and UNIX/UNIX-like 4 3rd January 2009 02:44 AM
FTP-Proxy cannot connect plexter OpenBSD Packages and Ports 6 11th October 2008 05:59 PM
wpa_supplicant won't connect to AP adamk FreeBSD General 4 24th September 2008 08:09 AM


All times are GMT. The time now is 05:22 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