• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

losing wlan connection after portmaster updates

koshamo

New Member


Messages: 4

#1
Hi there,

I have a strange issue with my Lenovo E470 laptop. I use this box with an external USB wlan stick TP-Link TL-WN725N.

I set up this box in early summer 2017 and worked on it without any updates and any issues. I sometimes had a system up-time of more than 3 months without any network issues. In December I decided to update some ports using portsnap and portmaster.
After this update I sometimes lost wlan connection to my router, which I could fix doing
Code:
% service netif restart
% service routing restart
As the problems continued to show, I did a base system update using freebsd-update.

When I lose wlan connection to my router, I can switch to ttyv0 and see the message
Code:
urtwn0: ieee80211_crypto_encap returns null
.
This message continues to show up with every single network access I try.

I had this kind of issue before. I set up this laptop with FreeBSD, as I just bought it. Everything run fine until the day I started to update my ports with portmaster. With every single update session the issues became more till the day no network connection was able to establish. This finally had been the reason to newly set up the laptop.

And, by the way:
Code:
jochen@freebsd:~ % uname -a 
FreeBSD freebsd.tp 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
I use the default generic kernel.

Any ideas, why the network connection runs just fine without any losses, as long as I have a freshly set-up system with several ports installed and the problems start as soon as I start to update the system with portmaster?

I didn't attach any config files, as they haven't been changed during the update process and the same config files lead to a running system till updating the ports.

thanks,
Jochen
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,492
Messages: 25,656

#2
Update the system itself, you're a couple of patches behind. You should be running 11.1-RELEASE-p6 now.

And if you use the default options I would recommend using pkg-upgrade(8) instead. There's nothing to gain by building from ports if you're going to stick to the defaults.
 

koshamo

New Member


Messages: 4

#3
Code:
root@freebsd:/home/jochen # freebsd-update fetch 
Looking up update.FreeBSD.org mirrors... 3 mirrors found. 
Fetching metadata signature for 11.1-RELEASE from update4.freebsd.org... done. 
Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. 

No updates needed to update system to 11.1-RELEASE-p6. 
root@freebsd:/home/jochen # freebsd-update install 
No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. 
root@freebsd:/home/jochen # uname -a 
FreeBSD freebsd.tp 11.1-RELEASE-p4 FreeBSD 11.1-RELEASE-p4 #0: Tue Nov 14 06:12:40 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
So, how to do the update?
 

koshamo

New Member


Messages: 4

#4
ok, it seems, I am up to date:
Code:
# freebsd-version -k 
11.1-RELEASE-p4 
# freebsd-version -u 
11.1-RELEASE-p6
But the issue described above isn't to be vanished -- the opposite is true, wlan connection is getting more and more itchy
 

koshamo

New Member


Messages: 4

#5
No one any idea?
The issue is still there and the wlan connection very slow most of the time and this crypto encap thing still happens quite regularly