LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   OnBoard Ethernet Not Detected (K7 Mother Board) (https://www.linuxquestions.org/questions/linux-networking-3/onboard-ethernet-not-detected-k7-mother-board-503984/)

tribeone 11-22-2006 01:59 PM

OnBoard Ethernet Not Detected (K7 Mother Board)
 
:confused: [SIZE="4"]I have just installed unbuntu linux and it is not detecting my ethernet card (onBoard). I have done lshw, as well as ifconfig -a and in lshw isa is unclaimed and in ifconfig -a it only list (lo and sit0). Please help...[/SIZE]

Emmanuel_uk 11-22-2006 02:18 PM

people will need the exact mobo model, smaller characters ;)
and the output of lspci -v (I assume the NIC card is a pci one not isa)
and the ubuntu version
check also the card is not disable in the bios

spectra 11-22-2006 02:19 PM

Arg, the size of the font, my eyes!!

The kernel driver for your NIC doesn't seem to be compiled into your kernel. It might be compiled as a module in which case you can modprobe it. However would need to know what motherboard and in an ideal world, what onboard NIC you have.

It might well be though just not coming up. Type dmesg > dmesg then nano/vi the file and see if there is any lines there mentioning eth0, eth1 or eth2. If not then the driver is not there.

You could try typing ifconfig ethX up <ip addr> <subnet mask>, obviously replacing the X with 0, 1 and 2 each times to see if it brings up the NIC.

spectra 11-22-2006 02:20 PM

Oh and exactly what emmanuel said aswell :D

tribeone 11-22-2006 06:54 PM

The ethernet card is an ISA integrated on the MB, and I am using ubuntu 6.06. This is the exact mother baord I have
K7VTA3 (V8.0),
CHIPSET VIAź KT333CF & VT8235

North Bridge: VIAź KT333CF

South Bridge: VIAź VT8235

LAN VIAź VT6103 10/100 Mbps Fast Ethernet PHY



and this is the ethernet device (integrated)
VIA Networking Tahoe VT6103/F/L PHY-ceiver
Single Chip 100Base-TX/10Base-T Physical Layer solution

» Dual Speed – 100/10 Mbps

» Half And Full Duplex

» MII Interface to Controler Etherent

» MII Interface for Configuration & Status

» Optional Repeater Interface

» Auto Negotiation : 10/100 Mbps, Full/Half Duplex

» Meet All Applicable IEEE 802.3, 10Base-T and 100Base-Tx Standards

» On Chip Wave Shaping – No External Filters Required

» Adaptive Equalizer

» Fiber Mode Support (VT6103F only)

» Baseline Wander Correction

» LED Outputs
- Link Status
- Duplex status
- Speed Status
- Collision

» 48 Pin SSOP Package(VT6103/F)

» 48 Pin, 7mmX7mm, LQFP Package (VT6103L)



I have used the lshw and get a irq: 11 isa unclaimed, ifconfig -a and get only lo and sit0 info.

tribeone 11-22-2006 06:59 PM

Sorry about the bad font on the first post. Was trying to make it easier to read guess I failed at that huh..

spectra 11-22-2006 08:55 PM

No probs matey! As Emmanuel said, if you use the lspci command, that shows you all of the PCI devices (includes onboard as this uses PCI bus afaik).

If you could post the results of lspci | grep -i ethernet into here that would very kind, however if my memory serves me correctly, the VIA Rhine driver in the Kernel is the one you want. You can either find it in the kernel menuconfig (make menuconfig) or if you go into /usr/src/linux which should be your currently running Kernel source, you can nano/vi the .config file, and if you search for RHINE, you should see the following lines:

CONFIG_VIA_RHINE=n
CONFIG_VIA_RHINE_MMIO=n

If you can access the .config file, and the flags are set to m, then typing modprobe via-rhine should sort you out as the drivers are compiled in module form (i.e can be implemented as required without kernel recompile).

Changing the n to y will include the driver into the kernel. Then rebuilding the kernel as normal will resolve your problem. That is if that is the right driver! Pasting the output (lspci | grep -i ethernet) as mentioned earlier on here will confirm what driver you need.

Sorry if i've been 2 simple for ya mate, I am new to the forum myself and am not sure what you already know!

tribeone 11-23-2006 12:30 AM

I got so tired of trying to get the onboard to work I went and bought a new pci card. Now I am connected. Linux picked it up right away.

Emmanuel_uk 11-23-2006 01:15 AM

http://www.ecsusa.com/downloads/drivers_k7v.html
according to the above it would be a realtek 8139
but the mobo version is wrong

Found this
ECS K7VTA3 motherboard with built-in ethernet chip:

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
Subsystem: VIA Technologies, Inc. VT6102 [Rhine II] Embeded Ethernet Controller on VT8235
Flags: bus master, medium devsel, latency 32, IRQ 11
I/ ports at ec00 [size=256]
Memory at e9041000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

Quote:

modprobe via-rhine
+1
You may want to locate in /usr/lib..... if you
habe via-rhine.ko

You do not have to recompile the whole kernel.
If you do change the .config line then
cd /usr/src/linux
make modules
make modules_install
that will be enough

tribeone 11-23-2006 01:19 AM

Thats for the k7vta3 v3.x I have v8.0. I went and bought a new pci card and all connection are up and running. Thanks guys been a great help. Now I have to figure out how to get dvds to play on my cd-rw/dvd rom player. cds work fine dvds wont play

Emmanuel_uk 11-23-2006 01:55 AM

just google for win32codecs mplayer and libdvdcss
if in doubt please post new topic in newbie forum
(you will find plenty on this, so I do not think
you will need to post)

tribeone 11-24-2006 10:59 AM

Thanks for all your help guys. I am finally up and running. Just a few more tweeks and good to go. Now I am trying to get my usb and printer to work. USB is not working.

TigerOC 11-24-2006 12:01 PM

Quote:

Originally Posted by tribeone
Now I am trying to get my usb and printer to work. USB is not working.

Try installing hotplug and discover;

apt-get install hotplug discover

These packages are designed to pickup usb and pci devices and load the drivers. Suggest installing CUPS for printing;

apt-get install cupsys

To configure your printer open a browser and do;

http://localhost:631

tribeone 11-24-2006 03:45 PM

where do I get hotplug and discover? When I did a sudo apt-get install hotplug discover it returns with this:

abu-harith@Tribeone:~$ apt-get install hotplug discover
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
abu-harith@Tribeone:~$ sudo apt-get install hotplug discover
Password:
Reading package lists... Done
Building dependency tree... Done
Package hotplug is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
udev module-init-tools
E: Package hotplug has no installation candidate

TigerOC 11-24-2006 04:05 PM

Quote:

Originally Posted by tribeone
Package hotplug is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
udev module-init-tools
E: Package hotplug has no installation candidate

Install udev and module-init-tools;

<prompt>:su
<prompt>:enter root password
<prompt>:apt-get install udev module-init-tools

You will need to reboot the system for them to pickup the devices during the boot process.


All times are GMT -5. The time now is 08:10 AM.