[SOLVED] LM13 Cinnamon no longer connects to the Internet...

Questions about WIFI networks and devices
Forum rules
Before you post please read this

[SOLVED] LM13 Cinnamon no longer connects to the Internet...

Postby RytronII on Sat May 26, 2012 6:47 am

Hi.

I installed LM13 Cinnamon and all was fine. Then suddebly (may have been on a reboot/startup) - it wont connect to the internet. The wireless is fine and it can connect to the router but cannot go beyond that - I get the 'Server not found' error in Firefox. I have another PC that connects to the internet with no problems.

I tried these so far with no joy:
* reset router
* disable both router and OS firewalls

I am perplexed. :idea:
Last edited by RytronII on Fri Nov 02, 2012 7:33 am, edited 1 time in total.
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 290
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Linux Mint is funded by ads and donations.
 

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby RytronII on Sat May 26, 2012 10:17 am

After trying many more options, I found the solution.

This file was not available: /etc/resolv.conf
I created it and added the google DNS servers like so:
Code: Select all
nameserver 8.8.8.8
nameserver 8.8.4.4

What was the cause of this files omission?

Also I ran ipconfig and got this (I put xxx in place of the MAC addresses):
eth0 Link encap:Ethernet HWaddr xxx
...
wlan0 Link encap:Ethernet HWaddr xxx

Should the part 'wlan0 Link encap:Ethernet HWaddr xxx' say 'wlan0 Link encap:wireless HWaddr xxx' or something similar?
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 290
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby oobetimer on Sat May 26, 2012 3:42 pm

It seems that there is no resolv.conf file anymore .. :shock:

Actually the command is ifconfig, not ipconfig.
Attachments
no resolv.conf.png
no resolv.conf.png (17.75 KiB) Viewed 11118 times
User avatar
oobetimer
Level 7
Level 7
 
Posts: 1889
Joined: Tue Jun 01, 2010 12:53 pm
Location: Finland / above the Arctic Circle

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby stratus_ss on Sat May 26, 2012 6:34 pm

Actually there is a resolv.conf, however there is a bug with Mint 13 where the package "resolvconf" does not create the file after install

running
Code: Select all
sudo dpkg-reconfigure resolvconf


Will cause resolvconf to create the file as expected.

There is a bug on launch pad about this
stratus_ss
Level 4
Level 4
 
Posts: 270
Joined: Fri May 25, 2012 5:22 pm

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby RytronII on Sun May 27, 2012 7:09 am

oobetimer wrote:It seems that there is no resolv.conf file anymore .. :shock:

Actually the command is ifconfig, not ipconfig.


Thanks for correcting it. I use ipconfig in an alias so it accepts both ifconfig and ipconfig. :wink:
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 290
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby RytronII on Sun May 27, 2012 7:10 am

stratus_ss wrote:Actually there is a resolv.conf, however there is a bug with Mint 13 where the package "resolvconf" does not create the file after install

running
Code: Select all
sudo dpkg-reconfigure resolvconf


Will cause resolvconf to create the file as expected.

There is a bug on launch pad about this


Thanks for the info.
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 290
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby stratus_ss on Sun May 27, 2012 8:46 am

No problem, glad you are sorted
stratus_ss
Level 4
Level 4
 
Posts: 270
Joined: Fri May 25, 2012 5:22 pm

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby RytronII on Sun May 27, 2012 9:26 am

Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image
User avatar
RytronII
Level 4
Level 4
 
Posts: 290
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby Hedaja on Tue May 29, 2012 5:52 pm

Hi
I have the same problem.
I tried to solve it with the dpkg commad first. The result is a nameserver in the resolv.conf but it still didn't work.
Then I tried the link. I edited it but it still won't work. And the possibility to lock the configuration doesn't work to. It says: " the operation was not supported"

Can someone help me?
Hedaja
Level 1
Level 1
 
Posts: 15
Joined: Sun Apr 08, 2012 11:48 am

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby Hedaja on Wed May 30, 2012 2:45 am

Today I connected to my WLan in the university and the DNS Server was found automatically.
Maybe it has something to do with my router.
Hedaja
Level 1
Level 1
 
Posts: 15
Joined: Sun Apr 08, 2012 11:48 am

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby Hedaja on Wed May 30, 2012 12:26 pm

Quite interesting problem. It seems that using DNS is only a problem with direct Wlan connection to my router. I'm using USb thethering from an Android device atm to connect to my Wlan and it works just fine.

Still no one has an idea?
Hedaja
Level 1
Level 1
 
Posts: 15
Joined: Sun Apr 08, 2012 11:48 am

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby stratus_ss on Wed May 30, 2012 2:53 pm

what does the resolv.conf look like?

Additionally you can attempt to remove dnsmasq from network manager:

Code: Select all
    gksudo gedit /etc/NetworkManager/NetworkManager.conf


and comment out this line:

Code: Select all
    dns=dnsmasq


restart network manager

Code: Select all
    sudo restart network-manager


I had to do this to get Mint/Ubuntu to actually resolve with local dns.... for example if I pinged my laptop it would actually resolve to my external IP provided by my ISP instead of my 192 ip
stratus_ss
Level 4
Level 4
 
Posts: 270
Joined: Fri May 25, 2012 5:22 pm

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby Hedaja on Wed May 30, 2012 4:26 pm

Very strange
my resolve.conf is gone. Its not where it would be ecpected and you even can't find it with the search.
Whn I last have seen it there was a nameserver with 127.0.0.1 or something like that.
I tried the thing with the Network manager but it didn't solve the problem.
Hedaja
Level 1
Level 1
 
Posts: 15
Joined: Sun Apr 08, 2012 11:48 am

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby stratus_ss on Wed May 30, 2012 4:32 pm

ok if resolv.conf is gone, that means the package "resolvconf" is having problems again or the network card itself is flaky.

You can try having resolvconf recreate the file for you

(sudo dpkg-reconfigure resolvconf) or you can create the file yourself.
stratus_ss
Level 4
Level 4
 
Posts: 270
Joined: Fri May 25, 2012 5:22 pm

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby Hedaja on Wed May 30, 2012 4:47 pm

Ill try but shouldn't it stop working with all internet connections? I still could open websites using USb tethering
Hedaja
Level 1
Level 1
 
Posts: 15
Joined: Sun Apr 08, 2012 11:48 am

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby Hedaja on Wed May 30, 2012 4:53 pm

resolv.conf is here again:
Code: Select all
#Dynamik resolv.conf(5) file for glibc resolver (3) generated by resolveconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search localdomains
Hedaja
Level 1
Level 1
 
Posts: 15
Joined: Sun Apr 08, 2012 11:48 am

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby stratus_ss on Wed May 30, 2012 5:31 pm

Well I would definitely try putting the

nameserver 8.8.8.8

at the top of the resolv.conf and try re-running the updates again
stratus_ss
Level 4
Level 4
 
Posts: 270
Joined: Fri May 25, 2012 5:22 pm

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby Hedaja on Wed May 30, 2012 6:07 pm

How can I change the resolv.conf without having it automatically change back?
Hedaja
Level 1
Level 1
 
Posts: 15
Joined: Sun Apr 08, 2012 11:48 am

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby stratus_ss on Wed May 30, 2012 6:27 pm

Well everything that I have read says to put your changes in
/etc/resolvconf/resolvconf.d/head

then run

Code: Select all
sudo resolvconf -u


In my tests this works, although I am not sure why that file has a disclaimer about not editing it by hand
stratus_ss
Level 4
Level 4
 
Posts: 270
Joined: Fri May 25, 2012 5:22 pm

Re: Linux Mint 13 Cinnamon no longer connects to the Interne

Postby Hedaja on Wed May 30, 2012 6:42 pm

Thanks you so far

I edited it and it isnt deleted anymore. The resolv.conf looks as i think it should but the problem hasn't changed.
I tried to restart Network Manager and restarted the whole computer too but if you want to open a website he still says "Couldn't find .... DNS search failed...." [Just a short from :wink: ]
Hedaja
Level 1
Level 1
 
Posts: 15
Joined: Sun Apr 08, 2012 11:48 am

Linux Mint is funded by ads and donations.
 
Next

Return to Wireless

Who is online

Users browsing this forum: No registered users and 8 guests