LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Need advice about complex networking issue.... (https://www.linuxquestions.org/questions/slackware-14/need-advice-about-complex-networking-issue-948463/)

barnac1e 06-04-2012 10:53 AM

Need advice about complex networking issue....
 
Hi, let me begin by saying I am not a newbie nor an incompetent Linux user, but time after time Slackware is causing me frustration with its networking. (i.e. I have never had problems with Gentoo nor Arch concerning getting networking going).

Now, it appears that the current huge.s kernel in Slackware64 does not support my Ethernet driver at all. And I've already confirmed that by going by the Slackware wiki and the Slackbook's guidance. And of course, Wifi driver is found okay but because of the complexities getting that up and running, it's too much trouble frankly. So I need somehow to get the driver installed for my ethernet. Okay, it is an Attansic Ethernet, and the current Linux driver found for it is "atl1c" except its just not found in Slackware. So I propose how do I add this driver into my current Slackware kernel, and without networking to assist at that?

Or my other option is installing a completely different and newer kernel somehow, because the distro "Slackel" is the only Slackware derivative that has a 3.2 version of the huge.s and it does support the Ethernet driver, so I'm scratching my head.

I'm just going to be very disappointed if I can't use Slackware at all because of this if that is what it comes down too, although I have such a great interest in doing so.

Can anyone give any helpful ideas?

I could keep using Slackel but somehow I do not feel as though I've accomplished anything as its not pure Slackware per-Se.

damgar 06-04-2012 11:13 AM

Slackware -current is using this kernel
Code:

me@my_machine:~$ uname -r
3.2.13-smp

That may or may not be a good solution for you. There is a good chance you'll have problems with some slackbuilds from slackbuilds.org running current. You could also try compiling the 3.2 kernel in 13.37. Maybe just grab the .config file from current and build it on your machine as it stands.

AlienBOB has instructions here for rebuilding a kernel.

barnac1e 06-04-2012 11:22 AM

Right, that's the one that Slackel has. I will give Alien Bob's article a look. I will leave this as unsolved in the meantime should someone else have any other ideas. Thanks.

barnac1e 06-04-2012 11:26 AM

One other thing, but to build a kernel from source, do I just download the kernel and then put it on a USB to transfer it to Slackware?

barnac1e 06-04-2012 11:32 AM

Actually, even better would be a version of Slackware-current as an iso for download. Does that exist?

damgar 06-04-2012 11:32 AM

You'll need to get the source and the .config from a slackware mirror. This is my favorite Those are the two 64 kernels from -current. To stay with that exact version you can use the source from the mirror or you can get the 3.2.18 source from kernel.org.

damgar 06-04-2012 11:38 AM

Quote:

Originally Posted by barnac1e (Post 4695261)
Actually, even better would be a version of Slackware-current as an iso for download. Does that exist?

The easiest way I know to get the iso for current is to use Alien Bob's mirror script If you only have one machine that doesn't have a working network connection that might be difficult. Slackware-current, while generally stable isn't always the simplest to play with, especially if you are planning to use slackbuilds to add programs, which is the most common way to add software in Slackware.

barnac1e 06-04-2012 11:52 AM

Okay. It's the best shot for me I think. I've decided to just download and compile an installable DVD from Slackware-current altogether.

http://www.linuxquestions.org/questi...vd-iso-948472/

Thanks.

hf2046 06-04-2012 11:54 AM

Quote:

Originally Posted by barnac1e (Post 4695258)
One other thing, but to build a kernel from source, do I just download the kernel and then put it on a USB to transfer it to Slackware?

One day, you might need to build a more recent kernel, even if using -current. When that time comes, keep this link handy:

Linux Kernel in a Nutshell

barnac1e 06-04-2012 11:55 AM

Quote:

Originally Posted by barnac1e (Post 4695231)
Now, it appears that the current huge.s kernel in Slackware64 does not support my Ethernet driver at all.


Oh, regarding my original post, when I said "current" I was referring to the current stable kernel, not the current current one.

TobiSGD 06-04-2012 12:18 PM

Slackware 13.37 and Slackware -current come with the atl1c drivers by default, so that can't be your problem, as long as your hardware isn't to new for the 2.6.37.6 in Slackware 13.37. Which hardware do you actually use?

Also, using wireless is as simple as installing wicd from /extra, -current even comes with a network-manager installed by default.

barnac1e 06-04-2012 12:31 PM

As for my hardware, I am running an Intel i5 processor, sandy-bridge chipset, on an Asus laptop. 6 GB memory. What other hardware would you need to know about. This laptop is pretty new, as I bought it in January of this year.

Concerning Wicd, I almost tried that but the way it sounded according to the Slack Book was that you had to download it first (via ethernet) so I didn't even go that far.

barnac1e 06-04-2012 12:33 PM

I do believe my hardware is too new for the 2.6.37 kernel as not only did ifconfig -a not register eth0 but also specifiying eth0 192.168.20.10 returned "eth0 device not found" error.

TobiSGD 06-04-2012 12:39 PM

Quote:

Originally Posted by barnac1e (Post 4695320)
As for my hardware, I am running an Intel i5 processor, sandy-bridge chipset, on an Asus laptop. 6 GB memory. What other hardware would you need to know about.

Seriously? You have problems with your network hardware, so don't you think it would be a good idea to let us know which network hardware you use?

barnac1e 06-04-2012 12:40 PM

I did tell you what network hardware it is. See my first post!

TobiSGD 06-04-2012 12:56 PM

You told us a brand, not the specific hardware. This is basically like going to a car forum and asking how to repair your BMW without giving the information which BMW you have. A simple
Code:

lspci
will show up the hardware, including which Ethernet device you exactly are using.

barnac1e 06-04-2012 01:06 PM

root[kevin]# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 USB Controller: Device 1b21:1042
04:00.0 Ethernet controller: Atheros Communications Device 1083 (rev c0)

barnac1e 06-04-2012 01:08 PM

Oh and by the way, Attansic was bought by Atheros which is why it shows Atheros, but in essence, it is Attansic 1083. It needs to the atl1c driver

TobiSGD 06-04-2012 01:22 PM

OK, this device is not supported by the standard 2.6.37.6 from 13.37, it is supported in -current and should also work with the 2.6.38 from /testing.

barnac1e 06-04-2012 01:26 PM

Thanks then. I knew I was not crazy. Anyhow I'm doing the download of Alien's auto script for current so assuming it completes and burns and installs okay all will be good. Thanks


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