LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2008, 01:54 PM   #1
karrj
LQ Newbie
 
Registered: Apr 2008
Location: Illinois
Distribution: Slackware 12.0
Posts: 8

Rep: Reputation: 0
How Do I install a NIC in Slackware 12?


Hello - I just installed Slackware 12.0 and it went through the process with no errors.

Unfortunately none of the 4 NICs in this server were recognized. There is a PCI Intel Pro 2 port and 2 Broadcom 5721 chips on the motherboard.

I am not sure how to proceed - I checked the Broadcom web site for starters and found a Linux driver, but do not know how to install it.

Any feedback would be appreciated - thanks.

Last edited by karrj; 04-29-2008 at 02:37 PM. Reason: incorrect title
 
Old 04-29-2008, 02:29 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
You have one post to LQ (Welcome!)

So I am assuming you are a "newbie". In which case slack may not be the best choice as, as I understand it (& I have never used it), everything needs to be compiled from source. This has benefits, but can be a PITA.

Maybe better to try one of the "it works out of the box (...mostly)" distros until you are familiar with using the terminal, compiling from source, dependencies, modules, kernel-source, boot options etc.

Look here: http://distrowatch.com/ for popular newbie-friendlier alternatives. [I maintain 6 PCs (family & friends) running Kubuntu 6.06LTS, and I never get calls for help because of a problem with the OS - it's always "user-problems" ]

