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.
Hi all,
I am a newbee to linux but I have been able to install and load ndiswrapper for my wireless card with windows-xp drivers successfully (which makes me feel pretty good!!). However, I have run into a small problem. When I start firefox, it cannot get to the internet. I know my wireless card is working because I can do ifconfig and see it set up correctly. I can ping it from my router, etc. I am even able to vnc into my linux from a windows machine over the wlan0. It's just that firefox acts like it cannot see my network connection. If I have my ethernet cable plugged in, firefox works fine after a reboot.
The only thing I should perhaps mention is that after a reboot the wlan0 is not up and I have to load it manually. Don't know if that has anything to do with it. Last thing, I have 3 network cards, one internal, one ethernet pcmcia card, and the wireless pcmcia card.
so it seems you have fine inside the network but are having problems getting outside.
Is your default gateway set to the ip of your wireless router? you can check this with the 'route' command. Also did you set a dhcp server? 216.109.112.135 is yahoos ip address, if yahoo loads from the ip but not from 'yahoo.com' then you are having dns problems.
Did you manually assign the address? something like 'pump -i eth0' should dhcp to the router and assign you a proper ip, gateway, and dns server.
It does not seem to be a DNS issue. I tried the yahoo ip address and got the same result. The gateway for wlan0 is set to 192.168.0.0 and the ip address of wlan is 192.168.0.105 (assigned using dhcp). I have set up the wireless card for DHCP using YaST gui. I have my firewall disabled. I think this all seems to be OK.
Now, I have set up my wireless configuration (ESSID, keys, ect.) using YaST network cards gui. But, I did all my ndiswrapper install/load via command line. I wonder if theres is a disconnect between the gui setup and the manual configs. Where is the config file for my network setting? I would like to set it up to load ndiswrapper on power up.
One more piece of information which might be useful. In YaST "Network Card Configuration Overview" I can see the mac address for my two ethernet cards, but for the wlan0 it simply says "wlan-bus-pcmcia" in place of the mac address, which is the same as the configuration name for the wlan under YaST. Again, I can vnc into my linux from a PC over the wireless connection, but just cannot browse the internet using firefox.
what does 'ping 192.168.0.0' return? are you sure the internal ip of the router is 0.0 and not 0.1 ( which is it is most cases ). paste the output of 'route' also.
you should be able to see in the wireless web config what its internal ip is and there should also be logging that you can watch to see if anything from your laptop is reaching the router.
tgo,
You are right. I gave bad information. Here is the route output as it gets set up by YaST.
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
192.168.9.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
With this route table I'm not able to ping 216.109.112.135. However, if I add 192.168.0.1 as the default gateway then I can ping 216.109.112.135 but I still cannot go to it as htpp://216.109.112.135. So, maybe it's a gateway/dns issue after all. What puzzles me is that the ethernet connection works fine with my router but not the wireless. The router/dns setup seems to be the same for both eth0 and wlan0. Maybe it's my router LAN and WAN setup differences causing the problem. At this point I really don't know. I know that both my wireless and ethernet connections work fine with my Windows machines.
Thanks for your replies! You've pointed me in the right direction. I'll keep working on it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.