Giter Club home page Giter Club logo

Comments (6)

grrtrr avatar grrtrr commented on July 29, 2024

The ifconfig and ip (iproute2) programs only report statistics of the network interface.
These are generic stats (like txqueue and mtu) and have no knowledge of the underlying medium.

Wireless stats are reported in a different place and hence use other tools. An older tool is iwconfig, which is based on the wireless extensions. These have been in the Linux kernel for a long time (~20 years) but lag behind more recent developments.

Another drawback of the wireless extension was that they are based on ioctls. A more modern and scalable way of extracting stats from the live kernel is using netlink.

This is what wavemon uses, and most of the code has been taken / adapted from iw. If you want to do continuous logging, that is a tool you should consider. wavemon is not set up to produce logs.

from wavemon.

Judicael-Marchand avatar Judicael-Marchand commented on July 29, 2024

Hi,

Thanks for your answer.

I only use Wavemon for monitoring. In parallel, I have a bash script which log data every 1 seconde.
The fact is even with the iw command, I can't find the dropped packets and lost packets told by Wavemon.
When I do a "iw wlan0 station dump", the command returns nothing but if I do a "iw wlan0 info", I have some information about the network (SSID, type, channel, etc). The problem is I can't find the number of packets dropped or lost.

Can you tell me with which exact command you can get the number of dropped and lost packets please ?

I am sorry to disturb you, I know you are not responsible for that but I can't find the answer anywhere, despite a lot of researches.

Thanks.

Sincerely

from wavemon.

grrtrr avatar grrtrr commented on July 29, 2024

If you do an iw dev <device> station dump, it prints the tx retries and tx failed, as well as beacon loss. This is similar to the information in wavemon.
iw has a host of other commands, e.g. physical link (iw phy phy0 info). So it is worth exploring.

from wavemon.

Judicael-Marchand avatar Judicael-Marchand commented on July 29, 2024

The problem is when I do a iw dev wlan0 station dump, the command returns nothing. I tried the iw phy wlan0 info but it doesn't show the packets lost or dropped

from wavemon.

grrtrr avatar grrtrr commented on July 29, 2024

You need to be connected to an AP. The number of packets dropped or lost is only reported for an established connection to an access point. The station dump is the same information that wavemon accesses.

from wavemon.

Judicael-Marchand avatar Judicael-Marchand commented on July 29, 2024

Okay, I see the problem now. I have to computers connected each other via WiFi in adhoc mode, so there's no access point.

Thank you very much for your time!

Sincerely

from wavemon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.