Otherwise some die-hard "slacker" will no doubt be along to help you (though this would be more likely if you had titled your post "How do I install NICs on Slackware 12.0"

Have fun with linux !
 
Old 04-29-2008, 02:32 PM   #3
karrj
LQ Newbie
 
Registered: Apr 2008
Location: Illinois
Distribution: Slackware 12.0
Posts: 8

Original Poster
Rep: Reputation: 0
How Do I Install a NIC?

Thanks for the response.
 
Old 04-29-2008, 05:01 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

Welcome to LQ & Slackware.

From the cli you can do a 'ifconfig -a' to show the recognized device(s).

If your device(s) show up then it is matter of running 'netconfig' as root or you can setup a static IP first, do as root from cli;

Code:
~#ifconfig -a                      #get recognized devices
~#ifconfig eth0 192.168.0.10       #set to a available IP
~#route add default gw 192.168.0.1 #set to your gateway
~#route -n                         #show the route table
~#ifconfig eth0 up                 #should be up already
~#ping 192.168.0.1                 #ping your gateway
~#ping 208.69.32.130               #google.com IP
~#ping google.com                  #test DNS, if fail then
                                   #check /etc/resolv.conf
You should have your '/etc/resolv.conf' setup with your 'ISP DNS' nameservers.

'Linux Home Networking' is Linux Help for Professionals, Students and Hobbyists. You could also look at the 'Server' section of 'Slackware-Links' .
 
Old 04-29-2008, 05:11 PM   #5
karrj
LQ Newbie
 
Registered: Apr 2008
Location: Illinois
Distribution: Slackware 12.0
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for the repsonse

Thanks for the repsonse - the problem is the NICs did not appear to be detected. I have a dual port PCI Intel Pro and 2 Broadcoms built onto the motherboard. The broadcom chips are labeled with 5721 and I think the tg3 module may be the needed one.

After I installed I issued ifconfig -a and all I received back was the loopback interface.

So the fun begins....

How do I get the OS to incorporate the NICs. I am reinstalling again to see if I missed anything the first time I ran setup. Just about done.

Any thoughts would be most appreciated - thanks - John
 
Old 04-29-2008, 05:15 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Whoo Hoo!
A Slackware user did come to his rescue
Over to you onebuck I'm getting out of here
 
Old 04-29-2008, 05:19 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

Do a 'lspci -vv' as root to see the device(s). This should lead us to what modules you actually need.
 
Old 04-29-2008, 05:46 PM   #8
karrj
LQ Newbie
 
Registered: Apr 2008
Location: Illinois
Distribution: Slackware 12.0
Posts: 8

Original Poster
Rep: Reputation: 0
Just reinstalled

I just reinstalled. Deleted the partitions and started from scratch. This time I used expert instead of full and went with defaults which looks like it installed everything.

from the expert install option in setup
uname -r yields 2.6.21.5-smp

previously from the full setup option
uname -r yielded 2.6.20-BT-PwnSauce-NOSMP

I did have a version of Backtrack on this machine yesterday, but the first thing I did today was delete the partitions with fdisk and start from scratch.


Issuing 'lspci -vv' list the 4 NICS as the last 4 devices. I configured an IP on one of them and am able to ping a host on the same subnet.

Is there something that expert mode would have done differently than full in the setup?

Thanks - John
 
Old 04-29-2008, 07:52 PM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

Quote:
previously from the full setup option
uname -r yielded 2.6.20-BT-PwnSauce-NOSMP
It looks like the previous install was from BackTrack not Slackware 12.0.

Your new install with a format of your partitions took care of the stale problems.

You should now be able to setup the NICs.
 
Old 04-30-2008, 06:01 AM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
Welcome to LQ and Slackware!

In Slackware the file /etc/rc.d/rc.inet1.conf contains the configuration settings
for network interfaces. The default file has 4 interface names. It is commented so
that you should understand how to use it. Don't forget to add your gateway, also.
For your LAN you'll find /etc/hosts especially useful.

You will also need to put your DNS nameservers in /etc/resolv.conf as onebuck stated.

After the two files are setup, as root issue "/etc/rc.d/rc.inet1 restart" to restart
the service.

The Revised Slackware Book Project would be beneficial reading for you. Chapter 5,
Network Configuration, should answer all these questions. If reading it still leaves
you with unanswered questions, please post back.

It might be interesting to note the release of Slackware-12.1 is imminent.
You will probably want to update, or install it fresh, when it's released.

Also, if you post your Slackware threads in the Slackware forum, you'll get
faster attention from Slackers. Ubuntu tends to soak up the newbs well.

With Slackware it is not necessary to compile everything from source. The
fact is that Slackware is a binary based distro, but unlike Ubuntu, it does
provide all the tools necessary to compile new software if you want/need
to do so. Compiling from source is easily done in Slackware, and there
are lots of binary packages available, also.
 
Old 04-30-2008, 09:30 AM   #11
karrj
LQ Newbie
 
Registered: Apr 2008
Location: Illinois
Distribution: Slackware 12.0
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks

Thanks for all the information. I will start reading the material.

When I downloaded Slackware, there were 6 iso images and it looks like setup only required the first two, can you tell me what the remaining four are for?
 
Old 04-30-2008, 09:52 AM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
From alphageek's torrent page:
Quote:
Slackware 12.0 disc 1 iso Install, part 1 (A/AP/D/E/F/K/L/N/TCL/Y, /isolinux, /kernels)
Slackware 12.0 disc 2 iso Install, part 2 (KDE/T/X/XAP, /extra, /usb-and-pxe-installers)
Slackware 12.0 disc 3 iso Install, part 3 (KDEI, /extra)
Slackware 12.0 disc 4 iso Source, part 1 (source)
Slackware 12.0 disc 5 iso Source, part 2 (Slackware Book, /pasture, source, /testing)
Slackware 12.0 disc 6 iso Source, part 3 (source)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing NIC tbayer Linux - Networking 6 09-14-2004 09:40 PM
Installing NIC rnprod Linux - Hardware 2 11-25-2003 09:43 AM
Installing a second NIC Squiddy Slackware 2 10-31-2003 12:19 AM
Help installing NIC stevenrp Linux - Newbie 5 10-20-2003 10:30 PM
Installing NIC c0c0deuz Linux - Newbie 1 08-24-2001 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration