LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-10-2012, 06:39 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Linux cant connect with Internet through eth0.


Hi:

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?
 
Old 08-10-2012, 08:42 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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.
 
Old 08-10-2012, 09:01 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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.

Hope this helps some.
 
Old 08-10-2012, 11:48 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Make: PCICHIPS
Model: M741LMRT-H
This is from before 10.2, nearly year 2000.


Code:
semoi@darkstar:/mnt/usb/pasaje$ cat lspci.txt 
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 620 Host (rev 02)
        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: 32
        Region 0: Memory at e8000000 (32-bit, non-prefetchable) [size=64M]
        Capabilities: [c0] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master])
        Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller (A,B step)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 16
        Interrupt: pin A routed to IRQ 0
        Region 0: I/O ports at <ignored>
        Region 1: I/O ports at <ignored>
        Region 2: I/O ports at <ignored>
        Region 3: I/O ports at <ignored>
        Region 4: I/O ports at ffa0 [size=16]

00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge) (rev b3)
        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: 0

00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI
        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-

00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 11) (prog-if 10 [OHCI])
        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 (20000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 3
        Region 0: Memory at efffb000 (32-bit, non-prefetchable) [size=4K]

00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: e7e00000-e7efffff
        Prefetchable memory behind bridge: e6c00000-e7cfffff
        BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-

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 [VGA])
        Subsystem: Silicon Integrated Systems [SiS] SiS530,620 GUI Accelerator+3D
        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 (500ns min)
        Region 0: Memory at e7000000 (32-bit, prefetchable) [size=8M]
        Region 1: Memory at e7ef0000 (32-bit, non-prefetchable) [size=64K]
        Region 2: I/O ports at cc00 [size=128]
        Capabilities: [40] 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-
        Capabilities: [50] AGP version 1.0
                Status: RQ=2 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

semoi@darkstar:/mnt/usb/pasaje$
Code:
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 View Post
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
Thanks for the feedback.

Last edited by stf92; 08-10-2012 at 12:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 could not connect internet windstory Linux - Newbie 26 03-22-2012 01:36 PM
Can't connect to the internet no eth0 interface. okos Linux - Software 2 05-15-2008 04:11 PM
eth0 prob, can't connect to internet, xandros 3.0.2 3days new to linux layman's fix ? expat Linux - Networking 1 03-25-2006 08:39 AM
Can't connect to internet - eth0 not recognized guyfromcanada Fedora 14 10-04-2004 10:30 PM
eth0 seems to stop when I connect to the Internet kyutums Linux - Networking 4 06-19-2003 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration