Wired Connection Not Working

Status
Not open for further replies.


طارق

Member
Credits
876
[email protected]:~$ sudo ./autorun.sh
sudo: ./autorun.sh: command not found

You have to open the terminal in the same directory as the autorun.sh is located then run

Code:
sudo bash ./autorun.sh
Code:
 sudo apt autoremove
Code:
[email protected]:~/Downloads/r8101-1.035.03$  sudo apt autoremove
[sudo] password for tarek:     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libllvm10 linux-headers-5.4.0-52 linux-headers-5.4.0-52-generic
  linux-image-5.4.0-52-generic linux-modules-5.4.0-52-generic
  linux-modules-extra-5.4.0-52-generic
0 upgraded, 0 newly installed, 6 to remove and 135 not upgraded.
After this operation, 434 MB disk space will be freed.
N: Ignoring file 'brave-browser-release.listecho' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Do you want to continue? [Y/n] y
(Reading database ... 413467 files and directories currently installed.)
Removing libllvm10:amd64 (1:10.0.0-4ubuntu1) ...
Removing linux-headers-5.4.0-52-generic (5.4.0-52.57) ...
Removing linux-headers-5.4.0-52 (5.4.0-52.57) ...
Removing linux-modules-extra-5.4.0-52-generic (5.4.0-52.57) ...
Removing linux-image-5.4.0-52-generic (5.4.0-52.57) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-52-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-64-generic
Found initrd image: /boot/initrd.img-5.4.0-64-generic
Found linux image: /boot/vmlinuz-5.4.0-62-generic
Found initrd image: /boot/initrd.img-5.4.0-62-generic
Found linux image: /boot/vmlinuz-5.4.0-26-generic
Found initrd image: /boot/initrd.img-5.4.0-26-generic
  /dev/sdb: open failed: No medium found
  /dev/sdb: open failed: No medium found
Found Manjaro Linux (18.0.4) on /dev/sda1
done
Removing linux-modules-5.4.0-52-generic (5.4.0-52.57) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
[email protected]:~/Downloads/r8101-1.035.03$
 

f33dm3bits

Gold Member
Gold Supporter
Credits
16,567
I made a typo it should be the same path as in the picture you posted in post #39, so this.
Code:
ls ~/Downloads/r8101-1.035.03
 

f33dm3bits

Gold Member
Gold Supporter
Credits
16,567
Looking at the install instructions of this driver you need to do the following in a terminal from the location you are at now.
1. Install needed packages
Code:
sudo apt install build-essential linux-headers-$(uname -r)
2. Unload the current driver
Code:
sudo modprobe -r r8169
3. Blacklist the current driver
Code:
sudo sh -c 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf
4. Install the driver
Code:
sudo ./autorun.sh
5. Check if it's loaded
Code:
lsmod | grep r8101
If it's not loaded you will get no output, then just reboot your system.
 

طارق

Member
Credits
876
Looking at the install instructions of this driver you need to do the following in a terminal from the location you are at now.
1. Install needed packages
Code:
sudo apt install build-essential linux-headers-$(uname -r)
2. Unload the current driver
Code:
sudo modprobe -r r8169
3. Blacklist the current driver
Code:
sudo sh -c 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf
4. Install the driver
Code:
sudo ./autorun.sh
5. Check if it's loaded
Code:
lsmod | grep r8101
If it's not loaded you will get no output, then just reboot your system.
Code:
[email protected]:~/Downloads/r8101-1.035.03$ sudo apt install build-essential linux-headers-$(uname -r)
[sudo] password for tarek:     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.8ubuntu1.1).
linux-headers-5.4.0-64-generic is already the newest version (5.4.0-64.72).
0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded.
N: Ignoring file 'brave-browser-release.listecho' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
[email protected]:~/Downloads/r8101-1.035.03$ sudo modprobe -r r8169
modprobe: FATAL: Module r8169 not found.
[email protected]:~/Downloads/r8101-1.035.03$ sudo sh -c 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf
1617380096024.png
 

طارق

