DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th May 2018
commodorejohn commodorejohn is offline
Real Name: John
Stubborn throwback
 
Join Date: Jun 2014
Location: Duluth, MN
Posts: 27
Default Another OpenBSD Wifi Thread

I recently pulled out my old OpenBSD laptop and did a wipe and fresh install of 6.2 on it - but stupidly, I didn't save the wireless configuration that took me so much effort to get working before. So I'm back to having wireless not working no matter what I do, and while I can find thread with similar symptoms, none of them seem to have a clear solution.

So here's how things stand: the post-install process installed the firmware for the wifi, which is a built-in Atheros device that shows up as ath0. /etc/hostname.ath0 contains the following:
Code:
-chan -bssid -wpakey
nwid "arbol" media mode 11g
wpakey "(censored)"
dhcp
ifconfig using these options will run without complaint and reflect these values in its report:
Code:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
         lladdr 00:11:85:1a:9f:27
         index 1 priority 4 llprio 3
         groups: wlan
         media: IEEE802.11 autoselect (DS1)
         status: no network
         ieee80211: nwid arbol chan 7 bssid 90:c7:92:57:bb:c0 wpakey (censored) wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp
The "media" value changes periodically to "DS1 mode 11b" or "OFDM6" like it's activelly trying to connect, but "status" never changes to anything besides "no network." Running dhclient on it gives the "no link ........... sleeping" message that so many other threads have mentioned. dmesg has nothing in particular to say about it after the ath0 device is recognized during boot.

Can someone help me figure out what's going on here? By everything I read in the man pages, it sounds like I should have everything correctly configured, but it just refuses to work...
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer
Reply With Quote
  #2   (View Single Post)  
Old 28th May 2018
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Quote:
Originally Posted by commodorejohn View Post
I recently pulled out my old OpenBSD laptop and did a wipe and fresh install of 6.2 on it
Perhaps off-topic, but maybe you want to install 6.3 on the laptop instead?

Quote:
Originally Posted by commodorejohn View Post
/etc/hostname.ath0 contains the following:
Code:
-chan -bssid -wpakey
nwid "arbol" media mode 11g
wpakey "(censored)"
dhcp
I use an external urtwn(4) device. This is the entirety of my /etc/hostname.urtwn0:
Code:
nwid Puffy
wpakey istheOpenBSDmascot
dhcp
(Sure, come over and steal my wifi, I don't mind.)
And this minimal configuration happily just works with one of those off-the-shelf travel wifi routers (this one, to be precise, though not an ad/endorsement of it). I would imagine if you need more than the minimal /etc/hostname.XXX, then you're either connecting to something that requires security/wpa_supplicant or you've otherwise heavily configured your wifi router.
Reply With Quote
  #3   (View Single Post)  
Old 28th May 2018
commodorejohn commodorejohn is offline
Real Name: John
Stubborn throwback
 
Join Date: Jun 2014
Location: Duluth, MN
Posts: 27
Default

I actually tried 6.3 first, but A. I couldn't get some packages to install because they wanted pango which wanted something that wanted a specific version of freetype that wasn't available, and B. it had the same problem anyway.

Anyway: yeah, I actually did have a simpler hostname.ath0 like yours and that had the same problem. The more elaborate current one was generated by that old wiconfig shell script that got my wireless issues resolved last time I was using this laptop (under 5.6, I think?) but this time it's not cutting it. I tried wpa_supplicant and wifind as well, but neither resolve the issue.

I don't think the router should be configured in any particularly arcane manner, though I suppose I've been meaning to hook up a proper router anyway and get off the garbage Comcast modem wifi, so it probably wouldn't hurt to just give it a shot and see if that changes anything...
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer
Reply With Quote
  #4   (View Single Post)  
Old 28th May 2018
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

Sometime between 5.3 and 6.3, ccmp became the default cipher. If your router is confitgured for tkip, you would also see a previously working system fail to connect.

If this is the case, ccmp is deemed more secure so the best fix would be to set the router cipher to ccmp. Otherwise you can use a wpacipher entry in your /etc/ifconfig.ath0 as described in ifconfig(8).
Reply With Quote
  #5   (View Single Post)  
Old 28th May 2018
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Quote:
Originally Posted by commodorejohn View Post
I actually tried 6.3 first, but A. I couldn't get some packages to install because they wanted pango which wanted something that wanted a specific version of freetype that wasn't available
This should be reported.
Reply With Quote
  #6   (View Single Post)  
Old 28th May 2018
commodorejohn commodorejohn is offline
Real Name: John
Stubborn throwback
 
Join Date: Jun 2014
Location: Duluth, MN
Posts: 27
Default

Quote:
Originally Posted by shep View Post
Sometime between 5.3 and 6.3, ccmp became the default cipher. If your router is confitgured for tkip, you would also see a previously working system fail to connect.

If this is the case, ccmp is deemed more secure so the best fix would be to set the router cipher to ccmp. Otherwise you can use a wpacipher entry in your /etc/ifconfig.ath0 as described in ifconfig(8).
Ah. Good information. I'll take a poke at that and see if it resolves the issue.

Quote:
Originally Posted by ibara View Post
This should be reported.
Hmm. Don't know if it's been properly filed as a report or not, but I do know someone else already raised the issue about a month ago. Those are the same symptoms I got (though for a different package with the same ultimately missing dependencies.)
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer
Reply With Quote
  #7   (View Single Post)  
Old 28th May 2018
commodorejohn commodorejohn is offline
Real Name: John
Stubborn throwback
 
Join Date: Jun 2014
Location: Duluth, MN
Posts: 27
Default

Quote:
Originally Posted by commodorejohn View Post
Ah. Good information. I'll take a poke at that and see if it resolves the issue.
(Ron Howard narrating) It didn't.

Tried setting ifconfig to use tkip and no change. Here's the output from ifconfig:
Code:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:11:85:1a:9f:27
        index 1 priority 4 llprio 3
        groups: wlan
        media: IEEE802.11 autoselect (DS1)
        status: no network
        ieee80211: nwid arbol wpakey (swordfish!) wpaprotos wpa2 wpaakms psk wpaciphers tkip wpagroupcipher ccmp
I'll have a go at using a proper router tomorrow, I think.
__________________
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/MT-32/D-10, Oberheim Matrix-6, Yamaha DX7/FB-01, Korg MS-20 Mini, Ensoniq Mirage/SQ-80, Sequential Circuits Prophet-600, Hohner String Performer
Reply With Quote
  #8   (View Single Post)  
Old 28th May 2018
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 408
Default

Could be interesting to see informations on your network.
Could you also display a scan of your WiFi ?

Code:
$ doas ifconfig ath0 scan | grep arbol
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry
ThinkStation P700 2x2620v3 32GB 1050ti 3xSSD 1xHDD
Reply With Quote
Reply


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
[Solved] OpenBSD cannot connect to the WiFi LeFrettchen OpenBSD General 0 17th May 2018 01:41 PM
An OpenBSD wifi tray applet shep Guides 2 14th October 2017 06:35 AM
Thread creation kalimuthu NetBSD General 0 7th December 2010 05:11 PM
Securing wifi networks with ipsec/ssh and openbsd Oko OpenBSD Security 4 16th April 2009 07:32 AM
The big TeX and (g)troff thread JMJ_coder General software and network 23 10th November 2008 01:19 PM


All times are GMT. The time now is 10:11 AM.


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