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

Notices


Reply
  Search this Thread
Old 06-09-2013, 08:10 AM   #1
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Silver City, NM
Distribution: Linux Mint Debian Edition
Posts: 107

Rep: Reputation: 9
I Have Slacked – Almost


I have a i3-2220 in a Asus P8H77-V mother board, with 8 Gb of RAM, and a 40 Gb intel SSD.

I have loaded 14.0x86_64. I also have the book, Slackware Essentials, which has been a big help.

It boots up, I sign in as user then root, KDE comes up at the root command kdm, it works well. But I can not get the system to find the LAN, and then make the connection to the Internet.

I have not been able to make use of chapter 5 – Network Configuration.

I would like someone that could help. My understand of the command line seem to be inadequate.

Thanks;

Tom
on the wet coast, in the sunshine:
 
Old 06-09-2013, 08:16 AM   #2
Sigg3.net
Member
 
Registered: Mar 2008
Location: Oslo, Norway
Distribution: Slackware 14.1 64-bit, Ubuntu 15.10, Fedora 17, Ubuntu 12 LTS and Ubuntu server 10.04
Posts: 173

Rep: Reputation: 28
find ethernet devices:
$ ifconfig -a

wake up the LAN (for example eth0)
$ su
# ifup eth0
# dhclient eth0 # may be unnecessary after ifup
# ping google.com
 
Old 06-09-2013, 08:27 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Boot your system, login as root, run 'netconfig'.

Quote:
It boots up, I sign in as user then root, KDE comes up at the root command kdm, it works well.
If you are booting to runlevel 3 (the default in a fresh install), then you are best to start your GUI with 'startx'. You can select your choice of GUI prior to running startx with 'xwmconfig'

Have you seen this? http://docs.slackware.com/
and the configuration guide? http://docs.slackware.com/slackware:beginners_guide
 
Old 06-09-2013, 09:26 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Look at these links specifically;
Quote:
Slackware Doc Project
  • Plus look at the links in my signature.

Last edited by onebuck; 06-09-2013 at 09:27 AM. Reason: typo
 
Old 06-09-2013, 09:24 PM   #5
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Silver City, NM
Distribution: Linux Mint Debian Edition
Posts: 107

Original Poster
Rep: Reputation: 9
Thanks for the replies:

I did the following:

# netconfig

Filled in the blanks, chose DHCP, and added my centurylink user name.

# /etc/rc.d/rc.inet1 eth0_start

No comment and no smoke.

# ifconfig -a

lo: flags+73<UP, LOOPBACK, RUNNING> mtu 16436

inet 127.0.0.1 netmask 255000
inet6 ::1 Prefixlen 128 scopeid 0x10<host>
Loop txqueue 0 (local loopback)
Rx Packets 0 bytes (0 .0.B)
Rx errors 0 dropped 0 overruns 0
Tx packets 0 bytes 0 (0.0.B)
Tx errors 0dropped 0 overruns 0 carrier 0 collisions 0
Then:

# ifup eth0
command not found

# dhclient eth0
SIOCSIFADDR: no such device.

So what does this tell us?

Tom McLean
on the wet coast;
with a beautiful evening
 
Old 06-09-2013, 10:20 PM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Quote:
# /etc/rc.d/rc.inet1 eth0_start
In Slackware, use '/etc/rc.d/rc.inet1 restart'.
Quote:
# ifconfig -a
The output does not show your network card as being present.
What is the output of '/sbin/lspci'?

Last edited by allend; 06-09-2013 at 10:23 PM.
 
Old 06-09-2013, 10:55 PM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Just to answer my own question, I reckon that the output of lspci will show an Atheros AR8161 ethernet controller. As I understand it, that device is not officially supported in the Linux kernel.
You will need to download and build the alx kernel module.
e.g. http://www.joshzam.com/2013/04/ather...oller-drivers/
https://github.com/mcgrof/alx/issues/2
http://forum.manjaro.org/index.php?topic=3646.0
http://forums.linuxmint.com/viewtopi...f=150&t=126355
 
Old 06-11-2013, 07:49 AM   #8
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Silver City, NM
Distribution: Linux Mint Debian Edition
Posts: 107

Original Poster
Rep: Reputation: 9
Allend:

# /sbin/lspci
Athens Communication Inc. Device 1091 (Rev 08)

I have tried several other things suggested by the refeences given and no change.

Does this mean I have to build a kernel?

How do I do a new kernel or set of drivers with no Internet connection?

Tom McLean
On the Wet Coast,
Finally, with rain
 
Old 06-11-2013, 11:37 AM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Quote:
# /sbin/lspci
Athens Communication Inc. Device 1091 (Rev 08)
I would have expected something like this
Quote:
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8161 Gigabit Ethernet [1969:1091] (rev 08)
Making allowance for the likelihood that you have manually transferred the information, it does seem likely that you need the alx kernel module.
Summarising from the links I gave and transferring to the Slackware way of doing things.
1. From https://www.kernel.org/pub/linux/ker...ts/2013/03/28/ download the file compat-drivers-2013-03-28-5-u.tar.xz (This can be done from any computer with internet access, such as the one you last posted from).
2. Transfer the file to your Slackware install e.g. use a USB key
3. Extract the file using 'tar xvf compat-drivers-2013-03-28-5-u.tar.xz'
4. Get into the directory that is created. 'cd compat-drivers-2013-03-28-5-u'
5. Run './scripts/driver-select alx'
6. Run 'make'
7. As root, create a directory for the module in the /lib/modules tree. 'mkdir /lib/modules/$(uname -r)/kernel/drivers/net/ethernet/atheros/alx/'
8. As root, copy the kernel module into the /lib/modules tree. 'cp ./drivers/net/ethernet/atheros/alx/alx.ko /lib/modules/$(uname -r)/kernel/drivers/net/ethernet/atheros/alx/'
9. As root, update the module dependencies with '/sbin/depmod -a'
10. As root, test with 'modprobe -v alx'

I have tested up to step 6. If all else fails, fit a supported network card in your PC

Last edited by allend; 06-12-2013 at 07:57 AM. Reason: Fixed typo in 9. depmode->depmod
 
1 members found this post helpful.
Old 06-11-2013, 07:22 PM   #10
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Silver City, NM
Distribution: Linux Mint Debian Edition
Posts: 107

Original Poster
Rep: Reputation: 9
Allend:

Thanks

I believe that you are correct, I did manualy transfer the device ID and probably left off the intro. I will check that and see what I can get done on the rest. This amy take a day or two.

Tom McLean
On the Wet Coast,
again, with sunshine
 
Old 07-09-2013, 01:14 PM   #11
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Silver City, NM
Distribution: Linux Mint Debian Edition
Posts: 107

Original Poster
Rep: Reputation: 9
Sorry for the delay. Too many things going on in my life.

Allend:
The full line from; /sbin/lspci is:
03:00.0 Ethernet Controller: Atheros Communications Inc. Device 1091 (Rev 08)


All:
I am guessing that the model number does not change things any. I still need the alx drivers.

I tried, but only got part way.

I down loaded the file: compat-drivers-2013-03-5-u.tar.xz and copied it to a CD.

The CD is loaded into the slack computer and I can find the file both in terminal mode and with KDE.

In KDE, I can also find the alx file. However, there is no indication that tar xvf works. I also do not get anything that makes sense to me from KDE, and therefore am not sure that the file has been compiled. Either the whole file or the alx folder. In the KDE help system I found information on how to make a file. But, do not know what to do with the 3 lines of code.


KDE is brand new to me and the command line only a little better.

I have the driver file on a CD and on my desktop in Ubuntu. What to do now?

Thanks for your help and patience.

Tom McLean
On the Wet Coast
In the full sun.
 
Old 07-09-2013, 07:17 PM   #12
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Copy the file compat-drivers-2013-03-5-u.tar.xz from the CD to your Slackware system using the Dolphin file manager.
Then use 'Shift-F4' to open a Konsole terminal window. Proceed from step 3 in post #9
 
Old 07-09-2013, 08:52 PM   #13
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Silver City, NM
Distribution: Linux Mint Debian Edition
Posts: 107

Original Poster
Rep: Reputation: 9
Thanks Allend;

I think that I managed to get it un-tarred (extracted). I extracted a copy to /home/thomas/ and it showed up there. There are 4 atl drivers in the package.

Which One? My system is 1 gigabit. The lspci gives it as device 1091. There are too many applications for the Atheros drivers to find this on either the Atheros or Asus sites. I will assume either ATL1E or ATL1C. Any comments?

I will switch computers and try your suggestion.

Tom McLean
 
Old 07-09-2013, 10:33 PM   #14
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Silver City, NM
Distribution: Linux Mint Debian Edition
Posts: 107

Original Poster
Rep: Reputation: 9
Allend:

I am apparently having trouble with the command line.
mkdir does not seem to work.

I type on the command line:
Bash-4.2# mkdir /lib/modules/-r/kernel/drivers/net/ethernet/atheros/alx/

I get:
Cannot create directory /lib/modules/-r/kernel/drivers/net/ethernet/atheros/alx/ : No such file or directory

What is up?

Thanks;

Tom
 
Old 07-09-2013, 10:53 PM   #15
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
Quote:
type on the command line:
Bash-4.2# mkdir /lib/modules/-r/kernel/drivers/net/ethernet/atheros/alx/
Replace the -r with the output of 'uname -r'. Or type the line exactly as I wrote in post #9, using $(uname -r).

Last edited by allend; 07-09-2013 at 10:55 PM.
 
  


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
[SOLVED] I Slacked it, now what? wifi question. ogbi-web_kenobi Slackware 37 08-18-2012 09:13 PM
Dell XPS M1210 - anyone slacked it yet? spaceballs Slackware 6 09-07-2006 10:49 AM
Preparing to be Slacked - Replace old Linux lel800 Slackware 10 10-21-2004 03:45 PM

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

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

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