Go to advanced search

by incognitum
Sat Feb 22, 2020 7:16 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 14479

Re: What is a good replacement for Etcher (ads and ignores privacy)

Does that mean the optimal write block size is 4M ? If you are using unbuffered IO (e.g. oflag=direct with dd) probably, yes. If not, keep in mind that the kernel will buffer your writes, so will likely already write much larger chunks to storage than the block size you specified in your program. S...
by incognitum
Sat Feb 22, 2020 6:45 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 14479

Re: What is a good replacement for Etcher (ads and ignores privacy)

jahboater wrote:
Sat Feb 22, 2020 5:51 pm
This is all very interesting.
I used blockdev to get the info for the Pi's SD card (64GB Sandisk A1 class)
For writes it may be more interesting to see if your card reports the erase block size, e.g.:

Code: Select all

$ cat /sys/block/mmcblk0/device/preferred_erase_size 
4194304
by incognitum
Sat Feb 22, 2020 5:07 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 14479

Re: What is a good replacement for Etcher (ads and ignores privacy)

jahboater wrote:
Sat Feb 22, 2020 4:48 pm
I have had bs=4M fail in the past whereas bs=1M worked fine.
The image file size probably wasn't dividable by 4 MB then.
dd doesn't like partial blocks.
by incognitum
Sat Feb 22, 2020 1:48 pm
Forum: General discussion
Topic: What is a good replacement for Etcher (ads and ignores privacy)
Replies: 143
Views: 14479

Re: What is a good replacement for Etcher (ads and ignores privacy)

I think people are upset about the fact that it (apparently) requires a network connection to run - and can be seen to be doing network communication while running (if you use something like Wireshark or tcpdump on it). And does some "analytics", like phoning home the path of the image you are writ...
by incognitum
Thu Jan 30, 2020 7:06 pm
Forum: Raspberry Pi OS
Topic: Change default search engine
Replies: 2
Views: 477

Re: Change default search engine

1) Figure out what the URLs of the search engine you do want to use look like. E.g. http://searchengine/search?q=word-you-are-search-for 2) In Piserver GUI, go to tab "software", select operating system, choose "shell" 3) Enter: leafpad /etc/chromium-browser/policies/managed/policy.json 4) Create an...
by incognitum
Thu Jan 30, 2020 5:06 pm
Forum: Staffroom, classroom and projects
Topic: Piserver client login loop
Replies: 2
Views: 1447

Re: Piserver client login loop

Does the following command show that the ssh/sftp server (which provides home directories through port 1022) is up and running?

Code: Select all

systemctl status piserver_ssh
by incognitum
Mon Jan 27, 2020 10:20 pm
Forum: Staffroom, classroom and projects
Topic: [solved] PiServer User => passwd??
Replies: 1
Views: 627

Re: PiServer User => passwd??

Deep down in a LDAP database.

Try: sudo slapcat
by incognitum
Fri Jan 24, 2020 11:14 am
Forum: Staffroom, classroom and projects
Topic: [solved] PiServer via terminal
Replies: 22
Views: 3291

Re: PiServer via terminal

Hi i found the problem: NFS was looking for /images folder but that didn´t exist. The only folder Piserver adds to /etc/exports is /var/lib/piserver/os So I do am curious where that /images comes from... It really was a clean Ubuntu installation, and you did not install and attempt to remove again ...
by incognitum
Thu Jan 23, 2020 4:05 pm
Forum: Advanced users
Topic: Configure PiServer Tool to Listen on Multiple Interfaces??
Replies: 3
Views: 343

Re: Configure PiServer Tool to Listen on Multiple Interfaces??

3. Lastly, I found that the way PiServer works out of the box limits its functionality. I found a patch on github to fix this along with a few threads from the official PiServer github development page that helped me understand what was going on. They are: Ah, yes. You are right. Should have Pi 4 w...
by incognitum
Thu Jan 23, 2020 3:55 pm
Forum: Staffroom, classroom and projects
Topic: [solved] PiServer via terminal
Replies: 22
Views: 3291

Re: PiServer via terminal

florifreeman wrote:
Thu Jan 23, 2020 3:37 pm
Now it shows => "mount.nfs: requested NFS version or transport protocol is not supported" (??)
NFS server did not throw any errors on startup?
("systemctl status nfs-kernel-server" on piserver server)
by incognitum
Thu Jan 23, 2020 12:45 pm
Forum: Staffroom, classroom and projects
Topic: [solved] PiServer via terminal
Replies: 22
Views: 3291

Re: PiServer via terminal

The server is a fresh clean install of Ubuntu Server. I recall Ubuntu server offers a list of server roles to install during install. Any chance you could have accidentally selected "DHCP daemon" when you meant "DHCP client" there? If there may be more servers in your network that could have this p...
by incognitum
Thu Jan 23, 2020 12:21 pm
Forum: Networking and servers
Topic: NFSv4 with user-level Kerberos
Replies: 20
Views: 1652

Re: NFSv4 with user-level Kerberos

[*] Sshfs is slow. Correct, it will not win benchmarks. However the disk IO of the average student saving some Scratch project, some python code or some other document, is not that high. So it can serve its purpose. No experience with gnome though. At any rate, I'm currently having some success wit...
by incognitum
Wed Jan 22, 2020 9:15 pm
Forum: Networking and servers
Topic: NFSv4 with user-level Kerberos
Replies: 20
Views: 1652

Re: NFSv4 with user-level Kerberos

