Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sometimes I feel like I ask the dumbest questions, but how do I install hardware on Linux? Windows's autodetects it and then I basically just pop in the CD. Say I want to install my Belkin Wireless G Notebook Card or my Lexmark X1270 printer, where do I go?
Sometimes I feel like I ask the dumbest questions, but how do I install hardware on Linux? Windows's autodetects it and then I basically just pop in the CD. Say I want to install my Belkin Wireless G Notebook Card or my Lexmark X1270 printer, where do I go?
Thanks for any help.
According to this page on the www.linuxprinting.org website the printer in not going to work. For the wifi this post here on the site has a HowTo on installing the driver. It is for Fedora so you will need to change different file locations most likely use uname -r to show us the kernel you are running.
Ok then where it tells you to edit the module.conf you would need to edit the file /etc/modutils/aliases and put the alias line in there then run update-modules to have the information entered correctly into the module.conf. If you edit the modules.conf directly in Debian the changes made will be lost next time the update-modules gets run. Where it talks about the ifup ra0 you would most likely need to add a section to the /etc/network/interfaces file so it looked something like this.
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto ra0
iface ra0 inet dhcp
Then use /etc/init.d/networking restart to have the netwroking restarted using the new setting. Now when installing the wpasupplicant use dpkg -L wpasupplicant after having installed to see where Debian put the files needed to be edited. For setting the SSID you will need to read the docs that came with the package as I have never setup a wireless card so am not certain where that should be done. Although it looks like there is a Graphical interface available to do this so the procedure might be the same as described in the HowTo.
Code:
>$ apt-cache search wpa_supplicant
wpagui - GUI for wpa_supplicant
Some other related packages.
Code:
>$ apt-cache search supplicant
kwlan - wpasupplicant frontend for KDE
wpagui - GUI for wpa_supplicant
wpasupplicant - Client support for WPA and WPA2 (IEEE 802.11i)
xsupplicant - 802.1x and 802.11i supplicant (client)
Just did a couple of more searches and it seems you should be able to get most of what you need done using the module-assistant package.
Code:
>$ apt-cache search madwifi
hostapd - user space IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
madwifi-doc - documentation for the Multiband Atheros Driver for WiFi
madwifi-source - source for the Multiband Atheros Driver for WiFi
>$ apt-cache search rt2500
rt2500 - configuration tool for wireless RT2500 network cards
rt2500-source - RT2500 wireless network drivers source
rt2x00-source - RT2x00 wireless network drivers source
Install the packages build-essential and module-assistant then at the command line module-assistant and select the PREPARE option this should get everything needed to compile module for the system. Once done use the SELECT option and go through the list with the up/down arrows and select the madwifi and rt2x00 or rt2500 module (use spacebar when highlighted to select) choose Ok once done selecting. Use the BUILD option now in this next screen to build the modules for your kernel and then the INSTALL option to install the modules you just built. Then you would go through the configuration parts I mentioned above and hopefully your not totally confused at this point as to what you need to do.
Edit: Before building the modules yourself use apt-cache search 2.4.27-2-386 madwifi and rt2500 or rt2x00 to see if there are pre-built modules for you kernel Debian does pre-build a lot of these as packages you can install using the normal tools apt-get, aptitude, dpkg ...
I am trying to follow the stuff on the HowTo page, but it tells me to enable the livna repository and gives a link, but the link does not exist anymore.
I am trying to follow the stuff on the HowTo page, but it tells me to enable the livna repository and gives a link, but the link does not exist anymore.
Most/all of what you need can be gotten from Debian itself the information on that page it is a general guide that shows you the steps involved. Did you use the apt-cache search I suggested above to see if pre-built modules for your kernel exist? If they are available then install them otherwise use the module-assistant method I suggest to build them from source. Once this is done install the module packages, edit the aliases file I mention and run the update-modules then see if the module for the card loads and you get the ra0 interface that can be configured with IP now you would install the wpasupplicant package and try to configure the interface to get an IP.
Okay... I'm going to have to take a step back here. What alias are you talking about what line do I have to put in?
This is my alias file:
Code:
# Aliases to tell insmod/modprobe which modules to use
# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off # Unix
# alias net-pf-2 off # IPv4
# alias net-pf-3 off # Amateur Radio AX.25
# alias net-pf-4 off # IPX
# alias net-pf-5 off # DDP / appletalk
# alias net-pf-6 off # Amateur Radio NET/ROM
# alias net-pf-9 off # X.25
# alias net-pf-10 off # IPv6
# alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off # Acorn Econet
alias net-pf-24 pppoe
alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
You would put it on a line by itself in that file at the bottom of the file then run the update-modules to have the information entered into the /etc/modules.conf file.
Code:
# Aliases to tell insmod/modprobe which modules to use
# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off # Unix
# alias net-pf-2 off # IPv4
# alias net-pf-3 off # Amateur Radio AX.25
# alias net-pf-4 off # IPX
# alias net-pf-5 off # DDP / appletalk
# alias net-pf-6 off # Amateur Radio NET/ROM
# alias net-pf-9 off # X.25
# alias net-pf-10 off # IPv6
# alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off # Acorn Econet
alias net-pf-24 pppoe
alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
## Added by me for wireless net card
alias ra0 rt2500
This is the return I got when running /etc/init.d/networking restart:
C
Code:
onrad:/home/conradtheart# /etc/init.d/networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...Ignoring unknown interface eth0=eth0.
ifup: interface lo already configured
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
ra0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
exiting.
Failed to bring up ra0.
done.
This is after I changed the eth0 in the interfaces file to ra0. I just want to make sure that this output is correct before I proceed.
This is the return I got when running /etc/init.d/networking restart:
C
Code:
onrad:/home/conradtheart# /etc/init.d/networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...Ignoring unknown interface eth0=eth0.
ifup: interface lo already configured
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
ra0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
exiting.
Failed to bring up ra0.
done.
This is after I changed the eth0 in the interfaces file to ra0. I just want to make sure that this output is correct before I proceed.
Oh yeah that is what you should get without the proper module loaded/alias for the module being ra0 its not there so no chance to use it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.