How do I install kernel source without ethernet?

Mars

Honorary Master
Joined
Feb 4, 2006
Messages
11,452
Reaction score
1,149
Location
Cape Town
So I'm installing Trixbox Ce. Now I need to install the drivers for the on board ethernet. but to compile the drivers I need the kernel source. To get the kernel source I need internet. To get the internet working I need the ethernet to be working. Rince, repeat, go mad.

How do I download the kernel-devel package an install it with out being online at the time?

Ok so I found the file I think :http://mirror.centos.org/centos-5/5...evel-2.6.18-128.1.10.el5.centos.plus.i686.rpm

now just to download and install.
 
Last edited:
Bleh

Never mind. Revision 2 of the realtek nic does not work on Centos, but I just found that its the atheros nic
 
Last edited:
Dude you're talking to yourself :)
:D

lspci output please.

Code:
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Attansic Technology Corp. Unknown device 1062 (rev c0)
03:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface

Does that mean that its actually a Attansic nic? Man it sux being a noob sometimes...

Hmm if you move the s to the front of the word.... Attansic = Sattanic ? Explains why there are no drivers..
 
Last edited:
Ok I found this but its a bit over my head...

I'll give it a go anyhow. Will it work the same for Ubuntu and CentOS?
 
back to square 1.

Where exactly can I find the kernel-devel file for Centos 5.3 2.6.18-128.1.10.e15?
 
Sorry about that, I thought we were talking Ubuntu here, refreshing to find another distro mentioned.
:o

It should be in the repositories, search for devel or dev.

http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

To download it from another PC, get your kernel version:
uname -a

Write this down, go to this link:
http://mirror.centos.org/centos-5/5/centosplus/i386/RPMS/
and search for the appropriate kernel-devel to match your kernel and you will find that this is the one you need:
http://mirror.centos.org/centos-5/5...evel-2.6.18-128.1.10.el5.centos.plus.i686.rpm

The solution and how to install the driver:
http://wiki.centos.org/AdditionalRe...icL1?highlight=(Attansic)|(Corp)|(Technology)
http://www.centos.org/modules/newbb...d=20052&forum=39&post_id=75761#forumpost75761
 
Last edited:
http://rpm.pbone.net/ is a great resource for searching for rpm files.

once you have found the rpm you are looking for, you can install it with rpm -Uvh /path/to/rpm. You can also use rpm -ivh /path/to/file.-U being upgrade and -i being install.

if CentOS uses yum, you can also do yum localinstall --nogpgcheck /path/to/rpm
 
Top
Sign up to the MyBroadband newsletter
X