WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: USB Ethernet on Pi Zero in PiCore  (Read 4255 times)

Offline risshuu

  • Newbie
  • *
  • Posts: 19
USB Ethernet on Pi Zero in PiCore
« on: November 30, 2016, 05:45:42 AM »
Is there anything that I am able to check to see why my new PiZero is not getting access to the internet when using my new USB Ethernet adapter? 

I checked some previous postings and there were mentions to an Ethernet configuration file in /opt/, but I don't see any.

The bad thing is that my Ethernet adapter is micro-usb so I can't use both my keyboard and adapter at the same time.

I tried running ifconfig on a loop to see if anything popped up when I unplugged my keyboard and plugged in the Ethernet adapter, but I didn't see anything but lo.
« Last Edit: November 30, 2016, 05:48:33 AM by risshuu »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: USB Ethernet on Pi Zero in PiCore
« Reply #1 on: November 30, 2016, 06:12:47 AM »
Is USB Ethernet kernel module installed and loaded? What is in dmesg?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 710
Re: USB Ethernet on Pi Zero in PiCore
« Reply #2 on: December 01, 2016, 06:08:40 AM »
And also when using ifconfig command you may use -a as argument.

Code: (bash) [Select]
       -a     display all interfaces which are currently  available,  even  if
              down

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 764
Re: USB Ethernet on Pi Zero in PiCore
« Reply #3 on: January 30, 2017, 06:52:24 PM »
Bela, are there any known USB dongles which have PiCore issues on Zero?

Configuration: RasPiZero v1.3, PiCore7 (8 won't boot?), net-usb installed (along with firmware.tcz and a bunch of others due to the mystery), OTG hard-wired to a 4-port hub, keyboard and NIC, dual (redundant) 40A regulated power supplies (there should be no issue with power fluctuations)

Keyboard works as expected.
NIC is "detected" (dmesg) and LEDs light up as expected

ifconfig -a shows only local loopback

dmesg shows:
...
usb 1-1.2: new full-speed USB device number 4 using dwc_otg
usb 1-1.2: new USB device found, idVendor=0fe6, idProduct=8101
usb 1-1.2: new USB device strings: Mfr=0, Product=2, SerialNumber=3
usb 1-1.2: Product: USB Network Controller

... (Then moves onto SPI, GPIO 7/8)

Thanks!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: USB Ethernet on Pi Zero in PiCore
« Reply #4 on: January 31, 2017, 12:59:38 AM »
I do not have any USB Ethernet adapter in hand unfortunately so I can't test it but I didn't receive any note here about issues. You can try it wit Raspbian, we the same 4.4.x Kernel line. If it works with Raspbian, check dmesg and installed kernel modules with lsmod to find differences.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline CentralWare

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 764
Re: USB Ethernet on Pi Zero in PiCore
« Reply #5 on: January 31, 2017, 01:40:03 AM »
Bela, thank you for your reply.  It turned out to be a very odd behavior between two different DM9106 based USB dongles and a mishap when swapping between RasPi3 and the Zero (arm6 versus arm7 kernel drivers somehow got mixed up in one of the tests.)  However, the same 9106 failed to load in Jessie as well as Pi's NOOBS loader, so the investigation will still continue (later) but I've come across what needs to be accommodated in TCL so for the moment, that's all that matters for my needs. :)

http://forum.tinycorelinux.net/index.php/topic,20728.0.html

Thanks!