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.
Using SuSE 9, my Linksys WPC11 (that works, and I had running under SuSE 8.1 a few months ago) appears as eth1 instead of wlan0, and won't grab an ip from my router. It does in winXP. eth0 is my onboard nic and it works.
I have the same problem. I am not sure what I did, but after adding an interface through yast and a couple of reboots I now get eth1 to work as my wireless interface. This does not seem correct though.
you can use iwconfig from the command line to view the adapter. if it shows a mac address like 4444:4444:4444:4444 then its not finding your AP.
you can also use iwconfig to set the ssid, and other wireless configs
iwconfig eth1 essid abcssid key s:abckey
'man iwconfig' for more details.
i think you can change the name of the device from eth1 to wlan0 by renaming /etc/sysconfig/network-scripts/ifcfg-eth1 to ifcfg-wlan0, but i don't use suse, so i don't know for sure.
Well, I got something working. In /etc/sysconfig/network I have a file named ifcfg-wlan-bus-pcmcia. Weird thing is that my wireless interface always comes up as eth1 but it used this configuration file. I tried renaming it to ifcfg-wlan0 to no avail. I just get an error that says "no configuration information for eth1. It turns out the eth1 basically works but it does not get the default gateway (which I set through yast) so I had to create a file called /etc/sysconfig/network/ifroute-wlan-bus-pcmcia (which somehow gets mapped to eth1) with the following contents.
default 192.168.2.1
This works. I still wish I knew how to change eth1 to wlan0 though.
Thanks for your help. Even though my network is now functional I tried what you said just to see if I could change the name of the interface to wlan0. When I ran '/etc/init.d/network restart' I got:
Shutting down service network . . . . . . . . . . . . . done.
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8 done
eth0 device: Intel Corp. 82801BD PRO/100 VE (MOB) Ethernet Controller (rev 83)
eth0 configuration: eth-id-00:08:0d:23:4b:33
eth0 (DHCP) . . . . . no IP address yet... backgrounding. waiting
eth1 device: "TOSHIBA", "Wireless LAN Card", "Version 01.01", ""
eth1 configuration: wlan-bus-pcmcia
eth1 warning: using NO encryption
interface wlan0 is not available failed
Setting up service network . . . . . . . . . . . . . . done.
I should have mentioned that I already have an ifcfg-wlan0 (which I have no clue what it is for - maybe attached to the pcmcia slot somehow), but I removed this and still got the same error. I don't undertand how hotplug devices work, but I think both wlan-bus-pcmcia and wlan0 are hotplug devices. Don't know if that is related somehow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.