WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Pi Zero usb LAN adapter  (Read 25452 times)

Offline strebor

  • Newbie
  • *
  • Posts: 15
Re: Pi Zero usb LAN adapter
« Reply #15 on: June 29, 2016, 12:46:07 PM »
bmarkus, yes but the last three lines of Greg's dmesg output don't come up on mine and I can't see r8152 in my lsmod.
I'm going to try a Rasbian install and see how the hardware I have performes.

thanks Strebor

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: Pi Zero usb LAN adapter
« Reply #16 on: June 29, 2016, 04:01:55 PM »
hi strebor,

I think that means the hardware cannot find r8152.ko.gz.

How did you install it? Through the extension net-usb-4.1.20-piCore+.tcz or did you manually add r8152.ko.gz?

"df" will show you what extensions have been loop mounted.

Does your device have LEDs? Mine has a blue LED indicating USB and red LED indication Ethernet cable.

BTW: lsusb is not part of the standard piCorePlayer install. Load usbutils.tcz. Alternatively, if you do a [Wifi Settings] > [Diagnostics] it will install.

regards
Greg

« Last Edit: June 29, 2016, 04:05:33 PM by Greg Erskine »

Offline strebor

  • Newbie
  • *
  • Posts: 15
Re: Pi Zero usb LAN adapter
« Reply #17 on: June 29, 2016, 11:15:49 PM »
Greg, through the  extension of picoreplayer on a RPi2 and then move the card to the Zero, but I've also tried installing it by cp and vi the config file....strebor

Offline strebor

  • Newbie
  • *
  • Posts: 15
Re: Pi Zero usb LAN adapter
« Reply #18 on: June 30, 2016, 09:46:04 AM »
Greg, well the archive is mounted loop, but lsmod r8152.ko doesn't see the module and I can't find any mention in the.dep file.
The .ko.gz file is there and the permissions were all root/root.
I seem to remember that when loading the extension from the gui the ascendancies window was empty, this I thought was odd as other extensions showed the load dependence

Regards Strebor

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Pi Zero usb LAN adapter
« Reply #19 on: June 30, 2016, 09:50:28 AM »
Does this help
Code: [Select]
sudo depmod -a
sudo udevadm trigger
after adding the module into the file system?
Download a copy and keep it handy: Core book ;)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Pi Zero usb LAN adapter
« Reply #20 on: June 30, 2016, 10:27:48 AM »
Is kernel moduld matching kernel version?
Béla
Ham Radio callsign: HA5DI

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

Offline strebor

  • Newbie
  • *
  • Posts: 15
Re: Pi Zero usb LAN adapter
« Reply #21 on: June 30, 2016, 01:12:10 PM »
uname -a says 4.1.20-picore* and /tmp/tcloop/net-usb-4.1.20-picore_v7+
give or take the odd typo

.......................


sudo depmod -a
sudo udevadm trigger

did't seem to do anything ifconfig still shows only shows loopback IF , dmesg didn't show a USB ethernet port defined.
.................

I tried Raspbian and the usb adapter came up, so it's ok hardware wise

regards Strebor

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1099
Re: Pi Zero usb LAN adapter
« Reply #22 on: June 30, 2016, 02:51:14 PM »
uname -a says 4.1.20-picore* and /tmp/tcloop/net-usb-4.1.20-picore_v7+
give or take the odd typo

Please be specific, because the above is wrong.

You have downloaded the net-usb drivers for the armv7 processors.  The zero is armv6 You need this file

http://distro.ibiblio.org/tinycorelinux/7.x/armv6/tcz/net-usb-4.1.20-piCore+.tcz

Offline strebor

  • Newbie
  • *
  • Posts: 15
Re: Pi Zero usb LAN adapter
« Reply #23 on: June 30, 2016, 11:21:27 PM »
I'll get my coat :(   I see what has happened, because I used the model B to add the extension and then move it to the Zero. I'll redo the image  and load the extension by hand.
Thanks Paul

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: Pi Zero usb LAN adapter
« Reply #24 on: June 30, 2016, 11:45:31 PM »
I'll get my coat :(   I see what has happened, because I used the model B to add the extension and then move it to the Zero. I'll redo the image  and load the extension by hand.
Thanks Paul

Hi strebor,

You must have a Raspberry Pi Model 2B (RPi2B) not a Raspberry Pi Model B (RPiB). Maybe a RPi3B?

Check in the footer on each web page for "linux 4.1.20-piCore+" NOT "linux 4.4.13-piCore_v7+"

regards
Greg
« Last Edit: June 30, 2016, 11:47:03 PM by Greg Erskine »

Offline strebor

  • Newbie
  • *
  • Posts: 15
Re: Pi Zero usb LAN adapter
« Reply #25 on: July 01, 2016, 12:53:46 AM »
Greg, you mean 2B or not 2B; well yes it's  2B
Thanks all for your help, this is great forum. As far as the Pi foundation aims  go, and generally a real tour de force.

Regards Strebor

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: Pi Zero usb LAN adapter
« Reply #26 on: July 01, 2016, 02:38:08 AM »
You must have a Raspberry Pi Model 2B (RPi2B) not a Raspberry Pi Model B (RPiB). Maybe a RPi3B?

Just realised this statement has 2 and opposite meanings.

I should have said:

You must have used a Raspberry Pi Model 2B (RPi2B) not a Raspberry Pi Model B (RPiB).

regards
Greg

Offline strebor

  • Newbie
  • *
  • Posts: 15
Re: Pi Zero usb LAN adapter SOLVED
« Reply #27 on: July 02, 2016, 05:42:17 AM »
Repace the V7 net-usb package with the V6 for the PiZero and away we go 8)
nowI have to configure for hdmi out, and do the rest of the woodwork.
Thanks again all
Strebor

Offline my sounds

  • Newbie
  • *
  • Posts: 8
Re: Pi Zero usb LAN adapter
« Reply #28 on: September 23, 2016, 10:43:04 AM »
A very novice worthy question ...

I notice Greg has got this USB hub/ethernet thing working on a Pi0.

I have downloaded  net-usb-4.1.20-piCore+.tcz onto my Windows box and can putty into the Pi0 via a wifi link.

How do I install the package on the Pi0 having got this far?

Thanks
Paul

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: Pi Zero usb LAN adapter
« Reply #29 on: September 23, 2016, 04:22:43 PM »
Hi Paul,

I use winSCP to copy files to the Raspberry Pi.

1. Copy net-usb-4.1.20-piCore+.tcz to /mnt/mmcblk0p2/tce/optional
2. Add this line "net-usb-4.1.20-piCore+.tcz" to /mnt/mmcblk0p2/tce/onboot.lst

regards
Greg