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.
Success! But I still can't pickup the wifi card though. What do I do now? I checked the first page you sent me to for setting up the card, but I don't know where to resume.
Ok so you got the rt2500 and madwifi installed then right? First thing to do since using a 2.6 kernel and I do not see it in the /etc/modprobe.d/aliases file is to create a file /etc/modprobe.d/wireless with this for the contents.
Code:
## Added by me for wireless netcard
alias ra0 rt2500
Now to create just use nano /etc/modprobe.d/wireless type in the above then write and exit as root. Then try modprobe rt2500 next use dmesg and hopefully at the end of the output you will see some messages about the module loading. Use ifconfig -a to see if there is an unconfigured ra0 interface if all of these then I would say it is time to install the wpasupplicant I am going to do that on my p4 and see what its docs have to say about configuring.
Type in then enter key dmesg you will see a whole bunch of lines scroll by these are the boot mesages that are stored in /var/log/messages when you boot, when inserting a module with modprobe the mesages for that module loading will be at the very end of this.
ET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
pcmcia: Detected deprecated PCMCIA ioctl usage.
pcmcia: This interface will soon be removed from the kernel; please expect break age unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
cs: IO port probe 0x100-0x4ff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 20 (level, low) -> IRQ 209
NVRM: loading NVIDIA Linux x86 Kernel Module 1.0-8774 Tue Aug 1 20:54:08 PDT 2006
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
eth0: no IPv6 routers present
I don't see anything like what you talked about it here.
Yes certainly does look like it gets detected as wifi0 try edit the file /etc/network/interfaces and adding lines like this.
Code:
auto wifi0
iface wifi0 inet dhcp
Then use /etc/init.d/networking restart just to see if it will get a connection you may also want to post the output of the dmesg command so I can see it along with the output of the lsmod command so I can see the modules loaded.
Conrad:/home/conradtheart# /etc/init.d/networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...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
sit0: unknown hardware address type 776
wifi0: unknown hardware address type 801
eth1: unknown hardware address type 24
sit0: unknown hardware address type 776
wifi0: unknown hardware address type 801
eth1: unknown hardware address type 24
Listening on LPF/eth0/00:0d:56:e9:06:d9
Sending on LPF/eth0/00:0d:56:e9:06:d9
Sending on Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.11 -- renewal in 150 seconds.
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
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
wifi0: unknown hardware address type 801
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
wifi0: unknown hardware address type 801
Listening on LPF/wifi0/<null>
Sending on LPF/wifi0/<null>
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database.
Exiting.
Failed to bring up wifi0.
done.
Conrad:/home/conradtheart# /etc/init.d/networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...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
sit0: unknown hardware address type 776
wifi0: unknown hardware address type 801
eth1: unknown hardware address type 24
sit0: unknown hardware address type 776
wifi0: unknown hardware address type 801
eth1: unknown hardware address type 24
Listening on LPF/eth0/00:0d:56:e9:06:d9
Sending on LPF/eth0/00:0d:56:e9:06:d9
Sending on Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.11 -- renewal in 150 seconds.
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
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
wifi0: unknown hardware address type 801
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
wifi0: unknown hardware address type 801
Listening on LPF/wifi0/<null>
Sending on LPF/wifi0/<null>
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wifi0 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database.
Exiting.
Failed to bring up wifi0.
done.
Don't see no mention of the rt2500 there try the modprobe rt2500.
Quote:
I installed wpasupplicant. At the end of the output it said it is disabled.
Yes it needs to be configured to be used with the SSID and passphrase now I'm not positive what exactly those are used/formatted for their use as I have never setup a wireless card before.
Quote:
I added the:
auto wifi0
iface wifi0 inet dhcp
Didn't I have to put some kind of heading above it?
Not really I usually put the ## Added by me for ... just to know that I changed the file and why. Can you post the output of the dmesg command as well so I can see how all this is getting detected.
When Linux starts up there is a few lines that seems like it is trying to do something with wifi0.
dmesg:
Code:
Conrad:/home/conradtheart# dmesg
Yenta: CardBus bridge found at 0000:02:04.0 [1028:015f]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:02:04.0, mfunc 0x00001002, devctl 0x64
Yenta: ISA IRQ mask 0x0cf8, PCI irq 169
Socket status: 30000020
pcmcia: parent PCI bridge I/O window: 0xd000 - 0xefff
cs: IO port probe 0xd000-0xefff: clean.
pcmcia: parent PCI bridge Memory window: 0xf6000000 - 0xfbffffff
pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x31ffffff
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn r)
ath_rate_sample: 1.2 (svn r)
ath_pci: 0.9.4.5 (svn r)
PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 16 (level, low) -> IRQ 169
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.8 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xf6000000, irq=169
Intel 810 + AC97 Audio, version 1.01, 12:06:18 Aug 21 2006
EXT3 FS on hdc5, internal journal
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is on for TX and on for RX.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
pcmcia: Detected deprecated PCMCIA ioctl usage.
pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
cs: IO port probe 0x100-0x4ff: clean.
cs: IO port probe 0x800-0x8ff: clean.
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0xa00-0xaff: clean.
nt
Ok that looks good I don't think you need the rt2500 at all that looks like it says it is an atheros card for the wifi and it has loaded the module (ath_hal) for it according to this page I found on the Mephis Lovers forum but I'm not positive what the commands are doing there. Can you show me output of the iwconfig command? The output of the lspci would be nice to see because it looks like you have the same (wifi0: Atheros 5212) card as the example script post that is on that forum.
I forgot to mention this detail. My laptop as an internal wifi card too, but I want to use the PCI one. The one I want to use is a Belkin Wireless G Notebook Card.
I forgot to mention this detail. My laptop as an internal wifi card too, but I want to use the PCI one. The one I want to use is a Belkin Wireless G Notebook Card.
Oh yeah make it complicated . For the missing iwconfig apt-get install wireless-tools=27+28pre13-0bpo1 just to have it match where we got the other modules from. Now I'm still thinking that the Belkin may be the one that it is finding because their it is saying Broadcom Corporation for both a hardwired and wireless chipset for network cards I think it unlikely that they would use entirely different chipset for on-board than wireless and you somehow picked a Broadcom one for the Belkin. Ok try this in the /etc/network/interfaces file as I re-read that page I referred too and think this should work.
Code:
## Added by me for wireless netcard
auto wifi0
iface wifi0 inet dhcp
pre-up iwconfig wifi0 essid "?????????"
pre-up iwconfig wifi0 key XXXXXXXXXXXX
Now I'm thinking that you know exactly what the essid (name of router in configuration setup??) is supposed to be for your wireless router and whether you need a wep key to connect too because I have never configured wireless before, after making these changes use the restart command for the networking I showed above.
Looks like from looking in the configuration of my router a D-Link DI-524 in the Status page wireless section I could use settings like this if I am right with my example above.
Code:
## Added by me for wireless netcard
auto wifi0
iface wifi0 inet dhcp
pre-up iwconfig wifi0 essid "default"
As the encryption is disabled or like this if I need to set the channel.
Code:
## Added by me for wireless netcard
auto wifi0
iface wifi0 inet dhcp
pre-up iwconfig wifi0 essid "default"
pre-up iwconfig wifi0 channel 6
In short you should be able to get these settings in your router configuration as I have just discovered not that it matters to me as I have it disabled with no antenna attached.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.