View Single Post
Old 02-03-2021, 02:49 PM   #153
nihilazo
Member
nihilazo began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura HD
Quote:
Originally Posted by NiLuJe View Post
FWIW:

Host:

dmesg
Code:
[33787.400487] usb 1-9: new high-speed USB device number 5 using xhci_hcd
[33787.538536] cdc_ether 1-9:1.0 usb0: register 'cdc_ether' at usb-0000:00:14.0-9, CDC Ethernet Device, ee:49:00:03:70:31
[33787.843570] cdc_ether 1-9:1.0 enp0s20f0u9: renamed from usb0
Code:
ifconfig enp0s20f0u9 192.168.2.1
ifconfig
Code:
enp0s20f0u9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.2.1  netmask 255.255.255.0  broadcast 192.168.2.255
        ether ee:49:00:03:70:31  txqueuelen 1000  (Ethernet)
        RX packets 3234  bytes 1870022 (1.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3695  bytes 1626036 (1.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.42  netmask 255.255.255.0  broadcast 192.168.1.255
        ether aa:bb:cc:dd:ee:ff  txqueuelen 1000  (Ethernet)
        RX packets 5122938  bytes 7671700702 (7.1 GiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 2658698  bytes 222992024 (212.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xf7f00000-f7f20000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 141631  bytes 78854242 (75.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 141631  bytes 78854242 (75.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Kobo (w/ both Wi-Fi & USB up):

Code:
ssh root@192.168.2.2
ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr FF:EE:DD:CC:BB:AA  
          inet addr:192.168.1.150  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:39 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3801 (3.7 KiB)  TX bytes:3098 (3.0 KiB)

usb0      Link encap:Ethernet  HWaddr EE:19:00:03:70:31  
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:32195 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41648 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7026138 (6.7 MiB)  TX bytes:13935004 (13.2 MiB)
netstat -lutp
Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      851/inetd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      857/dropbear
tcp        0      0 0.0.0.0:23              0.0.0.0:*               LISTEN      851/inetd
udp        0      0 0.0.0.0:68              0.0.0.0:*                           20632/dhcpcd
Which confirms that both inetd & dropbear listen on *all* interfaces by default .

Huh, that seems mostly similar to mine. I'm starting to wonder if iptables is involved in this madness. I need to experiment more.

UPDATE: disabling iptables doesn't change anything, as doesn't disabling nm, so I'm assuming they're not messing stuff up

UPDATE UPDATE: magically it works now.

Last edited by nihilazo; 02-05-2021 at 07:55 AM.
nihilazo is offline   Reply With Quote