LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-06-2015, 09:36 PM   #1
fERRARIv2
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 06-11-2015, 09:08 AM   #2
translator1111
Member
 
Registered: Jun 2010
Location: Slovakia
Distribution: Debian 8, Ubuntu 10.04 and 12.04; SLAX 6.0; ConnochaetOS 0.9.; LFS; Natty chip: VT1708S
Posts: 108
Blog Entries: 2

Rep: Reputation: 7
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.
 
Old 06-11-2015, 01:24 PM   #3
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
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

Last edited by Head_on_a_Stick; 06-11-2015 at 01:25 PM.
 
1 members found this post helpful.
Old 06-11-2015, 02:01 PM   #4
fERRARIv2
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
I will try both of these methods tonight and see what works for me. I will post my results later tonight, thank you.
 
Old 06-13-2015, 10:53 AM   #5
fERRARIv2
LQ Newbie
 
Registered: Jun 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-13-2015, 12:16 PM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by fERRARIv2 View Post
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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building Realtek 8168B driver columbiasts1 Linux - Newbie 11 03-26-2013 12:58 AM
Realtek RTL8111/8168B PCI does not work kea_kea Linux - Newbie 5 05-07-2012 09:33 PM
Compiling RealTek RTL8111/8168B driver keeps on failing ddalley Linux - Networking 9 04-19-2012 04:00 PM
Realtek new Driver for RTL8111/8168B mrgreen Linux - Networking 0 05-29-2011 09:47 AM
[SOLVED] Realtek driver RTL8111/8168B jwater1968 Linux - Networking 3 11-10-2010 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration