FatBastard
Posts: 8
Joined: Sun Feb 11, 2018 2:55 am

WF Connected No Internet

Sat Feb 24, 2018 6:48 pm

Getting the err name resolution failed.

I can enter the address for my router and and login to it? I just can't get out the the internet. Why?

Thanks for your help.

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: WF Connected No Internet

Sat Feb 24, 2018 6:53 pm

That is a dns resolution error. Check the /etc/resolv.conf file.

FatBastard
Posts: 8
Joined: Sun Feb 11, 2018 2:55 am

Re: WF Connected No Internet

Sat Feb 24, 2018 7:07 pm

says permission denied
iwlist wlan0 scan says interface doesn't support scanning

Thoughts?

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: WF Connected No Internet

Sat Feb 24, 2018 7:41 pm

This should not generate a permission error.

Code: Select all

cat /etc/resolv.conf

FatBastard
Posts: 8
Joined: Sun Feb 11, 2018 2:55 am

Re: WF Connected No Internet

Sat Feb 24, 2018 8:29 pm

it returned

nameserver 8.8.8.8

FatBastard
Posts: 8
Joined: Sun Feb 11, 2018 2:55 am

Re: WF Connected No Internet

Sat Feb 24, 2018 8:31 pm

Now ping returns
Network is unreachable

yet I am still logged into my router.

This is strange to me

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: WF Connected No Internet

Sat Feb 24, 2018 8:34 pm

You must have a routing problem then. Post the output of these:

Code: Select all

ifconfig
route

FatBastard
Posts: 8
Joined: Sun Feb 11, 2018 2:55 am

Re: WF Connected No Internet

Sat Feb 24, 2018 8:54 pm

ifconfig returns

ethernet returns all 000

lo returns inet 127.0.0.1 netmask 225.0.0.0

wlan0
inet 192.168.0.100 net mask 255.255.255.0 brodcast 192.168.0.255
inet6 fe80............................

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: WF Connected No Internet

Sat Feb 24, 2018 9:07 pm

And the output of route is...?

FatBastard
Posts: 8
Joined: Sun Feb 11, 2018 2:55 am

Re: WF Connected No Internet

Sat Feb 24, 2018 9:11 pm

Sorry

Destination gateway Genmask Flags Metric Ref Use Iface

192.168.0.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: WF Connected No Internet

Sat Feb 24, 2018 9:32 pm

You have no default gateway. How does your RPi get its network settings?

FatBastard
Posts: 8
Joined: Sun Feb 11, 2018 2:55 am

Re: WF Connected No Internet

Sat Feb 24, 2018 10:57 pm

Sorted by help from a local friend.

Generally he had me edit some script.

sudo nano ipconfig
then we entered the dhcpconfig script

Beyond that I am not sure what happened he said type and
I did.

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: WF Connected No Internet

Sat Feb 24, 2018 11:03 pm

Open /etc/dhcpcd.conf with a text editor. Look for a section that starts with
interface wlan0
If it is there, post that section here.

Return to “Troubleshooting”