LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 07-17-2005, 03:02 PM   #1
XJNick
Member
 
Registered: Dec 2003
Location: Texas
Distribution: Mandriva, SuSE
Posts: 79

Rep: Reputation: 15
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,

Last edited by XJNick; 07-17-2005 at 03:03 PM.
 
Old 07-17-2005, 03:35 PM   #2
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
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....
 
Old 07-17-2005, 06:33 PM   #3
XJNick
Member
 
Registered: Dec 2003
Location: Texas
Distribution: Mandriva, SuSE
Posts: 79

Original Poster
Rep: Reputation: 15
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,
 
Old 07-18-2005, 07:53 AM   #4
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 19
Posts: 65

Rep: Reputation: 18
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.
 
Old 07-27-2005, 04:02 PM   #5
ash0573
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Rep: Reputation: Disabled
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
 
Old 08-07-2005, 11:35 PM   #6
XJNick
Member
 
Registered: Dec 2003
Location: Texas
Distribution: Mandriva, SuSE
Posts: 79

Original Poster
Rep: Reputation: 15
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.

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

Thanks,

Last edited by XJNick; 08-07-2005 at 11:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless connected but no internet Mikesoft Linux - Wireless Networking 2 06-30-2005 06:55 PM
LAN Connected but cant access internet crw128 Linux - Networking 13 06-28-2005 06:51 PM
connecting to the internet via wireless through Intel PRo/Wireless LAN 2100 3B Mini P k_wjss Linux - Newbie 1 09-28-2004 06:00 PM
Wireless Lan card cant access internet bitablespore Linux - Wireless Networking 3 11-17-2003 07:38 PM
Help with wireless lan internet, nearly got it to work Belize Linux - Wireless Networking 10 10-27-2003 03:32 PM


All times are GMT -5. The time now is 03:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration