Go to advanced search

by WrathOfTheAngels
Tue May 08, 2018 9:35 am
Forum: Networking and servers
Topic: scp between devices in different LANs
Replies: 5
Views: 674

Re: scp between devices in different LANs

Nice. There might be an even shorter way. Can "myPC" can be reached from both "raspbihome" and "raspitab" via the address doled out by remot3.it? But "myPC" cannot reach either "raspbihome" or "raspitab" directly? remot3.it is only for raspberry, so i can reach "raspbihome" or "raspitab" directly f...
by WrathOfTheAngels
Mon May 07, 2018 8:01 pm
Forum: Networking and servers
Topic: scp between devices in different LANs
Replies: 5
Views: 674

Re: scp between devices in different LANs

Finally the solution... It was so simple, but I was blind, because I was trying to make rpis communicate...

Code: Select all

ssh raspitab
ssh osmctab
ssh -L 1234:osmchome_ip:22 pi@raspihome
scp -P 1234 osmc@127.0.0.1:/path/to/file .
by WrathOfTheAngels
Mon May 07, 2018 7:00 pm
Forum: Networking and servers
Topic: scp between devices in different LANs
Replies: 5
Views: 674

Re: scp between devices in different LANs

I solved half of the problem... I need to login to raspitab and there launch pitab@raspitab$ ssh -Nf -L 1234:osmchome_ip:22 pi@address_given_by_remot3.it_for_raspihome -p port_given_by_remot3.it_for_raspihome after that I can scp pitab@raspitab$ scp -P 1234 osmchomeuser@127.0.0.1:/path/to/file osmct...
by WrathOfTheAngels
Mon May 07, 2018 10:38 am
Forum: Networking and servers
Topic: scp between devices in different LANs
Replies: 5
Views: 674

scp between devices in different LANs

Hi all, I have this situation http://oi67.tinypic.com/5ese2f.jpg What I want to do is to copy files from osmchome to osmctab I access to raspihome and raspitab using the service given by http://remot3.it , which gives an address and a port to use to ssh to a raspberry. I tried this way (starting fro...
by WrathOfTheAngels
Sat Nov 19, 2016 5:00 pm
Forum: Raspbian
Topic: Lilliput 7" does not work anymore after software update
Replies: 0
Views: 314

Lilliput 7" does not work anymore after software update

Hi, I am sorry to bring up this thread, but I am very confused. I used a Lilliput 7" as screen for my RP2. I do not rembember if I did something to configure it to work, but it was working well with Raspbian Lite (installed 3 months ago). Yesterday, as I needed the desktop version of Raspbian, I dow...
by WrathOfTheAngels
Thu Feb 04, 2016 8:57 pm
Forum: General discussion
Topic: Shutdown button - help
Replies: 9
Views: 1304

Re: Shutdown button - help

Thank you, everything goes well now :) :) :)
by WrathOfTheAngels
Wed Feb 03, 2016 11:08 am
Forum: General discussion
Topic: Shutdown button - help
Replies: 9
Views: 1304

Re: Shutdown button - help

You should connect to C1 and NO1. The order doesn't matter, but C1 could be Ground, and NO1 can be GPIO21. Thank you Since the OP refers only to Pin21, and since the code uses: GPIO.setmode(GPIO.BCM) I think it is safest to assume that using the pin marked 21 on the diagram (from the RPF website) i...
by WrathOfTheAngels
Wed Feb 03, 2016 11:05 am
Forum: General discussion
Topic: Shutdown button - help
Replies: 9
Views: 1304

Re: Shutdown button - help

Pin 21 is GPIO9. Did you edit the Python script to say "gpio_pin_number=9"? Ehrrr... No, I wrote "gpio_pin_number= 21 " Is the .off_button.py script running? You can find out by typing: ps ax and looking for .off_button.py in the list of processes. Will try when I came back at home That is the circ...
by WrathOfTheAngels
Wed Feb 03, 2016 10:40 am
Forum: General discussion
Topic: Shutdown button - help
Replies: 9
Views: 1304

Re: Shutdown button - help

Broadcom GPIO 21 is presented at physical pin 40 on the header on the RPi2 board. Is that what you have connected? (That is the 'last' pin nearest the edge of the board at the end nearest the usb connectors.) Yes, sorry for the wrong terminology, but it is the first time I try to "play" with GPIO. ...
by WrathOfTheAngels
Wed Feb 03, 2016 7:34 am
Forum: General discussion
Topic: Shutdown button - help
Replies: 9
Views: 1304

Shutdown button - help

Hi all, I have been searching for ways to shutdown Raspberry with a button and found this http://www.instructables.com/id/Simple-Raspberry-Pi-Shutdown-Button/ "Simple" I thought. So I bought this http://www.adafruit.com/products/1152 And this https://www.adafruit.com/products/481 And used pin 21 (I ...
by WrathOfTheAngels
Mon May 05, 2014 9:16 am
Forum: Arch
Topic: Run Arch from QEMU
Replies: 3
Views: 2389

Re: Run Arch from QEMU

Does editing fstab help (from mmcblk0p to sda)? Hey, thank you so much :D I changed from from mmcblk0p1 to sda1 and now Arch Linux is booting well :D Now I have another silly question. I want to work on qemu for testing an application of mine. Then, when everything will work well, I want to put the...
by WrathOfTheAngels
Sat May 03, 2014 4:57 pm
Forum: Arch
Topic: Run Arch from QEMU
Replies: 3
Views: 2389

Run Arch from QEMU

Hi, I'm trying to start Arch Linux Arm from QEMU. It fails booting after

Code: Select all

Timed out waiting for device dev-mmcblk0p1.device
and go into emergency mode. What could be the problem?

Thank you for the answer
by WrathOfTheAngels
Tue Apr 29, 2014 2:39 pm
Forum: Other projects
Topic: Wine on Raspberry Pi
Replies: 163
Views: 160983

Re: Wine on Raspberry Pi

Hi, I'm trying to run a software for linux (kindlegen) with qemu-i386, but I get the "Unsupported syscall: 240". Did someone find a solution for this problem? I don't need to run wine, but I post in this topic because it seems that the problem is the same... Maybe also an alternative to qemu-i386 is...
by WrathOfTheAngels
Thu Apr 10, 2014 9:08 pm
Forum: Java
Topic: Sending attachments from java code
Replies: 6
Views: 3154

Re: Sending attachments from java code

The problem is only for big files :( Even if I send from hotmail to hotmail my file. I will use a workaround for my personal problem and upload to dropbox the created mobi file. Then send to my personal documents the link to it (in a pdf, or other format...). This is a good thing also because Amazon...
by WrathOfTheAngels
Thu Apr 10, 2014 1:53 pm
Forum: Java
Topic: Sending attachments from java code
Replies: 6
Views: 3154

Re: Sending attachments from java code

Also 20 MB (true 8bit, doubled then with uuencode to 7bit) seems to be the limit many widley used e-mail STMP servers seem to accept, like for example Google-Mail. For hotmail this limit should be 50 MB Attachments bigger than that usually are simply rejected, i.e. not send. Maybe this is the reaso...
by WrathOfTheAngels
Thu Apr 10, 2014 11:07 am
Forum: Java
Topic: Sending attachments from java code
Replies: 6
Views: 3154

Re: Sending attachments from java code

I am now trying with outlook server

Code: Select all

props.put("mail.smtp.host", "smtp-mail.outlook.com");
If also this will not work, I will try setting ssl true...
Edit: same problem

Code: Select all

props.put("mail.smtp.ssl.enable", "true");
I hope to find a solution and to put it here
Edit: bad idea
by WrathOfTheAngels
Thu Apr 10, 2014 9:34 am
Forum: Java
Topic: Sending attachments from java code
Replies: 6
Views: 3154

Re: Sending attachments from java code

I think you can't get the same data-rate with e-mail attachments compared to direct binary transfers in browsers. Because historically e-mail attachments are (sort of?) uuencoded , i.e. basically the 8-bit bytes of your binary attachments are converted to 7-bit "bytes" or ASCII characters -- meanin...
by WrathOfTheAngels
Wed Apr 09, 2014 3:49 pm
Forum: Java
Topic: Sending attachments from java code
Replies: 6
Views: 3154

Sending attachments from java code

Hi, I have made a program in java that creates mobi files. I want to send them to my personal documents on Amazon from raspi. At this moment, I am developing my program on my pc. When it will be complete, I will put it on raspberry. But I have a problem. Adding mobi file as attachment to email takes...
by WrathOfTheAngels
Sun Dec 09, 2012 7:38 pm
Forum: Networking and servers
Topic: ad-hoc wifi network rtl 8188cu
Replies: 10
Views: 57715

Re: ad-hoc wifi network rtl 8188cu

Hi, I'd like to know if it is possible to use one wireless adapter to connect to internet and also to create an ad-hoc wifi network. How could I do?

Thank you for the answer
by WrathOfTheAngels
Thu Sep 20, 2012 7:57 pm
Forum: Troubleshooting
Topic: USB cell phone tethering to Raspberry PI
Replies: 13
Views: 40381

Re: USB cell phone tethering to Raspberry PI

Hi, I tryed previous solutions, but no one is working for me. My ifconfig output is usb0 Link encap:Ethernet HWaddr 2a:3c:1d:d1:9f:ae inet addr:192.168.42.149 Bcast:192.168.42.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17 errors:0 dropped:3 overruns:0 frame:0 ...

Go to advanced search