-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wmediumd does not work #5
Comments
It's not clear what your server and client are, but in any case, you should know that there is a newer version of wmediumd here: https://github.com/bcopeland/wmediumd that might be worth a try. |
Its the raw socket appliaction. Thanks, I will give it a try :) |
Right, I forgot that was a thing :) I removed that application from my fork, but there are some examples in the tests/ directory in my version that might help you get started with normal wireless utilities. |
I followed your "example session". The join commands failed for me:
I get the performance measurements with iperf done, but your fork also does not apply link loss with the appended config. Any ideas? |
I think you forgot to attach the config? For the mesh parts, you will need to have mesh support compiled into your kernel -- I'm guessing that is the problem. You can use an AP and STA or two IBSS stations though. |
Here is the config file:
Hope you can help me. |
Ah, OK, I see. In my fork I have removed the explicit probability matrix and instead set the per-rate probabilities based on a single signal level value. By default, if unspecified, the "link" between two stations has a signal level of 30 dB and therefore no loss. You can specify the signal level on a (symmetric) link as in the example below, which has 4 nodes. The first and last node have no connectivity (signal = 0) while the link between the first and second node has a 10 dB level (some loss), and so on.
|
Still no luck. I used this modified config for 2 radios:
The ipferf runs show still 100 Mbits/sec. I also tried a IBSS setup, same problem. |
If you do TCP iperf without bandwidth limiting, what kind of numbers do you get? Sounds like register failed somehow and you are using mac80211_hwsim's internal forwarding. |
|
I mean iperf without -u on server, and without -u and -b 100M on the client. Anyway, I'm pretty sure that's what's happening. Does 'dmesg' show any errors? |
The dmesg output:
Iperf unlimited has a bandwith of ~ 20.9 Gbits/sec |
Are you sure the two devices are in separate network namespaces? That seems high even if using mac80211's in-kernel forwarding. You should only see one of the devices from 'iw' in each namespace. |
At least, I set them with the Is the config working for you? |
Note that "$pid" needs to be the actual pid of the bash process in the new network namespace. When you run An alternative is to try running |
OK. You are right, no device was in a different namespace. I have the namespace working now and get these messages from wmediumd (current setup is IBSS mode):
But iperf is not working anymore, because it has no route:
Moreover, the script is not working for me:
|
Oops. Yes, indeed, func is missing from repo. Will add. Regarding lack of route, you'll need to both have delivery working (so signal > 0) and IPs assigned to both nodes so that ARP can determine the network addresses of each end. |
Done, please repull. |
Wmedium does not work for me.
Steps to reproduce:
In different terminals:
I hope you can help me.
I use the vanilla
ubuntu2 3.16.0-73-generic
kernel. Also tested with Ubuntu 16.04 LTS kernel (4.x)./wmediumd -c cfg-examples/allloses_2.cfg:
The text was updated successfully, but these errors were encountered: