DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th January 2017
staus staus is offline
Port Guard
 
Join Date: May 2014
Posts: 28
Default Wifi ceases after a good installation 6.0

This is the third time now that I have installed 6.0 onto my Fujitsu laptop. I am doing a wifi installation, and all goes very well for the first few days. Then it will no longer connect to my home router - says sleeping after about 5 seconds. It worked absolutely perfectly for a couple of days. My entire system and software installed without a problem - even after reboots and shutdowns.
Now, no wireless connection.
I can remove the hard drive, install a linux drive, and networking works as usual.
Once the OpenBSD wifi problem occurs, even using the installation CD will not acquire my home network.
Is it possible to add a line to dhclient.conf to increase the timeout? The man page says the default is set to 30 seconds, but is this the true? I seem to get the sleeping message in much less than 10 seconds.
I was hoping to use OpenBSD at long last on my laptop, but this problem has reappeared.
Any help appreciated, or I'm back to linux Slackware. Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 6th January 2017
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by staus View Post
This is the third time now that I have installed 6.0 onto my Fujitsu laptop. I am doing a wifi installation, and all goes very well for the first few days. Then it will no longer connect to my home router - says sleeping after about 5 seconds.
Please provide the complete output of dmesg(8)
Reply With Quote
  #3   (View Single Post)  
Old 6th January 2017
staus staus is offline
Port Guard
 
Join Date: May 2014
Posts: 28
Default

Thanks for your assistance. Attached is the complete dmesg output.
Wifi router was on, but OpenBSD timed out.
Attached Files
File Type: txt dmesg.txt (6.9 KB, 67 views)
Reply With Quote
  #4   (View Single Post)  
Old 6th January 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

You have:
Code:
ath0 at pci4 dev 0 function 0 "Atheros AR5424" rev 0x01: apic 2 int 19
ath0: AR5424 10.3 phy 6.1 rf 10.2 eeprom 5.3, FCC3A, address <censored>
Can you elaborate more how you configured Wifi? I mean in OpenBSD you created, modified some files related to Wifi or not? D you use ifconfig to configure Wifi? Do you use wpa_supplicant from ports (not in base install and is not needed to connect to 1 personal Wifi).
How yours router is configured? Does it have WEP, WPA or WPA2?

Please provide
Code:
ifconfig ath0
cat /etc/hostname.ath0
When problem occurs I would try to execute (as root user):
Code:
sh /etc/netstart ath0
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #5   (View Single Post)  
Old 6th January 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

This NIC is an AR5424. There is a long thread on tech@ that began in 2010 and ended in 2013. To my understanding, only certain versions of this card work, and only if a user-developed patch (which breaks other things) is applied.

The discussion is very long, and the earliest posts in the thread began here:

http://marc.info/?t=126437919200002&r=3&w=2
Reply With Quote
  #6   (View Single Post)  
Old 6th January 2017
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

My Acer Aspire One A150 came with an AR5424. I'm surprised you got it to run at all. I tried NetBSD 7.0.x and FreeBSD10.x. The connection was erratic on NBSD and FBSD so I ran Debian for a long time.

The release notes for FreeBSD 11.0 indicated power savings support for the AR5424 and I tried FreeBSD 11.0. It runs well in FreeBSD 11.0.
Reply With Quote
  #7   (View Single Post)  
Old 7th January 2017
staus staus is offline
Port Guard
 
Join Date: May 2014
Posts: 28
Default

I have investigating dhclient and the default settings that OpenBSD has set. It is quite different from bog standard deafaults used by Linux. So, I edited the dhclient.conf to change the following:
timeout from 30 sec to 60 sec
retry from 1 sec to 60 sec
reboot from 1 sec to 10 sec
initial-interval from 10 sec to 2 sec
So far I have been getting consistent wifi connections.

I wonder why OpenBSD strayed so far from the recommended defaults.
Reply With Quote
  #8   (View Single Post)  
Old 7th January 2017
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by staus View Post
I wonder why OpenBSD strayed so far from the recommended defaults.
In general, members of this community cannot answer this question.

This site is independent from the OpenBSD project. While there are project developers who read & respond to messages from time to time, no one here is privy to the discussion occurring within the project proper.

You can easily search through the CVS repository & find the developers who have modified much of the wireless interface code, & contact them directly. Another possible avenue would be post to misc@; there, you may or may not get an answer. Providing as much information as possible (including dmesg(8) output...) might increase your chances of getting a useful response.
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
How to become a good C programmer? silex Programming 5 16th December 2012 04:08 PM
good vi(1) tutorial ocicat General software and network 4 8th April 2010 04:12 AM
Good VPN service? guitarscn Off-Topic 2 15th December 2009 08:55 AM
Good router terryd General software and network 10 9th February 2009 09:31 PM
Good morning all SgtHarper Feedback and Suggestions 0 9th May 2008 08:20 AM


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