LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Realtek 8168B - eth0 not connecting (https://www.linuxquestions.org/questions/linux-networking-3/realtek-8168b-eth0-not-connecting-4175544694/)

fERRARIv2 06-06-2015 09:36 PM

Realtek 8168B - eth0 not connecting
 
Hello,

I am having issues connecting to my network while booted to my Kali Linux partition. I just installed Kali yesterday and have had no luck getting it connected to my network while being hard wired.

I am unable to obtain a DHCP address.
If I statically assign my address I can ping 192.168.1.240, the address I statically assigned.

My default gateway, 192.168.1.254, I am unable to ping. It says that the host destination is not found. (255.255.255.0 is my subnet mask)

While booted to my windows 7 partition I am able to get online, and I am using the same subnet scheme in win7 as I am on Linux.

I do not have ANY wireless connections.

I tried to download the updated driver from Realteks website and transfer it over using my external HDD but when I extract it and attempt to run it, it tells me that I need to update my header file before I can do so. I cant do this because I don't have internet while booted to Kali (i.e apt-get )

Is there a website I can download the updated header files from and transfer them over then install em? or does anyone have any idea as to what may resolve my issue without having to update anything.


My network card:
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)

Please advise.

translator1111 06-11-2015 09:08 AM

Dear fERRARIv2,
is an option to you, to download the packages using your windows partition, copy them in the directory of your Kali Ubuntu and then install them with
Quote:

dpkg -i
?
see this link
http://superuser.com/questions/19686...s-with-apt-get
Faithfully,
N.

Head_on_a_Stick 06-11-2015 01:24 PM

I think you just need the firmware-realtek package -- the drivers for that device are in the kernel already.

Download the .deb from here:
https://packages.debian.org/stretch/...altek/download

Install it using gdebi or:
Code:

# dpkg -i firmware-realtek_0.44_all.deb
EDIT: See here for more on firmware (!= drivers) in Debian:
https://wiki.debian.org/Firmware

fERRARIv2 06-11-2015 02:01 PM

I will try both of these methods tonight and see what works for me. I will post my results later tonight, thank you.

fERRARIv2 06-13-2015 10:53 AM

Gents,

I actually just updated my kali install on my laptop and updated my kernel headers. I then preped it and made my own iso, installed it to my desktop, transferred over my driver and installed it.

All is well.

ardvark71 06-13-2015 12:16 PM

Quote:

Originally Posted by fERRARIv2 (Post 5376635)
Gents,

I actually just updated my kali install on my laptop and updated my kernel headers. I then preped it and made my own iso, installed it to my desktop, transferred over my driver and installed it.

All is well.

Cool, glad you got it fixed :)

If you would, please mark this thread as "SOLVED."

Regards...


All times are GMT -5. The time now is 03:23 PM.