LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   trouble configuring eth0 (https://www.linuxquestions.org/questions/linux-networking-3/trouble-configuring-eth0-192273/)

slack---line 06-11-2004 07:10 AM

trouble configuring eth0
 
Hi all,

I posted the following in the slackware forum, but recieved little response, and thought I might have more success here.

I'm trying to configure my NIC it to use Blueyonder Broadband (http://www.blueyonder.co.uk), which assigns IP address' dynamically, however I've been unable to configure the network card yet.

Distribution Slackware 9.1
Kernel 2.4.24

I modified /etc/rc.d/rc.inet1 as shown below (* indicates lines I've edited)

-------------/etc/rc.d/rc.inet1-------------
# Edit these values to set up your first Ethernet card (eth0):
#IPADDR="127.0.0.1" # REPLACE with YOUR IP address!
#NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth0 using DHCP:
USE_DHCP=yes *
# If your provider requires a DHCP hostname, uncomment and edit below:
#DHCP_HOSTNAME="CCHOSTNUM-A"

# Edit the next line to point to your gateway:
GATEWAY="82.38.192.1" # REPLACE with YOUR gateway! *

# You shouldn't need to edit anything below here.
---------------End--------------------------

I then try running rc.inet1 manually and get the following output...

-------------------rc.inet1-----------------
[root@fisher:/etc/rc.d]# rc.inet1
SIOCADDRT: File exists
Attempting to configure eth0 by contacting a DHCP server...
SIOCADDRT: Network is unreachable
---------------End--------------------------

Which to me indicates that eth0 isn't configured properly, so I tried configuring it...

-------------------ifconfig------------------
[root@fisher:/etc/rc.d]# ifconfig eth0
eth0: error fetching interface information: Device not found

---------------End--------------------------

So I think that the NIC isn't being detected, but I don't know why.

Detailed below is some output...

[root@fisher:/home/neil]# lspci -v
----------relevant section------------------
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7120
Flags: bus master, medium devsel, latency 32, IRQ 23
I/O ports at d800 [size=256]
Memory at dffefe00 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>
----------relevant section------------------

This is just a guess, but could it be that my kernel doesn't support the hardware??

Any help would be much appreciated.

Thanks in advance

slack---line


All times are GMT -5. The time now is 03:20 AM.