Fresh Install of Voyager 11 Debian No WiFi Adapter Found

brickwizard

Well-Known Member
Credits
6,475
Waiting for you brickwizard-
vendor: ASUSTeK driver: r8169 ls the wrong driver it should be the R8168 v: for that controller
 


brickwizard

Well-Known Member
Credits
6,475

Alexzee

Well-Known Member
Credits
9,201
Last edited:

Alexzee

Well-Known Member
Credits
9,201
Debian 11 Bullseye Non-Free Sources List
deb http://ftp.us.debian.org/debian/ bullseye main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ bullseye main contrib non-free

Also if you have Synaptic Package Manager installed you can search for r8168-dkms - some reviews I have seen said it helped
I already have non-free in my sources.list.
I'll see if Voyager has Synaptic.

Now that I have downloaded the r8168 I have to find out how to install it.
 
Last edited:

Alexzee

Well-Known Member
Credits
9,201
Well I looked for 8168-dkms in Synaptic and it was not listed.

I tried, following the instructions that came with the driver in the ReadMe file to install it.
I'm running into things I don't understand. Also, I don't know how to unload a driver and the rest of the output is greek to me.

Downloads/r8168-8.044.02# ./autorun.sh





Check old driver and unload it.


rmmod r8169


Build the module and install


/usr/src/linux-headers-5.10.0-8-common/Makefile:225: =============== ERROR ==============


/usr/src/linux-headers-5.10.0-8-common/Makefile:226: 'SUBDIRS' was removed in Linux 5.3


/usr/src/linux-headers-5.10.0-8-common/Makefile:227: Use 'M=' or 'KBUILD_EXTMOD=' instead


/usr/src/linux-headers-5.10.0-8-common/Makefile:228: ====================================


/usr/src/linux-headers-5.10.0-8-common/Makefile:229: *** .. Stop.


make[2]: *** [/usr/src/linux-headers-5.10.0-8-common/Makefile:185: __sub-make] Error 2


make[1]: *** [Makefile:99: clean] Error 2


make: *** [Makefile:47: clean] Error 2
 

Alexzee

Well-Known Member
Credits
9,201
Well, trying to install the r8168.deb pkg didn't go well.

/Downloads# ls


0009-r8168-8.044.02.tar.bz2 r8168-8.044.02 r8168-dkms_8.046.00-1_all.deb


debian:/home/cora/Downloads# dpkg -i r8168-dkms_8.046.00-1_all.deb


Selecting previously unselected package r8168-dkms.


(Reading database ... 337062 files and directories currently installed.)


Preparing to unpack r8168-dkms_8.046.00-1_all.deb ...


Unpacking r8168-dkms (8.046.00-1) ...


Setting up r8168-dkms (8.046.00-1) ...


Loading new r8168-8.046.00 DKMS files...


Building for 5.10.0-8-amd64


Building initial module for 5.10.0-8-amd64


Error! Bad return status for module build on kernel: 5.10.0-8-amd64 (x86_64)


Consult /var/lib/dkms/r8168/8.046.00/build/make.log for more information.


dpkg: error processing package r8168-dkms (--install):


installed r8168-dkms package post-installation script subprocess returned error exit status 10


Errors were encountered while processing:


r8168-dkms
 

Lord Boltar

Well-Known Member
Credits
5,921
Well, trying to install the r8168.deb pkg didn't go well.

/Downloads# ls


0009-r8168-8.044.02.tar.bz2 r8168-8.044.02 r8168-dkms_8.046.00-1_all.deb


debian:/home/cora/Downloads# dpkg -i r8168-dkms_8.046.00-1_all.deb


Selecting previously unselected package r8168-dkms.


(Reading database ... 337062 files and directories currently installed.)


Preparing to unpack r8168-dkms_8.046.00-1_all.deb ...


Unpacking r8168-dkms (8.046.00-1) ...


Setting up r8168-dkms (8.046.00-1) ...


Loading new r8168-8.046.00 DKMS files...


Building for 5.10.0-8-amd64


Building initial module for 5.10.0-8-amd64


Error! Bad return status for module build on kernel: 5.10.0-8-amd64 (x86_64)


Consult /var/lib/dkms/r8168/8.046.00/build/make.log for more information.


