solito_loko
Posts: 2
Joined: Sat Oct 03, 2020 10:30 pm

Unable to get USB to Ethernet adapter to work on pi

Sat Oct 03, 2020 11:51 pm

Hi there,

First timer here, please bare with me (Windows guy). I recently set a 3A+ and want to connect via ethernet USB adapter. I know the adapter works based on another devices.

I currently have it on a HUB, but once working (I've tested without with no success) it will be removed.

Here is the output of a few commands to help troubleshoot please.

Code: Select all

pi@PiHole:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.51-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1333 SMP Mon Aug 10 16:45:19 BST 2020
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model A Plus Rev 1.0
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x17c00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 114688
[    0.000000]   Normal zone: 1008 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 114688 pages, LIFO batch:31
[    0.000000] percpu: Embedded 20 pages/cpu s49856 r8192 d23872 u81920
[    0.000000] pcpu-alloc: s49856 r8192 d23872 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 113680
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=1680 bcm2708_fb.fbheight=1050 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000  console=ttyS0,115200 console=tty1 root=PARTUUID=0e30f08c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 374400K/458752K available (8192K kernel code, 689K rwdata, 2552K rodata, 1024K init, 825K bss, 18816K reserved, 65536K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 28275 entries in 56 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x328/0x500 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000019] Switching to timer-based delay loop, resolution 52ns
[    0.000285] Console: colour dummy device 80x30
[    0.000313] printk: console [tty1] enabled
[    0.000364] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000384] pid_max: default: 32768 minimum: 301
[    0.000760] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000778] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002133] Disabling memory control group subsystem
[    0.002232] CPU: Testing write buffer coherency: ok
[    0.002794] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003728] Setting up static identity map for 0x100000 - 0x10003c
[    0.003922] rcu: Hierarchical SRCU implementation.
[    0.004600] smp: Bringing up secondary CPUs ...
[    0.005712] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.006986] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.008131] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.008283] smp: Brought up 1 node, 4 CPUs
[    0.008299] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.008309] CPU: All CPU(s) started in HYP mode.
[    0.008317] CPU: Virtualization extensions available.
[    0.009201] devtmpfs: initialized
[    0.025924] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.026191] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.026218] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.029290] pinctrl core: initialized pinctrl subsystem
[    0.030536] NET: Registered protocol family 16
[    0.034870] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.041287] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.041299] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.041534] Serial: AMBA PL011 UART driver
[    0.043511] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.060098] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-08-19 17:40, variant start
[    0.070117] raspberrypi-firmware soc:firmware: Firmware hash is e90cba19a98a0d1f2ef086b9cafcbca00778f094
[    0.121829] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[    0.124016] SCSI subsystem initialized
[    0.124271] usbcore: registered new interface driver usbfs
[    0.124333] usbcore: registered new interface driver hub
[    0.124457] usbcore: registered new device driver usb
[    0.126539] clocksource: Switched to clocksource arch_sys_counter
[    1.287287] VFS: Disk quotas dquot_6.6.0
[    1.287402] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.287599] FS-Cache: Loaded
[    1.287864] CacheFiles: Loaded
[    1.298959] thermal_sys: Registered thermal governor 'step_wise'
[    1.299359] NET: Registered protocol family 2
[    1.300407] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.300452] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.300520] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.300620] TCP: Hash tables configured (established 4096 bind 4096)
[    1.300754] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.300790] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.301065] NET: Registered protocol family 1
[    1.301770] RPC: Registered named UNIX socket transport module.
[    1.301780] RPC: Registered udp transport module.
[    1.301790] RPC: Registered tcp transport module.
[    1.301799] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.303634] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    1.306987] Initialise system trusted keyrings
[    1.307243] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.319029] FS-Cache: Netfs 'nfs' registered for caching
[    1.319837] NFS: Registering the id_resolver key type
[    1.319889] Key type id_resolver registered
[    1.319899] Key type id_legacy registered
[    1.319919] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.321236] Key type asymmetric registered
[    1.321248] Asymmetric key parser 'x509' registered
[    1.321299] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.321311] io scheduler mq-deadline registered
[    1.321322] io scheduler kyber registered
[    1.324755] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.359842] Console: switching to colour frame buffer device 210x65
[    1.389433] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1680x1050
[    1.394682] bcm2835-rng 3f104000.rng: hwrng registered
[    1.395160] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[    1.395897] vc-sm: Videocore shared memory driver
[    1.396355] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.409476] brd: module loaded
[    1.422404] loop: module loaded
[    1.423832] Loading iSCSI transport class v2.0-870.
[    1.424727] libphy: Fixed MDIO Bus: probed
[    1.424845] usbcore: registered new interface driver lan78xx
[    1.424908] usbcore: registered new interface driver smsc95xx
[    1.424935] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.153225] Core Release: 2.80a
[    2.153240] Setting default values for core params
[    2.153276] Finished setting default values for core params
[    2.353669] Using Buffer DMA mode
[    2.353680] Periodic Transfer Interrupt Enhancement - disabled
[    2.353689] Multiprocessor Interrupt Enhancement - disabled
[    2.353702] OTG VER PARAM: 0, OTG VER FLAG: 0
[    2.353728] Dedicated Tx FIFOs mode
[    2.354299] WARN::dwc_otg_hcd_init:1074: FIQ DMA bounce buffers: virt = 97d14000 dma = 0xd7d14000 len=9024
[    2.354329] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    2.354341] dwc_otg: Microframe scheduler enabled
[    2.354407] WARN::hcd_init_fiq:457: FIQ on core 1
[    2.354417] WARN::hcd_init_fiq:458: FIQ ASM at 806d89f4 length 36
[    2.354428] WARN::hcd_init_fiq:497: MPHI regs_base at 9c810000
[    2.354450] dwc_otg 3f980000.usb: DWC OTG Controller
[    2.354490] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    2.354537] dwc_otg 3f980000.usb: irq 56, io mem 0x00000000
[    2.354590] Init: Port Power? op_state=1
[    2.354600] Init: Power Port (0)
[    2.354969] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    2.354986] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.355000] usb usb1: Product: DWC OTG Controller
[    2.355014] usb usb1: Manufacturer: Linux 5.4.51-v7+ dwc_otg_hcd
[    2.355027] usb usb1: SerialNumber: 3f980000.usb
[    2.355723] hub 1-0:1.0: USB hub found
[    2.355787] hub 1-0:1.0: 1 port detected
[    2.356636] dwc_otg: FIQ enabled
[    2.356646] dwc_otg: NAK holdoff enabled
[    2.356656] dwc_otg: FIQ split-transaction FSM enabled
[    2.356672] Module dwc_common_port init
[    2.357032] usbcore: registered new interface driver usb-storage
[    2.357240] mousedev: PS/2 mouse device common for all mice
[    2.358596] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.360056] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 600000 KHz
[    2.362833] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 700000 KHz
[    2.363440] sdhci: Secure Digital Host Controller Interface driver
[    2.363448] sdhci: Copyright(c) Pierre Ossman
[    2.363949] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    2.364494] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    2.364678] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.366388] ledtrig-cpu: registered to indicate activity on CPUs
[    2.366767] hidraw: raw HID events driver (C) Jiri Kosina
[    2.366922] usbcore: registered new interface driver usbhid
[    2.366930] usbhid: USB HID core driver
[    2.367822] vchiq: vchiq_init_state: slot_zero = (ptrval)
[    2.369523] [vc_sm_connected_init]: start
[    2.379066] [vc_sm_connected_init]: end - returning 0
[    2.380817] Initializing XFRM netlink socket
[    2.380854] NET: Registered protocol family 17
[    2.380987] Key type dns_resolver registered
[    2.381686] Registering SWP/SWPB emulation handler
[    2.381989] registered taskstats version 1
[    2.382008] Loading compiled-in X.509 certificates
[    2.382501] Key type ._fscrypt registered
[    2.382511] Key type .fscrypt registered
[    2.392066] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    2.392153] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    2.393935] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.395270] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    2.395283] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    2.420195] sdhost: log_buf @ (ptrval) (d7d13000)
[    2.456223] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.458000] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.459624] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.462540] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.471307] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    2.473549] of_cfs_init
[    2.473679] of_cfs_init: OK
[    2.494735] Waiting for root device PARTUUID=0e30f08c-02...
[    2.531738] random: fast init done
[    2.533515] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.536811] mmc0: new high speed SDHC card at address 1234
[    2.537776] mmcblk0: mmc0:1234 SA16G 14.5 GiB
[    2.540183]  mmcblk0: p1 p2
[    2.553699] mmc1: new high speed SDIO card at address 0001
[    2.561123] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.561222] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.562078] devtmpfs: mounted
[    2.566707] Indeed it is in host mode hprt0 = 00021501
[    2.628767] Freeing unused kernel memory: 1024K
[    2.656927] Run /sbin/init as init process
[    2.776603] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.777089] Indeed it is in host mode hprt0 = 00001101
[    3.019381] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.54
[    3.019399] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.019411] usb 1-1: Product: USB2.1 Hub
[    3.019424] usb 1-1: Manufacturer: GenesysLogic
[    3.020260] hub 1-1:1.0: USB hub found
[    3.020569] hub 1-1:1.0: 4 ports detected
[    3.279464] systemd[1]: System time before build time, advancing clock.
[    3.356589] usb 1-1.2: new low-speed USB device number 3 using dwc_otg
[    3.427375] NET: Registered protocol family 10
[    3.428617] Segment Routing with IPv6
[    3.476133] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    3.477143] systemd[1]: Detected architecture arm.
[    3.513437] usb 1-1.2: New USB device found, idVendor=0e8f, idProduct=2517, bcdDevice= 1.00
[    3.513509] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.528581] input: HID 0e8f:2517 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0E8F:2517.0001/input/input0
[    3.529558] systemd[1]: Set hostname to <PiHole>.
[    3.597599] hid-generic 0003:0E8F:2517.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 0e8f:2517] on usb-3f980000.usb-1.2/input0
[    3.614219] input: HID 0e8f:2517 Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:0E8F:2517.0002/input/input1
[    3.676958] input: HID 0e8f:2517 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:0E8F:2517.0002/input/input2
[    3.677190] input: HID 0e8f:2517 Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:0E8F:2517.0002/input/input3
[    3.677634] hid-generic 0003:0E8F:2517.0002: input,hidraw1: USB HID v1.10 Mouse [HID 0e8f:2517] on usb-3f980000.usb-1.2/input1
[    4.361436] random: systemd: uninitialized urandom read (16 bytes read)
[    4.374564] random: systemd: uninitialized urandom read (16 bytes read)
[    4.375217] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.403016] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    4.403207] random: systemd: uninitialized urandom read (16 bytes read)
[    4.404086] systemd[1]: Listening on Journal Socket.
[    4.404739] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.412986] systemd[1]: Listening on Syslog Socket.
[    4.420071] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    4.420324] systemd[1]: Reached target Swap.
[    4.520866] i2c /dev entries driver
[    5.113094] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.210959] systemd-journald[113]: Received request to flush runtime journal from PID 1
[    5.773740] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.775956] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.775978] [vc_sm_connected_init]: start
[    5.781600] [vc_sm_connected_init]: installed successfully
[    5.787675] mc: Linux media interface: v0.10
[    5.852063] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.858755] videodev: Linux video capture interface: v2.00
[    5.876310] bcm2835_audio bcm2835_audio: card created with 4 channels
[    5.882436] bcm2835_audio bcm2835_audio: card created with 4 channels
[    5.893207] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.894665] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.895418] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.904127] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.914580] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.925132] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.925822] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.926311] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.927380] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.927411] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.927430] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.927446] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.927464] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.927645] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    5.935873] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.955596] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.955652] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    5.961250] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    5.961311] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    5.970534] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    5.970589] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    6.284528] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.454006] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.534680] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.548790] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.549443] usbcore: registered new interface driver brcmfmac
[    6.629237] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt failed with error -2
[    6.845685] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.900237] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[    8.504442] random: crng init done
[    8.504461] random: 7 urandom warning(s) missed due to ratelimiting
[    8.667340] uart-pl011 3f201000.serial: no DMA platform data
[    9.016767] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[   15.611051] Bluetooth: Core ver 2.22
[   15.611115] NET: Registered protocol family 31
[   15.611120] Bluetooth: HCI device and connection manager initialized
[   15.611136] Bluetooth: HCI socket layer initialized
[   15.611146] Bluetooth: L2CAP socket layer initialized
[   15.611160] Bluetooth: SCO socket layer initialized
[   15.627377] Bluetooth: HCI UART driver ver 2.3
[   15.627389] Bluetooth: HCI UART protocol H4 registered
[   15.627431] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   15.627571] Bluetooth: HCI UART protocol Broadcom registered
[   16.008194] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.008204] Bluetooth: BNEP filters: protocol multicast
[   16.008222] Bluetooth: BNEP socket layer initialized
[   16.075577] Bluetooth: RFCOMM TTY layer initialized
[   16.075612] Bluetooth: RFCOMM socket layer initialized
[   16.075630] Bluetooth: RFCOMM ver 1.11
[   21.621795] fuse: init (API version 7.31)

