Go to advanced search

by SurferTim
Fri Jun 30, 2017 11:54 am
Forum: Beginners
Topic: please help me - shh to/from laptop
Replies: 5
Views: 1056

Re: please help me

This is wrong if these are IP, subnet, and gateway. The gateway would be unreachable. 192.168.137.1 255.255.255.0 192.168.0.1 The xx.xx.xx.1 IP is normally the router. If you are connecting to the PC, and the PC has the ethernet and wifi bridged, you should use dhcp initially to insure all is workin...
by SurferTim
Wed Jun 28, 2017 2:11 pm
Forum: Beginners
Topic: Side by side Video Output
Replies: 8
Views: 3066

Re: Side by side Video Output

It may not be as financially affordable as other pi products, but the compute module allows stereoscopic video.
https://raspberrypi.stackexchange.com/q ... ronization
by SurferTim
Tue Jun 27, 2017 8:12 pm
Forum: Beginners
Topic: Adafruit 16 Servo Hat Raspberry Pi
Replies: 6
Views: 1045

Re: Adafruit 16 Servo Hat Raspberry Pi

OK, but for anyone else, my code doesn't use a library. It is the "library".
by SurferTim
Tue Jun 27, 2017 6:36 pm
Forum: Beginners
Topic: Adafruit 16 Servo Hat Raspberry Pi
Replies: 6
Views: 1045

Re: Adafruit 16 Servo Hat Raspberry Pi

I found my C code for interfacing to the PWM IC used on your hat. I use a breakout board with the same IC. #include <stdio.h> #include <stdlib.h> #include <linux/i2c-dev.h> #include <fcntl.h> #include <string.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> ...
by SurferTim
Tue Jun 27, 2017 11:49 am
Forum: Beginners
Topic: IPv6 support for Raspberry Pi
Replies: 4
Views: 835

Re: IPv6 support for Raspberry Pi

If you mean the EUI-64 address, the mac address is split into its upper three bytes and lower three bytes, then FF:FE is inserted between them.
by SurferTim
Tue Jun 27, 2017 1:16 am
Forum: Beginners
Topic: Adafruit 16 Servo Hat Raspberry Pi
Replies: 6
Views: 1045

Re: Adafruit 16 Servo Hat Raspberry Pi

If you want the servo IC code, you might be able to reverse engineer the servo library written for the Arduino. As C++ code goes, it is pretty simple. I use it on Arduinos, but haven't converted it to the RPi yet.
https://github.com/adafruit/Adafruit-PW ... er-Library
by SurferTim
Mon Jun 26, 2017 1:58 pm
Forum: Troubleshooting
Topic: Route destination eth0 two entries
Replies: 3
Views: 614

Re: Route destination eth0 two entries

You can change the metric in dhcpcd.conf also if you require that.
by SurferTim
Mon Jun 26, 2017 12:11 pm
Forum: Troubleshooting
Topic: Route destination eth0 two entries
Replies: 3
Views: 614

Re: Route destination eth0 two entries

Is your Raspbian version Wheezy or Jessie? If Jessie, you should assign static IPs in /etc/dhcpcd.conf.
edit: If Wheezy, maybe you should add a gateway to your static assignment on eth0.
by SurferTim
Fri Jun 23, 2017 11:28 pm
Forum: Networking and servers
Topic: Running multiple pi's on a tractor
Replies: 26
Views: 6070

Re: Running multiple pi's on a tractor

drgeoff wrote:
SurferTim wrote:You will need about 65 amps of 5 volt to run all those.
I'd say closer to half of that.
Oh, so a 1.25A power supply is ok on a RPi3? Seems I wasted my money buying that 2.5A wall wart as was recommended?
by SurferTim
Fri Jun 23, 2017 8:43 pm
Forum: Beginners
Topic: Battery
Replies: 12
Views: 2834

Re: Battery

I use a buck DC-DC converter (95% efficiency) with a 6S 5000ma LIPO. It lasts several hours, depending on how busy the RPi is. It does 6 hours easy.
by SurferTim
Fri Jun 23, 2017 8:26 pm
Forum: Networking and servers
Topic: Running multiple pi's on a tractor
Replies: 26
Views: 6070

Re: Running multiple pi's on a tractor

You will need about 65 amps of 5 volt to run all those.

DC-DC power supplies would be your best bet. That will depend on the maximum voltage/current output of the tractor's generator/alternator.
by SurferTim
Fri Jun 23, 2017 7:33 pm
Forum: Troubleshooting
Topic: illegal instruction on sudo
Replies: 11
Views: 4287

Re: illegal instruction on sudo

Then it probably was the rpi-update that did it to you.
by SurferTim
Fri Jun 23, 2017 3:59 pm
Forum: Troubleshooting
Topic: illegal instruction on sudo
Replies: 11
Views: 4287

Re: illegal instruction on sudo

In a terminal, run groups. Check if you are a member of group sudo.
by SurferTim
Thu Jun 22, 2017 4:14 pm
Forum: Advanced users
Topic: DDOS protection/General Protection
Replies: 5
Views: 5722

Re: DDOS protection/General Protection

You shouldn't be concerned with DDoS attacks. Hacking is the biggest threat. A good firewall program will help, I use gufw. If you expose ssh to the internet and haven't changed your password from the default, you will be hacked. It isn't an "if", it's a "when". edit: If you haven't heard, there is ...
by SurferTim
Wed Jun 21, 2017 2:42 pm
Forum: Networking and servers
Topic: NTP Off the Grid Server/clients
Replies: 14
Views: 3315

Re: NTP Off the Grid Server/clients

If you would have followed my first reply post, you wouldn't have to wait several minutes to
acquire the time.
by SurferTim
Wed Jun 21, 2017 9:33 am
Forum: Troubleshooting
Topic: Ethernet connection through laptop
Replies: 15
Views: 4315

Re: Ethernet connection through laptop

Your posts are conflicting. One post states the RPi IP is 192.168.137.2 and the other 192.168.0.7.

Ditch the algebra. Post the RPi IP, the laptop ethernet IP, and the laptop wifi IP.

Did you use Internet Connection Sharing, or did you bridge the connections?
by SurferTim
Wed Jun 21, 2017 5:43 am
Forum: Networking and servers
Topic: NTP Off the Grid Server/clients
Replies: 14
Views: 3315

Re: NTP Off the Grid Server/clients

I did nothing else to my RPi3 NTP clients except adding the localnet server IP and commenting out the other internet servers, and my clients work fine. I did nothing to my RPi3 NTP server except open udp port 123 on the firewall (I have gufw installed) and it was immediately recognized as a time sou...
by SurferTim
Wed Jun 21, 2017 12:57 am
Forum: Advanced users
Topic: udev cannot automount ntfs flash drives
Replies: 6
Views: 2532

Re: udev cannot automount ntfs flash drives

OutsourcedGuru wrote:Not sure about the fstab entry. I seem to recall that the third column is file system type and you have auto there. You might try "ntfs-3g" for that.
As long as you have installed ntfs-3g, either ntfs-3g or auto will work. I've tried both.
by SurferTim
Tue Jun 20, 2017 8:05 pm
Forum: Troubleshooting
Topic: NZBGet Error 503
Replies: 1
Views: 450

Re: NZBGet Error 503

That is a server error. It may mean the server is overloaded or down for repair.
by SurferTim
Tue Jun 20, 2017 4:44 pm
Forum: Advanced users
Topic: udev cannot automount ntfs flash drives
Replies: 6
Views: 2532

Re: udev cannot automount ntfs flash drives

I use this in /etc/fstab for my ntfs formatted drive. I don't know where you want to mount it. This mounts it in /home/pi/extdrive. That directory must exist. UUID=1D1798506089E3C4 /home/pi/extdrive auto auto,nofail,rw,default 0 0 edit: It will automount correctly only on bootup. If I try to mount i...
by SurferTim
Tue Jun 20, 2017 1:07 pm
Forum: Networking and servers
Topic: NTP Off the Grid Server/clients
Replies: 14
Views: 3315

Re: NTP Off the Grid Server/clients

Then you have virtually the same setup I do. See my first response to your post. If your NTP server has a firewall, insure it allows UDP port 123 through.
by SurferTim
Tue Jun 20, 2017 12:29 pm
Forum: Troubleshooting
Topic: Ethernet connection through laptop
Replies: 15
Views: 4315

Re: Ethernet connection through laptop

What do you mean "without the algebra"? I'm good up to trigonometry. Can you ping 192.168.137.1 from the RPi? edit: There is no sense going any further until you can ping the localnet gateway. Is there any entry in the laptop's firewall that may be stopping the ping? Post the wifi network settings f...
by SurferTim
Tue Jun 20, 2017 11:02 am
Forum: Networking and servers
Topic: NTP Off the Grid Server/clients
Replies: 14
Views: 3315

Re: NTP Off the Grid Server/clients

How many remote (internet) NTP servers are you using? I think "Off the Grid" is the clue to that one.... PeterO That is what I initially thought. I use one NTP server on my localnet. All localnet devices use it. The simple mod I recommended above works great for me. No stratum stuff needed. None of...
by SurferTim
Tue Jun 20, 2017 6:31 am
Forum: Networking and servers
Topic: NTP Off the Grid Server/clients
Replies: 14
Views: 3315

Re: NTP Off the Grid Server/clients

My setup works consistently well, but maybe I am not understanding your problem. How many localnet NTP servers do you have? How many remote (internet) NTP servers are you using?
by SurferTim
Mon Jun 19, 2017 11:34 pm
Forum: Networking and servers
Topic: Routing subnets setting up routes and netfilter
Replies: 1
Views: 341

Re: Routing subnets setting up routes and netfilter

I presume your masquerade is done in the 192.168.178.1 router.

In that router, you must route the 192.168.1.0/24 and 192.168.2.0/24 to the gateway 192.168.178.100.

Go to advanced search