Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #240480 > unrolled thread

USB network adapter with no connectivity

Started byAngel Rengifo Cancino <arengifoc@gmail.com>
First post2021-09-28 16:40 +0200
Last post2021-10-01 19:00 +0200
Articles 7 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  USB network adapter with no connectivity Angel Rengifo Cancino <arengifoc@gmail.com> - 2021-09-28 16:40 +0200
    Re: USB network adapter with no connectivity Dan Ritter <dsr@randomstring.org> - 2021-09-28 17:10 +0200
    Re: USB network adapter with no connectivity Reco <recoverym4n@enotuniq.net> - 2021-09-28 17:50 +0200
      Re: USB network adapter with no connectivity Angel Rengifo Cancino <arengifoc@gmail.com> - 2021-09-28 17:50 +0200
        Re: USB network adapter with no connectivity Reco <recoverym4n@enotuniq.net> - 2021-09-28 18:00 +0200
        Re: USB network adapter with no connectivity <tomas@tuxteam.de> - 2021-09-28 20:00 +0200
          Re: USB network adapter with no connectivity Angel Rengifo Cancino <arengifoc@gmail.com> - 2021-10-01 19:00 +0200

#240480 — USB network adapter with no connectivity

FromAngel Rengifo Cancino <arengifoc@gmail.com>
Date2021-09-28 16:40 +0200
SubjectUSB network adapter with no connectivity
Message-ID<D2mqZ-6sp-9@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello guys:

I'm running Proxmox 7 which is based on Debian Bullseye (11). I connected a
TP-Link USB 3.0 network adapter on USB 2.0 ports of a IBM System x3550 M4
server.

According to what ethtool reports, there's Link detection on this network
adapter. However, I cannot make it work with a valid IP address. I set a
fixed private IP address and try to ping another host in the same network
(same ethernet switch) and there's no response.

When running tcpdump on the USB network interface, I only see a few ARP
packets trying to find the MAC address for the destination host.

Any ideas? Is this USB 3.0 adapter supposed to work when connected to a USB
2.0 port? I'd really appreciate some suggestions for troubleshooting.

Thanks in advance guys

[toc] | [next] | [standalone]


#240483

FromDan Ritter <dsr@randomstring.org>
Date2021-09-28 17:10 +0200
Message-ID<D2mU2-6RW-3@gated-at.bofh.it>
In reply to#240480
Angel Rengifo Cancino wrote: 
> Hello guys:
> 
> I'm running Proxmox 7 which is based on Debian Bullseye (11). I connected a
> TP-Link USB 3.0 network adapter on USB 2.0 ports of a IBM System x3550 M4
> server.
> 
> According to what ethtool reports, there's Link detection on this network
> adapter. However, I cannot make it work with a valid IP address. I set a
> fixed private IP address and try to ping another host in the same network
> (same ethernet switch) and there's no response.
> 
> When running tcpdump on the USB network interface, I only see a few ARP
> packets trying to find the MAC address for the destination host.
> 
> Any ideas? Is this USB 3.0 adapter supposed to work when connected to a USB
> 2.0 port? I'd really appreciate some suggestions for troubleshooting.

show us the output of 

ip link show
ip addr show
ip route show

if you'd like, narrow down the link and addr output to the
interface in question. Please show the whole route output.

-dsr-

[toc] | [prev] | [next] | [standalone]


#240486

FromReco <recoverym4n@enotuniq.net>
Date2021-09-28 17:50 +0200
Message-ID<D2nwM-74z-27@gated-at.bofh.it>
In reply to#240480
	Hi.

On Tue, Sep 28, 2021 at 09:36:08AM -0500, Angel Rengifo Cancino wrote:
> I'm running Proxmox 7 which is based on Debian Bullseye (11).

Yet it uses their kernel, not the one provided by Debian. Given the
nature of the your problem, it is an important distinction.

> According to what ethtool reports, there's Link detection on this network
> adapter.

Does "ip a" show BROADCAST,MULTICAST,UP or
BROADCAST,MULTICAST,MASTER,UP,NO-CARRIER?

> Any ideas? Is this USB 3.0 adapter supposed to work when connected to a USB
> 2.0 port?

If you're seeing something with the ethtool - this adapter certainly
does work somehow. You'd see the lack of NIC otherwise.

