Go to advanced search

by vk4tec
Fri May 20, 2016 11:59 pm
Forum: General discussion
Topic: MySQL
Replies: 3
Views: 957

MySQL

Hello

I have install MySQL server and client

I can not login with either root ( what is the password ) or pi ( raspberry )

Frustrating

I just want to build some tables and talk to them in perl and cgi

- Andrew -
by vk4tec
Fri May 20, 2016 10:28 pm
Forum: General discussion
Topic: ftp
Replies: 8
Views: 1614

Re: ftp

found it

/etc/.vsftpd.conf

write enable was turned off

Andrew
by vk4tec
Fri May 20, 2016 8:02 am
Forum: General discussion
Topic: ftp
Replies: 8
Views: 1614

Re: ftp

As does mkdir
by vk4tec
Fri May 20, 2016 8:00 am
Forum: General discussion
Topic: ftp
Replies: 8
Views: 1614

ftp

I am using ftp into Pi

Using pi and raspberry

Why do I get permission denied to a put BIN

Andrew
by vk4tec
Wed May 18, 2016 3:08 pm
Forum: General discussion
Topic: Need a hand please : Perl GPIO
Replies: 11
Views: 3858

Re: Need a hand please : Perl GPIO

Anyone able to flash an led using perl ?
by vk4tec
Wed May 18, 2016 12:46 pm
Forum: General discussion
Topic: 3G and pi
Replies: 2
Views: 505

3G and pi

Dreaming of placing a Pi up high on a pole to receive aircraft

Send data back over 3G 4g

Used a mobile access point before.

Do these USB dongles work ?

Andrew
by vk4tec
Wed May 18, 2016 12:41 pm
Forum: General discussion
Topic: LED on gpio
Replies: 8
Views: 1450

Re: LED on gpio

Get an adjustable resistor and have a play
by vk4tec
Fri May 13, 2016 8:26 am
Forum: General discussion
Topic: Telemetry
Replies: 3
Views: 626

Telemetry

Does the Pi support analogue to digital conversion ?

Or do I need a HAT ?

Andrew
by vk4tec
Fri May 13, 2016 3:19 am
Forum: General discussion
Topic: Raspberry Pi Powerbank
Replies: 4
Views: 1762

Re: Raspberry Pi Powerbank

Same here

So I going to try a 12 volt battery and a diode
by vk4tec
Tue May 10, 2016 1:49 pm
Forum: General discussion
Topic: 5 volt UPS
Replies: 2
Views: 690

5 volt UPS

Hello

Trying to keep a GPS tracker running in the car.

Is it ok just to place a gell cell across the 12 volts in the car through a diode to a 12 to 5 volt converter to run the Pi once the car has been turned off ?

Much like a no break 12 volt power supply
by vk4tec
Tue May 10, 2016 11:41 am
Forum: General discussion
Topic: PSU GPS logger
Replies: 1
Views: 444

PSU GPS logger

Hello

I have built a GPS logger

The logger is working and I can surf to it and collect the logs when the car is in range of the house. Wifi

What is the best arrangement to power it from a little battery that can take over when the car is off

Andrew
by vk4tec
Tue May 10, 2016 11:35 am
Forum: General discussion
Topic: Need a hand please : Perl GPIO
Replies: 11
Views: 3858

Re: Need a hand please : Perl GPIO

I was looking at the PERL examples.

How do I "get and install" the bcm2835 library
How do I "get and install" the Device::BCM2835 perl library ?

Is CPAN involved ? APT-GET ?

Andrew
by vk4tec
Mon May 09, 2016 1:01 pm
Forum: General discussion
Topic: Need a hand please : Perl GPIO
Replies: 11
Views: 3858

Re: Need a hand please : Perl GPIO

Thank you I will try this tomorrow

I will leave it logging over night
by vk4tec
Mon May 09, 2016 12:06 pm
Forum: General discussion
Topic: Need a hand please : Perl GPIO
Replies: 11
Views: 3858

Need a hand please : Perl GPIO

Can someone talk me through getting GPIO working under perl please.

I need to flash some LED's

Thanks in advance

Andrew
by vk4tec
Mon May 09, 2016 8:09 am
Forum: General discussion
Topic: GPS Data logger
Replies: 2
Views: 868

Re: GPS Data logger

Well that was disappointing

compilation terminated.
Makefile:337: recipe for target 'BCM2835.o' failed
make: *** [BCM2835.o] Error 1
MIKEM/Device-BCM2835-1.9.tar.gz
/usr/bin/make -- NOT OK
by vk4tec
Mon May 09, 2016 4:51 am
Forum: General discussion
Topic: GPS Data logger
Replies: 2
Views: 868

GPS Data logger

Hope to be able to add perl code to light up some LED's from GPIO // + configure crontab to see if the perl script is running every minute sudo vi /etc/crontab * * * * * root /gps_logger/process_watch.pl + perl script will connect to USB GPS and log to file /gps_logger/gps_nmea_logger.pl #!/usr/bin...
by vk4tec
Sun May 08, 2016 11:02 am
Forum: General discussion
Topic: perl
Replies: 7
Views: 1523

Re: perl

by vk4tec
Sun May 08, 2016 10:25 am
Forum: General discussion
Topic: perl
Replies: 7
Views: 1523

Re: perl

better

[email protected]:/usr/lib/cgi-bin $ sudo ./adsb_stats_airframe.cgi
syntax error at ./adsb_stats_airframe.cgi line 3, near ");"
Execution of ./adsb_stats_airframe.cgi aborted due to compilation errors.
[email protected]:/usr/lib/cgi-bin $


At least its only an error
by vk4tec
Sun May 08, 2016 10:25 am
Forum: General discussion
Topic: perl
Replies: 7
Views: 1523

Re: perl

sudo apt-get install libgd-graph-perl
by vk4tec
Sun May 08, 2016 9:44 am
Forum: General discussion
Topic: perl
Replies: 7
Views: 1523

Re: perl

Can't locate GD/Graph/axestype.pm in @INC
by vk4tec
Sun May 08, 2016 9:43 am
Forum: General discussion
Topic: perl
Replies: 7
Views: 1523

Re: perl

manual build [email protected]:~/.cpan/sources/authors/id/L/LD/LDS/GD-2.56 $ sudo ./Build install Building GD Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pi/perl5/lib/perl5/arm-linux-gnueabihf-thread-multi-64int/auto/GD/GD.bs Installing /hom...
by vk4tec
Sun May 08, 2016 9:29 am
Forum: General discussion
Topic: perl
Replies: 7
Views: 1523

Re: perl

[email protected]:/var/www/html/adsb_logs $ sudo cpan install GD Reading '/root/.cpan/Metadata' Database was generated on Sun, 08 May 2016 02:29:02 GMT Running install for module 'GD' Checksum for /root/.cpan/sources/authors/id/L/LD/LDS/GD-2.56.tar.gz ok 'YAML' not installed, will not store persistent state C...
by vk4tec
Sun May 08, 2016 8:25 am
Forum: General discussion
Topic: perl
Replies: 7
Views: 1523

Re: perl

#!/usr/bin/perl use GD::Graph::lines; open (infile,("/var/www/html/adsb_logs/adsb_stats.log"); while (<infile>) { @data = split(/,/); push (@hours,$data[0]); push (@data1,$data[1]); } chop $hours; chop $data1; my @data = ([@hours],[@data1]); my $mygraph = GD::Graph::lines->new(1200, 600); $mygraph->...
by vk4tec
Sun May 08, 2016 8:22 am
Forum: General discussion
Topic: perl
Replies: 7
Views: 1523

perl

Really struggling with /cgi-bin/ I cant get GD.pm to stick and lines.pm I cant seem to get the command line to pick up the path statement. I am unsure if I need to be root or pi to install .pm modules for /cgi-bin/ I know it is trying to work [email protected]:/usr/lib/cgi-bin $ ./adsb_stats_airframe.pl Can't...

Go to advanced search