I need my raspberry pi to connect to the network so I can be able to install certain packages into it. I went through this tutorial. I made the following changes to the network settings of the Pi.
But the problem is that the network I'm using is very secured in a way that for you to start browsing or use the internet you must firstly login as a user so I'm not familiar how I can add my credentials to the network settings.
Even if I try to use the ethernet cable I can't access the Pi doesn't connect to the internet. With the ethernet cable if I run the ifconfig
command I can see that it is connected to the LAN but the problem is that when I install packages it fail meaning it's not really connected.
route
command
ifconfig
command
ping -c3 8.8.8.8
command
hot google.com
command
cat /etc/resolv.conf
command
I have run nslookup google.com
, wget --spider -v http://www.google.com/ncr
and wget -v http://www.google.com/ncr
commands and this proved that my Pi is not connecting to the internet.
route
andifconfig
, as well asping -c3 8.8.8.8
, then post the output. This can help to solve the problem. – Ned64 Jun 02 '15 at 10:30ifconfig
,route
andping -c3 8.8.8.8
by editing your question. – Ned64 Jun 02 '15 at 12:50host google.com
andcat /etc/resolv.conf
. – Ned64 Jun 02 '15 at 14:06host google.com
andcat /etc/resolv.conf
and post the output. – Zonke-Bonke S'cekeleshe Msibi Jun 03 '15 at 09:18/etc/resolv.conf
shows a T-mobile host as a nameserver, so that might work. I suggested a lookup of google.com to see whether there is a valid response. If thehost
command is not installed trynslookup google.com
. Also, you could trywget --spider -v http://www.google.com/ncr
to see if you get an HTTP connection, and whether it is re-directed to a Captive Portal. To check further, remove the--spider
and look at the filencr
(or the re-directed page with a possibly different name) to see whether it really is from google, or a redirected login page. – Ned64 Jun 04 '15 at 08:40export http_proxy=http://proxy_address:proxy_port
with the relevant entries. – Ned64 Jun 05 '15 at 12:54