I'd start with disabling auto-negotiation (you do have ethtool, after
all), and forcing the link to 100 Mbps half-duplex. If it does work -
I'd try 100 Mbps full-duplex and only then I'd move to 1 Gbps. If it
does not - I suggest replacing your device with something USB
2.0-compliant, anything that uses asix kernel module should do.

Oh, and check the Ethernet cable. These USB NICs are (in)famous for
inability to convert cross-over cables to straight ones and vise-versa.

Reco

[toc] | [prev] | [next] | [standalone]


#240487

FromAngel Rengifo Cancino <arengifoc@gmail.com>
Date2021-09-28 17:50 +0200
Message-ID<D2nwM-74z-31@gated-at.bofh.it>
In reply to#240486

[Multipart message — attachments visible in raw view] — view raw

Hi:


> Does "ip a" show BROADCAST,MULTICAST,UP or
> BROADCAST,MULTICAST,MASTER,UP,NO-CARRIER?
>
> This is how it looks:

6: enx42f2e9ecec39: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN group default qlen 1000


> Any ideas? Is this USB 3.0 adapter supposed to work when connected to a
> USB
> > 2.0 port?
>
> If you're seeing something with the ethtool - this adapter certainly
> does work somehow. You'd see the lack of NIC otherwise.
>
> I'd start with disabling auto-negotiation (you do have ethtool, after
> all), and forcing the link to 100 Mbps half-duplex. If it does work -
> I'd try 100 Mbps full-duplex and only then I'd move to 1 Gbps. If it
> does not - I suggest replacing your device with something USB
> 2.0-compliant, anything that uses asix kernel module should do.
>
> Good idea. I'll do some tests with all these combinations of duplex, speed
and auto-negotiation settings.

Oh, and check the Ethernet cable. These USB NICs are (in)famous for
> inability to convert cross-over cables to straight ones and vise-versa.
>
> I don't think I have cross-over cable at this moment, but I'll try
directly connecting these two hosts with a direct and cross-over cable
(I'll need to buy one).

Reco
>
>

[toc] | [prev] | [next] | [standalone]


#240489

FromReco <recoverym4n@enotuniq.net>
Date2021-09-28 18:00 +0200
Message-ID<D2nGp-79Q-13@gated-at.bofh.it>
In reply to#240487
On Tue, Sep 28, 2021 at 10:47:15AM -0500, Angel Rengifo Cancino wrote:
> > Does "ip a" show BROADCAST,MULTICAST,UP or
> > BROADCAST,MULTICAST,MASTER,UP,NO-CARRIER?
> >
> > This is how it looks:
> 
> 6: enx42f2e9ecec39: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> pfifo_fast state UNKNOWN group default qlen 1000

The good news are - carrier detection appear to work. There's no need
to get that cross-over cable.
The bad news are - since you're seeing the lack of ingress traffic in
tcpdump - it may be a lie ;)

Reco

[toc] | [prev] | [next] | [standalone]


#240500

From<tomas@tuxteam.de>
Date2021-09-28 20:00 +0200
Message-ID<D2pyy-8hq-11@gated-at.bofh.it>
In reply to#240487

[Multipart message — attachments visible in raw view] — view raw

On Tue, Sep 28, 2021 at 10:47:15AM -0500, Angel Rengifo Cancino wrote:
> Hi:
> 
> 
> > Does "ip a" show BROADCAST,MULTICAST,UP or
> > BROADCAST,MULTICAST,MASTER,UP,NO-CARRIER?
> >
> > This is how it looks:
> 
> 6: enx42f2e9ecec39: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> pfifo_fast state UNKNOWN group default qlen 1000

As Dan asked in this thread, the routing table would be
interesting:

  ip route show

Cheers
 - t

[toc] | [prev] | [next] | [standalone]


#240740

FromAngel Rengifo Cancino <arengifoc@gmail.com>
Date2021-10-01 19:00 +0200
Message-ID<D3u37-7sX-7@gated-at.bofh.it>
In reply to#240500

[Multipart message — attachments visible in raw view] — view raw

Hello guys:

I appreciate your help in this thread. At the end of the day, I found the
issue and solution: The driver being used by default was "cdc_ether" which
seems to be buggy for my USB ethernet card, but once I built the r8152.ko
module, everything started working fine.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web