Choose style:

Author Topic: How do I compile network driver in Peppermint?  (Read 386 times)

0 Members and 1 Guest are viewing this topic.

Offline Obnined

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
How do I compile network driver in Peppermint?
« on: May 13, 2018, 08:52:35 am »
I am trying to install the driver for my pci-e network card.

I was able to download the Linux drivers, but I don't know/understand how to install/compile the drivers.

Please help.

lspci | grep Ethernet -> Realtek RTL8111/8168/8411 PCI Express Gigabit Controller.

I tried to run ./configure and make in the driver/scr director but peppermint comes up with command not found.

Regards.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: How do I compile network driver in Peppermint?
« Reply #1 on: May 13, 2018, 09:18:58 am »
First can you post the output from:
Code: [Select]
lspci -vnn | grep -i net
then post a link to the driver you downloaded

and mention which version of Peppermint you are running .. eg. Peppermint 8 64bit
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Obnined

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: How do I compile network driver in Peppermint?
« Reply #2 on: May 14, 2018, 02:30:11 pm »
Hi PCNetSpecs,

Here is the output from lspci:

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: TP-LINK Technologies Co., Ltd. TG-3468 Gigabit PCI Express Network Adapter [7470:3468]

My network card is version 2 (Windows only drivers), so the closest I could get for Linux drivers was with version 1.

https://www.tp-link.com/us/download/TG-3468_V1.html

https://static.tp-link.com/resources/software/20081210170562.zip - version 1

I am running Peppermint 7 64bit.

Regards

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: How do I compile network driver in Peppermint?
« Reply #3 on: May 14, 2018, 03:19:18 pm »
Is there any way to get this PC connected to the internet temporarily .. wifi adapter maybe?

If so, you just need to run:
Code: [Select]
sudo apt-get install r8168-dkms
with an active internet connection to install the driver.

If you can't get an active internet connection, let me know .. there's probably a way you can download this package on another PC, then transfer it across via USB stick, and install it.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Obnined

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: How do I compile network driver in Peppermint?
« Reply #4 on: May 15, 2018, 12:42:59 pm »
I was able to download r8168-dkms_8.041.00-1_all.deb from another pc.

Then I ran into dependencies...

r8168-dkms_8.041.00-1_all.deb - requires dkms (>=2.1.0.0)

dkms_2.2.0.3-2_all.deb - requires gcc.

Installed gcc-4.6-base_4.6.3-14_amd64.deb, but still get a gcc dependency required.

then I installed gcc-4.9-base_4.9.2-10+deb8u1_amd64.deb and rebooted, but I still get gcc required.

It feels like I am doing something wrong with the gcc dependency...

Regards

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21979
  • Karma: 2462
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Obnined

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: How do I compile network driver in Peppermint?
« Reply #6 on: May 16, 2018, 01:31:25 pm »
I run the command:

sudo dpkg -i *.deb   and received more dependencies (make, build-essentials and dpkg-dev)

When I tried to run make.deb, build-essentials.deb or dpkg.deb the pc comes up with the following error:

You have 10 broken packages on your system!
Use the "Broken" filter to locate them.

Here is the list of broken packages...
1.) dkms
2.) gcc-5
3.) libasan2
4.) libcc1-0
5.) libcilkrts5
6.) libgcc-dev
7.) libitm1
8.) liblsan0
9.) libtsan0
10.) libubsan0

I am going to download them now from  https://www.debian.org/distrib/packages.

Regards

Offline Obnined

  • nOOb
  • *
  • Posts: 6
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: How do I compile network driver in Peppermint?
« Reply #7 on: May 16, 2018, 02:04:42 pm »
I was not able to install the other packages until I removed all the broken packages.

Ran into more dependencies, the only one I was able to install was make_3.81-8.2_amd64.deb.

Is there a place where I can go and Download a package that comes with all of it's dependencies?

Regards

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1703
  • Karma: 288
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: How do I compile network driver in Peppermint?
« Reply #8 on: May 16, 2018, 02:12:05 pm »
Do you have the option to tether through a phone to get this PC on the internet?