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

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
User avatar
RytronII
Level 4
Level 4
Posts: 363
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

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

Post 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:
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: 363
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

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

Post 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?
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image

oobetimer

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

Post by oobetimer »

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 17081 times

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

Post 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

User avatar
RytronII
Level 4
Level 4
Posts: 363
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

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

Post 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:
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: 363
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

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

Post 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.
Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image

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

Post by stratus_ss »

No problem, glad you are sorted

User avatar
RytronII
Level 4
Level 4
Posts: 363
Joined: Wed May 18, 2011 4:46 am
Location: Emerald Isle

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

Post by RytronII »

Husse: "Don't fix it if it ain't broken, don't break it if you can't fix it."
Image

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

Post 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?

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

Post 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.

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

Post 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?

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

Post 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

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

Post 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.

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

Post 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.

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

Post by Hedaja »

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

Post 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

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

Post 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

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

Post by Hedaja »

How can I change the resolv.conf without having it automatically change back?

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

Post 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

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

Post 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: ]

Post Reply

Return to “Wireless”