cchisholm
Posts: 84
Joined: Sat Mar 07, 2015 4:47 pm

Can't see the internet

Wed Dec 21, 2016 9:38 pm

I am setting up a new Raspberry Pi3. I've configured dhcpcd.conf with as follows

interface eth0
static ip_address=192.168.0.160/24
static routes=192.168.0.1
static domain_name_servers=192.168.0.1

interface wlan0
static ip_address=192.168.0.158/24
static routes=192.168.0.1
static domain_name_servers=192.168.0.1


After rebooting ...
I can see both of these addresses in the output of ifconfig.
I have added the passcode to the local wifi network and connected.
I can ping these IPs from both windows and Ubuntu computers.
I can connect to the rp3 using putty on ubuntu.
I can see my neighbors routers.

But I still can't seem to get to the internet. Every site I try throughs up the "Aw Snap...." irritating message.
I'm sure I have forgotten some step but not a clue what it is.

The purpose of the pi is to control a CNC router using Chilipeppr and JSCut software (both cloud based products).

Can anyone help me?

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Can't see the internet

Wed Dec 21, 2016 10:00 pm

Only one interface should have

Code: Select all

static routers=192.168.0.1
which has a typo error in your posting. It's "routers" not "routes".
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”