lsusb -v

Code: Select all

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            5.04
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0019
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

/etc/network/interfaces

Code: Select all

auto eth0
auto eth1

iface eth1 inet static
address 192.168.x.x
netmask 255.255.x.x
gateway 192.168.x.x



auto lo
iface lo inet lopback
dhcp.conf

Code: Select all

interface eth1
static ip_adress=192.168.x.x/xx
static routers=192.168.x.x
inform 192.168.x.x
static domain_name_servers=8.8.8.8

Can someone please help me or point me on the right direction? The idea is to install PiHole once working.
Last edited by solito_loko on Mon Oct 05, 2020 7:29 pm, edited 2 times in total.

User avatar
thagrol
Posts: 4237
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Sun Oct 04, 2020 5:03 pm

What OS are you running?

Did you mean dhcpcd.conf rather than dhcp.conf?

Isn't "/etc/network/interfaces.d" a directory? Did you mean /etc/network/interfaces?

Why eth0 and eth1? Do you have multiple USB adapters present? There's no onboard ethernet on a 3A+ so I'd expect a single USB adapter to be eth0.

What does

Code: Select all

ifconfig -a
show?

At this stage all I can suggest is that you pick one of dhcpcd.conf or /etc/network/interfaces to configure all your adapters (including WiFi and Bluetooth if using its network profile) and change the other back to the default contents. On RPiOS you can't mix the two methods. Configuring even a single interface in /etc/network/interfaces stops dhcpcd from working.
Arguing with strangers on the internet since 1993.

