LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-29-2005, 10:03 PM   #1
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Rep: Reputation: 15
how to install hardware devices


hi all
i'm on slackware 10.1 and i'm trying to install my hardware device drivers
i've searched around a lot of manuals , 5 days in front of pc and got nothing
all i got are : modules = drivers , i've to load modules , compile them , get source of kernal , get source of modules , ...........etc
what are these things ?
i want to know how to compile module and link it to kernal
really i fed up rebooting my system to log into windows to search internet and thereafter reboot again to log into slack to try some solutions
please anyone help me to get my hardware installed to browse internet and start learning this slack . i've (no sound, no high resolution, no nic, nomodem)
 
Old 11-29-2005, 10:37 PM   #2
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Quote:
all i got are : modules = drivers , i've to load modules , compile them , get source of kernal , get source of modules , ...........etc
what are these things ?
Your right, modules are drivers to get hardware working (simply put).
The modules come from the kernel (remember, I'm keep'in it simple here for you )
And you compile your kernel (sometimes, if you want to).


Are you running the stock slack 2.4.xx kernel?
(type uname -r to find out)

Do you have 'hotplug' starting at boot?
(pkgtool -> setup -> [X] infront of 'hotplug' ?? The stock slack kernel has a LOT of modules,
and hotplug can load (most if not all) of them for you ).

Once you can get online at least, then post your " lspci " output - that would help some too. (I'd think its unreasonable to ask you to write down, and then retype all of that)

<edited> By the way, how do you get on line, your modem or NIC? </edited>
-tw

Last edited by tw001_tw; 11-29-2005 at 10:40 PM.
 
Old 11-29-2005, 11:20 PM   #3
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
yes i'm runing stock slack kernal version 2.4.29

and have hotplug starting at boot

lspci
Quote:
00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64Pro] (rev 15)
02:01.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
02:01.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
02:02.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
02:03.0 Serial controller: Rockwell International HCF 56k Data/Fax Modem (rev 01)
02:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10
i get online by nic
 
Old 11-29-2005, 11:37 PM   #4
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Quote:
no sound, no high resolution, no nic, nomodem
no nic - done

no modem - http://www.linuxant.com/drivers/ ???
I don't know - havn't used a modem in years... sorry. You need it with your nic?

no high res - you ran xorgconfig ? that should get you atleast 1024x768 running on vesa drviers...
or use the generic xorg-provided 'nv' driver ? did you try the proper nvidia drivers?

no sound - did you run alsaconf ? and?

tell what you tried & the results
-tw
 
Old 11-30-2005, 12:26 AM   #5
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
alsaconf has configured my sound card
and it seems you are right about vga card i'm on 1024*768 but i think i can get more resolution
cause vga card support more than rez
at the end what about nic it's very important one
 
Old 11-30-2005, 01:06 AM   #6
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
You'll need the (proprietary) drivers from nVidia to get full 3D accelleration and higher res. Be aware that some older cards are not supported by the latest release of the driver. Search back throught the archives (read the release notes for a list of supported cards).

Installation is (in my limited experience of 3 machines w/ nvidia) relatively painless. Run the installation script from nVidia, the run xorgsetup and (re)start X.

http://www.nvidia.com/object/unix.html

For the NIC try:

Code:
root@box: modprobe 8139too
      # for the Realtek NIC

root@box: modprobe via-rhine
      # for the VIA NIC
Note: Those are the names of the kernel modules for the 2.6 kernel - they may be different for 2.4 (but unlikely).

You can verify what modules are loaded by doing (as root) lsmod.

Hope this helps

Cheers,

Owen
 
Old 11-30-2005, 01:16 AM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
The NICs you've are very common, so I'm pretty sure they're detected by default, check that with: ifconfig -a
if you see ethX, then they're detected, you just need to tell us how you connect to internet to tell you the next steps.
 
Old 11-30-2005, 02:08 AM   #8
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
i tried modprobe 8139 and nothing
when typed lsmod i've seen 8139too 0 value (i think it's not detected) and all i can see with different value is sound card only

however ifconfig gave me eth0, eth1 with 0 values
i can't ping my default gateway , i can ping only the local loopback

regarding to how do i connect to internet ?
i connect via another pc and the both pcs are connected to switch
but i think it's not our issue
 
Old 11-30-2005, 02:12 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
If you see eth0 and eth1 then both cards are detected, run netconfig and setup the right values. Probably you're connected to a router which DHCP, so configure netconfig with DHCP, when it asks for a DHCP hostname leave it blank. You won't be able to ping until you get a IP address, which you'll get with DHCP.
 
Old 11-30-2005, 03:12 AM   #10
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
that's what happend
#netconfig
#askes for hostname and domain couldn't skip this step
#set dhcp hostname i left it blank
still can't ping
#ifconfig eth0 up
still can't ping
#ifconfig eth1 up
still can't ping
 
Old 11-30-2005, 03:29 AM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
You don't have to skip, assign yourself a hostname and domain (like slack for hostname and myhouse for domain).
Well, you should try to see if you use DHCP or not, do you have another machine to check that? If it's using windows, goto network and check if you get a ip automatically or you've one manually assigned.
 
Old 12-03-2005, 04:12 PM   #12
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
sorry friends i was away from my pcs
i still have the same problem
i've a dhcp and my machine should get its ip address automatically
 
Old 12-03-2005, 04:39 PM   #13
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Quote:
that's what happend
#netconfig
#askes for hostname and domain couldn't skip this step
#set dhcp hostname i left it blank
still can't ping
#ifconfig eth0 up
still can't ping
#ifconfig eth1 up
still can't ping
As gbonvehi said, assign yourself a hostname and domain with 'netconfig'.

Then try typing:
dhcpcd eth0
or
dhcpcd eth1

then check with 'ifconfig'
and see if local IP's are assigned (ex. 192.186.x.xxx ).

-tw

Last edited by tw001_tw; 12-03-2005 at 04:41 PM.
 
Old 12-03-2005, 06:08 PM   #14
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
ooh
thanks tw001_tw it works now but ask you something
what does dhcpcd as i'm still not familiar with man pags
 
Old 12-03-2005, 06:17 PM   #15
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
mandrakelinux, get familiar with them, they don't bite

Quoted from dhcpcd man page:
Quote:
NAME
dhcpcd - DHCP client daemon

SYNOPSIS
dhcpcd [-dknrBCDHNRSTY] [-t <timeout>] [-c <ExecFilePath>] [-h <hostname>]
[-i <vendorClassID>] [-I <clientID>] [-l <leasetime>] [-s [ipaddr]]
[-G [gateway]] [-w <windowsize>] [-L <ConfigDir>] [interface]

DESCRIPTION
dhcpcd is an implementation of the DHCP client specified in RFC2131 (when -r option is
not specified) and RFC1541 (when -r option is specified).

It gets the host information (IP address, netmask, broadcast address, etc.) from a
DHCP server and configures the network interface of the machine on which it is run-
ning. It also tries to renew the lease time according to RFC2131 or RFC1541 (obso-
lete).
 
  


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 new drivers for hardware devices morph00 Linux - Hardware 8 12-23-2005 11:55 PM
Apt-get install on other devices linuxcalvin Debian 1 06-01-2005 03:47 PM
show all hardware devices and drivers explorer Linux - Hardware 2 04-11-2004 03:54 AM
Mounting specific hardware devices to specfic mount points tallguy999 Linux - Newbie 3 11-27-2003 02:07 PM
How do i Install hardware Devices? HAaaaLP cybersun2001 Linux - Hardware 3 05-24-2002 01:48 AM

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

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