Mandrake 9.2 and Linksys wireless-B USB v2.8 adapter don't like eachother
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in 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.
Re: Mandrake 9.2 and Linksys wireless-B USB v2.8 adapter don't like eachother
Quote:
Originally posted by jc80 The main computer I'm trying to connect to has the cable connection and uses a Motorola Wireless Surfboard Gateway.
...
3. Add:
iwconfig wlan0 mode managed rate 11m essid linksys
dhcpcd -d wlan0
To the end of /etc/rd.d/rd.local
...
when running iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
I don't have the card, so I don't know about the drivers, but I can see problems here. The first thing is that if when you run iwconfig it gives you status on eth0, then the driver is probably trying to put the card on eth0 and NOT wlan0. That's fine, some drivers like that better, just replace any command that had 'wlan0' with 'eth0'. The other thing is that I assume that if you're trying to connect to another computer that you don't have an access point? - i.e. you're trying to connect directly to the other computer? This means that those two lines that you added to /etc/rd.d/rd.local are wrong. They should be:
And get rid of that dhcpcd line completely (that's only for dynamically assigned internal IP addresses).So try that, especially the replacing wlan0 with eth0. Repost what happens when you run 'iwconfig' after you do that. Note also that you can run the lines that you put in /etc/rd.d/rd.local from the command line - it doesn't have to be in a script - at least, don't worry about putting it there until after you get it working somehow. And, you don't need to reboot if you run that from the command line.
Last edited by smith847be; 03-07-2004 at 01:28 PM.
I tried it and this is what I got
iwconfig eth0 mode Ad-hoc rate 11m essid [myessid]
Error for wireless request "Set Mode" (8B06) :
SET failed on device eth0 ; Invalid argument.
I also tried each parameter individually and got the same error.
Just to clarify the network topology I'm using, the MAIN computer in the house has the cable connetion. And yes I am trying to connect to the internet through that computer via my Linksys wireless-B USB network adapter v2.8.
Maybe it would help if I included the Windows XP configuration I have (that actually works)
I'm using v2.8 with latest berlios tarball on my Redhat linux.
wlan0 is default interface name that berlios driver uses so if you don't have another device named eth0 or not using it I would rename
/etc/sysconfig/network-scripts/ifcfg-eth0 to ifcfg-wlan0
then edit it for your wireless card.
look at ifup-wireless script in the same directory for example of wireless parameters that can be set.
Side note: I was not able to have berlios driver work without reconfiguring and recompiling my kernel to add support for Wireless (non-hamradio).
I have reconfigured my kernel. I did this using make menuconfig and I just enabled everything wireless(non-hamradio) and everything else I thought might help. But now I'm getting an error when I try to make bzImage. I read that his could be because I don't have the latest gcc compiler? Any thoughts? I'll get the latest version and try that. Also I using Kernel-source-2.4.22-10mdk.i586.rpm, which 2.4.22-10mdk is the kernel that I'm running.
Could I get the latest kernel, would that work? Would there be any advantage to doing that?
Also, you can see from my previous message that my windows configuration uses an Ethernet adapter Network Bridge.
Do I have to specify this in my Linux configuration? How would I do that?
I remember getting warning/errors on bzimage about not being to fit on a floppy (that should be ok). The main thing is that vmlinuz, System.map, and initrd are created under /boot from your make install on the kernel.
I don't use Ethernet adapter network bridge for my v2.8 on Windows XP Home. It is not required for TCP/IP communications to work.
I've been trying to get this to work for a week now. It doesn't help that this is my first Linux installation, kernel reconfiguration and kernel recompile. All in one. It get's sort of confusing.
Okay so I've reconfigured my kernel to add wireless support. I'm not sure if I did it right or not. I looked at some tutorials on the net and it seems that compiling for different kernels requires a different set of operations. Can anyone suggest an excellent tutorial for compiling a kernel ? I'm using 2.4.22-10mdk.i586.rpm to compile. I did a urpmi to extract it. then to compile I basically did a:
make mrproper
make menuconfig
make dep
make bzImage
make modules
make modules_install
How are vmlinuz, System.map, and initrd are created under /boot ? Is it automatic? I removed the old ones and made links, for example:
from lsmod you should also have usbdfu which is the module that does the firmware loading.
I would get the latest cvs tarball again from the berlios site and try that again.
both wlan0 and eth0 have to be on different networks. also they each need GATEWAY defined which is IP address of router or gateway on their local network. This is necessary for any communications to occur, else the routing will be confused.
I reinstalled the driver. Then I found usbdfu and did a modprob usbdfu. Then when I ran lsmod, I found it, but it said (unsused). then I run dmesg and it still says the same error:
downloading external firmware failed.
When you say eth0 and wlan0 have to be on different networks, do you mean that I should set 2 different default networks ? You can see from my previous posts in this thread that wlan0 is on network 192.168.0.0. Should I set my eth0 to something like 172.16.0.0 ? or 10.0.0.0 ? And the gateway in my network has an ip address of 192.168.0.10, so I should set that as the gateway on eth0 and wlan0 ? I'm obviously a little more than confused about how to set up these parameters. Thanks for the help.
Originally posted by jc80
When you say eth0 and wlan0 have to be on different networks, do you mean that I should set 2 different default networks ?
Yes, if you just have one network, then you can just use one of the
interfaces at a time. You can do this by renaming the ifcfg-<interface name>
file to unused-ifcfg-<interface name> or some other name not starting with ifcfg-
The ifcfg- files should be under /etc/sysconfig/network-scripts directory.
you will set the gateway for the interface on the 192.168.0 network to
192.168.0.10
for the driver should be able to just do a
modprobe -v at76c505-rfmd2958
for the kernel settings do
cat /usr/src/linux-2.4.22-10mdk/.config | grep CONFIG_NET
and make sure CONFIG_NET_WIRELESS and CONFIG_NET_RADIO are
set to Y
Quote:
Originally posted by jc80
You can see from my previous posts in this thread that wlan0 is on network 192.168.0.0. Should I set my eth0 to something like 172.16.0.0 ? or 10.0.0.0 ? And the gateway in my network has an ip address of 192.168.0.10, so I should set that as the gateway on eth0 and wlan0 ? I'm obviously a little more than confused about how to set up these parameters. Thanks for the help.
I got very tired of trying Mandrake 9.2, so I switched to Fedora Core 1 and installed the driver. And instantly it recognized my wireless adapter: at76c503a. it also configured everything for me. And the light on the adapter is BLINKING! But...of course it's not that simple. I can't connect to the internet. When I'm on windows, DHCP is enabled and it works fine. But when I try that with Fedora, the adapter will not activate. these are my windows settings for the wireless device:
But it won't activate. So I try to configure my settings statically, and the device will activate, but no connection, won't ping the gateway, or the other computer in the network.
Also, in the wireless settings it asks me for a few things I don't understand. i.e. channel, alias.
Also, the configuration tool finds my key automatically, is that right? shouldn't I have to set that? Could that be the problem causing my lack of connection?
Also, I ran ls in the /sbin directory and the normal list of tools, but when I try to run ifconfig or iwconfig it says:
bash: iwconfig: command not found
I believe the main issue here is DHCP. While in windows I get an address assigned by DHCP. But when I try that with the Fedora setup, the wireless adapter will not ACTIVATE.
So I've tried setting my IP address statically and it will ACTIVATE, but will not ping the gateway, other computer on the network or any internet address.
In windows, DNS Server , Default Gateway, and DHCP Server all have the same IP. 192.168.0.1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.