Very General WIFI Networking Question

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Very General WIFI Networking Question

Postby djcyr on Tue Feb 12, 2013 12:17 am

I have a dual-boot windows7- mint13. On some certain wifi networks, I can connect to windows fine, fully functional.
However, under mint, those same networks I can connect, but no internet service is available. Chrome in particular tells me there is a DNS error.

Anything Obvious? Are the networks allowing only windows? Excluding linux users?

representative samples: Queens Borough Public library, Panera WIFI union square

Thanks!

-Dan :cry:
djcyr
Level 1
Level 1
 
Posts: 7
Joined: Tue Feb 12, 2013 12:05 am

Linux Mint is funded by ads and donations.
 

Re: Very General WIFI Networking Question

Postby viking777 on Tue Feb 12, 2013 5:54 am

Right click the network applet in the system tray select 'edit connections', wireless tab, highlight your wireless connection, press edit, switch to IPV4Settings tab. What does it say under 'Method'? Usually it will say 'Automatic DHCP' If it is set to manual try changing it back to automatic. While you are in there it is a good idea to make sure that 'Available to all users' is checked as well (unless you have some reason to not want certain users to access the internet via wifi).

The first post on this page might be relevant here:

http://forums.penny-arcade.com/discussi ... ns-servers

Basically says that some public wifi firewalls insist on a user using the automatic setting and block outside dns servers.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Very General WIFI Networking Question

Postby djcyr on Tue Feb 12, 2013 5:58 pm

Well, I'm back in a different library. I booted linux, verified my network settings as the "Auto" mode, and available to all users as was described. Still no dice. So are you also saying there could be interference if my laptop is running a local DNS server?

Thanks!
djcyr
Level 1
Level 1
 
Posts: 7
Joined: Tue Feb 12, 2013 12:05 am

Re: Very General WIFI Networking Question

Postby viking777 on Wed Feb 13, 2013 5:33 am

The guy in the link I sent you is saying that, certainly. I'm not - I never use public wifi hotspots on my computer so I couldn't say one way or another for sure. However the results of your experiments seem to suggest this is not the case, at least no in the library you are using. In which case I am not sure what the answer is, sorry.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Very General WIFI Networking Question

Postby Detonate on Wed Feb 13, 2013 7:21 am

Please run
Code: Select all
cat /etc/resolv.conf


and post the results.
Image
User avatar
Detonate
Level 2
Level 2
 
Posts: 86
Joined: Fri Oct 14, 2011 7:40 pm
Location: Ault, Colorado

Re: Very General WIFI Networking Question

Postby djcyr on Mon Apr 08, 2013 2:34 pm

Now I am in another public library. Same story, I can connect with windows to wireless ssid HPLRC, but in Mint 13 Google Chrome says my DNS is unresponsive.

Why or how can a wireless work in windows and not in Linux?


I do not have a resolf.conf file. There is a directory /etc/resolvconf that contains:

interface-order file

resolv.conf.d update.d update-libc.d directories


interface-order contents:

# interface-order(5)
lo.inet*
lo.dnsmasq
lo.pdnsd
lo.!(pdns|pdns-recursor)
lo
tun*
tap*
hso*
em+([0-9])?(_+([0-9]))*
p+([0-9])p+([0-9])?(_+([0-9]))*
eth*
ath*
wlan*
ppp*
*
/etc/resolvconf/resolv.conf.d $ ls -al
total 12
drwxr-xr-x 2 root root 4096 Sep 18 2012 .
drwxr-xr-x 5 root root 4096 Sep 18 2012 ..
-rw-r--r-- 1 root root 0 Mar 29 2012 base
-rw-r--r-- 1 root root 151 Mar 29 2012 head

etc/resolvconf/resolv.conf.d $ cat head
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
djcyr
Level 1
Level 1
 
Posts: 7
Joined: Tue Feb 12, 2013 12:05 am

Re: Very General WIFI Networking Question

Postby djcyr on Thu May 02, 2013 12:55 pm

Can anyone help me as to why, and what all this network stuff means? Why is it stopping me from using public internet service in a public library?
djcyr
Level 1
Level 1
 
Posts: 7
Joined: Tue Feb 12, 2013 12:05 am

Re: Very General WIFI Networking Question

Postby pfeiffep on Fri May 03, 2013 10:20 am

djcyr wrote:Can anyone help me as to why, and what all this network stuff means? Why is it stopping me from using public internet service in a public library?

The New Your public Library system is more than likely NOT discriminating against Linux. Since the exact same hardware configuration works for you using Win the most obvious stumbling block is your Linux configuration.
I suggest booting to Win and insuring internet connectivity - then while in Win discover the DNS that is being used, or the method to detect DNS
Reboot to Linux and insert the Win DNS server or choose a similar method to detect.
HP Tower | Intel iCore 7 3.2Ghz | 12 Gb mem | SDD Win7 | HDD Ubuntu 13.04 & Mint 14 Cinnamon | USB HDD Ubuntu 13.10
Dell laptop | Intel celeron 1.5 Ghz | 2 Gb mem | HDD Ubuntu 13.04 | USB HDD Mint 14


Regards, Pete
pfeiffep
Level 2
Level 2
 
Posts: 92
Joined: Tue Apr 23, 2013 10:32 pm
Location: United States

Re: Very General WIFI Networking Question

Postby djcyr on Fri May 03, 2013 12:36 pm

At the public library, I repeatedly boot into Windows, and can connect fine to the Internet.
Many, many times here at the library, I have booted into mint, and each time have not been successful connecting to the Library's wifi.

Wifi works fine at home.

Made a USB stick with Fedora 18, and can connect to the library. How did my mint become broken here?

Chrome says DNS unresponsive. Can you lead me in any other direction?
djcyr
Level 1
Level 1
 
Posts: 7
Joined: Tue Feb 12, 2013 12:05 am

Re: Very General WIFI Networking Question

Postby pfeiffep on Fri May 03, 2013 1:54 pm

OK now you've proven that my assumption that Linux Mint was causing the problem :wink:

Did you attempt to follow or understand
I suggest booting to Win and insuring internet connectivity - then while in Win discover the DNS that is being used, or the method to detect DNS
Reboot to Linux and insert the Win DNS server or choose a similar method to detect.

You now have another working option from which to choose settings - Fedora. You shouldn't have to go to the Library to discover the DNS entries for the 3 OSes that you've tried.

Obviously your hardware is just fine, and Win & Fedora must have different network settings than Mint. I propose that you proceed with the basic assumption that nothing's really broken but rather there's a setting incompatible in Mint that won't work at the Libraries!

Asking how :mrgreen: isn't necessarily going to remedy your situation - trying different options (as you did with Fedora) can lead you to a solution :)

Post back with your results........
HP Tower | Intel iCore 7 3.2Ghz | 12 Gb mem | SDD Win7 | HDD Ubuntu 13.04 & Mint 14 Cinnamon | USB HDD Ubuntu 13.10
Dell laptop | Intel celeron 1.5 Ghz | 2 Gb mem | HDD Ubuntu 13.04 | USB HDD Mint 14


Regards, Pete
pfeiffep
Level 2
Level 2
 
Posts: 92
Joined: Tue Apr 23, 2013 10:32 pm
Location: United States

Re: Very General WIFI Networking Question

Postby trapperjohn on Fri May 03, 2013 6:28 pm

Force feed the DNS server. In your IP4 settings use "automatic DHCP addresses only." Then specify the DNS servers in the box. Use the Google DNS as an experiment: 8.8.8.8,8.8.4.4

If that works, then take a look at other dns servers like opendns. You separate the DNS IPs with a comma.
trapperjohn
Level 5
Level 5
 
Posts: 689
Joined: Wed Jul 11, 2012 4:10 pm

Re: Very General WIFI Networking Question

Postby djcyr on Sat May 04, 2013 12:48 pm

I was asking how as a remedy, because I need help to connect, and wanted to consult with experts who may focus on networking for a living.

Why does mint need to be spoonfed such DNS help? Is it mis-configured for certain routers? Maybe Panera and Queens library share a certain network config that may be wrong, or maybe mint should be able to handle all kinds of public wifi routers.
djcyr
Level 1
Level 1
 
Posts: 7
Joined: Tue Feb 12, 2013 12:05 am

Re: Very General WIFI Networking Question

Postby trapperjohn on Sat May 04, 2013 1:34 pm

Hi,

If using the staticly assigned DNS works, then underlying problem is with the assignment of domain name servers by the router (and ultimately the ISP). A router can be ( and usually is) configured to obtain both a WAN IP address and a DNS assignment by the DHCP. Using the DNS provided by the ISP's DHCP server is not necessarily the best choise.

I prefer not to use a DHCP provided default DNS. The Google DNS (8.8.8.8 and 8.8.4.4) and the OpenDns ( 208.67.222.222 and 208.67.220.220) are quite fast and bug free compared to most ISP DNS choices. They may even be more private, depending on the integrity of the DHCP server. Even with Windows machines that I manage I opt for statically assigned domain name servers.

If you can use any of the static DNS servers for OpenDNS or Google and cannot use the default DHCP DNS, then it tells us that the default DNS is qualifying your access in someway... and I perfer not to grant any custom control to networks when I have a choise.

If using a static DNS does not solve the problem, then there is some other wrinkle we need to iron-out. But, if it does work, use the static DNS approach. It will not limit your online capabilities and, in many cases, it will provide improved performance, capability, and posibility privacy.
trapperjohn
Level 5
Level 5
 
Posts: 689
Joined: Wed Jul 11, 2012 4:10 pm

Re: Very General WIFI Networking Question

Postby bjornmu on Sun May 05, 2013 4:15 am

It may be something else. I experienced with a wifi network in Larnaka that my Linux (not mint) laptop could get no connection though the wifi seemed OK. But it was not about DNS, instead the server had not provided a default routing address. Try the command "route" and see if you get an address under Gateway for the destination 'default'. If not then you have the same problem. What I eventually had to do was to add it manually (as root, or with sudo), guessing that the IP address of the default router was the same as the DHCP server. I think the command will be:
Code: Select all
sudo route add default gw <IP addr>

Addendum: another symptom of that problem is that nothing is reachable even with an IP address. If you can successfully ping 8.8.8.8 then you do not have this problem.
User avatar
bjornmu
Level 3
Level 3
 
Posts: 158
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], CaptainofSpray, dglp, Dutchmaster, Lemuel111, nomko and 44 guests