All advice given is based on my experience. it worked for me, it may not work for you.
All GPIO pin numbers are BCM numbers.

drgeoff
Posts: 11552
Joined: Wed Jan 25, 2012 6:39 pm

Re: Unable to get USB to Ethernet adapter to work on pi

Sun Oct 04, 2020 5:11 pm

And obscuring any part of the 192.168 addresses is both pointless and unhelpful.

BTW the word is "bear" not "bare".
Quis custodiet ipsos custodes?

W. H. Heydt
Posts: 14415
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Unable to get USB to Ethernet adapter to work on pi

Sun Oct 04, 2020 5:20 pm

Please edit your post to put copied command output between "code" tags, thus...

Code: Select all

pi@ddc4A:~ $ lsusb
Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0557:2213 ATEN International Co., Ltd CS682 2-Port USB 2.0 DVI KVM Switch
Bus 001 Device 004: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 005: ID 0e8d:1806 MediaTek Inc. Samsung SE-208 Slim Portable DVD Writer
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@ddc4A:~ $

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 6066
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Sun Oct 04, 2020 7:00 pm

@solito_loko What type of usb-to-ethernet adapter? FWIW, A few I've used/tested in the past can be seen here:
https://www.cpmspectrepi.uk/raspberry_p ... pters.html
(Your O.P. is too long to read and filter out the info.)
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

fd_
Posts: 93
Joined: Thu Oct 25, 2018 7:35 am

Re: Unable to get USB to Ethernet adapter to work on pi

Sun Oct 04, 2020 7:40 pm

AFAICT, there isn‘t any trace of an attached Ethernet adapter in any of your listings at all. It would be very helpful to mention what Ethernet adapter you‘re trying to use (maybe pictures of it), and what chipset it uses (can be found e.g. with lsusb on a computer that does recognize the adapter).

solito_loko
Posts: 2
Joined: Sat Oct 03, 2020 10:30 pm

Re: Unable to get USB to Ethernet adapter to work on pi

Mon Oct 05, 2020 8:01 pm

Hi All,

Thank you for all comments / corrections. I left dhcpcd default now, with only changes in the /etc/network/interfaces.

Here is some more outputs:

Code: Select all

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux
pi@raspberrypi:~ $ ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:ea:ca:48  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

pi@raspberrypi:~ $ lsusb
Bus 001 Device 008: ID 0e8f:2517 GreenAsia Inc. 
Bus 001 Device 003: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 3: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 3: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M

The adapter is a USB to Ethernet adapter, similar to this:

https://www.cpmspectrepi.uk/raspberry_p ... 0874cs.JPG

Currently on a USB HUB, but once working just the Ethernet adapter will be present.


Thanks again

epoch1970
Posts: 6110
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Unable to get USB to Ethernet adapter to work on pi

Mon Oct 05, 2020 8:47 pm

Up to now the OS you’re using is unknown and the adapter hardware is unknown.

If you’re using raspios

Do not add anything to /etc/network/interfaces. Remove anything you added.
Connect the Ethernet USB adapter directly to the Pi.
Connect the Ethernet cable At both ends.
Reboot.

The adapter will come up, most probably.
If you need a static IP address, configure it in /etc/dhcpcd.conf only.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 6066
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Mon Oct 05, 2020 9:09 pm

solito_loko wrote:
Mon Oct 05, 2020 8:01 pm
Hi All,

Thank you for all comments / corrections. I left dhcpcd default now, with only changes in the /etc/network/interfaces.

Here is some more outputs:

Code: Select all

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux
pi@raspberrypi:~ $ ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:ea:ca:48  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

pi@raspberrypi:~ $ lsusb
Bus 001 Device 008: ID 0e8f:2517 GreenAsia Inc. 
Bus 001 Device 003: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 3: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 3: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M

The adapter is a USB to Ethernet adapter, similar to this:

https://www.cpmspectrepi.uk/raspberry_p ... 0874cs.JPG

Currently on a USB HUB, but once working just the Ethernet adapter will be present.


Thanks again
The adapter doesn't seem to be there. Is the USB Hub powered? NB: the adapter it's similar to has an "above average" MxPwr (current) spec. ie. >250mA and you also appear to have a Kingston G3 or G4 flash drive present which has a MxPwr spec. >500mA** and thus if you're using an unpowered hub maybe there's too much "voltage droop" and the adapter isn't enumerated. So what are you using as a power supply and do you see any low voltage warnings (red PoWeR led flickering, lightning bolt warning on any connected display)?
Trev.
** https://www.cpmspectrepi.uk/raspberry_p ... lash_Drive
https://www.cpmspectrepi.uk/raspberry_p ... lash_Drive
other flash drives: https://www.cpmspectrepi.uk/raspberry_p ... rives.html
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

User avatar
thagrol
Posts: 4237
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Mon Oct 05, 2020 9:46 pm

solito_loko wrote:
Mon Oct 05, 2020 8:01 pm
Hi All,

Thank you for all comments / corrections. I left dhcpcd default now, with only changes in the /etc/network/interfaces.

Here is some more outputs:

Code: Select all

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux
pi@raspberrypi:~ $ ifconfig -a
Snipped most of the output. No ethernet interface show so the problem is lower down in the software stack.

Code: Select all

pi@raspberrypi:~ $ lsusb
Bus 001 Device 008: ID 0e8f:2517 GreenAsia Inc. 
More snippage. Would that GreenAsia Inc. device be the ethernet adapter? A a websearch for that VID and PID doesn't produce anything usefull.
The adapter is a USB to Ethernet adapter, similar to this:

https://www.cpmspectrepi.uk/raspberry_p ... 0874cs.JPG
'fraid that doesn't help us at all. Even were that a picture of the actual device it still wouldn't be of use. Manufacturers of USB ethernet dongles have a habit of changing the chipset whilst leaving the casing unchanged.

If I had to guess, I'd guess at there being an unkown usb device error in your syslog. Or possibly a missing driver or firmware.

