Go to advanced search

by SurferTim
Sun Feb 18, 2018 11:54 am
Forum: Networking and servers
Topic: How to use NTP to sync two pi's clocks (don't care about accuracy)?
Replies: 12
Views: 3331

Re: How to use NTP to sync two pi's clocks (don't care about accuracy)?

I've used mplayer and UDP to sync video with good results. Don't know how you are using NTP to sync your video though. If you are planning on using NTP, it seems UDP might be better. Just my opinion... I'm actually not sure how that would work (I have no experience streaming video), but my goal her...
by SurferTim
Sat Feb 17, 2018 11:47 pm
Forum: Networking and servers
Topic: How to use NTP to sync two pi's clocks (don't care about accuracy)?
Replies: 12
Views: 3331

Re: How to use NTP to sync two pi's clocks (don't care about accuracy)?

I've used mplayer and UDP to sync video with good results. Don't know how you are using NTP to sync your video though. If you are planning on using NTP, it seems UDP might be better.

Just my opinion...
by SurferTim
Sat Feb 17, 2018 12:17 pm
Forum: Advanced users
Topic: GPS module for Raspberry Pi 3 ?
Replies: 2
Views: 1413

Re: GPS module for Raspberry Pi 3 ?

I have the Adafruit model, but if you don't need 10Hz updates, you would be as well served by the ublox.

The Ultimate GPS unit is easily programmable to select only certain outputs and baud rate. I don't know about the ublox.
by SurferTim
Fri Feb 16, 2018 11:21 pm
Forum: Troubleshooting
Topic: Two Pi zero's, both on network with same IP address!
Replies: 8
Views: 1776

Re: Two Pi's, both on network with same IP address!

If a dhcp client requests network settings, the dhcp server will issue an ip from its dhcp range. I highly recommend not using a static IP that is within the dhcp server range for this reason. My routers check the localnet for an active device with that ip by pinging it. If a device responds to the ...
by SurferTim
Thu Feb 15, 2018 2:39 pm
Forum: Networking and servers
Topic: Access Raspberry Pi without vpn or port forwarding
Replies: 10
Views: 2474

Re: Access Raspberry Pi without vpn or port forwarding

Ok, i see... this was my idea but than the raspberry pi must send a request to the online server every minute or so. Is this the way to go? It is not completely realtime and it makes a lot of unnecessary sql connections. Yes. Unfortunate but true. The client RPis behind a router must initialize the...
by SurferTim
Thu Feb 15, 2018 2:23 pm
Forum: Networking and servers
Topic: Access Raspberry Pi without vpn or port forwarding
Replies: 10
Views: 2474

Re: Access Raspberry Pi without vpn or port forwarding

It must be a server on the internet. If your rpi is accessible from the internet, you are ok. You must use the server as a "relay". Your clients send a command that is stored in the SQL database. The client's rpi connects to the server and retrieves the commands.
by SurferTim
Thu Feb 15, 2018 2:02 pm
Forum: Networking and servers
Topic: Access Raspberry Pi without vpn or port forwarding
Replies: 10
Views: 2474

Re: Access Raspberry Pi without vpn or port forwarding

If the server has a SQL database you might be able to implement that.

How savvy are you with a SQL database?
by SurferTim
Thu Feb 15, 2018 1:21 am
Forum: Troubleshooting
Topic: dhcpcd static IP error...
Replies: 9
Views: 1414

Re: dhcpcd static IP error...

If you are using Stretch, open /etc/dhcpcd.conf with a text editor. There are plenty of commented out examples there.
by SurferTim
Wed Feb 14, 2018 10:58 pm
Forum: Troubleshooting
Topic: dhcpcd static IP error...
Replies: 9
Views: 1414

Re: dhcpcd static IP error...

If you are using the Stretch version of Raspbian, remove all that. There should be only one uncommented line in /etc/network/interfaces unless you are setting up a bridge, which you aren't.
by SurferTim
Wed Feb 14, 2018 10:14 pm
Forum: Troubleshooting
Topic: dhcpcd static IP error...
Replies: 9
Views: 1414

Re: dhcpcd static IP error...

Post the contents of your /etc/network/interfaces file.
by SurferTim
Tue Feb 13, 2018 1:38 pm
Forum: Networking and servers
Topic: How to connect two Raspberry pi zero with Raspberry3?
Replies: 1
Views: 653

Re: How to connect two Raspberry pi zero with Raspberry3?

Both usb devices have the same subnet. Run this from a console:

Code: Select all

route
The device with the lowest metric will be used for that subnet.

My advice is use different subnets on each usb device.

Edit: Or bridge the two usb interfaces. I haven't tried this.
by SurferTim
Tue Feb 13, 2018 12:41 pm
Forum: Troubleshooting
Topic: Stretch SSH broken?
Replies: 2
Views: 599

Re: Stretch SSH broken?

peewee2 wrote: I created another SD card with the stretch-lite 2017-11-29 image
Installed and can confirm that every line in sshd_config is commented out, so ssh will not work
That is untrue. I have Stretch lite 2017-11-29, and even tho most lines are commented out. many aren't.

Mine works.
by SurferTim
Tue Feb 13, 2018 1:37 am
Forum: Advanced users
Topic: Access Point Hardware
Replies: 2
Views: 485

Re: Access Point Hardware

If you find the onboard wireless is not powerful enough, the Alfa brand makes some 500mw to 2000mw units. I know the 2000mw unit works as an AP.
by SurferTim
Mon Feb 12, 2018 3:43 pm
Forum: Networking and servers
Topic: Connecting two Access Point
Replies: 3
Views: 676

Re: Connecting two Access Point

CharlyDelta wrote: Do you think this is feasible?
You can't connect two access points. Your best bet may be to use two wifi modules on rpi2a (one ap and the other a client) and route everything.
by SurferTim
Sun Feb 11, 2018 2:59 pm
Forum: Beginners
Topic: Silly question
Replies: 6
Views: 629

Re: Silly question

/etc/rc.local?
by SurferTim
Sun Feb 11, 2018 1:23 pm
Forum: Beginners
Topic: Silly question
Replies: 6
Views: 629

Re: Silly question

Maybe autostart?
/home/pi/.config/lxsession/LXDE-pi/autostart
by SurferTim
Sat Feb 10, 2018 3:22 pm
Forum: Troubleshooting
Topic: DHCP - two competing services
Replies: 5
Views: 703

Re: DHCP - two competing services

So you tried my suggestion and it failed?

Does /etc/resolv.conf show the new dns servers?
by SurferTim
Sat Feb 10, 2018 1:55 pm
Forum: Troubleshooting
Topic: DHCP - two competing services
Replies: 5
Views: 703

Re: DHCP - two competing services

I don't see where a dhclient service is running.

If you want to add dns servers, open /etc/dhcpcd.conf with a text editor and add this at the end. This adds google dns servers.

Code: Select all

static domain_name_servers=8.8.8.8 8.8.4.4
Reboot.
by SurferTim
Fri Feb 09, 2018 5:44 pm
Forum: Troubleshooting
Topic: Setting a static IP on stretch??
Replies: 10
Views: 18416

Re: Setting a static IP on stretch??

According to your output from the dhcpcd service status, something is wrong starting here: Feb 09 08:42:59 raspberrypi dhcpcd[373]: Too few arguments. Feb 09 08:42:59 raspberrypi dhcpcd[373]: Too few arguments. Feb 09 08:42:59 raspberrypi systemd[1]: Started dhcpcd on all interfaces. Feb 09 08:42:59...
by SurferTim
Fri Feb 09, 2018 3:05 pm
Forum: Networking and servers
Topic: Options for remotely accessing data
Replies: 4
Views: 1008

Re: Options for remotely accessing data

A web hosting company that supports a SQL database.
by SurferTim
Fri Feb 09, 2018 1:13 pm
Forum: Beginners
Topic: Stretch working as wlan bridge
Replies: 7
Views: 1250

Re: Stretch working as wlan bridge

Oh. If you are using Stretch, you cannot add a wireless client interface (station mode) to a bridge.
by SurferTim
Fri Feb 09, 2018 12:15 pm
Forum: Beginners
Topic: Stretch working as wlan bridge
Replies: 7
Views: 1250

Re: Stretch working as wlan bridge

Have you read this? Maybe it will help you.
https://www.raspberrypi.org/documentati ... s-point.md
by SurferTim
Fri Feb 09, 2018 12:10 pm
Forum: Advanced users
Topic: PI3 wlan0 access point without internet and predefined 192.168.XXX.XXX IP and eth0 with DHCP
Replies: 2
Views: 624

Re: PI3 wlan0 access point without internet and predefined 192.168.XXX.XXX IP and eth0 with DHCP

Did you install a dhcp server on wlan0? If your wireless clients are getting a 169.254.x.x ip, then probably not.

If you want a dhcp server on your ap, I recommend dnsmasq.
by SurferTim
Wed Feb 07, 2018 7:09 pm
Forum: Networking and servers
Topic: Impact of disabling the dhcpcd service
Replies: 5
Views: 1001

Re: Impact of disabling the dhcpcd service

n67 wrote:
You do not need to disable the dhcpcd service to prevent it from obtaining network settings.

To prevent an interface like eth0 from getting an IP...
Why would anyone want to do that???
You must do that when setting up a bridge access point. Only the bridge should have network settings.
by SurferTim
Wed Feb 07, 2018 7:07 pm
Forum: Advanced users
Topic: Standalone Wifi without eth0 ?
Replies: 15
Views: 4261

Re: Standalone Wifi without eth0 ?

If you put entries in /etc/network/interfaces, you will have problems with the dhcpcd service in Stretch.

I guess you didn't read the comments at the top of that file.
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

Go to advanced search