Go to advanced search

by incognitum
Wed Oct 23, 2019 11:02 am
Forum: Beginners
Topic: Pi Zero USB GPIO Expander
Replies: 22
Views: 466

Re: Pi Zero USB GPIO Expander

Managed to reproduce it on a 3B+, reported it to dhcp's author, and he issued a fix.

If you want the updated version, you will need to compile it from source for now:

Code: Select all

git clone --depth 1 git://roy.marples.name/dhcpcd.git
cd dhcpcd
./configure
make
sudo make install
by incognitum
Sun Oct 20, 2019 7:10 pm
Forum: Staffroom, classroom and projects
Topic: [Solved] Auto login with piServer
Replies: 17
Views: 1356

Re: [Solved] Auto login with piServer

I have found that this directory does not exist when I run raspi-config and try to enable the autologin CLI option. /etc/systemd/system/getty@tty1.service.d I looked at the script a little bit, and do not see anwhere that directory gets created. You do are using a normal Raspbian Buster image, and ...
by incognitum
Sat Oct 19, 2019 12:00 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 208
Views: 26810

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Seems something up with USB when running 64-bit kernel on model 3B+ If I attach Pi Zero and rpiboot gpioexpander image, rpiboot does complete, but gadget Ethernet network interface never shows up afterwards. pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.19.79-v8+ #1273 SMP PREEMPT Fri Oct 11 18:35...
by incognitum
Fri Oct 18, 2019 7:23 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 208
Views: 26810

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

gubertoli wrote:
Fri Oct 18, 2019 12:50 am
I followed official RPi kernel building documentation for local build, just changing to KERNEL=kernel8 but it broke the Raspbian.
You will need a real 64-bit operating system (e.g. OpenSuse), and not Raspbian, if you want to do a native build.
by incognitum
Fri Oct 18, 2019 6:57 am
Forum: Beginners
Topic: Pi Zero USB GPIO Expander
Replies: 22
Views: 466

Re: Pi Zero USB GPIO Expander

Today on my Pi 3B it's not giving either IPv4 nor IPv6 until a long time later, then it gets the IPv4 local link address. Though it did get the initial IPv6 as you noted. That IPv4 takes ages is normal. IPv4 link local is only given if there is no response to DHCP, so DHCP has to timeout first, and...
by incognitum
Thu Oct 17, 2019 4:00 pm
Forum: Beginners
Topic: Pi Zero USB GPIO Expander
Replies: 22
Views: 466

Re: Pi Zero USB GPIO Expander

hippy wrote:
Thu Oct 17, 2019 3:35 pm
The difference on the 1B is it re-adds the address after the second IAID -
See it also goes up, down and up for me, but does add the IPv6 for me, even on Pi 4.

Perhaps a timing specific bug in dhcpcd then.
Hard to report to the author though, if it is not so reproducible.
by incognitum
Thu Oct 17, 2019 3:19 pm
Forum: Beginners
Topic: Pi Zero USB GPIO Expander
Replies: 22
Views: 466

Re: Pi Zero USB GPIO Expander

Something strange is going on here: Oct 17 14:47:12 Pi3B dhcpcd[402]: usb0: carrier acquired Oct 17 14:47:12 Pi3B dhcpcd[402]: usb0: IAID c2:08:75:5b Oct 17 14:47:12 Pi3B dhcpcd[402]: usb0: adding address fe80::662b:6507:36a5:47f Oct 17 14:47:12 Pi3B dhcpcd[402]: usb0: carrier lost Oct 17 14:47:12 P...
by incognitum
Thu Oct 17, 2019 2:12 pm
Forum: Beginners
Topic: Pi Zero USB GPIO Expander
Replies: 22
Views: 466

Re: Pi Zero USB GPIO Expander

After numerous retries, selecting GPIO gadget, downloading the Card Reader gadget first, leaving the Zero disconnected, even shorting 0V to 5V to discharge it, I have not had it give an IPv6 address since the first time I tried it. Note that the gadget is not responsible for setting the IPv6 link l...
by incognitum
Thu Oct 17, 2019 1:32 pm
Forum: Beginners
Topic: Pi Zero USB GPIO Expander
Replies: 22
Views: 466

Re: Pi Zero USB GPIO Expander

Note my update; that I replicated the OP's experience after having had it work. Is ipv6 still functional on other interfaces like eth0? All interfaces MUST at least have an IPv6 link local address (starting with fe80::) It is derived from MAC address and should always be there. If not, there are bi...
by incognitum
Thu Oct 17, 2019 1:01 pm
Forum: Beginners
Topic: Pi Zero USB GPIO Expander
Replies: 22
Views: 466

Re: Pi Zero USB GPIO Expander

usb0 shows up when I do an 'ifconfig', however it does not have an IPv6 address as the tutorial (and everywhere else I've researched the issue) says their should be. All network interfaces must always have at least an IPv6 link local address. Is eth0 also missing one? Double check there is nothing ...
by incognitum
Wed Oct 16, 2019 3:57 pm
Forum: Staffroom, classroom and projects
Topic: [Solved] Auto login with piServer
Replies: 17
Views: 1356

Re: Auto login with piServer

What I found strange nevertheless, is when I run raps-config to enable autologin, the sentence is "automatically logged in as ' ' user", meaning, how can the system determine which user to be used ? Used to be hard coded to pi in the past. But guess that is no longer the case. Try if it works bette...
by incognitum
Tue Oct 15, 2019 10:09 pm
Forum: Beginners
Topic: Raspberry Pi Function Key Issue
Replies: 1
Views: 121

Re: Raspberry Pi Function Key Issue

Jormungandr wrote:
Fri Oct 11, 2019 8:46 pm
The Pi-Terminals I am setting up are meant to use SSH to connect to a database server running on a Unix backend.
What if you do not ssh anywhere, but just open a terminal, start "read" and press F1 ?
Do you get the right escape sequence locally?
by incognitum
Mon Oct 14, 2019 4:44 pm
Forum: General discussion
Topic: pi server client keyboard layout
Replies: 4
Views: 159

Re: pi server client keyboard layout

BTW if you only want to switch between a couple keyboard layouts, you can also configure a keyboard combination to switch between them. In Piserver, go to tab "software", select your Raspbian installation, press "shell" Type: leafpad /etc/default/keyboard Edit the file to look like this: XKBMODEL="p...
by incognitum
Mon Oct 14, 2019 4:06 pm
Forum: General discussion
Topic: pi server client keyboard layout
Replies: 4
Views: 159

Re: pi server client keyboard layout

Not sure if there is currently any nice GUI application for changing keyboard layout temporarily on-the-fly in the Debian repo.
Do can open a console and run e.g. "setxkbmap kh" to switch to Khmer.
by incognitum
Fri Oct 11, 2019 12:17 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 208
Views: 26810

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

maybe set arm_64bit=1 would just silently fail on 32bit cpu and load 32bit kernel? Problem is that my kernels have non-standard names, not kernel7.img and kernel8.img (Need some extra kernel options. And I want to prevent that an end-user could accidently brick their system by running for example r...
by incognitum
Wed Oct 09, 2019 9:26 pm
Forum: Raspbian
Topic: Security: The boot process
Replies: 16
Views: 707

Re: Security: The boot process

but even a password protected hard drive carries the password on the media device. That is not the case with modern storage. E.g. Intel SSDs do full disk encryption if you set a drive password in the BIOS. Are you willing to reveal what processor runs the boot code? Is it run on the RPi 4's ARM8? O...
by incognitum
Tue Oct 08, 2019 5:08 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 208
Views: 26810

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

As a result, you don't need a filter for 64-bit. Slightly related question. I prefer 64-bit if the device supports it. So how can I filter for 64-bit CAPABLE devices? Sure I could use filters like [pi3] [pi4] to point those to a 64-bit kernel and set arm_64bit=1. But what about Pi 2, wouldn't [pi2]...
by incognitum
Mon Oct 07, 2019 6:04 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 208
Views: 26810

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Have you just run rpi-update to the 4.19.76* kernel? not 100% sure but probably yes. I updated yesterday. Strange thing is that it was ok until apt-get update and apt-get dist-upgrade Is the 64-bit kernel included in the packages one gets through "apt-get dist-upgrade" ? If not, the problem may be ...
by incognitum
Mon Oct 07, 2019 10:26 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 208
Views: 26810

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

- Might want to remove "quiet" from cmdline.txt to tell it to be a little bit more verbose, and see what it is doing before hanging. - Also might want to try if things work better if you comment out "dtoverlay=vc4-fkms-v3d" in config.txt (just in case it does boot successfully, but there is somethin...
by incognitum
Sat Oct 05, 2019 9:50 pm
Forum: Troubleshooting
Topic: Pi 4 as OTG USB g_mass_storage not working
Replies: 2
Views: 123

Re: Pi 4 as OTG USB g_mass_storage not working

2. In BOOT within cmdline.txt I've added "modules-load=dwc2,g_mass_storage" after rootwait (end of the line). 3. In BOOT within config.txt I've added "dtoverlay=dwc2" to the [all] section. 4. In /etc within modules (file) I've added two lines - "dwc2" and "g_mass_storage". 4. Created the image file...
by incognitum
Thu Oct 03, 2019 7:41 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 208
Views: 26810

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

My fault.
Did was using right kernel config, but old source. Works now.
by incognitum
Thu Oct 03, 2019 4:17 pm
Forum: Staffroom, classroom and projects
Topic: [Solved] Auto login with piServer
Replies: 17
Views: 1356

Re: Auto login with piServer

I did the modification but since I renamed the configuration file, I get the following error: I/O warning : failed to load external entity "/etc/security/pam_mount.conf.xml" (rdconf1.c:388): libxml detected a syntax error in /etc/security/pam_mount.conf.xml In parallel, the boot process remains stu...
by incognitum
Thu Oct 03, 2019 2:23 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 208
Views: 26810

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Was any special kernel configuration used to build this 64-bit kernel? Your kernel works ok for me, but if I try to build my own from source based on a slightly modified bcm2711_defconfig I am having less luck, and get no visual. [ 1.655088] bcm2708_fb soc:fb: FB found 1 display(s) [ 1.655263] bcm27...
by incognitum
Thu Oct 03, 2019 10:09 am
Forum: Staffroom, classroom and projects
Topic: [Solved] Auto login with piServer
Replies: 17
Views: 1356

Re: Auto login with piServer

(mount.c:72) : Messages from underlying mount program: (mount.c:76) : read: Connection reset by peer (pam_mount.c:522): mount of pi@piserver: failed Double check you also followed this part of the instructions: Disable mounting of the home folder on the central server, by renaming the pam_mount con...
by incognitum
Wed Oct 02, 2019 5:06 pm
Forum: Networking and servers
Topic: Remote RPi's to Local RPi Server Communication
Replies: 6
Views: 264

Re: Remote RPi's to Local RPi Server Communication

tiffy wrote:
Tue Oct 01, 2019 4:26 pm
I believe I need to be able to specify domain name rather than IP address
No, (public) IP should work fine.
If it does not, double check your port forwarding / firewall rules on your router.

Go to advanced search