LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problems installing network interface realtek 8139 (https://www.linuxquestions.org/questions/slackware-14/problems-installing-network-interface-realtek-8139-a-415005/)

AndyGhost 02-13-2006 01:38 PM

Problems installing network interface realtek 8139
 
Hi everyone,

I recently installed Slackware 10.2 with setup option "full install" but I couldn't make the network to work.

Here are some details about my configurations:

- I'm connected to internet through a router in a LAN
- Slackware was setup to run hotplug at boot time
- running "netconfig" and setting up the static IP for my station, the gateway (router's IP) and the DNS of the ISP makes working just the loopback
- pinging the router returns no packets

What i tried to do:
- I booted with nohotplug option (I assumed this feature might screw my network card)
- I loaded the 8139oo driver module in rc.modules
- rebooting (still with nohotplug option) the network card works as with hotplug set and no manual loading of the driver (this means I can ping my own station but I cannot see the router)

More...
- following the steps described in slackbook I've noticed that no rc.netdevice script was created in /etc/rc.d
- the settings in rc.inet1.conf seem OK (IP set, gateway set, netmask set)
- resolv.conf seems ok also (the DNS is in place)
- ifconfig command shows me that the eth0 interface is created

I don't know what else to try - running KNOPPIX directly from the CD and with minor network settings (IP, netmask, gateway and DNS)made the internet connection to work fine - I assume that there is no problem with my hardware configuration and the problem comes from some "special" settings in Slackware that I miss somehow.

Thank you,
Andi

uselpa 02-13-2006 02:02 PM

I have this card too and it has always worked well with Slack so I assume a config error here.
First thing is to get the eth0 interface up.
What input did you give to netconfig?
What is the output of `ifconfig -a` ?
What is the output of `cat /etc/rc.d/rc.inet1.conf | grep -v ^#` ?

AndyGhost 02-13-2006 02:47 PM

Hi uselpa,

Here it is the information you asked for:

netconfig inputs:
hostname : RoseRed
domainname : rdstm.ro
static IP : 192.168.0.7
netmask : 255.255.255.0
gateway : 192.168.0.1
nameserver : 193.231.233.1

(Same inputs worked fine with KNOPPIX except domain name which I was not asked for by the configtool of that distribution. Because I'm not using a domain here - the router just connects to the ISP and 4 other stations including mine are connecting to the Internet - i put an imaginary domain)

outputs from ifconfig command:

eth0 Link encap:Ethernet HWaddr 00:E0:4D:06:74:D8
inet addr:192.168.0.7 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0x1000

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:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1176 (1.1 Kb) TX bytes:1176 (1.1 Kb)


outputs from rc.inet1.conf:

IPADDR[0]="192.168.0.7"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

GATEWAY="192.168.0.1"

DEBUG_ETH_UP="no"


# the default 'eth4'
# 1360 when you use NAT'ed IPSec traffic.
# your default gateway
# server
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
# 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).

I hope it is useful for you to help me,
Thanks,
Andi

uselpa 02-13-2006 03:04 PM

What is the output of `route`?

AndyGhost 02-13-2006 03:25 PM

Hi uselpa,

The output of route command is:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 1 0 0 eth0

Thanks,
Andi

uselpa 02-13-2006 03:44 PM

Looks right to me.
What is the result of `ping -c 5 68.142.197.83` ?

AndyGhost 02-13-2006 03:59 PM

The output of ping command:

PING 68.142.197.83 (68.142.197.83) 56(84) bytes of data.
From 192.168.0.7 icmp_seq=1 Destination Host Unreachable
From 192.168.0.7 icmp_seq=2 Destination Host Unreachable
From 192.168.0.7 icmp_seq=3 Destination Host Unreachable
From 192.168.0.7 icmp_seq=4 Destination Host Unreachable
From 192.168.0.7 icmp_seq=5 Destination Host Unreachable

--- 68.142.197.83 ping statistics ---
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 4020ms
, pipe 3

gusgoose_it 02-15-2006 05:29 PM

Hi AndyGhost
I had the same problem, I post it 2 months ago on two italian forum without results, then I post here some weeks ago, you can read it on "LAN K.O. on Slack 10.2" on the page 3 of this forum. With the huge help of win32sux, after 17 attemps of installation I resolved my problem: at the boot, I disabled in the BIOS "PnP OS" and the Realtek worked.

AndyGhost 02-16-2006 11:57 AM

Many many thanks,
I've disabled the plug-n-play feature in BIOS and everything works fine.
Thanks again gusgoose :)


All times are GMT -5. The time now is 07:07 PM.