LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2008, 07:57 AM   #1
teutontom
LQ Newbie
 
Registered: Jul 2005
Location: Milwaukee, WI
Distribution: Kubuntu, Slackware
Posts: 16

Rep: Reputation: 0
Question 10/100/1000M Lan not found


I have been back and forth through the books, these forums, install guides, etc. etc/rc.d/rc.modules does not contain any reference to lan 10,100,1000. I am using a Abit IP35 Pro motherboard with built in lan. netconfig sets up fine but I can't connect to or ping my router or the internet.
So far I like my new slack install (12.0) but this is really frustrating me. Computer is of no value without internet connection.

I appreciate any help and will be glad to post any logs or system info that are needed.

Thanks,
Tom
 
Old 04-18-2008, 08:01 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Welcome to LQ!

Check out the network configuration section of the Slackbook.
 
Old 04-18-2008, 08:26 AM   #3
teutontom
LQ Newbie
 
Registered: Jul 2005
Location: Milwaukee, WI
Distribution: Kubuntu, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
I have been through the network configuration in slackbook. Somewhat lacking in info on 10/100/1000 lan, Where are these loadable kernel modules? I have no rc.netdevice file which tell me that /sbin/netconfig didn't recognize my interface. rcmodules contains no reference to anything resembling my interface. Do I need additional modules or is my onboard lan simply not supported?
 
Old 04-18-2008, 09:34 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Start with the output of "/sbin/lspci | grep -i ethernet" and Google that motherboard ...
 
Old 04-18-2008, 01:16 PM   #5
teutontom
LQ Newbie
 
Registered: Jul 2005
Location: Milwaukee, WI
Distribution: Kubuntu, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
]/sbin/lspci | grep -i ethernet:
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)

I have Kubuntu 64 Gutsy on another partition. The Ethernet controller was recognized without problems. Google led me back to LQ http://www.linuxquestions.org/hcl/sh...t/3992/cat/all
After reading those posts I am wondering if it is a Kernel issue, Slackware 12 uses 2.6.12. There must be a way to make this work that I am not aware of (I constantly discover I am aware or very little about Linux ). I am open to suggestions and enjoy the learning process. Thanks for the quick replies to my posts.
 
Old 04-18-2008, 01:44 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I think that uses the r8169 module, which is included in the Slackware 12.0 kernel modules.
Are you sure that you've configured the network?
What does "ifconfig -a" show?
 
Old 04-18-2008, 01:46 PM   #7
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
According to this page (http://hardware4linux.info/component/23851/) your ethernet card uses the r8169 module, which is compiled as a module in the default 2.6.21.5-smp kernel that ships with Slackware. Try typing `modprobe r8169` as root and then run `netconfig`, also as root. You should also be using the generic-smp kernel instead of the huge-smp kernel, which *may* make a difference if another module is interfering with it -- though this is probably unlikely. The page linked above also suggests booting with 'acpi=noirq noapic', which would require that you add a line in /etc/lilo.conf (something like append="acpi=noirq noapic" should do the trick), but I'm not sure if that'll work (try modprobeing the r8169 module before trying this).

Good luck.

[edit]Beaten to the punch. Oh well. [/edit]
 
Old 04-18-2008, 02:06 PM   #8
teutontom
LQ Newbie
 
Registered: Jul 2005
Location: Milwaukee, WI
Distribution: Kubuntu, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
ifconfig -a:eth0 Link encap:Ethernet HWaddr 00:50:8D:B3:6F:50
inet addr:192.168.0.233 Bcast:192.168.15.255 Mask:255.255.240.0
UP 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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:21 Base address:0x4000

eth1 Link encap:Ethernet HWaddr 00:50:8D:B3:6F:51
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:22 Base address:0x6000

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:10472 errors:0 dropped:0 overruns:0 frame:0
TX packets:10472 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:451532 (440.9 KiB) TX bytes:451532 (440.9 KiB)


If that module ships with the kernel it is cleverly hidden. It is not listed in /etc/rc.d/rc.modules
 
Old 04-18-2008, 02:12 PM   #9
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by teutontom View Post
ifconfig -a:eth0 Link encap:Ethernet HWaddr 00:50:8D:B3:6F:50
inet addr:192.168.0.233 Bcast:192.168.15.255 Mask:255.255.240.0
UP 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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:21 Base address:0x4000
So there's nothing wrong with the network connection - it's connected, and it appears to have gotten an ip address via dhcp.

Quote:
eth1 Link encap:Ethernet HWaddr 00:50:8D:B3:6F:51
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:22 Base address:0x6000
This is the second ethernet card listed in lspci info from above.

Quote:
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:10472 errors:0 dropped:0 overruns:0 frame:0
TX packets:10472 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:451532 (440.9 KiB) TX bytes:451532 (440.9 KiB)
This is the loopback interface. It's irrelevant for our purposes right now.

Quote:
If that module ships with the kernel it is cleverly hidden. It is not listed in /etc/rc.d/rc.modules
It's not hidden at all. Do "modinfo r8169" as root and you'll see all sorts of stuff about it, including its location in the filesystem.

More importantly, the module that your network card requires is *already* loaded (regardless of whether it's actually r8169 or not). The fact that you have two interfaces shown above proves it.

Re rc.modules, there's no reason for it to be listed there -- the module is loaded automatically by the kernel and udev.

Now, what is the *real* problem here?
 
Old 04-18-2008, 02:24 PM   #10
teutontom
LQ Newbie
 
Registered: Jul 2005
Location: Milwaukee, WI
Distribution: Kubuntu, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
The problem is not my network since I am sending this from my Mac connected to the same router. I did modinfo r8169 and received no response. Ping gives me 100% dropped packets. Something is obviously not right and I would very much like to find out what.
 
Old 04-18-2008, 02:39 PM   #11
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by teutontom View Post
The problem is not my network since I am sending this from my Mac connected to the same router. I did modinfo r8169 and received no response. Ping gives me 100% dropped packets. Something is obviously not right and I would very much like to find out what.
How did you configure the network on the Slackware box?

It really doesn't help in troubleshooting, but did you run the modinfo command as root?
 
Old 04-18-2008, 02:48 PM   #12
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
The fact that you have a network device up (despite it not working) means that the module was found. `locate r8169.ko` does find the module (in the expected directory) and an `lsmod | grep r8169` after running `modprobe r8169` should also return something, indicating that the module IS present and WAS loaded. Trust me -- it's there -- UNLESS you are not using a default Slackware kernel (2.6.21.5-smp, preferably the generic-smp kernel). As for dropped packets, are you sure your network is setup correctly (ie when you ran `netconfig`)? Are you using DHCP or did you setup static IPs? If you ping 64.233.187.99 (instead of google.com), do you then get a response? (If so it's probably your nameserver that's messed up -- check /etc/resolv.conf).

Since you are not receiving anything from `modinfo r8169`, it suggests that something is wrong with your kernel setup. Did you change anything? What kernel are you using? What is the output of `uname -a`? Post your /etc/lilo.conf. Did you make sure to actually run `lilo` after editing lilo.conf? Is /etc/lilo.conf pointing to a symlink instead of an actual kernel image? If so, where does that symlink point to? etc., etc., etc.
 
Old 04-18-2008, 06:17 PM   #13
teutontom
LQ Newbie
 
Registered: Jul 2005
Location: Milwaukee, WI
Distribution: Kubuntu, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
I will try and answer the questions I can, I don't have access to the Slack box again until Sunday Evening, working this weekend.
First, thanks again for the timely responses and help. This is why I love Linux and the Linux community.
 
Old 04-18-2008, 06:21 PM   #14
teutontom
LQ Newbie
 
Registered: Jul 2005
Location: Milwaukee, WI
Distribution: Kubuntu, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rworkman View Post
How did you configure the network on the Slackware box?

It really doesn't help in troubleshooting, but did you run the modinfo command as root?
I first tried to configure the network with a static IP as that is how my router is set. I did that as part of the install. That didn't work so I used netconfig and changed the settings to DHCP. I then got the correct IP and netmask but no connection to the internet.

I ran modinfo as root.
 
Old 04-18-2008, 06:30 PM   #15
teutontom
LQ Newbie
 
Registered: Jul 2005
Location: Milwaukee, WI
Distribution: Kubuntu, Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by T3slider View Post
The fact that you have a network device up (despite it not working) means that the module was found. `locate r8169.ko` does find the module (in the expected directory) and an `lsmod | grep r8169` after running `modprobe r8169` should also return something, indicating that the module IS present and WAS loaded. Trust me -- it's there -- UNLESS you are not using a default Slackware kernel (2.6.21.5-smp, preferably the generic-smp kernel). As for dropped packets, are you sure your network is setup correctly (ie when you ran `netconfig`)? Are you using DHCP or did you setup static IPs? If you ping 64.233.187.99 (instead of google.com), do you then get a response? (If so it's probably your nameserver that's messed up -- check /etc/resolv.conf).

Since you are not receiving anything from `modinfo r8169`, it suggests that something is wrong with your kernel setup. Did you change anything? What kernel are you using? What is the output of `uname -a`? Post your /etc/lilo.conf. Did you make sure to actually run `lilo` after editing lilo.conf? Is /etc/lilo.conf pointing to a symlink instead of an actual kernel image? If so, where does that symlink point to? etc., etc., etc.
As I said in the above post I don't have access to the slackware box right now so I can only answer some of your questions.

I downloaded Slackware 12.0 off one of the mirrors linked from the slackware site. I used the DVD iso and selected hugesmp.s during install as that seemed appropriate for a multicore processor.
I initially set up static IP but ran netconfig and changed the settings to DHCP.

I have booted from lilo several times since install and it points to the kernel image.

Sorry that is all the info I can give for now.
 
  


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
customize xorg.conf for VIA Epia 1000M - Composite Out cjtinant Linux - Software 0 03-15-2008 11:53 AM
3Com 10/100 Lan CardBus jimnunn Linux - Hardware 1 10-15-2007 07:42 PM
installing a linksys 10/100 lan card alex905 Linux - Networking 6 01-21-2007 12:52 PM
I've got a linksys LNE100TX - EtherFast® 10/100 LAN Card ajcmmills Linux - Networking 26 12-31-2001 02:56 PM
Intel Pro/100 PCMCIA LAN+Modem ColdCrow Linux - Software 2 06-20-2001 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:41 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