LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how to install hardware devices (https://www.linuxquestions.org/questions/slackware-14/how-to-install-hardware-devices-387772/)

mandrakelinux 11-29-2005 10:03 PM

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)

tw001_tw 11-29-2005 10:37 PM

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

mandrakelinux 11-29-2005 11:20 PM

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

tw001_tw 11-29-2005 11:37 PM

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

mandrakelinux 11-30-2005 12:26 AM

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

odevans 11-30-2005 01:06 AM

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

gbonvehi 11-30-2005 01:16 AM

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.

mandrakelinux 11-30-2005 02:08 AM

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

gbonvehi 11-30-2005 02:12 AM

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.

mandrakelinux 11-30-2005 03:12 AM

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

gbonvehi 11-30-2005 03:29 AM

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.

mandrakelinux 12-03-2005 04:12 PM

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

tw001_tw 12-03-2005 04:39 PM

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

mandrakelinux 12-03-2005 06:08 PM

ooh
thanks tw001_tw it works now but ask you something
what does dhcpcd as i'm still not familiar with man pags

gbonvehi 12-03-2005 06:17 PM

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).


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