You are not logged in.

#26 2016-04-27 17:08:49

kkoceski
Member
Registered: 2012-07-16
Posts: 11

Re: Wpa_supplicant is connected but no internet access

It looks like my resolv.conf file is a link ???
I don't have any idea how this happened.  And remember, the system was working fine a week or so ago, so it's not an install problem.
Does anybody know what should be in the resolv.conf file ?

----------------------------------------

[kkoceski@kkhostname ~]$ ls -l /etc/resolv*
lrwxrwxrwx 1 root root  28 Mar 13 05:17 /etc/resolv.conf -> /var/run/coolv.conf
-rw-r--r-- 1 root root  80 Apr 23 06:15 /etc/resolv.conf.bak
-rw-r--r-- 1 root root 254 Nov 22 19:12 /etc/resolvconf.conf
[kkoceski@kkhostname ~]$ more /etc/resolv*
more: stat of /etc/resolv.conf failed: No such file or directory
::::::::::::::
/etc/resolv.conf.bak
::::::::::::::
#
# /etc/resolv.conf
#

#search <yourdomain.tld>
#nameserver <ip>

# End of file
::::::::::::::
/etc/resolvconf.conf
::::::::::::::
# Configuration for resolvconf(8)
# See resolvconf.conf(5) for details

resolv_conf=/etc/resolv.conf
# If you run a local name server, you should uncomment the below line and
# configure your subscribers configuration files below.
#name_servers=127.0.0.1
[kkoceski@kkhostname ~]$

Offline

#27 2016-04-30 12:24:47

kkoceski
Member
Registered: 2012-07-16
Posts: 11

Re: Wpa_supplicant is connected but no internet access

I got my problem solved.
I renamed /etc/resolv.conf to /etc/resolv_broke.conf ( this was the link )
Then I vi'ed /etc/resolv.conf and added only

nameserver 192.168.0.1

in that file.   This worked !!!
However, now when I look at the file, "# Generated by resolvconf" has been added to it, so it is now :

# Generated by resolvconf
nameserver 192.168.0.1

So, something else would probably have fixed it if I had only done the rename.  Anyway, I'm back in business - Thanks !!!

Offline

#28 2016-04-30 14:00:10

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: Wpa_supplicant is connected but no internet access

kkoceski wrote:

I renamed /etc/resolv.conf to /etc/resolv_broke.conf ( this was the link )
Then I vi'ed /etc/resolv.conf and added only

nameserver 192.168.0.1

in that file.   This worked !!!

Alternatively, simply use:

# systemctl enable systemd-resolved --now

and edit /etc/systemd/resolved.conf to add the chosen nameservers.

See systemd-resolved.service(8) & resolved.conf(5)


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB