Go to advanced search

by hyer
Fri Jul 22, 2016 4:29 pm
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

solvedsolved and solved :)
by hyer
Fri Jul 22, 2016 1:59 pm
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

Finally got a SSH connection. Just needed to use the right host, adress and port. Stupid, i know. But now my next problem is that i have trouble using ansible with the weaved service, seems like its only possible with one SSH connection at a time on that service. So i might need to handle the forewa...
by hyer
Fri Jul 22, 2016 11:45 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

Ah.. I get it. Thx alot! But i have tried doing this, connecting the raspies to my router instead of with ethernet cables, and use the service weaved (instead of port forwarding). But it didnt give me any result. I will try a couple of things and then get back to you. Really appreciate your help ^^
by hyer
Fri Jul 22, 2016 11:09 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

The ubuntu is not in the same place as the RPies, it is a virtual machine created on digitalocean.com. Is there any guides to how i can fix the adress so i can reach them?
I dont get how the RPies can reach the Ubuntu, but not the other way around..?
by hyer
Fri Jul 22, 2016 10:30 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

pi@raspberrypi:~ $ ifconfig && route eth0 Link encap:Ethernet HWaddr b8:27:eb:c4:15:5c inet addr:192.168.x.x Bcast:192.168.x.255 Mask:255.255.255.0 inet6 addr: fe80::8645:bb26:f5c8:d099/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:82841 errors:0 dropped:4672 overruns:0 f...
by hyer
Fri Jul 22, 2016 10:29 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

pi@raspberrypi:~ $ ifconfig && route eth0 Link encap:Ethernet HWaddr b8:27:eb:4d:da:b3 inet addr:192.168.x.x Bcast:192.168.x.255 Mask:255.255.255.0 inet6 addr: fe80::46ff:82a6:312f:5275/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:26716 errors:0 dropped:5552 overruns:0 f...
by hyer
Fri Jul 22, 2016 10:27 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

Ubuntu virtual machine: root@UbuntuDroplet:/home/kolibri# ifconfig && route eth0 Link encap:Ethernet HWaddr 04:01:2f:16:68:01 inet addr:95.85.x.x Bcast:95.85.20.255 Mask:255.255.255.0 inet6 addr: fe80::601:2fff:fe16:6801/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9859 ...
by hyer
Fri Jul 22, 2016 10:17 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

and i can ping both RPi from each other. But like i said, when i ping one of the RPies from ubuntu it does not seem to recieve any packages.. but i can ping others like google.com etc.
by hyer
Fri Jul 22, 2016 10:14 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

but i can ping the other way, ping the ubuntu server
by hyer
Fri Jul 22, 2016 10:09 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

doesn't work when i ping... Only get:

PING 192.168.###.### (192.168.###.### ) 56(84) bytes of data.
by hyer
Fri Jul 22, 2016 9:54 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

with debug log, -vv, i get: root@UbuntuDroplet:/home/kolibri# ssh -vv pi192.168.###.### OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: /etc/ssh/ssh_config line 57: Applying options fo...
by hyer
Fri Jul 22, 2016 9:52 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

i dont have the wrong IP. i can ssh from one RPi to the other, and i can ping the adresses.. I have done this exercise with a master RPi and a node RPi and that worked.
by hyer
Fri Jul 22, 2016 9:48 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

And if i run on the remote:
netstat --tcp --listening --programs --numeric

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 463/sshd
tcp6 0 0 :::22 :::* LISTEN 463/sshd

so the default 22 port is listening on the RPi
by hyer
Fri Jul 22, 2016 9:42 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

ssh: connect to host ###.###.###.### port 22: Connection timed out
by hyer
Fri Jul 22, 2016 9:19 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

yeah thanx:) but i cant copy the id, thats the issue.. doesn't matter if im root or user.
by hyer
Fri Jul 22, 2016 9:12 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Re: Can't copy ssh from Ubuntu server to Rpi

The ssh-keys are generated as root. Could that pose a problem?
by hyer
Fri Jul 22, 2016 8:52 am
Forum: Troubleshooting
Topic: Can't copy ssh from Ubuntu server to Rpi
Replies: 26
Views: 3619

Can't copy ssh from Ubuntu server to Rpi

I have a digitalocean server that i watn to use to orchestrate a couple of RPies with Ansible. I have created the key pair and i'm trying to ssh-copy-id pi@#####... but all i get is this: /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already install...
by hyer
Mon Jul 11, 2016 7:43 am
Forum: General discussion
Topic: RPi gateway
Replies: 4
Views: 1011

Re: RPi gateway

There is a command mode option for setting the radios to node-mode and master mode. So that shouldnt be a problem. What i would like is to be able to controll all of the nodes from the backbone. Configure them wtihout hands-on work.
by hyer
Fri Jul 08, 2016 12:23 pm
Forum: General discussion
Topic: RPi gateway
Replies: 4
Views: 1011

Re: RPi gateway

Just to be clear. The only RPi with a wifi dongle is the gateway RPi.
by hyer
Fri Jul 08, 2016 12:21 pm
Forum: General discussion
Topic: RPi gateway
Replies: 4
Views: 1011

RPi gateway

Hi, I have two Raspberry Pies and two XRF R001 radioes. My setup is like this: One RPi reads air quality values from a SDS011 particle sensor and sends the data to the other RPi via radioes. The receiving RPi decodes the data and continuously uploads it to my web-database. Now, at some point I would...
by hyer
Wed Jul 06, 2016 5:10 pm
Forum: Python
Topic: serialport write python 3
Replies: 1
Views: 922

Re: serialport write python 3

Dont bother. Solves it with bytearray.
by hyer
Tue Jul 05, 2016 5:43 pm
Forum: Python
Topic: serialport write python 3
Replies: 1
Views: 922

serialport write python 3

Hi! I have a question about writing to the serialport with a python 3 script. My project is setting up a sensor on a RPi and sending the sensor data via serial port (with XRF radios). I have opened my serialport, no problems there, and I know that i can send data through (tried with other scripts). ...

Go to advanced search