dpkg: error processing package r8168-dkms (--install):


installed r8168-dkms package post-installation script subprocess returned error exit status 10


Errors were encountered while processing:


r8168-dkms
Code:
sudo dpkg --configure -a
Code:
sudo apt -f install
 

Lord Boltar

Well-Known Member
Credits
5,921
Last edited:

Alexzee

Well-Known Member
Credits
9,201
I tried to install the driver again and than used dpkg --configure -a and apt -f install.




Downloads# dpkg -i r8168-dkms_8.046.00-1_all.deb


(Reading database ... 337083 files and directories currently installed.)


Preparing to unpack r8168-dkms_8.046.00-1_all.deb ...





------------------------------


Deleting module version: 8.046.00


completely from the DKMS tree.


------------------------------


Done.


Unpacking r8168-dkms (8.046.00-1) over (8.046.00-1) ...


Setting up r8168-dkms (8.046.00-1) ...


Loading new r8168-8.046.00 DKMS files...


Building for 5.10.0-8-amd64


Building initial module for 5.10.0-8-amd64


Error! Bad return status for module build on kernel: 5.10.0-8-amd64 (x86_64)


Consult /var/lib/dkms/r8168/8.046.00/build/make.log for more information.


dpkg: error processing package r8168-dkms (--install):


installed r8168-dkms package post-installation script subprocess returned error exit status 10


Errors were encountered while processing:


r8168-dkms


debian:/home/cora/Downloads# dpkg --configure -a


Setting up r8168-dkms (8.046.00-1) ...


Removing old r8168-8.046.00 DKMS files...





------------------------------


Deleting module version: 8.046.00


completely from the DKMS tree.


------------------------------


Done.


Loading new r8168-8.046.00 DKMS files...


Building for 5.10.0-8-amd64


Building initial module for 5.10.0-8-amd64


Error! Bad return status for module build on kernel: 5.10.0-8-amd64 (x86_64)


Consult /var/lib/dkms/r8168/8.046.00/build/make.log for more information.


dpkg: error processing package r8168-dkms (--configure):


installed r8168-dkms package post-installation script subprocess returned error exit status 10


Errors were encountered while processing:


r8168-dkms


debian:/home/cora/Downloads# apt -f install


Reading package lists... Done


Building dependency tree... Done


Reading state information... Done


0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.


1 not fully installed or removed.


After this operation, 0 B of additional disk space will be used.


Setting up r8168-dkms (8.046.00-1) ...


Removing old r8168-8.046.00 DKMS files...





------------------------------


Deleting module version: 8.046.00


completely from the DKMS tree.


------------------------------


Done.


Loading new r8168-8.046.00 DKMS files...


Building for 5.10.0-8-amd64


Building initial module for 5.10.0-8-amd64


Error! Bad return status for module build on kernel: 5.10.0-8-amd64 (x86_64)


Consult /var/lib/dkms/r8168/8.046.00/build/make.log for more information.


dpkg: error processing package r8168-dkms (--configure):


installed r8168-dkms package post-installation script subprocess returned error


exit status 10


Errors were encountered while processing:


r8168-dkms


E: Sub-process /usr/bin/dpkg returned an error code (1)
 

Alexzee

Well-Known Member
Credits
9,201
I rebooted and the wifi is still not working.
 

Alexzee

Well-Known Member
Credits
9,201
@Lord Boltar :
Do you think there is a way to get the WiFi working in this distro?
 
Last edited:

Fanboi

Active Member
Credits
3,475
debian:~$ lsmod | grep wifi

iwlwifi 294912 1 iwlmvm
cfg80211 970752 3 iwlmvm,iwlwifi,mac80211

@debian:~$ ip a

[...truncated...]

3: wlp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000


link/ether 24:ee:9a:22:5a:79 brd ff:ff:ff:ff:ff:ff
Looks like it's/was working (as of this post). I hope nothing broke since then. If the output of ip is the same, then this will bring it up (was prolly turned off at hardware level).

sudo -i
ip link set wlp4s0 up

PS: You should put your outputs in spoiler tags if you want to keep you posts clean, ex:
[ spoiler]
history
[ /spoiler]
Without the spaces ;)
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top