Go to advanced search

by jneha
Fri Nov 14, 2014 12:45 pm
Forum: Troubleshooting
Topic: No route to host
Replies: 1
Views: 784

No route to host

I am getting error on sudo apt-get update. The error says: No route to host The various things that I have tried are: 1. changed the network to static in /etc/network/interfaces 2. sudo mv /var/lib/dpkg/status to /var/lib/dpkg/status.1 sudo touch /var/lib/dpkg/status But I still receive the same err...
by jneha
Fri Jun 13, 2014 7:54 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 316
Views: 173760

Re: WebIOPi : control your Pi’s GPIO with a browser

I am trying to run the Simple LED program through web( https://code.google.com/p/webiopi/wiki/Tutorial_Basis ) I am unable to create a GPIO button through webiopi using the function: webiopi.createGPIOButton(17, "string"); Although the html page executes the python script fine, yet I am unable to vi...
by jneha
Mon Jun 02, 2014 8:04 am
Forum: Python
Topic: Web Sever side scripting Python + GPIO
Replies: 38
Views: 67088

Re: Web Sever side scripting Python + GPIO

OK so i finally got it working. Comments please on my implementation, i know it's not right. HTML + PHP code <html> <head> <?php if (isset($_POST['RedON'])) { exec('sudo python /var/www/gpio/red_on.py'); } if (isset($_POST['RedOFF'])) { exec('sudo python /var/www/gpio/red_off.py'); } if (isset($_PO...
by jneha
Mon May 26, 2014 2:59 pm
Forum: Troubleshooting
Topic: Connect Raspi to a Proxy
Replies: 22
Views: 137200

Re: Connect Raspi to a Proxy

apt seems to ignore the HTTP_PROXY environment variable. You can make it work by putting Acquire::http::Proxy "http://yourproxyaddress:proxyport"; in a file placed in /etc/apt/conf.d (named similar to "10proxy" for example). It should also work when placed in /etc/apt/apt.conf but I don't remember ...
by jneha
Mon May 26, 2014 2:58 pm
Forum: Raspbian
Topic: apt-get update problem
Replies: 45
Views: 99106

Re: apt-get update problem

Thank you guys for the help all along :) since the error log showed "connection refused", I tried configuring the Raspi to a proxy follwing the link: http://www.raspberrypi.org/forums/viewt ... 28&t=18634 . Now the command "apt-get" is working perfectly. Thank you all for ur time:)
by jneha
Mon May 26, 2014 11:51 am
Forum: Raspbian
Topic: apt-get update problem
Replies: 45
Views: 99106

Re: apt-get update problem

No, the problem is still existing. I feel there is some settings issue at my side but I am unable to figure out. This time a new line is added to the existing error log: Err http://mirrordirector.raspbian.org wheezy Release.gpg Could not connect to mirrordirector.raspbian.org:80 (5.153.225.207). - c...
by jneha
Sat May 24, 2014 8:07 am
Forum: Raspbian
Topic: apt-get update problem
Replies: 45
Views: 99106

Re: apt-get update problem

The following is the error I am receiving in running the "sudo apt-get update" command. Err http://mirrordirector.raspbian.org wheezy Release.gpg Could not connect to mirrordirector.raspbian.org:80 (5.153.225.207). - connect (111: Connection refused) Err http://archive.raspberrypi.org wheezy Release...
by jneha
Sat May 24, 2014 7:30 am
Forum: Troubleshooting
Topic: apt-get update failure
Replies: 11
Views: 21788

Re: apt-get update failure

I am unable to ping to the Google server, but in an internal LAN, I could connect to the other IPs. Interestingly, although I could connect to google through the web browser on Raspberry Pi. Please suggest me how can correct my Internet connection and successfully run the "apt-get update" command

Go to advanced search