My raspberrypi is not connecting to internet.
I am trying to connect it to laptop internet through ethernet but its not working.
It shows following configuratoion error.
sudo ifdown eth0 && sudo ifup eth0
ifdown: interface eth0 not configured
SIOCADDRT: File exists
Failed to bring up eth0.
I have made following changes in interface and ifconfig output is also attached.
ifconfig
output shows an IP address of192.168.0.1
. In what sense are you not connected? – goldilocks Mar 30 '18 at 13:01ifdown: interface eth0 not configured SIOCADDRT: File exists Failed to bring up eth0.
– alia Mar 30 '18 at 13:21-c 1 8.8.8.8
, not-c 1.8.8.8.8
. Anyway, if eth0 is up and has an address, the problem is more likely to be with the laptop configuration. Unless you've really put anecho
in there, which might just invalidate the whole thing: https://manpages.debian.org/jessie/ifupdown/interfaces.5.en.html Unfortunately I have my own system for configuring networking so I am not much help with the conventional one. – goldilocks Mar 31 '18 at 12:40