LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   eth0: ERROR while getting interface flags: No such device (https://www.linuxquestions.org/questions/linux-networking-3/eth0-error-while-getting-interface-flags-no-such-device-589899/)

ncsuapex 10-10-2007 12:40 PM

ls -l /lib/modules
total 12
drwxr-xr-x 4 root root 4096 2006-05-22 19:55 2.4.31/
drwxr-xr-x 4 root root 4096 2006-05-20 18:48 2.4.32/
drwxr-xr-x 4 root root 4096 2007-10-09 15:45 2.6.13/


ls -l /usr/src/kernels
/bin/ls: /usr/src/kernels: No such file or directory

ls -l /usr/src/
total 16
lrwxrwxrwx 1 root root 12 2006-05-20 18:52 linux -> linux-2.4.32/
drwxr-xr-x 15 root root 4096 2006-08-21 13:03 linux-2.4.32/
drwxr-xr-x 7 root root 4096 2003-10-29 01:08 rpm/
drwxr-xr-x 4 root root 4096 2006-09-17 21:55 slackbuilds/
drwxr-xr-x 2 root root 4096 2005-12-04 17:35 speakup-2.4.32/

rsashok 10-10-2007 12:54 PM

It looks like a problem: there is no "linux-2.6.13" in your kernel source directory. Since you are running kernel version 2.6.13, I'd recommend installing sources for this version. It might be a good experience configuring and compiling your own kernel.

ncsuapex 10-10-2007 01:36 PM

ugh, I was waiting to hear those words. lol

Ive actually done a kernel rebuild a few years back on a RH system. You're probably right though, I should rebuild the kernel and do it the right way. I put in an old NIC I had on another PC and it recognized it. For now this will work and when I get the time/motivation to rebuild the kernel I will. Thanks for all the help/advice you guys gave me.

ncsuapex 03-16-2008 03:58 PM

back to this again.

I installed centos 5 and still can not get this card to work.

I did a modprobe on
8139cp 8139too and r8169

When I go into system-config-network it will not find the ethernet device.

any suggestions??

thanks



01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)


01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
Subsystem: Intel Corporation Unknown device d607
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at 1000 [size=256]
Memory at 50100000 (64-bit, non-prefetchable) [size=4K]
Expansion ROM at 50300000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Capabilities: [48] Vital Product Data
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
Capabilities: [60] Express Endpoint IRQ 0
Capabilities: [84] Vendor Specific Information



uname -r
2.6.18-53.el5xen



ls -l /lib/modules
total 16
drwxr-xr-x 6 root root 4096 Mar 16 11:35 2.6.18-53.el5
drwxr-xr-x 6 root root 4096 Mar 16 12:23 2.6.18-53.el5xen


dmesg | grep -i net
NET: Registered protocol family 16
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
NET: Registered protocol family 2
audit: initializing netlink socket (disabled)
SELinux: Registering netfilter hooks
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
SELinux: Unregistering netfilter hooks
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.lo.retrans_time; Use net.ipv6.neigh.lo.retrans_time_ms instead.
8139too Fast Ethernet driver 0.9.27
NET: Registered protocol family 31


lsmod
Module Size Used by
vfat 15809 1
fat 51165 1 vfat
i915 23873 2
drm 67029 3 i915
netloop 10945 0
netbk 78017 0 [permanent]
blktap 115813 2 [permanent]
blkbk 21985 0 [permanent]
ipt_MASQUERADE 7745 1
iptable_nat 11205 1
ip_nat 21101 2 ipt_MASQUERADE,iptable_nat
bridge 53725 0
autofs4 24389 2
hidp 23105 2
rfcomm 42457 0
l2cap 29633 10 hidp,rfcomm
bluetooth 53925 5 hidp,rfcomm,l2cap
sunrpc 144253 1
8139too 29121 0
mii 9409 1 8139too
ip_conntrack_netbios_ns 6977 0
ipt_REJECT 9537 3
xt_state 6209 9
ip_conntrack 53025 5 ipt_MASQUERADE,iptable_nat,ip_nat,ip_conntrack_netbios_ns,xt_state
nfnetlink 10713 2 ip_nat,ip_conntrack
iptable_filter 7105 1
ip_tables 17029 2 iptable_nat,iptable_filter
ip6t_REJECT 9409 1
xt_tcpudp 7105 26
ip6table_filter 6849 1
ip6_tables 18181 1 ip6table_filter
x_tables 17349 8 ipt_MASQUERADE,iptable_nat,ipt_REJECT,xt_state,ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables
dm_mirror 28997 0
dm_multipath 21577 0
dm_mod 58457 2 dm_mirror,dm_multipath
video 19269 0
sbs 18533 0
backlight 10049 0
i2c_ec 9025 1 sbs
button 10705 0
battery 13637 0
asus_acpi 19288 0
ac 9157 0
ipv6 251521 21 ip6t_REJECT
sr_mod 19941 0
sg 36061 0
parport_pc 29157 0
lp 15849 0
parport 37641 2 parport_pc,lp
snd_hda_intel 23897 0
snd_hda_codec 202689 1 snd_hda_intel
snd_seq_dummy 7877 0
snd_seq_oss 32577 0
snd_seq_midi_event 11073 1 snd_seq_oss
snd_seq 49841 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 11725 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 43201 0
snd_mixer_oss 19009 1 snd_pcm_oss
usb_storage 76833 1
snd_pcm 72517 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 24773 2 snd_seq,snd_pcm
snd 52549 9 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd _timer
soundcore 11553 1 snd
ide_cd 40033 0
i2c_i801 11469 0
snd_page_alloc 13769 2 snd_hda_intel,snd_pcm
serial_core 23617 0
i2c_core 23745 2 i2c_ec,i2c_i801
cdrom 36705 2 sr_mod,ide_cd
serio_raw 10693 0
pcspkr 7105 0
ata_piix 18501 0
libata 116473 1 ata_piix
sd_mod 24897 2
scsi_mod 132941 5 sr_mod,sg,usb_storage,libata,sd_mod
ext3 123336 3
jbd 56553 1 ext3
ehci_hcd 33357 0
ohci_hcd 23645 0
uhci_hcd 25677 0



139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)

ncsuapex 03-17-2008 11:47 AM

*SOLVED*

found this thread

http://www.centos.org/modules/newbb/...13089&forum=39


Quote:

Please do the following
wget http://dag.wieers.com/rpm/packages/d....rf.noarch.rpm
rpm -Uvh --oldpackage dkms-r1000-1.05-1.nodist.rf.noarch.rpm


All times are GMT -5. The time now is 09:32 AM.