Varad A G
  • Member for 5 years, 7 months
  • Last seen more than a month ago
gdb misses breakpoint and stops one line after
0 votes

This is not an actual solution to this question and I really do not think this question belong here. But here is what forum says. http://sourceware.org/ml/gdb-patches/2012-08/msg00148.html This is a ...

View answer
Auto-login for Raspberry Pi
1 votes

Setting up of Autologin changes from GNOME and KDE Step 1: Identify the Desktop Environment that is used. echo $DESKTOP_SESSION This should tell you which environment that is used at login. For ...

View answer
Hostname stays the same after renaming
1 votes

Steps to verify/edit hostname of raspberry pi (Raspbian Jesse) Login in to your raspberry pi and type hostname command on the terminal. This should return you the current hostname of the pi. How to ...

View answer
Raspberry Pi Dropbox Uploader Script Run on Startup
1 votes

You can use @reboot option in crontab to start a script on reboot. I have found this easiest way of scheduling. Below are the steps: Step 1: Open the crontab using command sudo crontab -e Step 2: @...

View answer
Execute python script from PHP with parameters?
Accepted answer
1 votes

Can you try something like the below code snippet. private function runCom(){ $command = 'nohup sudo python /home/pi/Python/RGB_Controller/write_color.py' .$HEX.'& > /dev/null 2>&1 ...

View answer
Why does sudo apt-get build-dep not work for emacs24?
Accepted answer
5 votes

My system config is Linux raspberrypi 4.4.13+ #894 Mon Jun 13 12:43:26 BST 2016 armv6l GNU/Linux Please follow the below steps and it should get things ready for you. 1. sudo vi /etc/apt/...

View answer
Error while trying to install pubnub using pip
Accepted answer
1 votes

Can you check your Raspberry pi time. Sometimes it so happens when your system time is inaccurate the pip installation fails. I have faced this issue once. You may check the articles below on how to ...

View answer
transferring files from remote servers to local
1 votes

I have a sample shell script below . You may tweak this as per your need. Since you mentioned you already have a host file and you have keys to access the pi's without password I expected that your ...

View answer
wrong date after power supply interuption ( Sun 28thDec 2014)
0 votes

I would suggest you to have some script to check the time at the of reboot which is a part of cron, that would checks the ntp status and start it if needed. Also if you need to set right away the time ...

View answer
connect to host port 22: Connection refused
Accepted answer
1 votes

There can be couple of simple reasons why you are not able to connect. But before all these steps make sure you are able to ping the machine without fallback / packet loss. check if ps -ef|grep "ssh"|...

View answer
Python Variable Invalid Syntax
Accepted answer
1 votes

Change your print statement like below (I mean the format) instead of using string concat operation. I would not say its not correct to write that way but the below way is always a better operation ...

View answer
How to download and install Python 3.5 in Raspbian
12 votes

I tried installing the python3.5.2 with the below steps and I was successful. 1. wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz 2. tar -xvf Python-3.5.2.tar.xz 3. cd Python-3.5.2 4. ...

View answer
Access GPIO pins through a Flask + Apache/mod_wsgi
0 votes

If you are trying to access the GPIO pins and trigger the pins from a web UI (http request). I would suggest you to keep a utility directory (lib) in your flask project and write your triggers/actions ...

View answer
getting error on raspbian boot up failing to start Load Kernel Modules
1 votes

Looks like this is a bug already Ubuntu (Debian) is looking at from the 16.04 release. https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574163 This might be fixed in some patch soon i guess. ...

View answer
HelloWorld web.py doesn't work
1 votes

I would suggest you to refer the answer below. https://stackoverflow.com/questions/6412442/web-py-attributeerror-module-object-has-no-attribute-application If so when you do import web you are ...

View answer
Upon compiling opencv, the pi is reporting that it is out of space
3 votes

Execute the command disk free (df) and find the available space in root pi@raspberrypi:~/ESP8266 $ df -lk Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 28353172 6080752 ...

View answer
Sensor to activate remote lights on Wi-Fi
0 votes

Yes you can have a wireless enabled light. I have tried it out on a ESP8266 NodeMcu - AI-THINKER dev board. This board supports lua however you also have a javascript/micropython firmware available ...

View answer
Check system name and kernel version in script
Accepted answer
3 votes

You can try something like this. You may have to enhance this but the below script will work for you syntactically and also will tell which files to lookup and verify. #!/usr/bin/bash debian_version=...

View answer
Raspberry Pi 3 can't update IP address
0 votes

Looks like the way we set the static ip has changed. There is a post here in the link which talks about static ip. Please look at the answer from steve(Answer 2). Raspberry seems to ignore static ip ...

View answer
Autorun c executable on boot
1 votes

Please check the link on how to run a command on boot using cron. That should help you to start your binary on boot. How to write a initial script and let it run a command automatically sudo crontab ...

View answer
Multiple DHT22 sensors in different sets of GPIO ports
0 votes

Yes you can as suggested by dcole. However its always good to pull connections (vcc and gnd) If you see the circuit diagram I have marked the vcc and gnd pins which are used by many other pins of ...

View answer
wiringPiSetup: Must be root (Did you forget sudo ?)
1 votes

If you are using netbeans use the below steps. Open the properties of your project Select "Run" Select "Manage Platforms..." Select the Remote Java SE platform you created In the "Platform Properties"...

View answer
Error updating oauth2client with pip install --upgrade
Accepted answer
2 votes

I tried to install the package in my Raspberry pi 2 B+. pi@raspberrypi:/tmp/mytest $ sudo pip install --upgrade oauth2client Requirement already up-to-date: oauth2client in /usr/local/lib/...

View answer
rsync exclude-from does not work
Accepted answer
0 votes

Try the command below. sudo rsync -avH --delete-during --delete-excluded --exclude-from '/home/pi/Desktop/rsync-exclude.txt' / /media/usb0/pi_backup/ The exclude from should be used as --...

View answer
Keyboard configuration doesn't work via SSH?
Accepted answer
2 votes

You can't run it via SSH. This has been reported on Github for raspi-config and was closed because If you were running it through ssh, that's the expected behaviour. As you saw, all raspi-config ...

View answer
continue running after disconnect
0 votes

I would suggest to put the program on cron and you can put something like this sudo crontab -l @reboot <path_to_the_script_that_invokes_the_program> So even if the system reboots due to power ...

View answer
Keep GUI from running at boot in Raspbian?
Accepted answer
3 votes

As suggested by steve use raspi-config for setting up the GUI. Steps 1. on the prompt type sudo raspi-config Step 2 Select the option highlighted "Boot Option" Step 3 Based on your need select "...

View answer
Failing to install Jenkins on Raspberry Pi 3 Model B
0 votes

I tried to reproduce the scenario that you have mentioned while installing Jenkins. I have a java version of 1.8.0_65-b17. However I feel this is something to do with the version of distro. I am ...

View answer
JHD204A - 20x4 dispay
Accepted answer
0 votes

Finally I got this working. This was a connection issue which I identified by removing the header pins from the 16 pin slot and re soldered with the new set of pin. It works well now. Thanks for the ...

View answer
What is range of the in-built Bluetooth of the Raspberry Pi 3?
0 votes

The range depends on various factors like physical obstacles. Receiver Transmitter power etc. You can have a good connectivity within a 60-70 mts range for Bluetooth 4.1. I have used at my home but ...

View answer