Results 1 to 9 of 9
Hi,
Im using RHEL 4.2, here in bios level onboard network port is detecting. But when trying to fetch that network port i cant able to connect internet. when i ...
- 02-07-2011 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 17
Onboard network port not working
Hi,
Im using RHEL 4.2, here in bios level onboard network port is detecting. But when trying to fetch that network port i cant able to connect internet. when i put ifconfig eth1 the port is not available in onboard. Any solution for this,.,??.
thanks,
vasanth
- 02-08-2011 #2
How many network ports on this system?
What is the output of:
What is in the files:Code:lspci | grep -i ethernet
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
- 02-08-2011 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 17
insmod: error inserting 'e1000.ko': -1 Invalid module format
im getting the above error whem in try to use insmod command to insert the module....
thanks,
vasanth
- 02-08-2011 #4Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
1) The insmod command is used by kernel versions 2.4.X. RHEL4 is a 2.6 kernel. Google: how to load module linux 2.6.
2) You didn't provide any information Lazydog requested.Code:man modprobe
3) Unless you added this NIC *after* installing RHEL, it's unlikely the default e1000 driver is going to work. RHEL4 is older. There are many revisions of the e1000 driver and if the NIC is in a newer machine, it probably needs a newer version of the driver.
See Lazydog's post above (lspci command) to identify the NIC and then visit Intel's site for the latest driver code (which will likely need to be compiled.)
- 02-08-2011 #5Just Joined!
- Join Date
- Feb 2010
- Posts
- 17
Result for : lspci | grep -i ethernet
05:00.0 Ethernet controller: Intel Corporation Enterprise Southbridge DPT LAN Copper (rev 01)
05:00.1 Ethernet controller: Intel Corporation Enterprise Southbridge DPT LAN Copper (rev 01)
09:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
ifcfg-eth0 contains,
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
NETMASK=255.255.0.0
IPADDR=172.19.0.25
GATEWAY=172.19.0.1
BOOTPROTO=none
there is no ifcfg-eth1 in the location of /etc/sysconfig/network-scripts
thanks,
vasanth
- 02-08-2011 #6
OK, you have 3 interfaces. Which one is being activated when you boot?
Can you also give the output from the following:
ifconfig
cat /proc/net/arp
- 02-09-2011 #7Just Joined!
- Join Date
- Feb 2010
- Posts
- 17
hi,
for ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:E7:17:26:36
inet addr:172.19.0.25 Bcast:172.19.255.255 Mask:255.255.0.0
inet6 addr: fe80::218:e7ff:fe17:2636/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:857744 errors:0 dropped:0 overruns:0 frame:0
TX packets:711852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:65848647 (62.7 MiB) TX bytes:76667409 (73.1 MiB)
Interrupt:169 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3276 errors:0 dropped:0 overruns:0 frame:0
TX packets:3276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3561971 (3.3 MiB) TX bytes:3561971 (3.3 MiB)
For,
cat /proc/net/arp
IP address HW type Flags HW address Mask Device
17x.19.0.xx 0x1 0x2 00:11:11:50: DC:BC * eth0
17x.19.0.x 0x1 0x2 00:1D:7E:E6:09:EF * eth0
thanks,
vasanth
- 02-10-2011 #8Just Joined!
- Join Date
- Feb 2010
- Posts
- 17
make -C /lib/modules/2.6.9-22.ELsmp/build SUBDIRS=/usr/local/src/e1000/e1000-7.2.7/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
Building modules, stage 2.
MODPOST
Warning: could not find versions for .tmp_versions/e1000.mod
make[1]: Leaving directory `/usr/src/kernels/2.6.9-22.EL-smp-i686'
# remove all old versions of the driver
find /lib/modules/2.6.9-22.ELsmp -name e1000.ko -exec rm -f {} \; || true
find /lib/modules/2.6.9-22.ELsmp -name e1000.ko.gz -exec rm -f {} \; || true
install -D -m 644 e1000.ko /lib/modules/2.6.9-22.ELsmp/kernel/drivers/net/e1000/e1000.ko
/sbin/depmod -a || true
install -D -m 644 e1000.7.gz /usr/share/man/man7/e1000.7.gz
man -c -P'cat > /dev/null' e1000 || true
Formatting page, please wait...
im getting the error while make install....
Thanks,
vasanth
- 02-10-2011 #9
I'm seeing 3 different MAC addresses here. So we need to edit your ifcfg-eth0 file and add a MAC setting to it so it will bind to the interface you want. L8ine line you should add is;
Replacing the HW Addres I have above with one of the 3 you have given.Code:HWADDR=00:90:27:8B:EA:CB
Then shutdown the interface and start it again. Check connection and repeat if necessary.


Reply With Quote
