Page 1 of 2

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

Posted: Sat May 26, 2012 6:47 am
by RytronII
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:

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

Posted: Sat May 26, 2012 10:17 am
by RytronII
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?

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

Posted: Sat May 26, 2012 3:42 pm
by oobetimer
It seems that there is no resolv.conf file anymore .. :shock:

Actually the command is ifconfig, not ipconfig.

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

Posted: Sat May 26, 2012 6:34 pm
by stratus_ss
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

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

Posted: Sun May 27, 2012 7:09 am
by RytronII
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:

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

Posted: Sun May 27, 2012 7:10 am
by RytronII
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.

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

Posted: Sun May 27, 2012 8:46 am
by stratus_ss
No problem, glad you are sorted

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

Posted: Sun May 27, 2012 9:26 am
by RytronII

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

Posted: Tue May 29, 2012 5:52 pm
by Hedaja
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?

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

Posted: Wed May 30, 2012 2:45 am
by Hedaja
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.

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

Posted: Wed May 30, 2012 12:26 pm
by Hedaja
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?

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

Posted: Wed May 30, 2012 2:53 pm
by stratus_ss
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

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

Posted: Wed May 30, 2012 4:26 pm
by Hedaja
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.

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

Posted: Wed May 30, 2012 4:32 pm
by stratus_ss
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.

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

Posted: Wed May 30, 2012 4:47 pm
by Hedaja
Ill try but shouldn't it stop working with all internet connections? I still could open websites using USb tethering

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

Posted: Wed May 30, 2012 4:53 pm
by Hedaja
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

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

Posted: Wed May 30, 2012 5:31 pm
by stratus_ss
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

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

Posted: Wed May 30, 2012 6:07 pm
by Hedaja
How can I change the resolv.conf without having it automatically change back?

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

Posted: Wed May 30, 2012 6:27 pm
by stratus_ss
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

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

Posted: Wed May 30, 2012 6:42 pm
by Hedaja
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: ]