Open bonedaddy opened 4 years ago
Small update, I think this might be a bug within the driver when it comes to handling very long names? I used ifconfig
and iplink
to rename the wlx00c0caaa5340mon
interface to wlan1
and was able to get around this error.
would you please share che commands you used to do it? I've tried with ip link set intname down ip link set intname name wlan1 ip link set wlan1 up and it didn't work. I have the same drivers as yours.
Any updates on how to fix this? I'm having a similar error. But long names might not be a reason as I'm having wlo1 as my interface name
Experiencing same issue here. Exiting the airmon-ng
terminal window results unusual behaviour for the whole system. Like wont show result for commands like iwconfig
and etc.
In my case, my firmware supported monitor mode (but the physical card didn't). That led to airmon-ng being stuck
Hello, I'm having same problem. I'm notited that run airmon-ng start
cause uninterruptible sleep of processes.
root 4688 0.0 0.0 3064 940 pts/0 D+ 20:48 0:00 iw phy phy2 interface add wlan0mon type monitor
root 4689 0.0 0.0 24128 5140 ? D 20:48 0:00 /lib/systemd/systemd-udevd
4580 21:17:32 openat(AT_FDCWD, "/sys/class/ieee80211/phy1/index", O_RDONLY) = 4 <0.000061>
4580 21:17:32 read(4, "1\n", 199) = 2 <0.000016>
4580 21:17:32 close(4) = 0 <0.000013>
4580 21:17:32 sendmsg(3, {msg_name={sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, msg_namelen=12, msg_iov=[{iov_base={{len=52, type=nl80211, flags=NLM_F_REQUEST|NLM_F_ACK, seq=1642961853, pid=1488982500}, "\x07\x00\x00\x00\x08\x00\x01\x00\x01\x00\x00\x00\x0d\x00\x04\x00\x77\x6c\x61\x6e\x30\x6d\x6f\x6e\x00\x00\x00\x00\x08\x00\x05\x00"...}, iov_len=52}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0 <unfinished ...>
4486 21:18:26 <... ppoll resumed>) = ? ERESTARTNOHAND (To be restarted if no handler) <55.166276>
4489 21:18:26 <... read resumed>0x7ffd413f9210, 128) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) <54.370147>
4486 21:18:26 --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
4489 21:18:26 --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
4486 21:18:26 ppoll([{fd=-1}, {fd=6, events=POLLIN}], 2, NULL, NULL, 8 <unfinished ...>
4489 21:18:26 read(3,
Ubuntu 20.04
Same problem on Fedora 35
The same problem on Ununtu 20.04 with TP-Link Archer T2U Plus AC600
8812au, 5.6.4.2_35491.20191025, 5.13.0-39-generic, x86_64: installed Bus 001 Device 002: ID 2357:0120 TP-Link 802.11ac WLAN Adapter
"airmon-ng start wlan0" hangs the system.
Same problem NetGear, Inc. A7000
.
Shortening the interface name didn't fix the issue. Perhaps 2 separate issues if we can confirm the long name issue?
Is there a pragmatic way to determine if the interface don't support monitor mode? I'd like to see more accurate error messages.
At the end of the day, this bug hangs commands like ifconfig
.
It's maybe locking some resource and trying indefinitely?
We can split issues, but there should be a timeout / attempt limit on this.
Same problem, Alfa AWUS036ACH
I can confirm it works ok on kali (tested), but on Arch Linux, it does not
Using a new
AC1200
in combination with this driver, andairmon-ng start
causes my system to hang with no obvious logs or errors. Despite runningsudo airmon-ng check kill
immediately before runningairmon-ng start
, and not having any active network processes, I occasionally get a message likeplease run "rfkill unblock 2" to use this interface
when attempting to start the interface.Unfortunately the moment I run
airmon-ng start
attempting to launch another terminal process to run this command fails, so I'll have to have another terminal window open (note, I'm also unable to create a new terminal tab as this process hangs), and runningsudo rkill unblock 2
does not help.Install Method
To install, I followed the
dkms
instructionsSystem Specs
/etc/lsb_release
uname -a
Logs
airmon-ng start
logs:syslog logs: