LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Faulty card or faulty config? (https://www.linuxquestions.org/questions/linux-networking-3/faulty-card-or-faulty-config-751739/)

svar 09-01-2009 05:34 AM

Faulty card or faulty config?
 
Trying to figure this out. I have two systems on the same machine, one OpenSuse, one Slack 12. Suse now seems to consistently connect to dsl, slack seems to never connect.
I am reluctant to claim faulty hw because my Ubuntu Live CD ALWAYS works. Could it be a faulty driver?

/var/log/messages from Suse:
Quote:

Aug 28 16:58:48 linux-pa83 kernel: nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
Aug 28 16:58:48 linux-pa83 kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Aug 28 16:58:48 linux-pa83 ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Aug 28 16:58:49 linux-pa83 kernel: r8169: eth0: link up
Aug 28 16:58:49 linux-pa83 kernel: r8169: eth0: link up
Aug 28 16:58:49 linux-pa83 ifup-dhcp: eth0 Starting DHCP4 client
Aug 28 16:58:49 linux-pa83 dhcpcd[2825]: eth0: dhcpcd 3.2.3 starting
Aug 28 16:58:49 linux-pa83 dhcpcd[2825]: eth0: hardware address = 00:19:66:99:04:f8
Aug 28 16:58:49 linux-pa83 kernel: NET: Registered protocol family 17
Aug 28 16:58:49 linux-pa83 dhcpcd[2825]: eth0: broadcasting for a lease
Aug 28 16:58:50 linux-pa83 kernel: [drm] Initialized drm 1.1.0 20060810
Aug 28 16:58:50 linux-pa83 ifup-dhcp: .
Aug 28 16:58:50 linux-pa83 kernel: pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Aug 28 16:58:50 linux-pa83 kernel: pci 0000:00:02.0: setting latency timer to 64
Aug 28 16:58:50 linux-pa83 kernel: [drm] Initialized i915 1.6.0 20060119 on minor 0
Aug 28 16:58:50 linux-pa83 kernel: [drm:i915_getparam] *ERROR* Unknown parameter 5
Aug 28 16:58:50 linux-pa83 kernel: set status page addr 0x00133000
Aug 28 16:58:50 linux-pa83 kernel: [drm:i915_getparam] *ERROR* Unknown parameter 5
Aug 28 16:58:52 linux-pa83 ifup-dhcp: .
Aug 28 16:58:54 linux-pa83 ifup-dhcp: .
Aug 28 16:58:55 linux-pa83 dhcpcd[2825]: eth0: offered 192.168.1.6 from 192.168.1.1 `tc'
Aug 28 16:58:55 linux-pa83 dhcpcd[2825]: eth0: checking 192.168.1.6 is available on attached networks
Aug 28 16:58:55 linux-pa83 kernel: CPU0 attaching NULL sched-domain.
Aug 28 16:58:55 linux-pa83 kernel: CPU1 attaching NULL sched-domain.
Aug 28 16:58:55 linux-pa83 kernel: CPU0 attaching sched-domain:
Aug 28 16:58:55 linux-pa83 kernel: domain 0: span 0-1 level MC
Aug 28 16:58:55 linux-pa83 kernel: groups: 0 1
Aug 28 16:58:55 linux-pa83 kernel: domain 1: span 0-1 level NODE
Aug 28 16:58:55 linux-pa83 kernel: groups: 0-1
Aug 28 16:58:55 linux-pa83 kernel: CPU1 attaching sched-domain:
Aug 28 16:58:55 linux-pa83 kernel: domain 0: span 0-1 level MC
Aug 28 16:58:55 linux-pa83 kernel: groups: 1 0
Aug 28 16:58:55 linux-pa83 kernel: domain 1: span 0-1 level NODE
Aug 28 16:58:55 linux-pa83 kernel: groups: 0-1
Aug 28 16:58:56 linux-pa83 ifup-dhcp: .
Aug 28 16:58:56 linux-pa83 dhcpcd[2825]: eth0: leased 192.168.1.6 for 259200 seconds
Aug 28 16:58:56 linux-pa83 dhcpcd[2825]: eth0: adding IP address 192.168.1.6/24
Aug 28 16:58:56 linux-pa83 dhcpcd[2825]: eth0: adding default route via 192.168.1.1 metric 0
Aug 28 16:58:56 linux-pa83 dns-resolver: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Aug 28 16:58:56 linux-pa83 dns-resolver: You can find my version in /etc/resolv.conf.netconfig
Aug 28 16:58:56 linux-pa83 dhcpcd-hook: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Aug 28 16:58:56 linux-pa83 dhcpcd-hook: You can find my version in /etc/resolv.conf.netconfig ...
Aug 28 16:58:56 linux-pa83 syslog-ng[2111]: Configuration reload request received, reloading configuration;
Aug 28 16:58:56 linux-pa83 syslog-ng[2111]: New configuration initialized;
Aug 28 16:58:56 linux-pa83 ifdown: eth0 device: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Aug 28 16:58:57 linux-pa83 ifup: eth0 device: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Aug 28 16:58:57 linux-pa83 ifup-dhcp:
Aug 28 16:58:57 linux-pa83 ifup-dhcp: eth0 IP address: 192.168.1.6/24 (dhcppc0)
Aug 28 16:58:57 linux-pa83 SuSEfirewall2: /var/lock/SuSEfirewall2.booting exists which means system boot in progress, exit.
Aug 28 16:58:57 linux-pa83 dhcpcd[2825]: eth0: setting hostname to `dhcppc0'
Aug 28 16:58:57 linux-pa83 dhcpcd[2825]: eth0: exiting
Aug 28 16:58:58 linux-pa83 auditd[3842]: Started dispatcher: /sbin/audispd pid: 3845
Aug 28 16:58:59 linux-pa83 audispd: priority_boost_parser called with: 4
Aug 28 16:58:59 linux-pa83 audispd: af_unix plugin initialized
Aug 28 16:58:59 linux-pa83 audispd: audispd initialized with q_depth=80 and 1 active plugins
Aug 28 16:58:59 linux-pa83 auditd[3842]: Init complete, auditd 1.7.7 listening for events (startup state disable)
Same for Slack:
Quote:

Aug 28 13:04:00 mypc syslogd 1.4.1: restart.
Aug 28 13:04:00 mypc kernel: klogd 1.4.1, log source = /proc/kmsg started.
Aug 28 13:04:00 mypc kernel: Linux version 2.6.21.5-smp (root@midas) (gcc version 4.1.2) #2 SMP Tue Jun 19 14:58:11 CDT 2007
Aug 28 13:04:00 mypc kernel: BIOS-provided physical RAM map:
Aug 28 13:04:00 mypc kernel: 1142MB HIGHMEM available.
Aug 28 13:04:00 mypc kernel: 896MB LOWMEM available.
.....
Aug 28 13:04:00 mypc kernel: ehci_hcd 0000:00:1d.7: irq 20, io mem 0xfea77c00
Aug 28 13:04:00 mypc kernel: ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Aug 28 13:04:00 mypc kernel: usb usb1: configuration #1 chosen from 1 choice
Aug 28 13:04:00 mypc kernel: hub 1-0:1.0: USB hub found
Aug 28 13:04:00 mypc kernel: hub 1-0:1.0: 8 ports detected
Aug 28 13:04:00 mypc kernel: 116x: driver isp116x-hcd, 03 Nov 2005
Aug 28 13:04:00 mypc kernel: USB Universal Host Controller Interface driver v3.0
Aug 28 13:04:00 mypc kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 20
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.0: UHCI Host Controller
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.0: irq 20, io base 0x0000d400
Aug 28 13:04:00 mypc kernel: usb usb2: configuration #1 chosen from 1 choice
Aug 28 13:04:00 mypc kernel: hub 2-0:1.0: USB hub found
Aug 28 13:04:00 mypc kernel: hub 2-0:1.0: 2 ports detected
Aug 28 13:04:00 mypc kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.1: UHCI Host Controller
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d480
Aug 28 13:04:00 mypc kernel: usb usb3: configuration #1 chosen from 1 choice
Aug 28 13:04:00 mypc kernel: hub 3-0:1.0: USB hub found
Aug 28 13:04:00 mypc kernel: hub 3-0:1.0: 2 ports detected
Aug 28 13:04:00 mypc kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.2: UHCI Host Controller
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d800
Aug 28 13:04:00 mypc kernel: usb 1-5: new high speed USB device using ehci_hcd and address 2
Aug 28 13:04:00 mypc kernel: usb usb4: configuration #1 chosen from 1 choice
Aug 28 13:04:00 mypc kernel: hub 4-0:1.0: USB hub found
Aug 28 13:04:00 mypc kernel: hub 4-0:1.0: 2 ports detected
Aug 28 13:04:00 mypc kernel: ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.3: UHCI Host Controller
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
Aug 28 13:04:00 mypc kernel: uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000d880
Aug 28 13:04:00 mypc kernel: usb usb5: configuration #1 chosen from 1 choice
Aug 28 13:04:00 mypc kernel: hub 5-0:1.0: USB hub found
Aug 28 13:04:00 mypc kernel: hub 5-0:1.0: 2 ports detected
Aug 28 13:04:00 mypc kernel: usb 1-5: configuration #1 chosen from 1 choice
Aug 28 13:04:00 mypc kernel: sl811: driver sl811-hcd, 19 May 2005
Aug 28 13:04:00 mypc kernel: Initializing USB Mass Storage driver...
.....
Aug 28 13:04:00 mypc kernel: Linux agpgart interface v0.102 (c) Dave Jones
Aug 28 13:04:00 mypc kernel: Capability LSM initialized
Aug 28 13:04:00 mypc kernel: Intel ISA PCIC probe: not found.
Aug 28 13:04:00 mypc kernel: Databook TCIC-2 PCMCIA probe: not found.
Aug 28 13:04:01 mypc logger: /etc/rc.d/rc.inet1: /sbin/ifconfig eth0 192.168.1.2 broadcast 192.168.1.255 netmask 255.255.255.0
Aug 28 13:04:02 mypc kernel: r8169: eth0: link up
Aug 28 13:04:02 mypc logger: /etc/rc.d/rc.inet1: /sbin/route add default gw 192.168.1.1 metric 1
Aug 28 13:04:02 mypc logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1
Aug 28 13:04:02 mypc logger: /etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
Aug 28 13:04:04 mypc kernel: NET: Registered protocol family 10
Aug 28 13:04:04 mypc kernel: lo: Disabled Privacy Extensions
Aug 28 13:04:04 mypc sshd[3369]: Server listening on :: port 22.
Aug 28 13:04:11 mypc /usr/sbin/gpm[3468]: *** info [startup.c(95)]:
On pinging 192.168.1.1 on Slack I get timeouts.

I have the same
cat 70-persistent-net.rules in both systems:
Quote:

# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it,as long as you keep each rule on a single line.
# PCI device 0x10ec:0x8136 (r8169)
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it,as long as you keep each rule on a single line.
# PCI device 0x10ec:0x8136 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:66:99:04:f8", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Netstat seems ok
Quote:

bash-3.1# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
For openSuse:
Quote:

me@dhcppc0:~> su
Password:
dhcppc0:/home/me # ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:66:99:04:F8
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fe99:4f8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3547 errors:0 dropped:125141407 overruns:0 frame:0
TX packets:2521 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5128475 (4.8 Mb) TX bytes:189575 (185.1 Kb)
Interrupt:221 Base address:0x8000

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:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3496 (3.4 Kb) TX bytes:3496 (3.4 Kb)
and for Slack:

Quote:

ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:66:99:04:F8
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fe99:4f8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:4294967257 overruns:0 frame:0
TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x8000

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: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)
[/QUOTE]
Slack /etc/rc.d/rc.inet1.conf:
Quote:

# Config information for eth0:
IPADDR[0]="192.168.1.2"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
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="192.168.1.1"

# 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"

WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"

markush 09-01-2009 04:25 PM

Hello svar,

ok this is a lot of text to read. I had a similar issue with slackware and it turned out that the module for the NIC was bad. I'd suggest to compile the driver for your network-card into the kernel.

As far as I can say your network-settings look ok.

Markus

jschiwal 09-01-2009 10:22 PM

Code:

2.6.21.5-smp
You are using a very old kernel version in Slackware. Updating to a more recent kernel may fix the problem. Is the NIC a GigE device? I'm guessing that the kernel module for that kernel version didn't support them.

svar 09-02-2009 04:19 AM

Ok, thanks. What is the best way of doing this? I will be installing Slack 13 on a new partition shortly, so perhaps all I need to do it forget about the old Slack and just copy the /home over

jschiwal 09-02-2009 09:39 AM

The kernel will be a newer one. It is in /boot and the modules in /lib/modules/<kernel-version>/. If you have a separate /home partition, you can keep it. If not, you can backup the files and restore them later. A newer kernel version won't effect the items in home. A newer desktop environment might. You might want to delete your old .kde hidden directory just before installing Slackware. If you are going from KDE 3 to KDE 4, old config file in .kde may not make as much of a difference.


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