Skip to content
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

Error when laoding mac80211_hwsim #537

Open
KAISERaustin opened this issue May 17, 2024 · 0 comments
Open

Error when laoding mac80211_hwsim #537

KAISERaustin opened this issue May 17, 2024 · 0 comments

Comments

@KAISERaustin
Copy link

KAISERaustin commented May 17, 2024

For me when I run sudo mn --wifi -v debug this is what I get.

sudo mn --wifi -v debug
/usr/local/bin/mn:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import('pkg_resources').run_script('mininet-wifi==2.6', 'mn')
*** errRun: ['which', 'controller']
/usr/bin/controller
0*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo']
4
0*** Setting resource limits
*** Adding stations:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ip', 'addr']
/usr/sbin/ip
1_popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:sta1'] 9393*** sta1 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
sta1 _popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:sta2'] 9395*** sta2 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
sta2
*** Adding access points:
*** errRun: ['which', 'ovs-vsctl']
/usr/bin/ovs-vsctl
0*** errRun: ['ovs-vsctl', '-t', '1', 'show']
2c81efa4-35b9-438b-aba0-dfb988394ac1
ovs_version: "3.3.0"
0*** errRun: ['ovs-vsctl', '--version']
ovs-vsctl (Open vSwitch) 3.3.0
DB Schema 8.5.0
0_popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:ap1'] 9400*** ap1 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m

added intf lo (0) to node ap1
*** ap1 : ('ifconfig', 'lo', 'up')
ap1
*** Configuring nodes...
Loading 3 virtual wifi interfaces
Warning! If you already had Mininet-WiFi installed please run util/install.sh -W and then sudo make install.
Warning! Error when loading mac80211_hwsim. Please run sudo 'mn -c' before running your code.
Further information available at /tmp/mn-wifi-mac80211_hwsim.log.

We have tried modprobe, uninstalling and reinstalling, as well as the util/install.sh -w and sudo make install.

Running Ubuntu 24.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant