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.
Right well i'm currently on linux while typing this, using WEP encyption - which is nice.
However, Firefox is behaving oddly...for the vast majority of web addresses it works, but for some results from Google and for example www.thinkwiki.org - it keeps saying it cannot find the server.
So either the server is actually down or something is going wrong?
Any ideas? I thought maybe its my security policy but I haven't blocked anything specifically.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
No the site is up, check your /etc/resolv.conf file some times it is best that it reflects the nameserver information for your ISP (the same as the wireless router uses), example;
How bizarre...I just did all of the stuff to use WPA-PSK encryption and I didnt really know if it had worked because when I ran
./wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -ieth1 -Dwext
it would freeze when it got to:
EAPOL: startWhen --> 0
and I would have to terminate it...so I try it with:
and it works...so I try one of the websites in question, and that also works - having not changed anything in resolve.conf!?
I think I have cracked it!!
Will I have to run that wpa_supplicant command everytime I start up or can I write a script to do it or will it be done automatically?
EDIT: Okay just realised that the majority of the other websites don't work lol, weird...is there a way I can find the IP address of my router from linux or will I have to log into the router?
Last edited by woodpecka_04; 05-17-2007 at 10:01 AM.
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
So many numbers which do I choose??? I have tried adding the 192 addresses to resolv.conf because I am pretty sure they are for my router. However, it hasn't made any difference.
Last edited by woodpecka_04; 05-17-2007 at 10:43 AM.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
The 192.168.0.1 is your wireless router, like i suggested add the nameserver info for yor ISP in /etc/resolvf.conf. Yes you can get this info from your router.
Okay I have added that address to revolv.conf, however things seem to be quite random.
Different websites load when I connect different times.
Also certain websites don't display in the right way its like they have their style sheets off (when they are on).
Hmmm its all a little confusing
When I did ./ifup eth1, sometimes I got failed and other times it said failed no cable and then it just worked. I checked my dmesg...
ADDRCONF(NETDEV_UP): eth1: link is not ready
ndiswrapper (iw_set_freq:384): setting configuration failed (00010003)
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
ndiswrapper (iw_set_freq:384): setting configuration failed (00010003)
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
I don't know if I have a setting wrong somewhere or what but things are not working as they should
From reading the problems you are having, I am willing to bet your problem resides in your setup for wpa_supplicant. Either that, or you are not specifically assigning an IP address to your wireless adapter once it is actually "on line". It took me about a week to get my wireless adapter (a Broadcom bcm43xx chipset adapter in a Compaq Presario C504US) up and working. The hardest, trickiest part was getting wpa_supplicant to work properly.
I created a file that contains all the steps I took to finally get things operating properly. While I did it under Slackware, I'm sure with a little creative thinking, you can re-write it a bit to work with your distribution. the URL is: http://www.linuxquestions.org/questi...d.php?t=550053
I hope that helps. I know that now my wireless adapter works properly. Not only can I surf the net, and jam on my favorite Internet radio station, I can also use samba to share files with the other Slackware machine and the Windoze machines on my LAN as well. You could say I got it working properly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.