Go to advanced search

by incognitum
Wed Jun 12, 2019 4:27 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: [SOLVED] PiServer Client Wrong Time
Replies: 17
Views: 477

Re: PiServer Client Wrong Time

BTW you may also want to check if it works better if you remove "limited" from "restrict -4 default kod notrap nomodify nopeer noquery limited" in /etc/ntp.conf on the server, and restart ntp on server.
Could be that you triggered rate limits by now...
by incognitum
Wed Jun 12, 2019 4:21 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: [SOLVED] PiServer Client Wrong Time
Replies: 17
Views: 477

Re: PiServer Client Wrong Time

Code: Select all

ConditionFileIsExecutable=!/usr/sbin/ntpd was not met
Ah, doesn't look if it is running but if the executable exists.
Either rename the thing, or apt-get remove ntp
by incognitum
Wed Jun 12, 2019 3:02 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: [SOLVED] PiServer Client Wrong Time
Replies: 17
Views: 477

Re: PiServer Client Wrong Time

Then you are probably using an older Raspbian version, as the newer ones do not have ntpd.
Try if systemd-timesyncd works better if you disabe ntpd in the chroot (only there, leave it on the server itself): "systemctl disable ntp"
by incognitum
Wed Jun 12, 2019 1:14 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: [SOLVED] PiServer Client Wrong Time
Replies: 17
Views: 477

Re: PiServer Client Wrong Time

When trying to set it to true on the client it says it has an "Read only file system" (What is logical) "ls -l /etc/systemd/system/sysinit.target.wants" on the client does not show systemd-timesyncd.service ? If not, do in the chroot: "ln -s /lib/systemd/system/systemd-timesyncd.service /etc/system...
by incognitum
Wed Jun 12, 2019 12:41 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: [SOLVED] PiServer Client Wrong Time
Replies: 17
Views: 477

Re: PiServer Client Wrong Time

I'm not sure why you find logical the clients should have a read-only filesystem but unless you have taken extra precautions or run a specialized OS (not Raspbian) they are sure to randomly fail. Piserver uses a slightly modified version of Raspbian. Can see the list of changes here: https://github...
by incognitum
Tue Jun 11, 2019 5:22 pm
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 220866

Re: Prevent SD-Card Corruption

ShiftPlusOne wrote:
Tue Jun 11, 2019 5:06 pm
We don't currently call update-initramfs, no.
Then I suggest either fixing that to do so, if an initramfs is in use.
Or building overlayfs statically into the kernel.

Otherwise someone may brick their system sooner or later when using that script.
by incognitum
Tue Jun 11, 2019 2:26 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: [SOLVED] PiServer Client Wrong Time
Replies: 17
Views: 477

Re: PiServer Client Wrong Time

Ah, you are right package is called ntp. You have no special firewall rules configured ("sudo iptables -L" should only show empty chains, and the server and client are connected through a normal L2-only switch that does not do any filtering)? You did not add/modify systemd units? On the server: "sud...
by incognitum
Tue Jun 11, 2019 1:52 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: [SOLVED] PiServer Client Wrong Time
Replies: 17
Views: 477

Re: PiServer Client Wrong Time

How far off is the time? One hour? Two hours? The TS mentioned: At the moment of writing this thread the time is "Mon Apr 8 12:36:29 CEST 2019". So that sounds like fake-hwclock time. Piserver copies the timezone settings from the host system whenever you add a new operating system to the system, s...
by incognitum
Tue Jun 11, 2019 1:46 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: [SOLVED] PiServer Client Wrong Time
Replies: 17
Views: 477

Re: PiServer Client Wrong Time

Double check ntpd is installed on the piserver server.
(It should be if running Debian with Raspberry desktop for PC, but may not if you use some other Linux distribution)

And "NTP=piserver" is in /var/lib/piserver/os/name-of-your-linux-distribution/etc/systemd/timesyncd.conf .
by incognitum
Tue Jun 11, 2019 10:10 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 241
Views: 220866

Re: Prevent SD-Card Corruption

Attached scripts, to use, download the three files to your Raspberry Pi. Do rpi-update and the kernel updates one gets through "apt-get upgrade" call update-initramfs for the new kernel version nowadays? If not, I would expect problems if the user upgrades, and kernel version no longer matches the ...
by incognitum
Sat Jun 08, 2019 2:55 pm
Forum: Advanced users
Topic: Network interface names and cloning a master image to multiple RPi's
Replies: 8
Views: 284

Re: Network interface names and cloning a master image to multiple RPi's

I thought this type of udev rule no longer work with "predictable names" enabled? Should still work. See the udev rule that sets those predicable names: https://github.com/systemd/systemd/blob/master/rules/80-net-setup-link.rules IMPORT{builtin}="net_setup_link" NAME=="", ENV{ID_NET_NAME}!="", NAME...
by incognitum
Sat Jun 08, 2019 1:49 pm
Forum: Raspbian
Topic: Is Rasbpian legal in the USA?
Replies: 16
Views: 721

Re: Is Rasbpian legal in the USA?

That said, I do not know what the legal ramifications of even a single Huawei contribution to the Linux kernel would be Could become a touchy subject. Reverting someone's code over political reasons would not be nice. Especially if that someone is a major financial contributor and board member of t...
by incognitum
Sat Jun 08, 2019 12:28 pm
Forum: Advanced users
Topic: Network interface names and cloning a master image to multiple RPi's
Replies: 8
Views: 284

Re: Network interface names and cloning a master image to multiple RPi's

It is not a requirement to match a full MAC.
E.g. can also create an udev rule among the lines of:

Code: Select all

SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", ATTR{address}=="b8:27:eb:*", NAME="piethernet"
Or match on other device attributes (USB vendor/pid, physical port #, etc.)
by incognitum
Tue Jun 04, 2019 3:30 pm
Forum: Advanced users
Topic: After rpi-update USB boot doesn't work
Replies: 19
Views: 700

Re: After rpi-update USB boot doesn't work

The idea is that people who should be using rpi-update are those who will be checking for bugs and are experienced enough to be able to recover the system without help. Once the bugs have been identified and fixed, the kernel and firmware/bootloader will be released as a package for general use. Wi...
by incognitum
Tue Jun 04, 2019 2:37 pm
Forum: Advanced users
Topic: After rpi-update USB boot doesn't work
Replies: 19
Views: 700

Re: After rpi-update USB boot doesn't work

I don't think using rpi-update itself is a big problem.
If people would no longer use it, bugs may no longer be noticed early.

Could use some documentation on how to recover the system if things go wrong though.
by incognitum
Tue Jun 04, 2019 10:02 am
Forum: Networking and servers
Topic: PI Server Static IP addressing
Replies: 1
Views: 113

Re: PI Server Static IP addressing

Managed to get a lot to work but our client asked for something we don't know if it is possible or not. A school project with a client? I know from experience that you can reserve ip addresses within a DHCP range on windows server, is something like this possible on PI server? Not supported in the ...
by incognitum
Mon Jun 03, 2019 9:13 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: PiServer - copy OS - restart
Replies: 8
Views: 1140

Re: PiServer - copy OS - restart

In the interest of taking a backup against the specter of a future crash, can I --exclude /proc/kcore, or even all of /proc, and then run said backup through a/the script(s) to create the missing file(s)? Try adding the --one-file-system parameter when tarring. BTW /proc is only mounted if you use ...
by incognitum
Sat Jun 01, 2019 10:07 pm
Forum: Advanced users
Topic: After rpi-update USB boot doesn't work
Replies: 19
Views: 700

Re: After rpi-update USB boot doesn't work

But as you pi will no longer boot from the external SSD, I can't see how you are going to fix this without starting over with a new install on the external SSD. Sounds a bit drastic. Since the TS mentions having a bootable SD card, I suggest booting from that and playing with chroot a bit first. Am...
by incognitum
Sat Jun 01, 2019 9:42 pm
Forum: HATs and other add-ons
Topic: Official Raspberry Pi keyboard and mouse - new category?
Replies: 1
Views: 177

Re: Official Raspberry Pi keyboard and mouse - new category?

aaaskew wrote:
Fri May 31, 2019 2:59 pm
Also for the documentation, maybe a note should be added about the Caps Lock LED not lighting up when in Raspbian text consoles
That should happen on any keyboard.
The bug that is responsible for that turned 10 this year... :shock:
by incognitum
Fri May 31, 2019 12:25 pm
Forum: Device Tree
Topic: Buildroot Pi Zero Ethernet Gadget issues
Replies: 11
Views: 2138

Re: Buildroot Pi Zero Ethernet Gadget issues

teknomanzer wrote:
Thu May 30, 2019 12:37 am
I think it's close, the driver is loaded and the computer recognizes the gadget and creates the RNDIS connection.
It is not using RNDIS but ECM.
(Should not be a problem if the host computer is running Linux though)
by incognitum
Fri May 31, 2019 11:03 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: PiServer - copy OS - restart
Replies: 8
Views: 1140

Re: PiServer - copy OS - restart

I wanted to restart the service after messing with the json files. By (ab)using "piserver --update-ip" you can cause some configuration files (such as /etc/dnsmasq.d/piserver) to be regenerated. Do note that it was not meant for this though, so you will have to do some stuff manually though. E.g. i...
by incognitum
Wed May 29, 2019 10:34 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: PiServer - copy OS - restart
Replies: 8
Views: 1140

Re: PiServer - copy OS - restart

how can I clone an existing server os? The latest piserver version has a "clone" button. You will have to compile it from source though. https://github.com/raspberrypi/piserver And how can I restart the server deamon? What are you trying to accomplish? Piserver doesn't have a daemon of it's own, al...
by incognitum
Wed May 29, 2019 10:26 am
Forum: Networking and servers
Topic: PiServer clients won't boot over ethernet
Replies: 5
Views: 262

Re: PiServer clients won't boot over ethernet

How would I go about checking the Ethernet switches and disabling STP? (What is STP?) The Spanning Tree Protocol is a way to detect and prevent network loops, which can occur if you hook up multiple Ethernet switches to each other using more than one network cable. Some managed Ethernet switches (i...
by incognitum
Wed May 29, 2019 9:57 am
Forum: Networking and servers
Topic: PiServer clients won't boot over ethernet
Replies: 5
Views: 262

Re: PiServer clients won't boot over ethernet

The first Pi showed in PiServer and I successfully added and tested it, before removing it again. What about the other Pi? You mentioned that they did not BOOT, but were you able to detect and add them to Piserver? As far as I know I run an ordinary network, via 2 24 port 10/100 Mbps Switches. If y...
by incognitum
Wed May 29, 2019 8:09 am
Forum: Networking and servers
Topic: PiServer clients won't boot over ethernet
Replies: 5
Views: 262

Re: PiServer clients won't boot over ethernet

I've followed the instructions from https://www.raspberrypi.org/blog/piserver/ and closely as I can can, including entering echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt Not needed for 3B+ Initially, the first Pi I did this with did boot over ethernet, but no others have. The other Pi...

Go to advanced search