A couple of further questions:
  1. You stated in your OP that "I know the adapter works based on another devices. ". What OS were those device(s) running? Not every peripheral is supported on every OS.
  2. Is there an insurmountable reason for you not dropping ethernet and using the onboad WiFi instead?
  3. If you attach the hub and all item connected to it, to your "another devices" does it still work and are the other devices detected?
For further troubleshooting, try this:
  1. Unplug the ethernet adapter.
  2. Reboot your Pi.
  3. Login
  4. Run

    Code: Select all

    sudo tail -f /var/log/syslog
  5. Plug in the ethernet adpater while watching the ouput from the above command.
Arguing with strangers on the internet since 1993.

All advice given is based on my experience. it worked for me, it may not work for you.
All GPIO pin numbers are BCM numbers.

pidd
Posts: 1635
Joined: Fri May 29, 2020 8:29 pm
Location: Wirral, UK
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Mon Oct 05, 2020 10:18 pm

Don't know if this helps but others using that device appear to be using the r8169 driver for the realtek r8111/r8168/r8411 chipset. I thought that would have auto-installed on boot?

Did you have the device plugged in when the Pi was booted, they tend not to auto-install if you plug them in afterwards.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 6066
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Mon Oct 05, 2020 10:57 pm

thagrol wrote:
Mon Oct 05, 2020 9:46 pm
...
More snippage. Would that GreenAsia Inc. device be the ethernet adapter? A a websearch for that VID and PID doesn't produce anything usefull.
FWIW, the only "GreenAsia" device I know of was a "notorious" 7-port Hub:
https://www.cpmspectrepi.uk/raspberry_p ... rtHub.html
https://www.cpmspectrepi.uk/raspberry_p ... Dlist.html
and its associated, very poor quality, PSU:
https://www.cpmspectrepi.uk/raspberry_p ... st_Results

If the O.P. has one of those ......

Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

User avatar
thagrol
Posts: 4237
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Tue Oct 06, 2020 8:18 am

FTrevorGowen wrote:
Mon Oct 05, 2020 10:57 pm
thagrol wrote:
Mon Oct 05, 2020 9:46 pm
...
More snippage. Would that GreenAsia Inc. device be the ethernet adapter? A a websearch for that VID and PID doesn't produce anything usefull.
FWIW, the only "GreenAsia" device I know of was a "notorious" 7-port Hub:
https://www.cpmspectrepi.uk/raspberry_p ... rtHub.html
https://www.cpmspectrepi.uk/raspberry_p ... Dlist.html
and its associated, very poor quality, PSU:
https://www.cpmspectrepi.uk/raspberry_p ... st_Results

If the O.P. has one of those ......

Trev.
I'm assuming not given that their lsusb shows a "Genesys Logic, Inc. 4-port hub"
Arguing with strangers on the internet since 1993.

All advice given is based on my experience. it worked for me, it may not work for you.
All GPIO pin numbers are BCM numbers.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 6066
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Tue Oct 06, 2020 7:20 pm

@thagrol update on "GreenAsia" devices - I've just discovered I do know of a different example:
https://www.cpmspectrepi.uk/raspberry_p ... chPad.html
I'd forgot about it because it was never "used in anger" with a Pi - the touch/numeric pad part doesn't work with Debian on an X86 box or RasPIOS on a Pi! Just one of those devices I'd quickly tried out.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

User avatar
thagrol
Posts: 4237
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Unable to get USB to Ethernet adapter to work on pi

Tue Oct 06, 2020 8:02 pm

FTrevorGowen wrote:
Tue Oct 06, 2020 7:20 pm
@thagrol update on "GreenAsia" devices - I've just discovered I do know of a different example:
https://www.cpmspectrepi.uk/raspberry_p ... chPad.html
I'd forgot about it because it was never "used in anger" with a Pi - the touch/numeric pad part doesn't work with Debian on an X86 box or RasPIOS on a Pi! Just one of those devices I'd quickly tried out.
Trev.
That kinda supports my sugestion that the OP's device won't work under any flavour of linux.
Arguing with strangers on the internet since 1993.

All advice given is based on my experience. it worked for me, it may not work for you.
All GPIO pin numbers are BCM numbers.

Return to “Beginners”