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.

enter image description here

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 enter image description here

ifconfig command

enter image description here

ping -c3 command

enter image description here

hot google.com command

enter image description here

cat /etc/resolv.conf command

enter image description here

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.

enter image description here

  • Please connect via Ethernet, then run the following commands: route and ifconfig, as well as ping -c3, then post the output. This can help to solve the problem. – Ned64 Jun 2 '15 at 10:30
  • Please check raspberrypi.stackexchange.com/questions/23369/… to see how you can set up WiFi on the Pi. – Ned64 Jun 2 '15 at 10:34
  • I have connected via Ethernet . – Zonke-Bonke S'cekeleshe Msibi Jun 2 '15 at 12:46
  • OK. Please post the output of ifconfig, route and ping -c3 by editing your question. – Ned64 Jun 2 '15 at 12:50
  • 1
    Thanks for adding the information. Are you still having problems? It looks OK to me. The only thing that we have not checked now is DNS, which you could do by posting the output of host google.com and cat /etc/resolv.conf. – Ned64 Jun 2 '15 at 14:06

Usually these types of WAP's use something called Captive Portal, which intercepts http traffic on port 80, then redirects it to their login page until the user is logged in.

Try getting the terminal web browser package links and browsing to a website using a http (not https) and it should redirect you and allow you to log in.

  • The problem is that I can't download the terminal web browser package links. It is telling of the connection refused error message. Meaning it is not connecting to the website where it is supposed to be getting the package links. – Zonke-Bonke S'cekeleshe Msibi Jun 4 '15 at 8:34
  • That's not a problem since you do have wget. This can write the HTML page in a file (unless it cannot connect, of course, which is the case here). Then you could at least view the HTML file as plain text. – Ned64 Jun 5 '15 at 14:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.