Member
Credits
876
Looking at the install instructions of this driver you need to do the following in a terminal from the location you are at now.
1. Install needed packages
Code:
sudo apt install build-essential linux-headers-$(uname -r)
2. Unload the current driver
Code:
sudo modprobe -r r8169
3. Blacklist the current driver
Code:
sudo sh -c 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf
4. Install the driver
Code:
sudo ./autorun.sh
5. Check if it's loaded
Code:
lsmod | grep r8101
If it's not loaded you will get no output, then just reboot your system.
I restarted the system and I don't think it works
1617380701251.png
 

طارق

Member
Credits
876
Looking at the install instructions of this driver you need to do the following in a terminal from the location you are at now.
1. Install needed packages
Code:
sudo apt install build-essential linux-headers-$(uname -r)
2. Unload the current driver
Code:
sudo modprobe -r r8169
3. Blacklist the current driver
Code:
sudo sh -c 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf
4. Install the driver
Code:
sudo ./autorun.sh
5. Check if it's loaded
Code:
lsmod | grep r8101
If it's not loaded you will get no output, then just reboot your system.
Code:
[email protected]:~/Downloads/r8101-1.035.03$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 24:b6:fd:15:4c:94 brd ff:ff:ff:ff:ff:ff
3: wlp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether e4:d5:3d:c5:e4:c9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.71/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp9s0
       valid_lft 85050sec preferred_lft 85050sec
    inet6 2001:16a2:5e6d:6000:d8cc:8ab:610a:ab79/64 scope global dynamic noprefixroute
       valid_lft 76094sec preferred_lft 76094sec
    inet6 fe80::9d4f:4516:f90f:3980/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
[email protected]:~/Downloads/r8101-1.035.03$ nmcli dev show
GENERAL.DEVICE:                         wlp9s0
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                         E4:D5:3D:C5:E4:C9
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     Home Broadband
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveC>
IP4.ADDRESS[1]:                         192.168.1.71/24
IP4.GATEWAY:                            192.168.1.1
IP4.ROUTE[1]:                           dst = 0.0.0.0/0, nh = 192.168.1.1, mt =>
IP4.ROUTE[2]:                           dst = 192.168.1.0/24, nh = 0.0.0.0, mt >
IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt >
IP4.DNS[1]:                             192.168.1.1
IP4.DOMAIN[1]:                          lan
IP6.ADDRESS[1]:                         2001:16a2:5e6d:6000:d8cc:8ab:610a:ab79/>
IP6.ADDRESS[2]:                         fe80::9d4f:4516:f90f:3980/64
IP6.GATEWAY:                            fe80::5a98:35ff:fe69:368a
IP6.ROUTE[1]:                           dst = 2001:16a2:5e6d:6000::/64, nh = ::>
IP6.ROUTE[2]:                           dst = ::/0, nh = fe80::5a98:35ff:fe69:3>
IP6.ROUTE[3]:                           dst = ff00::/8, nh = ::, mt = 256, tabl>
IP6.ROUTE[4]:                           dst = fe80::/64, nh = ::, mt = 600

GENERAL.DEVICE:                         28:F0:76:E9:EE:C9
lines 1-23
 

طارق

Member
Credits
876
Looking at the install instructions of this driver you need to do the following in a terminal from the location you are at now.
1. Install needed packages
Code:
sudo apt install build-essential linux-headers-$(uname -r)
2. Unload the current driver
Code:
sudo modprobe -r r8169
3. Blacklist the current driver
Code:
sudo sh -c 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf
4. Install the driver
Code:
sudo ./autorun.sh
5. Check if it's loaded
Code:
lsmod | grep r8101
If it's not loaded you will get no output, then just reboot your system.
The problem was posted on the system's original forum
Let's wait for the solution
She applied many lessons to no avail
https://forums.linuxmint.com/viewtopic.php?f=150&t=346490
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
14,557
Let's wait for the solution
Tarek, I am placing a lock on this Thread for the moment, and do not take offence from that, please.

I expect you can understand that it can make it doubly difficult if a person has the same thread open at two different sites, in terms of us (and them) knowing what information is being given to you?

The same can be said for sleeper12 over at linuxmint.com if that person does not have a history on what we have had you try here. We call that "flying blind".

If you get an answer there, please share it with us here so that we can add it to our knowledge base.

If you choose to cancel your Thread there, you can start a conversation with either of myself or @KGIII and we can unlock this Thread and proceed further.

Cheers

Chris Turner
wizardfromoz
 
Status
Not open for further replies.
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top