LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 05-11-2011, 05:23 PM   #1
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Rep: Reputation: 9
Wifi Says Connected, but Can't Ping or Access Web - Mint10


I have Mint 10/Gnome/amd64. All updates applied. My wifi card is ZD1211. There is no problem accessing the web through wired, and I have used the wireless on other wifi networks. It does work w/WinXP, but that installation keeps crashing w/a trap or some other serious error I can't recall now.

I'm temporarily staying at a friend's house, and I can't connect to their wifi. My wifi says "connection established" but Firefox is unable to connect to anything. When I put the mouse cursor over the wifi bar graph, it says,"Wireless network connection 'FriendsNet' active: FriendsNet (100%)". The router gateway address is 192.168.1.1.

Code:
Ping reports:
ping -c 3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 169.254.10.41 icmp_seq=1 Destination Host Unreachable
From 169.254.10.41 icmp_seq=2 Destination Host Unreachable
From 169.254.10.41 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2003ms
Clicking on Administration/Network:
"Network Settings" has nothing listed for host or domanin name on the General tab. OpenDNS's servers for DNS servers on the DNS tab, and on the Hosts tab this:
Code:
Address		Aliases
10.42.43.1 	MyCPUname
127.0.0.1	localhost.localdomain localhost
127.0.0.1	MyCPUname
192.168.1.4	MyCPUname
::1		picowave localhost6.localdomain6 localhost6
The rest of the list is ip6 stuff, but I don't have that connection that I know of.

Windows Vista (on my friend's PC) ipconfig reports:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\owner>ipconfig
Windows IP Configuration

Code:
Wireless LAN adapter Wireless Network Connection:
   Connection-specific DNS Suffix  . : home
   Link-local IPv6 Address . . . . . : fe80::bd99:b41:95d7:986e%11
   IPv4 Address. . . . . . . . . . . : 192.168.1.5
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
Ethernet adapter Local Area Connection:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : somewhere.xx.xx.whoever.com
[can't list actual address for security]
 
Tunnel adapter Local Area Connection* 6:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
Tunnel adapter Local Area Connection* 7:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
Tunnel adapter Local Area Connection* 11:
   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:306e:35a9:b884:39de
   Link-local IPv6 Address . . . . . : fe80::306e:35a9:b884:39de%13
   Default Gateway . . . . . . . . . : ::
Here's the output of mintwifi:

Code:
-------------------------
* I. scanning WIFI PCI devices...
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"WFCM3"  
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: A6:B6:28:C5:D9:6A   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:AF28-1AB9-DE78-FCD3-7AD7-48F7-43
          Power Management:off
          
vboxnet0  no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:16:d3:84:92:b8  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:60952 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35908 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:81411951 (81.4 MB)  TX bytes:3345103 (3.3 MB)
          Interrupt:20 Base address:0x2000 

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:1998 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1998 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:138091 (138.0 KB)  TX bytes:138091 (138.0 KB)

vboxnet0  Link encap:Ethernet  HWaddr 0a:00:27:00:00:00  
          inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:457 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:28296 (28.2 KB)

vboxnet0:avahi Link encap:Ethernet  HWaddr 0a:00:27:00:00:00  
          inet addr:169.254.1.79  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

wlan0     Link encap:Ethernet  HWaddr 00:60:b3:37:d7:27  
          inet6 addr: fe80::260:b3ff:fe37:d727/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:240 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:56461 (56.4 KB)

wlan0:avahi Link encap:Ethernet  HWaddr 00:60:b3:37:d7:27  
          inet addr:169.254.7.139  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

-------------------------
* V. querying DHCP...
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:16:d3:84:92:b8
Sending on   LPF/eth0/00:16:d3:84:92:b8
Listening on LPF/vboxnet0/0a:00:27:00:00:00
Sending on   LPF/vboxnet0/0a:00:27:00:00:00
Listening on LPF/wlan0/00:60:b3:37:d7:27
Sending on   LPF/wlan0/00:60:b3:37:d7:27
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on vboxnet0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on vboxnet0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on vboxnet0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on vboxnet0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on vboxnet0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on vboxnet0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on vboxnet0 to 255.255.255.255 port 67 interval 2
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached
Firefox reports:
Code:
Unable to connect
Firefox can't establish a connection to the server at google.com
*   The site could be temporarily unavailable or too busy. Try again in a few
          moments.

*   If you are unable to load any pages, check your computer's network
          connection.
*   If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
I used siw.exe for Windows and PC Wizard on my old laptop to try to get info necessary for changing something, but alas, there is nothing there that makes sense to me except that it said the domain name is "home". Do I have to put the domain in or will LM10 in particular and Linux in general automatically connect?

Thanks for your help.

gentisle
 
Old 05-11-2011, 05:34 PM   #2
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 39
Did you check the settings for your friend's wireless router? You may also want to check NetworkManager (is Mint WiFi a front end to that?) and make sure that

a) it is configured to retrieve IP addresses with DHCP,
b) the router is configured to assign IP addresses with DHCP,
c) if your friend's router has a firewall, make sure that it isn't blocking you,
d) your computer and your friend's computer both use the same default gateway address

Last edited by PhoenixAndThor; 05-11-2011 at 05:35 PM.
 
Old 05-11-2011, 07:55 PM   #3
0men
Member
 
Registered: Mar 2011
Location: Brisbane
Distribution: Windows 10, Red Hat, Debian
Posts: 183

Rep: Reputation: 22
Check /etc/hosts and
/etc/resolve.conf
 
Old 05-11-2011, 07:55 PM   #4
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Original Poster
Rep: Reputation: 9
My friend's router is not checkable. I said router, but had forgotten that it's a router/modem from the ISP - Verizon. Anyway, he doesn't know about getting into the router's GUI, and not ever having this ISP, I'm guessing that Verizon doesn't want customers changing those settings. Anyway, since my other laptop (too old and slow to do work on) WILL get online via the WinXP it has, I see no problem with the router. Sure, it might be configured only for Windows (is that even possible?), but I cannot change it, and he doesn't have time to call and get it changed. Again, because both my old laptop, and this one can get on in Windows, I don't see it as a router issue. But the Windows on this cpu keeps crashing so I need to get Linux working on the wifi.

I tried to run nm-applet, but it says already running. Though three is no window of it. So I can't check any settings in NetworkManager.

I do not know how to check any of this. Again, how can Windows be allowed (on this network) wireLESSLY or wired, and Linux allowed WIRED, but Linux not allowed wireLESSLY?

Quote:
a) it is configured to retrieve IP addresses with DHCP,
b) the router is configured to assign IP addresses with DHCP,
c) if your friend's router has a firewall, make sure that it isn't blocking you,
d) your computer and your friend's computer both use the same default gateway address
BTW, the only way to use the wired connection is to practically sit on the floor in a hunched over position, and I'm too old for that, so I need the wireless connection to work, so I can sit at the table.
 
Old 05-11-2011, 07:59 PM   #5
gentisle
Member
 
Registered: May 2005
Location: Wisconsin, USA
Distribution: LinuxMint, OpenBSD
Posts: 263

Original Poster
Rep: Reputation: 9
To 0men:

Quote:
Originally Posted by 0men View Post
Check /etc/hosts and
/etc/resolve.conf
I listed most of the /etc/hosts file and the /etc/resolve.conf
 
Old 05-26-2011, 09:31 PM   #6
newb123
LQ Newbie
 
Registered: May 2011
Posts: 24

Rep: Reputation: 1
Can you please post your solution?

I am having the same problem. The thread is marked solved but I don't see a solution provided.
 
Old 05-06-2012, 03:22 PM   #7
PhilbertHFZ
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
What worked for me

This thread was one of the first ones I saw when google searching my problem. It is marked [SOLVED] but there was no solution provided in the thread. I eventually figured my problem out and so want to share what my solution was in case anybody else has a similar problem.
/etc/resolve.conf is auto-generated, so go ahead, nuke the contents and put
Code:
nameserver 8.8.8.8
in there. 8.8.8.8 is the Google public DNS. If this gets you internet connection, then the problem is that your system isn't auto-detecting nameservers correctly (like mine was). Simply manually configure the connection. I was using the networkmanager applet to manage my connections, so I was able to right-click the wifi applet, and select "Edit Connections"
From there, I went to the Wireless tab and edited my connection. For ease of use, I just told it to use DHCP for addresses only and manually specified the DNS Server and DHCP Client ID.

Obviously, if you manually set all this information yourself and you still have troubles, this isn't your solution.

At any rate, since I'm a comcast customer, I have my DNS servers set to Comcast's, but the Google DNS or your own favorite DNS server will work here.
 
  


Reply



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
openvpn connected to Tap server.. but can't ping or access anything precioso777 Linux - Networking 7 03-26-2011 03:13 AM
connected but cannot ping local or the web Mark51 Linux - Wireless Networking 9 10-03-2009 06:12 PM
Wifi connected to router, ping to router ok, no webaccess. what is wrong? deepcore Linux - Wireless Networking 5 01-07-2008 01:59 AM
access web on a laptop connected to a web-connected desktop bluesmanu Linux - Networking 2 04-16-2006 12:38 PM
wifi + dhcpcd but no web access (why) w/ slackware towsonu2003 Slackware 8 10-23-2005 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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

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
Open Source Consulting | Domain Registration