On Mon, Oct 21, 2019 at 07:50:45PM +0000, mailinglists wrote:
> Thank you for the fast reply.

There's a few things that look odd:

> Name    Mtu   Network     Address              Ipkts Ifail    Opkts Ofail 
> Colls
> athn0   1500  <Link>      60:e3:27:1c:fc:cb    66790 14310    66427     0     > 0
> athn0   1500  192.168.101 192.168.101.165      66790 14310    66427     0     > 0

That's a lot of ifail. Bad reception?

> ieee80211 on athn0:
>       12294 input wep/wpa packets processing failed

>       11990 ccmp decryption errors
>       131 ccmp replayed frames

That looks like either it's receiving many frames from other networks,
or it doesn't have the right key for your network.
Is the channel your AP is set to very busy with other wifi networks?

>       2 new input block ack agreements

This means you are using 11n mode during this test (ok).

> ieee80211 on iwn0:
>       0 input packets with bad version
>       3 input packets too short
>       0 input packets from wrong bssid
>       1128 input packet duplicates discarded

That looks like the AP sometimes doesn't receive ACK frames from
your laptop? Are you somewhat out of range? Is there a lot of
competition from other wifi networks on the channel?

>       183 input deauthentication packets

That looks like either your AP keeps kicking you off, or someone is trying
to jam the channel you're on. Try setting your AP to another channel.

>       263 output packets on unauthenticated port

That means your WPA handshake hasn't completed yet.
Are you using the wrong WPA key?
Perhaps this is why your AP keeps trying to kick you out?

> > Please also check if any of these commands make your problem disappear:
> >
> >   ifconfig athn0 mode 11a
> >   ifconfig athn0 mode 11g
> >
> >   ifconfig iwn0 mode 11a
> >   ifconfig iwn0 mode 11g
> I forgot to say. I always do this. Without I often have no connection
> since start.

Please stop doing that unless you are debugging something.
The default (11n) should just work, and we need to hear about cases where
it doesn't. I don't think 11 is a problem in your case, it is something else.
Though I cannot really pin-point it :-/

> My AP is a IPFire 2.23. The Wifi Adapter for this machine is a "usb:
> Ralink Technology, Corp. RT5572 Wireless Adapter".

Running an AP with a USB stick is genrally not a great idea.
If you use a different AP, does the issue go away? (Yes, I know other
clients are working just fine with this one. I am looking for data
points, not trying to make you switch over to something else.)

> The Ipfire image can be downloaded on ipfire.org.
> For testing I allowed all outgoing traffic from my laptop to the internet.
> 
> Indeed I now one person who has quite the same network infrastructure as
> me and his OpenBSD works perfectly.

Good. If you can, please go there and try it, and if it works show us
which of the counters end up being different. That might help us figure
out what's wrong in your setup.

I'm afraid I can't make better recommendations based on what we know so far.

Reply via email to