Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a machine with Slackware 10.2 on it. When fit with an ethernet card it successfully connects to Internet. But it has onboard LAN. So, removing the card and properly setting the motherboard switches, as they are now, I could expect Linux to connect. But it doesn't.
Could you give me the commands to find out, at the most intimate hardware level, if the onboard LAN is operational?
Post the make and model of your motherboard and the output of:
$ lspci
and:
$ uname -a
which will list everything on your pci bus, including your on board ethernet nic and the current kernel you are running. Slackware 10.2 was released in 2005. If your motherboard was made after that date, the slackware 10.2 kernel may not have support for your on board nic.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
In addition to the previous post, post (in code blocks, please) the output of
Code:
su - (or sudo)
ifconfig
lspci | grep -i ethernet
Just as an aside, when you changed your BIOS settings did you shutdown and restart the system? Did you see any errors or messages during boot? Try paging through /var/log/messages (with pg or more) and see if there are any hints.
semoi@darkstar:/mnt/usb/pasaje$ cat uname.txt
Linux darkstar 2.4.31 #6 Sun Jun 5 19:04:47 PDT 2005 i686 unknown unknown GNU/Linux
semoi@darkstar:/mnt/usb/pasaje$
In the following, I'm sure I've got TX packets != 0 for eth0 sometimes, although not the same nr of packets as received. And about lo, sometimes I got n TX packets and n RX packets with n!=0.
Code:
semoi@darkstar:/mnt/usb/pasaje$ cat eth.txt
root@darkstar:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:D0:09:60:57:B0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:763 errors:24 dropped:0 overruns:0 frame:0
TX packets:0 errors:8 dropped:0 overruns:1 carrier:2
collisions:0 txqueuelen:1000
RX bytes:45780 (44.7 Kb) TX bytes:0 (0.0 b)
Interrupt:12 Base address:0xde00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
root@darkstar:~#
semoi@darkstar:/mnt/usb/pasaje$
Already listed above but for ease of reading:
Code:
00:0b.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 10)
Subsystem: Davicom Semiconductor, Inc.: Unknown device 8212
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 64 (5000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 12
Region 0: I/O ports at de00 [size=128]
Region 1: Memory at efffaf80 (32-bit, non-prefetchable) [size=128]
Expansion ROM at eff80000 [disabled] [size=256K]
Capabilities: [50] Power Management version 1
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 530/620 PCI/AGP VGA Display Adapter (rev 2a) (prog-if 00
Here DHCP_HOSTNAME[0]="" because my ISP does not require it. I use DHCP and the IP's are dynamic.
Code:
semoi@darkstar:/mnt/usb/pasaje$ cat inet1.txt
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
# =============================================================================
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""
# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""
# Default gateway IP address:
GATEWAY=""
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"
## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey TxRate=0"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (space-separated, see the
# example).
semoi@darkstar:/mnt/usb/pasaje$
Quote:
Originally Posted by tronayne
Just as an aside, when you changed your BIOS settings did you shutdown and restart the system? Did you see any errors or messages during boot? Try paging through /var/log/messages (with pg or more) and see if there are any hints.
No BIOS settings changed. Else it has no setting for LAN, although there are two things, which I liest with their present state:
Onboard FDC enabled
Onboard IR port Disabled
** IR duplex: half
Plus, I have the motherboard manual. No error or unusual messages at boot. I list some relevant parts of /var/log/messages:
Code:
Aug 10 08:20:59 darkstar kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Aug 10 08:20:59 darkstar kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Aug 10 08:20:59 darkstar kernel: IP: routing cache hash table of 2048 buckets, 1
6Kbytes
Aug 10 08:20:59 darkstar kernel: TCP: Hash tables configured (established 16384
bind 32768)
Aug 10 08:20:59 darkstar kernel: Linux IP multicast router 0.06 plus PIM-SM
Aug 10 08:20:59 darkstar kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET
4.0.
And
Code:
Aug 10 08:27:34 darkstar logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1
Aug 10 08:27:35 darkstar logger: /etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
Aug 10 08:27:36 darkstar logger: /etc/rc.d/rc.hotplug start (entering script)
Aug 10 08:27:38 darkstar kernel: Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
Aug 10 08:27:38 darkstar kernel: PCI: Found IRQ 12 for device 00:0b.0
Aug 10 08:27:38 darkstar kernel: tulip0: EEPROM default media type Autosense.
Aug 10 08:27:38 darkstar kernel: tulip0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block.
Aug 10 08:27:38 darkstar kernel: tulip0: Index #1 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
Aug 10 08:27:38 darkstar kernel: tulip0: Index #2 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
Aug 10 08:27:38 darkstar kernel: tulip0: Index #3 - Media 10baseT-FDX (#4) described by a 21140 non-MII (0) block.
Aug 10 08:27:38 darkstar kernel: tulip0: Index #4 - Media 100baseTx-FDX (#5) described by a 21140 non-MII (0) block.
Aug 10 08:27:38 darkstar kernel: tulip0: MII transceiver #1 config 3100 status 7809 advertising 05e1.
Aug 10 08:27:38 darkstar kernel: eth0: Davicom DM9102/DM9102A rev 16 at 0xde00, 00:D0:09:60:57:B0, IRQ 12.
Aug 10 08:27:39 darkstar kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Aug 10 08:27:39 darkstar kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Aug 10 08:27:39 darkstar logger: /etc/rc.d/rc.inet1: /sbin/dhcpcd -d -t 60 eth0
Aug 10 08:27:39 darkstar kernel: pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Aug 10 08:27:40 darkstar kernel: pciehp: PCI Express Hot Plug Controller Driver versio
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.