Go to advanced search

by GianfrancoPa
Mon Nov 13, 2017 11:48 am
Forum: Advanced users
Topic: Web tunnel on reverse tunneling connection [PuTTY]
Replies: 1
Views: 1228

Web tunnel on reverse tunneling connection [PuTTY]

Good morning! I've this configuration: NET A: where I'm located with my "PC" where runs PuTTY NET B: here is located the "Raspy A" with SSH port opened to WAN NET C: here is located the Web Server "WWW" and the "Raspy B". All ports are closed to WAN ------------------------------------ Between Raspy...
by GianfrancoPa
Sun Jan 29, 2017 4:49 pm
Forum: Troubleshooting
Topic: Automatize ssh reverse tunnel: help me!!
Replies: 0
Views: 354

Automatize ssh reverse tunnel: help me!!

Since many days I'm wandering in the way to automatize the estabilishment of a reverse tunnel. I've many remote raspberry natted inside their LANs, and one raspberry that I use as server, reachable from the web. I've implemented on my website a system to send to remote raspberry single commands: eve...
by GianfrancoPa
Wed Apr 27, 2016 7:56 am
Forum: Advanced users
Topic: PHP connection to Raspberry using phpseclib
Replies: 7
Views: 1749

Re: PHP connection to Raspberry using phpseclib

I solved the problem: my website provider permits to use only a few of external ports. If I change SSH port it works very well
by GianfrancoPa
Tue Apr 26, 2016 8:34 am
Forum: Advanced users
Topic: PHP connection to Raspberry using phpseclib
Replies: 7
Views: 1749

Re: PHP connection to Raspberry using phpseclib

No, that's all...
by GianfrancoPa
Tue Apr 26, 2016 4:53 am
Forum: Advanced users
Topic: PHP connection to Raspberry using phpseclib
Replies: 7
Views: 1749

Re: PHP connection to Raspberry using phpseclib

Sorry, the second one, include('Crypt/RSA.php'), is not necessary, I used it as test that I forgot to remove... Doing other tests, I see that the socket connection, it functions very well if I try to connect to 80 port, but if I try using 22 port, it functions one time on 1000... If I use PUTTY to c...
by GianfrancoPa
Mon Apr 25, 2016 5:53 pm
Forum: Advanced users
Topic: PHP connection to Raspberry using phpseclib
Replies: 7
Views: 1749

PHP connection to Raspberry using phpseclib

I'm tryng to make SSH connection from my website to my Raspberry using PHP library "phpseclib". It functions very badly, extabilishing connection only about a couple of times in an hour. The other times I get always error 110. This my code: <?php //set_include_path(get_include_path() . PATH_SEPARATO...
by GianfrancoPa
Sun Apr 03, 2016 8:52 pm
Forum: Beginners
Topic: WAN access to LAN file over Raspberry
Replies: 5
Views: 773

Re: WAN access to LAN file over Raspberry

I tried with a fresh installation and i do note receive the same error, but when I surf on the browser ipB:8080 I do not retrieve the webcam but an error page...
by GianfrancoPa
Sun Apr 03, 2016 7:06 pm
Forum: Beginners
Topic: WAN access to LAN file over Raspberry
Replies: 5
Views: 773

Re: WAN access to LAN file over Raspberry

By forwarding 192.168.1.99 port 80 from A to B. From B you... ssh -L 8080:192.168.1.99:80 [email protected]_address_A Now the camera should be available on port 8080 of B. If there is no web-server running on B then you can remore "8080" and it will use 80. I get this error: channel_setup_fwd_listener: can...
by GianfrancoPa
Sun Apr 03, 2016 4:03 pm
Forum: Beginners
Topic: WAN access to LAN file over Raspberry
Replies: 5
Views: 773

Re: WAN access to LAN file over Raspberry

Thanks!!

And.. if B is a Windows PC with running Putty?

Thanks again...
by GianfrancoPa
Sun Apr 03, 2016 3:35 pm
Forum: Beginners
Topic: WAN access to LAN file over Raspberry
Replies: 5
Views: 773

WAN access to LAN file over Raspberry

Hi at all! I have this need: in my remote location I have a rapsberry pi (A) that I can access using http and ssh from my raspberry pi (B) located at my home In the same LAN of A there is also a webcam (C) with ip 192.168.1.99, that I can manage by html. I can't open the C ports to WAN so I can't ma...
by GianfrancoPa
Tue Feb 10, 2015 9:13 am
Forum: Beginners
Topic: Why enable user www-data is dangerous?
Replies: 6
Views: 1525

Re: Why enable user www-data is dangerous?

No I'm trying in this way, what do you think about security? I can add more control adding some kind of username and password/login on php file. cd / sudo nano webcommand.sh #content of file ------------------------------------------------------- #!/bin/sh # # # # case "$1" in reboot) echo -n "Reboo...
by GianfrancoPa
Sun Feb 08, 2015 1:19 pm
Forum: Beginners
Topic: Why enable user www-data is dangerous?
Replies: 6
Views: 1525

Re: Why enable user www-data is dangerous?

I understand that when I assign any kind of privileges to www-data user I can open in some way the wall of security. What I'm looking for, is a way to do it in the safest way, but I'm not competent in this matter so your help is very precious for me. As rpdom told me, the way that I'm trying to foll...
by GianfrancoPa
Sun Feb 08, 2015 10:00 am
Forum: Beginners
Topic: Why enable user www-data is dangerous?
Replies: 6
Views: 1525

Re: Why enable user www-data is dangerous?

Ok, thanks!!

In can add more security putting some security such as password request on the php file.

Obvious that if somebody will know the password the secret will not more secret :)
by GianfrancoPa
Sat Feb 07, 2015 10:59 pm
Forum: Beginners
Topic: Why enable user www-data is dangerous?
Replies: 6
Views: 1525

Why enable user www-data is dangerous?

Hi at all! I'm looking for a simple way than permit to reboot my Raspberry with a simple link. I found this tutorial: sudo visudo # Add the following line below "pi ALL etc." and exit the visudo editor: www-data ALL = NOPASSWD: /sbin/shutdown sudo nano /var/www/index.html # Absolute minimum contents...
by GianfrancoPa
Sun Sep 21, 2014 1:45 pm
Forum: Advanced users
Topic: Assign multiple ports to web server
Replies: 5
Views: 1327

Re: Assign multiple ports to web server

So, for example, if I prompt the following commands on Rp1 I will obtain the redirect to RP2?

Code: Select all

ProxyPass /Cam http://192.168.1.8/
ProxyPassReverse  /Cam http://192.168.1.8/
It works with subdirectory too?

I can redirect in the same way the SSH port? I want use 21 for RP1 and 22 for RP2
by GianfrancoPa
Sun Sep 21, 2014 1:26 pm
Forum: Advanced users
Topic: Assign multiple ports to web server
Replies: 5
Views: 1327

Re: Assign multiple ports to web server

This should be the solution, but my router don't allows this!!!
by GianfrancoPa
Sun Sep 21, 2014 1:18 pm
Forum: Advanced users
Topic: Assign multiple ports to web server
Replies: 5
Views: 1327

Assign multiple ports to web server

Hi at all, thanks for your attention in advance. Because I use tre different raspberry on my LAN, with my router I'm able to assign only one Virtual Server rule in order to redirect external access from the net. I wish to do something as follow: myip:80 -> 192.168.1.10:80 myip:81 -> 192.168.1.10:81 ...
by GianfrancoPa
Tue Feb 04, 2014 2:02 pm
Forum: Troubleshooting
Topic: Raspberry pi is wonderful but...
Replies: 19
Views: 6765

Re: Raspberry pi is wonderful but...

In order to solve this annoying problems I tryed to use the SD card tha sell RS. Since that I use them (about one month) I solved ALL freeze and reboot problems!!!!

Now all six raspberry that I use to send the weather data works full time 24h/24!!
by GianfrancoPa
Mon Dec 23, 2013 12:46 pm
Forum: Advanced users
Topic: Power from battery pack
Replies: 8
Views: 2705

Re: Power from battery pack

I tried model B + Raspberry camera with no success
by GianfrancoPa
Thu Dec 19, 2013 1:04 pm
Forum: Camera board
Topic: Camera won't work
Replies: 28
Views: 8865

Re: Camera won't work

I'm having the some issues using a 2.0A power supply.

I'll try again to check the cable connections
by GianfrancoPa
Tue Dec 17, 2013 7:38 am
Forum: Camera board
Topic: Camera won't work
Replies: 28
Views: 8865

Re: Camera won't work

I have add a Wifi dongle and I'm having again errors. May be a power issue so I've ordered a 2A power supply. I will let you kNow
by GianfrancoPa
Sat Dec 14, 2013 12:58 pm
Forum: Camera board
Topic: Camera Stops Working and Needs a Restart
Replies: 5
Views: 2288

Re: Camera Stops Working and Needs a Restart

I'm having the same problem using the latest version of Wheezy.
I get an image every 5 minutes, using the same name.

Some body solved this problem??
Thanks
by GianfrancoPa
Fri Dec 13, 2013 9:04 pm
Forum: Camera board
Topic: Camera won't work
Replies: 28
Views: 8865

Re: Camera won't work

Now I'm having the some error.... :( [email protected] ~ $ raspistill -o webcam2_raw.jpeg -w 640 -h 480 -q 20 -v raspistill Camera App v1.3.5 Width 640, Height 480, quality 20, filename webcam2_raw.jpeg Time delay 5000, Raw no Thumbnail enabled Yes, width 64, height 48, quality 35 Link to latest frame ...
by GianfrancoPa
Fri Dec 13, 2013 8:00 pm
Forum: Camera board
Topic: Camera won't work
Replies: 28
Views: 8865

Re: Camera won't work

Go to advanced search