https://www.raspberrypi.org/blog/piserver/ might be using a fully kerberised version of NFSv4 to mount home directories. Does anyone know? Negative. It mounts home directories through sshfs (which uses ssh's sftp protocol). Problem with kerberos is that it pretty much requires static IPs, forward a...
by incognitum
Tue Jan 21, 2020 5:47 pm
Forum: Staffroom, classroom and projects
Topic: [solved] PiServer via terminal
Replies: 22
Views: 3291

Re: PiServer via terminal

florifreeman wrote:
Tue Jan 21, 2020 1:49 pm
dhcpd[1087]
You also have (ISC?) dhcpd running on the same server?!
by incognitum
Tue Jan 21, 2020 12:59 pm
Forum: Staffroom, classroom and projects
Topic: [solved] PiServer via terminal
Replies: 22
Views: 3291

Re: PiServer via terminal

I can´t see any IP adress during boot so iam not sure which IP it gets. How can i find out? Kernel should print that to console, among the lines of: IP-config: Got DHCP answer from 1.2.3.4, my address is 1.2.3.5 IP-config: complete device: eth0, hwaddr: xx:xx:xx:xx:xx, ipaddr=1.2.3.5, mask=255.255....
by incognitum
Tue Jan 21, 2020 9:42 am
Forum: Advanced users
Topic: Configure PiServer Tool to Listen on Multiple Interfaces??
Replies: 3
Views: 343

Re: Configure PiServer Tool to Listen on Multiple Interfaces??

I set up the PiServer tool on a VM and configured it to act as DHCP relay, I assume you configured piserver as proxy dhcp. DHCP relay = broadcast forwarding = ip helper-address So something else. I attempted to set up an ip helper, but I have been unsuccessful in getting it to work on any subnet ot...
by incognitum
Tue Jan 21, 2020 9:09 am
Forum: Staffroom, classroom and projects
Topic: [solved] PiServer via terminal
Replies: 22
Views: 3291

Re: PiServer via terminal

"IP-Config: Gateway not on directly connected network" (?) What IP/netmask/gateway does it report receiving through dhcp? Gateway IP must be inside same subnet as Pi. So if client IP is say 10.1.2.5 and netmask is 255.255.255.0, gateway IP must be between 10.1.2.1 and 10.1.2.254 (do not use first a...
by incognitum
Mon Jan 20, 2020 11:19 am
Forum: Staffroom, classroom and projects
Topic: [solved] PiServer via terminal
Replies: 22
Views: 3291

Re: PiServer via terminal

If you have a serial console cable you may want to capture and check the output above the kernel panic. Also double check in the output that the Linux kernel is receiving a proper DHCP lease. (It does a new request, so the lease it receives can be different then what was used during the network boot...
by incognitum
Tue Jan 14, 2020 12:54 pm
Forum: Staffroom, classroom and projects
Topic: Need advice - practical networking tutoring
Replies: 9
Views: 1838

Re: Need advice - practical networking tutoring

tpyo kingg wrote:
Sat Jan 11, 2020 6:36 am
3. Basics of filtering with IPTables
Would not teach legacy stuff like iptables, but go straight for nft instead.
by incognitum
Mon Jan 06, 2020 11:46 pm
Forum: Advanced users
Topic: Network boot using serial number to define root directory
Replies: 2
Views: 362

Re: Network boot using serial number to define root directory

The logs of your tftp server software confirm that the client Pi actually did download cmdline.txt from "/tftpboot/#serial#/cmdline.txt" and not from anywhere else? However, when I change that client over to another pi, with a different serial, it seems to boot from the same 10.0.0.37/clientfs/rpi01...
by incognitum
Mon Dec 30, 2019 1:44 pm
Forum: Beginners
Topic: How to prepare complete OS and software for multiple stations
Replies: 12
Views: 630

Re: How to prepare complete OS and software for multiple stations

You might want to practice with some Pi3 and netbooting them. Yes. For multi-user environments (like schools), there is piserver. https://www.raspberrypi.org/blog/piserver/ All Pi use same image, so only need to install extra software once. Do need to create accounts for all students (or link it to...
by incognitum
Sun Dec 29, 2019 4:37 pm
Forum: Beginners
Topic: Is DST recognised with no network time server?
Replies: 9
Views: 402

Re: Is DST recognised with no network time server?

Do keep in mind that the rules regarding daylight savings time have changed over the years, and can change again in the future. Some countries have abandoned it, exact date/time it starts differs by region, etc. May not be a problem if this is just for your personal use. In the rare event the rules ...
by incognitum
Sat Dec 28, 2019 10:26 pm
Forum: Beginners
Topic: Overclock using the Berryboot
Replies: 1
Views: 313

Re: Overclock using the Berryboot

Just add your overclock settings either at the top of the file, or at the bottom under [all]
Leave existing stuff as-is.
by incognitum
Sat Dec 28, 2019 6:17 pm
Forum: Staffroom, classroom and projects
Topic: Warranty and mean time to failure
Replies: 4
Views: 1131

Re: Warranty and mean time to failure

As to warranty; that's whatever the legislation says it is in the UK, whatever has been agreed with the seller. If a school or other educational establishment it is likely different to what it would be for other consumers but your IT department should be able to advise you. Also be aware that somet...
by incognitum
Sun Dec 22, 2019 8:04 pm
Forum: Troubleshooting
Topic: Cannot edit configuration on BoothBerry SSD installation.
Replies: 2
Views: 137

Re: Cannot edit configuration on BoothBerry SSD installation.

What weather plugin?

Don't think you can set any city in the Pi config utility.

Go to advanced search