Cannot connect eth0 (RealTek RTL8168/8111 PCI-E Gigabit) in Fossapup64 9.5

Moderators: 666philb, Forum moderators

Post Reply
bean
Posts: 58
Joined: Sat Aug 06, 2022 1:11 pm
Has thanked: 6 times
Been thanked: 3 times

Cannot connect eth0 (RealTek RTL8168/8111 PCI-E Gigabit) in Fossapup64 9.5

Post by bean »

i am only using Fossapup 64 9.5 now, this saga/drama is about 4-5 years, it worked on some puppy distros i cant for the life of me remember what worked what didnt,

i tried loading different modules/drivers and using, my actuall one does not apear to be listed,my adaptor is RealTek RTL8168/8111 PCI-E Gigabit

just recently read . link

https://unixblogger.wordpress.com/2016/ ... ted-guide/

As far as I can see this, the RTL8111/RTL8168 is not Open Source and this would be of course the reason why the driver isn’t included into the Linux Kernel. As long as the driver isn’t Open Sourced, we have to build it on our own.

User avatar
Phoenix
Posts: 339
Joined: Fri Feb 12, 2021 2:03 am
Location: Canada
Has thanked: 4 times
Been thanked: 48 times

Re: Cannot connect eth0 (RealTek RTL8168/8111 PCI-E Gigabit) in Fossapup64 9.5

Post by Phoenix »

Linux has and does include proprietary blobs/drivers. Realtek for instance provides their source which you can build against the kernel tree (see quickpet to obtain said source). Usually the drivers load in the 'firmware' or blob in order to work with it. You may find that some drivers involve reverse engineering closed-source hardware.
Alternatively you could install the dkms package and try using dkms.

IRC: firepup | Time to hack Puppy!

User avatar
bigpup
Moderator
Posts: 6516
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 790 times
Been thanked: 1353 times

Re: Cannot connect eth0 (RealTek RTL8168/8111 PCI-E Gigabit) in Fossapup64 9.5

Post by bigpup »

I think I found what you need.
But you will have to download the driver source from Realtek, compile it, and install.

This is what you need to do:

Quickpet program icon on desktop.
Quickpet -> Useful -> devx and kernel src
Download and install:
devx fossapup64_9.5.sfs
Kernel_sources-5.4-53-fossapup64.sfs

Quickpet should handle the download and loading of these two sfs packages, so they are part of the file system.
To be sure, check in menu -> Setup -> SFS-load-on-the-fly program, to see if they are listed in the right side list of mounted sfs's.
If not listed use this program to load them.

This provides everything needed to compile software from source.

Now to get the driver source package.

Go to the Realtek web site.
https://www.realtek.com/en/component/zo ... s-software

Download the linux driver GBE Ethernet LINUX driver r8168 for kernel up to 5.17
https://www.realtek.com/en/directly-dow ... 6bcc027928

Now you have to un-compress the driver package.

Go to location you downloaded it.
Right click on the r8168-8.050.03.tar.bz2 file.
Select UExtract
This will run the UExtract program window.
Do not try to figure-out anything.
Just select OK.
In the location of the r8168-8.050.03.tar.bz2 file you will now find a directory named r8168-8.050.03.tar.bz2.extracted.

Now lets compile and install the driver.

Click on the r8168-8.050.03.tar.bz2.extracted directory to open it and show contents.
Will find a directory named r8168-8.050.03
Open it.
Inside will be a file named autorun.sh
Right click on it and choose from right click menu Run In Terminal
A terminal should open.
Should see info about what it is doing and show completion.

The driver should now be installed to be used.

Reboot the computer.
Making sure to update the fossapup save, so the driver is now saved.

Now try to setup a network Ethernet connection.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Fossapup64”