LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wireless lan connected but no internet (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-lan-connected-but-no-internet-344029/)

XJNick 07-17-2005 02:02 PM

Wireless lan connected but no internet
 
Hi,

This is regarding my HP Pavilion ze2000 laptop with a built-in Broadcom 4318 (802.11b/g) wireless adapter. I finally got ndiswrapper installed correctly, and the bcmwl5a.inf driver loaded successfully.

However, I still can't seem to get online using the wireless card. I believe I have set everything correctly using iwconfig, and the wireless card (wlan0) does successfully get an IP address from my router when I call dhclient wlan0. I turned off WEP on the router thinking that was the problem but it was not. Everything seems to be working properly except that I can't for the life of me get any internet connection (Firefox times out, doing a ping or traceroute fails).

I'm getting desperate to get this wireless network working, as otherwise I'll be forced to use Windows XP a lot on this laptop -- which I'd like to avoid. Any ideas? Anything in particular I should try doing?

If it helps, here is the output of ifconfig, iwconfig, route, dhclient:
Code:

[root@localhost xxx]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:9F:AC:07:D2
          inet6 addr: fe80::2c0:9fff:feac:7d2/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:378 (378.0 b)
          Interrupt:18 Base address:0x8000

eth1      Link encap:UNSPEC  HWaddr 00-C0-9F-00-00-5C-24-71-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:845 errors:0 dropped:0 overruns:0 frame:0
          TX packets:845 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:79006 (77.1 Kb)  TX bytes:79006 (77.1 Kb)

sit0      Link encap:IPv6-in-IPv4
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0    Link encap:Ethernet  HWaddr 00:90:4B:F5:53:FD
          inet addr:192.168.7.105  Bcast:192.168.7.255  Mask:255.255.255.0
          inet6 addr: fe80::290:4bff:fef5:53fd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:974 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:63347 (61.8 Kb)  TX bytes:2772 (2.7 Kb)
          Memory:d0204000-d0205fff

Code:

[root@localhost xxx]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

Warning: Driver for device wlan0 recommend version 18 of Wireless Extension,
but has been compiled with version 17, therefore some driver features
may not be available...

wlan0    IEEE 802.11g  ESSID:"home"  Nickname:"localhost"
          Mode:Managed  Frequency:2.442 GHz  Access Point: 00:0F:66:46:5C:B6
          Bit Rate=54 Mb/s  Tx-Power:25 dBm
          RTS thr=2347 B  Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-50 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0  Missed beacon:0

sit0      no wireless extensions.

Code:

[root@localhost xxx]# route
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.7.0    *              255.255.255.0  U    10    0        0 wlan0
default        192.168.7.7    0.0.0.0        UG    10    0        0 wlan0

Code:

[root@localhost xxx]# dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
Listening on LPF/wlan0/00:90:4b:f5:53:fd
Sending on  LPF/wlan0/00:90:4b:f5:53:fd
Sending on  Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.7.7
bound to 192.168.7.105 -- renewal in 41323 seconds.

Thanks a lot for any help,

65_289 07-17-2005 02:35 PM

I assume the wireless works in Windows? Can you log in to the router's config page? One time, I accidentally set my own MAC address to be filtered, and I could not get internet after that....

XJNick 07-17-2005 05:33 PM

Hi,

Yes, the wireless internet works fine in Windows.

I too was thinking this problem might have something to do with the router settings, but haven't found anything wrong in there. In fact, my router even detects and shows the MAC address of my laptop's wireless network card when I'm trying to use it in Linux. I also tried adding my wireless card's MAC address into the "always allow" table of the MAC filter on my router. But regardless of all this, I still cannot connect to the internet using the wireless network. Any other ideas?

Thanks,

bednarjm 07-18-2005 06:53 AM

ok i went out and bought a wireless router and nic card both linksys but that doesnt matter any. In windows (sorry people) i followed the instructions on cd the local lan worked fine but i couldnt get onto the net but all the lights were lit on it. I spent a few hours going through documentation at their site. the reason it took so long is i had to continously work between the router and internet meaning i had to keep switch cat6 between the router and my laptop. then finally i got to a step where it said to change the router address to 192.168.2.1 restarted pc then boom i was on the net.

I have DSL it comes out the jack in to a modem to the router. originally the router was set at 192.168.1.1 and it routed to gateway 192.168.1.1 which was also the IP of the modem

Before
PC-192.168.1.100 Router-192.168.1.1 modem-192.168.1.1 Internet
gateway-192.168.1.1
(IP address conflict where do i route, to myself or modem?)


After
PC-192.168.2.100 Router-192.168.2.1 modem-192.168.1.1 Internet
Gateway -192.168.1.1

I'm no networking genious but if i had thought about it instead of getting all pissed off i would have figured it out instead of wasting valuable time and i could of got to bed sooner. I dont know if will help any, but its all i got to offer.

ash0573 07-27-2005 03:02 PM

Hey,

I habe suse 9.3 on an e-machine m6810 using the BCM4306 rev 4.4 mini-pci nic to a usr5450 (AP) -> usr8200 (dhcp) with WPA-PSK.

I had to use the nidis wrapper for the inf file then I used wpa_supplicant w/ wpa_supplicant.conf and I use wpa_passphrase to generate my wpa key to hex.

All in all it works great, (well it did), untikl I turned on the lappy this AM and I couldn't get to the internet :(

I can ping, and log onto the AP and router w/in my own network but I can not get anthing outside, beyond the router.

If I plug in my eth0 cable I can use the internet fine and my routes don't change and the dhcp server is the same as it is for the wi-fi.

Tips, tricks, and treats welcome.

Aaron

Ps if anyone needs help with there bcm43xx or bcm4300 series nic let me know.

Ash

XJNick 08-07-2005 10:35 PM

Hi,

Good News... I was able to solve my wireless network problems (with the help of a fellow Linux user)!

I'm a bit embarrased to say that after all of that the cause of the problem was simply that the firewall was blocking wlan0 as an internet device. All I had to do was go into the firewall settings and configure wlan0 as an internet device (unblocking it). Now my Broadcom 4318 wireless adapter is working perfectly, and I am enjoying the new freedom from ethernet cables. :D

But it's always the simple things I overlook... :rolleyes:

Thanks,


All times are GMT -5. The time now is 07:04 PM.