network driver not support

Issues related to configuring your network
Post Reply
pdutta
Posts: 12
Joined: 2018/03/22 13:58:02

network driver not support

Post by pdutta » 2018/03/22 14:10:08

Sir
I have installed centos 7 with kernel kernel-3.10.0-514.el7 x86_64 . when i am going to install network driver -error showing Makefile:65: *** Linux kernel source not found. Stop .It's network adapter intel pro/100 .so pls help me to do it solve....

User avatar
fdisk
Posts: 42
Joined: 2017/11/04 00:59:56

Re: network driver not support

Post by fdisk » 2018/03/22 14:43:02

Isn't intel pro 100 working out of the box (e1000 module)?

However, if you still need to compile it yourself you'll need kernel sources:

Code: Select all

yum install kernel-devel

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: network driver not support

Post by TrevorH » 2018/03/22 16:49:46

Don't build it yourself. The ELRepo third party yum repository which specialises in extra hardware support has a kmod-e100 package that you can download and sneaker-net to the machine and yum install from there.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pdutta
Posts: 12
Joined: 2018/03/22 13:58:02

Re: network driver not support

Post by pdutta » 2018/03/23 07:35:53

pls give a download link of that ....i would be glad.

pdutta
Posts: 12
Joined: 2018/03/22 13:58:02

Re: network driver not support

Post by pdutta » 2018/03/23 07:45:32

fdisk wrote:Isn't intel pro 100 working out of the box (e1000 module)?

However, if you still need to compile it yourself you'll need kernel sources:

Code: Select all

yum install kernel-devel


i am not able to connect the pc with internet though i am going to try with this.... the following error showing

[scpl@localhost Desktop]$ sudo yum install kernel-devel
Loaded plugins: fastestmirror, langpacks
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7 ... nfra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"


One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...

4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:

yum-config-manager --disable <repoid>
or
subscription-manager repos --disable=<repoid>

5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: network driver not support

Post by TrevorH » 2018/03/23 09:01:04

http://ftp.osuosl.org/pub/elrepo/elrepo ... x86_64.rpm

Also, once you've installed that, install the elrepo-release package so that you get future updated versions of that package automatically when you run yum update. http://ftp.osuosl.org/pub/elrepo/elrepo ... noarch.rpm
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pdutta
Posts: 12
Joined: 2018/03/22 13:58:02

Re: network driver not support

Post by pdutta » 2018/03/23 09:48:01

TrevorH wrote:http://ftp.osuosl.org/pub/elrepo/elrepo ... x86_64.rpm

Also, once you've installed that, install the elrepo-release package so that you get future updated versions of that package automatically when you run yum update. http://ftp.osuosl.org/pub/elrepo/elrepo ... noarch.rpm

when i try with that rpm file it showing dependencies error like this

[scpl@localhost Desktop]$ sudo rpm -i kmod-e100-3.5.24-2.el7_4.elrepo.x86_64.rpm
[sudo] password for scpl:
warning: kmod-e100-3.5.24-2.el7_4.elrepo.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY
error: Failed dependencies:
kernel >= 3.10.0-693.el7 is needed by kmod-e100-3.5.24-2.el7_4.elrepo.x86_64
kernel(_raw_qspin_lock) = 0x4b7dcf38 is needed by kmod-e100-3.5.24-2.el7_4.elrepo.x86_64
kernel(_raw_qspin_lock_irq) = 0x3588d8ba is needed by kmod-e100-3.5.24-2.el7_4.elrepo.x86_64
kernel(netif_tx_wake_queue) = 0x58c08cf3 is needed by kmod-e100-3.5.24-2.el7_4.elrepo.x86_64
kernel(page_offset_base) = 0x7cd8d75e is needed by kmod-e100-3.5.24-2.el7_4.elrepo.x86_64
kernel(skb_clone_tx_timestamp) = 0x251a2d2f is needed by kmod-e100-3.5.24-2.el7_4.elrepo.x86_64
kernel(vmemmap_base) = 0x97651e6c is needed by kmod-e100-3.5.24-2.el7_4.elrepo.x86_64

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: network driver not support

Post by TrevorH » 2018/03/23 10:06:09

Hmm, that looks like that needs to be rebuilt for the 7.4 kernel.

Edit: oh, no, wrong way around. You have installed 7.3 not 7.4 which is the latest. You'll need to download the previous version of kmod-e100 and install that. When you update to 7.4 - which you should do ASAP by running yum update once you're up and running - then it will break again unless you have also installed the elrepo-release package that I linked previously. Try the older version http://ftp.osuosl.org/pub/elrepo/elrepo ... x86_64.rpm and see if that works. If it doesn't then I'd recommend either reinstalling with 7.4 to start with or download the 7.4 iso, mount it on one of the directories listed in /etc/yum.repos.d/CentOS-Media.repo then run yum --disablerepo=\* --enablerepo=c7-media update to update your system from the 7.4 DVD. Then reboot and install the original kmod-e100 that you already have.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pdutta
Posts: 12
Joined: 2018/03/22 13:58:02

Re: network driver not support

Post by pdutta » 2018/03/23 10:44:32

TrevorH wrote:Hmm, that looks like that needs to be rebuilt for the 7.4 kernel.

Edit: oh, no, wrong way around. You have installed 7.3 not 7.4 which is the latest. You'll need to download the previous version of kmod-e100 and install that. When you update to 7.4 - which you should do ASAP by running yum update once you're up and running - then it will break again unless you have also installed the elrepo-release package that I linked previously. Try the older version http://ftp.osuosl.org/pub/elrepo/elrepo ... x86_64.rpm and see if that works. If it doesn't then I'd recommend either reinstalling with 7.4 to start with or download the 7.4 iso, mount it on one of the directories listed in /etc/yum.repos.d/CentOS-Media.repo then run yum --disablerepo=\* --enablerepo=c7-media update to update your system from the 7.4 DVD. Then reboot and install the original kmod-e100 that you already have.
thank you very much sir ....it is now working fine ....i have used ¨kmod-e100-3.5.24-1.el7.elrepo.x86_64.rpm¨ file

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: network driver not support

Post by TrevorH » 2018/03/23 11:02:52

Don;t forget to install the elrepo-release package too and then run yum update to get up to date. There are important security fixes missing in 7.3 that you need to update to 7.4 to install.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply