Jump to content

Recommended Posts

Posted

Hello

 

I encounter a problem when I run the TCPDUMP command Here is the error

 

eth0: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Device or resource busy

 

Work like a charm with Radxa Debian OS, but on two Armbian same problem.

 

Someone knows why ?

 

Thanks

Posted (edited)

Collecting info and sending to paste.armbian.com, wait...
/usr/bin/armbianmonitor: line 976: iostat: command not found
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /log</pre>
</body>
</html>

Edited by Neooostef
Posted (edited)

armbianmonitor don't return error

 

When i'm use "tcpdump" or "arp-scan" same error

neooo@radxa-zero3:~$ tcpdump host 192.168.1.1
tcpdump: end1: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Device or resource busy

 

But when i specify interface, it's work

neooo@radxa-zero3:~$ sudo tcpdump -i wlan0 host 192.168.1.1
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
23:25:56.936639 IP radxa-zero3.47793 > _gateway.domain: 57863+ [1au] A? whatismyip.akamai.com. (50)
23:25:56.937550 IP radxa-zero3.52220 > _gateway.domain: 16210+ [1au] AAAA? whatismyip.akamai.com. (50)
23:25:56.942649 IP _gateway.domain > radxa-zero3.52220: 16210 2/1/1 CNAME whatismyip.akamai.com.edgesuite.net., CNAME a1524.g.akamai.net. (179)

 

I have trying to disable end1 but not work 

neooo@radxa-zero3:~$ sudo ip link set end1 down
neooo@radxa-zero3:~$ tcpdump host 192.168.1.1
tcpdump: end1: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Device or resource busy
neooo@radxa-zero3:~$ sudo nmcli device disconnect end1
Device 'end1' successfully disconnected.
neooo@radxa-zero3:~$ sudo nmcli device status
DEVICE         TYPE      STATE                                  CONNECTION
wlan0          wifi      connected                              netplan-wlan0-Neooostef6
br0            bridge    connecting (getting IP configuration)  netplan-br0
lo             loopback  connected (externally)                 lo
end1           ethernet  disconnected                           --
p2p-dev-wlan0  wifi-p2p  disconnected                           --
neooo@radxa-zero3:~$ tcpdump
tcpdump: end1: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Device or resource busy

 

i'm trying to Identify the processes using the interface, but no process

neooo@radxa-zero3:~$ sudo lsof | grep end1
neooo@radxa-zero3:~$

 

I am very destabilized, you have an idea?

Edited by Neooostef
Posted

You can force output to terminal when using -U instead of -u with armbianmonitor. Copy everything to a paste service like paste.debian.net or paste.armbian.de when paste.armbian.com doesn't cut it ;)

 

  • Solution
Posted

I have found a solution.

 

I have compile a specific overlay for disable Ethernet "gmac1"

 

nano radxa-zero3-disabled-ethernet.dts

/dts-v1/;
/plugin/;
/ {
	metadata {
		title = "Disabled Zero 3W Ethernet";
		compatible = "radxa,zero3";
		category = "misc";
		description = "Disabled Zero 3W Ethernet.";
	};
};
&mdio1 {
	status = "disabled";
};
&gmac1 {
	status = "disabled";
};

 

and after 

 sudo armbian-add-overlay radxa-zero3-disabled-ethernet.dts

 

after reboot, all work fine

neooo@radxa-zero3:~$ sudo tcpdump
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
13:05:31.533450 IP radxa-zero3.ssh > 192.168.1.118.50080: Flags [P.], seq 776960108:776960316, ack 799701818, win 501, length 208
13:05:31.581864 IP 192.168.1.118.50080 > radxa-zero3.ssh: Flags [.], ack 208, win 1024, length 0
^C
2 packets captured
9 packets received by filter
0 packets dropped by kernel

 

Thanks for help

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines