LAN K.O. on slack 10.2
newbie on slackware, I installed 10.2 on my PC with dual OS, with Win XP. My PC is on a LAN, connected with a eth0 ADSL router. While windows are able to connect with internet, slack are not. I configured LAN card with netconfig as static IP or DHCP without results. Can you help me? thanks from italy.
I enclose some info and netstat -rn, lspci, ifconfig -a.
LAN card> Realtek RTL 8139
Router> Hamlet wireless ADSL broadband router with 4-port switch firewall built-in
root@jake:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] System Controller (rev 13)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] AGP Bridge
00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:04.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:04.4 Non-VGA unclassified device: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0d.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:0d.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:0d.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
01:05.0 VGA compatible controller: Matrox Graphics, Inc. G400/G450 (rev 82)
root@jake:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:4C:69:28:E5
BROADCAST 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
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1248 (1.2 Kb) TX bytes:1248 (1.2 Kb)
- did you reboot the PC after setting the card to DHCP??
- do you have the package dhcpcd installed??
- did you uncomment the line for the module in your /etc/rc.d/rc.modules file??? it should look like:
1) I have installed the package DHCPCD (I have controlled with pkgtool)
2) I rebooted the PC after setting the card to DHCP
3) I decommented now the line indicated, that is "/sbin/modprobe 8139too"
4) "/etc/rc.d/rc.inet1.conf" looks like:
# Config information for eth0:
# Config information for eth1:
# Config information for eth2:
# Config information for eth3:
# Default gateway IP address:
woodsman, wouldn't having to input IP configuration details like that kinda defeat the purpose of DHCP??
gusgoose_it, did you get it to work?? your last post doesn't really say wether you got it working or not... :confused:
I put the IP address on "GATEWAY" and run the script again without result,
it doesnt work
The incredible thing is that before slack I had in the same partition SuSE 10 and it worked
The GATEWAY="" shoud remain empty when you use USE_DHCP="yes".
gusgoose_it, can you paste the results of "lsmod" command? As win32sux pointed out, the 8139too is most probably the correct driver, and you might have the wrong one (8139cp) loaded by hotplug. Or vice versa!
You should try out both drivers (8139too and 8139cp). Like with these commands in case 8139cp is loaded
alien bob, I put empty GATEWAY=**, as you wrote, now I post the result of "lsmod". I tried out both drivers (8139too and 8139cp), without results
you don't have iptables filtering out the DHCP packets, right??
what do your main chains look like??
win32sux, thanks for your patience
okay, we can rule-out a module problem... your card is up and responding... so the focus now needs to go to the dhcpcd daemon itself... when the machine boots, are you able to see the dhcpcd try to get an IP?? is there any record in your logs of the dhcpcd trying to run?? reboot and then post the output of this (you'll need to be root):
why not try to run dhcpcd manually?
#ifconfig eth0 up
then look at the results from:
to see if you have an IP address. If that gets it up and running, then dhcpcd isn't being run at the proper time.
that's a good idea. you'll be able to see any error message that dhcpcd spits out and stuff, if any. i do have a feeling that, like you say, it's not getting run at startup time cuz if it were and it couldn't find a dhcp server, there would be this huge pause for like almost a minute during startup.
to win32sux: when the machine boots, I see
okay so dhcpcd is trying to reach the DHCP server but it isn't getting a reply for some reason...
i've heard of some DHCP servers that require the host to specify a hostname when querying the dhcp server... check in your windoze install to see if it's doing that... if your windoze is indeed specifying a hostname, then insert that hostname into your /etc/rc.d/rc.inet1.conf file in the DHCP_HOSTNAME="" part and reboot or re-run the network scripts...
also, if you can, see if it works if you boot a linux live cd, such as DSL, for example...
|All times are GMT -5. The time now is 03:52 PM.|