Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi all, so I'm out of my normal area for the summer and my only internet access is wireless through an old laptop. I have a wireless network card but I'm having trouble connecting to a router / access point in Linux (Slackware 9.1). The drivers are installed fine (thanks to linuxant). The problem is finding the router.
At home, I was able to connect through Linux by adding the following lines to the top of my /etc/pcmcia/wireless.opts (just under the 'case "$ADDRESS" in' line):
The odd thing was, I could not force my card to connect to *my* router. The best result I could get was connecting to a router belonging to someone else in my building (even though the information I entered was for my router). Yet, if I removed that chunk of code, I could no longer connect at all.
Now in my new location (as I said, I'm not at home for the summer), I can't connect at all. I'm now using a friend's router/access point instead of mine. I am able to use the wireless card to connect to the access point using Windows - this tells me (1) my wireless NIC is still working, and (2) all the information I need to know about the access point.
I've tried changing the information listed above (router's MAC address, channel, etc.) to match the new router / access point, but it doesn't work. One thing maybe of note is the new access point I need to connect to does not use encryption (but then, neither did the one I was able to connect to at my old location).
Does anyone know of a way I can modify this (or do something else) to get on the internet through Linux? Right now I'm stuck on Windows because I need internet access. That's annoying enough, but I'm also taking a summer course where the homework has to be done in Linux - which means I'm rebooting between Windows and Linux constantly.
I guess the main question is do the setting you have in your wireless.opts file get used by the card? Does the output of iwconfig match your settings? If they don't, maybe try setting up the card with iwconfig commands.
By the way, I did some tests and the answer is no, the wireless.opts file does not affect the iwconfig settings. I was able to set iwconfig through iwconfig itself, but no success connecting so far. Perhaps because I chose my IP address statically when I should be getting it dynamically.
Here is what I tried:
ifconfig eth0 <IP address> # last IP address I was assigned dynamically
iwconfig eth0 mode managed rate 11M channel 6
iwconfig essid <essid name>
route add default gw <gateway IP address> eth0
I'm not too sure about the "rate 11M" option but I tried without that and it didn't help. Also, the mode on my Windows connection manager shows up as "infra" but there's no option for that in iwconfig. I know that the other settings are correct.