Go to advanced search

by jimmybobby
Tue Feb 02, 2016 9:12 pm
Forum: Networking and servers
Topic: IRC Receiver with a thermal printer?
Replies: 1
Views: 488

IRC Receiver with a thermal printer?

Hi there, I'm now an A Level Computer Science student, and wondering if I can get the Raspberry Pi (B rev2) to connect to a Pipsta thermal printer, and print a live feed from an IRC channel. I don't actually have a Pipsta (yet), but would like to think it's possible (preferably using python) to auto...
by jimmybobby
Tue Oct 27, 2015 1:48 pm
Forum: Beginners
Topic: Setup Logmein Hamachi for SSH access behind firewalls, etc.
Replies: 82
Views: 99022

Re: Setup Logmein Hamachi for SSH access behind firewalls, e

Will this work for all ports, and connections between two rpis?

working on a remotely deployed webcam solution, without access to routers at either end.

ps: sorry for bringing this thread alive again...
by jimmybobby
Tue Mar 31, 2015 7:05 pm
Forum: Automation, sensing and robotics
Topic: Serial Communication between Pis
Replies: 9
Views: 6979

Re: Serial Communication between Pis

DougieLawson wrote:Add your userid to the dialout group

sudo adduser pi dialout
It says it already is

EDIT: never mind, a reboot was needed
by jimmybobby
Tue Mar 31, 2015 6:58 pm
Forum: Automation, sensing and robotics
Topic: Serial Communication between Pis
Replies: 9
Views: 6979

Re: Serial Communication between Pis

Make sure you have disabled the system's use of the serial link, raspi-config gives an option. sudo raspi-config Make sure the baud rate (speed) is the same on both Pis. stty -F /dev/ttyAMA0 19200 # on both Pis On the receiver cat </dev/ttyAMA0 On the transmitter echo "Hello" >/dev/ttyAMA0 I get pe...
by jimmybobby
Tue Mar 31, 2015 6:26 pm
Forum: Automation, sensing and robotics
Topic: Serial Communication between Pis
Replies: 9
Views: 6979

Re: Serial Communication between Pis

Why the grounds, and do they have to be the same grounds? Yes they both need the same "GND" as that is the reference that the RX signals are compared against to decide if they are at "1" or "0". PeterO Ah ok that makes sense. So... how would I go about this? I'd like "pi1" to transmit, and "pi2" to...
by jimmybobby
Tue Mar 31, 2015 6:04 pm
Forum: Automation, sensing and robotics
Topic: Serial Communication between Pis
Replies: 9
Views: 6979

Re: Serial Communication between Pis

joan wrote:Yes, it is possible, you can send messages between Pis using the serial link. Connect one ends TX to the other ends RX and vice versa. Also connect the Pi grounds.
TX > RX
RX >TX
makes sense - crossed connection.

Why the grounds, and do they have to be the same grounds?
by jimmybobby
Tue Mar 31, 2015 5:39 pm
Forum: Automation, sensing and robotics
Topic: Serial Communication between Pis
Replies: 9
Views: 6979

Serial Communication between Pis

Hi, I have two Model B rev 2 Pis, and I would like then to communicate between the GPIO. I assume that the best way to do this is through Serial (GPIO pins 8 and 10 [UART TXD and UART RXD] according to some pin out that I have). The ideas situation is to ssh into both, and to see a string appear on ...
by jimmybobby
Wed Apr 09, 2014 8:25 am
Forum: Troubleshooting
Topic: Model A and Model 2 R2 GPIO pinout.
Replies: 2
Views: 724

Re: Model A and Model 2 R2 GPIO pinout.

Thanks! I was searching on google - but it seemed to give me identical results.
I thought this was because Model B r 2 was possibly more popular, but turns out they are the same.
Many thanks!
by jimmybobby
Tue Apr 08, 2014 8:59 pm
Forum: Troubleshooting
Topic: Model A and Model 2 R2 GPIO pinout.
Replies: 2
Views: 724

Model A and Model 2 R2 GPIO pinout.

So I have two living Model B Revision 2 pis, and I have 1 Model A on the way. This reason for this was is suited my project better to have no Ethernet, as there was no real need; everything is on an SD card ready to be used anyway. However, the python scripts rely on GPIO pins being the same. Are th...
by jimmybobby
Sun Mar 02, 2014 2:31 pm
Forum: Troubleshooting
Topic: RPi unexpected shutdown, no boot.
Replies: 3
Views: 711

Re: RPi unexpected shutdown, no boot.

Ok, I can try that, but then that still doesn't solve my problem of what I can do with the Pi...

Its strange; because I do need that, to run a weather website, so the quicker this can be sorted, the better.

Any help is appreciated.
by jimmybobby
Sun Mar 02, 2014 1:49 pm
Forum: Troubleshooting
Topic: RPi unexpected shutdown, no boot.
Replies: 3
Views: 711

RPi unexpected shutdown, no boot.

Hi, The Pi was writing, then it killed an SSH session, it then stops responding to PING requests, meaning that it is offline, yes? Therefore, I unplug the power, no ACT light, but then, when I plug it in, the act light flashes once, no, it isn't a Pi from Micron, it is with a SAMSUNG cpu. Could the ...
by jimmybobby
Wed Jan 08, 2014 7:03 pm
Forum: Troubleshooting
Topic: Need to stop/bypass a looping startup process
Replies: 12
Views: 8146

Re: Need to stop/bypass a looping startup process

So, will I need to copy this back to its location originally, to enable headless operation (ssh and ftp etc) because it works connected to monitor and keyboard etc, but I can't connect to ssh, and the pi is not online according to my router (to which it is directly connected by ethernet) If I do ne...
by jimmybobby
Tue Jan 07, 2014 6:56 pm
Forum: Troubleshooting
Topic: Need to stop/bypass a looping startup process
Replies: 12
Views: 8146

Re: Need to stop/bypass a looping startup process

Ok, never mind, have copied off of it the files I need, and so am reformatting the SD card, and setting it up again.
by jimmybobby
Tue Jan 07, 2014 5:57 pm
Forum: Troubleshooting
Topic: Need to stop/bypass a looping startup process
Replies: 12
Views: 8146

Re: Need to stop/bypass a looping startup process

Will try safe mode, what exactly does it do? Can I still access /etc/rc.local/ from safe mode, or the emergency kernel image? Safe mode does not automatically mount the Raspbian root filesystem, and it has a limited selection of commands and editors available. After booting, remove the jumper, hit ...
by jimmybobby
Tue Jan 07, 2014 4:53 pm
Forum: Troubleshooting
Topic: Need to stop/bypass a looping startup process
Replies: 12
Views: 8146

Re: Need to stop/bypass a looping startup process

jojopi wrote: edit: If you meant /etc/init.d/something, then the easiest fix is to remove the start links from all runlevels: "rm /mnt/etc/rc?.d/S*something".
Yes, this is what I meant.
by jimmybobby
Tue Jan 07, 2014 4:50 pm
Forum: Troubleshooting
Topic: Need to stop/bypass a looping startup process
Replies: 12
Views: 8146

Re: Need to stop/bypass a looping startup process

Ok, am going to try this now, I had looped a startup script, and so that was the problem, because in my 'rc.local' I had put something like (python /home/pi/FOLDERNAME/SCRIPTNAME.py )& which contained the while True line, so, it was in essentials, looping a startup script. Will post what does, and d...
by jimmybobby
Tue Jan 07, 2014 1:31 pm
Forum: Troubleshooting
Topic: Need to stop/bypass a looping startup process
Replies: 12
Views: 8146

Re: Need to stop/bypass a looping startup process

It may be easier to boot the RPi from another card and mount the borked card in a USB SDCard reader. Or boot your laptop from Knoppix (CD/DVD based Linux system), mount the borked SDCard and you can fix it. My Fuji USB SDCard reader is the most useful thing in my toolbox. It's certainly a lot less ...
by jimmybobby
Mon Jan 06, 2014 9:06 pm
Forum: Troubleshooting
Topic: Need to stop/bypass a looping startup process
Replies: 12
Views: 8146

Re: Need to stop/bypass a looping startup process

Can I just add, it is absolutely essential that I do not have to start over - I have no backups of my scripts, and it would be a massive pain to have to reformat the sd card.
by jimmybobby
Mon Jan 06, 2014 7:57 pm
Forum: Troubleshooting
Topic: Need to stop/bypass a looping startup process
Replies: 12
Views: 8146

Need to stop/bypass a looping startup process

Ok, so am new to the forum, please bear that in mind. Anyway, I have generated a python script that uses while True ok, and that runs at startup, in /etc/init.d/ScriptName I was using this tutorial: http://www.stuffaboutcode.com/2012/06/raspberry-pi-run-program-at-start-up.html And I forgot to inclu...
by jimmybobby
Sat Jun 29, 2013 7:41 pm
Forum: Beginners
Topic: Setting up pywws / writing data to website
Replies: 57
Views: 17740

Re: Setting up pywws / writing data to website

Hi there, sorry to bring this back up - have followed this, and am trying to load the page (index.php) and I get the HTTP 500 error... I am really new to all this, and need help!
by jimmybobby
Sun Jun 09, 2013 6:58 am
Forum: Troubleshooting
Topic: "stress" command not found.
Replies: 2
Views: 1239

"stress" command not found.

Hi everyone, I was attempting to use this code, from the command line, via ssh. stress --cpu 1 -t 300 ; ./vcgencmd measure_temp | cut -d "=" -f2 | cut -d "'" -f1 Found here: http://wiki.stocksy.co.uk/wiki/Raspberry_Pi_onboard_temperature_sensors Then I get the error "command not found" - is there a ...
by jimmybobby
Sat Jun 01, 2013 6:43 am
Forum: General programming discussion
Topic: Webserver - HTTP 403 forbidden
Replies: 7
Views: 16653

Re: Webserver - HTTP 403 forbidden

Ok, noobish question - probably - how can I define CSHTML for apache?
by jimmybobby
Fri May 31, 2013 3:34 pm
Forum: General programming discussion
Topic: Webserver - HTTP 403 forbidden
Replies: 7
Views: 16653

Re: Webserver - HTTP 403 forbidden

It has worked on PC, as it was made in Microsoft WebMatrix 3 - when access in browser on pi, it just displays CSHTML code - is it because it is CSHTML, as HTML works fine... :/
by jimmybobby
Tue May 28, 2013 3:19 pm
Forum: General programming discussion
Topic: Webserver - HTTP 403 forbidden
Replies: 7
Views: 16653

Re: Webserver - HTTP 403 forbidden

Ok, I have now got it working so that the browser can access the file...

I did this:

Code: Select all

sudo adduser pi www-data
sudo chown yourusername:www-data -R /var/www
sudo chmod 0755 -R /var/www
sudo chmod g+s -R /var/www


One problem now is that all the web viewer sees is the raw code.


Any help?
by jimmybobby
Tue May 28, 2013 3:00 pm
Forum: General programming discussion
Topic: Webserver - HTTP 403 forbidden
Replies: 7
Views: 16653

Webserver - HTTP 403 forbidden

Hi there, I need help with a problem, I have, apache2 installed, with php5 etc... Now, inside my /var/www, I have more folders: so my fill tree is more like: /var/www/main-site Now, what I have is, at /var/www/index.html there is a link to a ".cshtml" file in /var/www/main-site When users click on t...

Go to advanced search