Go to advanced search

by bls
Tue Aug 06, 2019 10:28 pm
Forum: Troubleshooting
Topic: [solved] RPi 4 unable to connect to WiFi
Replies: 26
Views: 1132

Re: RPi 4 unable to connect to WiFi

Maybe worth stopping wpa_supplicant and running it from the terminal with 'sudo /sbin/wpa_supplicant -u -O /run/wpa_supplicant'. Unless something is really broken the output should show it trying to connect and failure information.
by bls
Tue Aug 06, 2019 9:01 pm
Forum: Troubleshooting
Topic: [solved] RPi 4 unable to connect to WiFi
Replies: 26
Views: 1132

Re: RPi 4 unable to connect to WiFi

There is no log file in /var/log for wpa supplicant. dmesg is totally quiet on connection attempts. Seems like there would be some messages about wlan0 or from some component of wpa. I find that the messages are pretty helpful, so would be great if you could find them. Can you confirm that the wpa_...
by bls
Tue Aug 06, 2019 7:48 pm
Forum: Troubleshooting
Topic: [solved] RPi 4 unable to connect to WiFi
Replies: 26
Views: 1132

Re: RPi 4 unable to connect to WiFi

Is there anything useful in the system log from wpa_supplicant?
by bls
Tue Aug 06, 2019 6:20 pm
Forum: Troubleshooting
Topic: [solved] RPi 4 unable to connect to WiFi
Replies: 26
Views: 1132

Re: RPi 4 unable to connect to WiFi

In the router's SSID can you delete or change the ! to a more normal character (a-z, A-Z, 0-9). Modify the wpa_supplicant.conf to match and retry. I'm puzzled by you writing that the FON network section reappears in wpa_suppliant.conf even if you delete it from there. According to the docs, wpa_sup...
by bls
Tue Aug 06, 2019 5:56 pm
Forum: Raspbian
Topic: NSD fails after Buster upgrade
Replies: 23
Views: 639

Re: NSD fails after Buster upgrade

I don't know what the effect of all the settings in /lib/systemd/system/nsd.service are, but it seems a fair guess that one of those restricts nsd in a way that precludes it from running. Otherwise, there's very little, if any, difference between running nsd as root from the command line and systemd...
by bls
Tue Aug 06, 2019 5:02 pm
Forum: Raspbian
Topic: NSD fails after Buster upgrade
Replies: 23
Views: 639

Re: Buster lies that files are on a read-only file system

Except this doesn't actually solve any problem, because we still don't know why NSD cannot log to its own file in /var/log/nsd.log, with its permissions and ownsership set right. Oh, you didn't say you wanted to find and resolve the root problem...thought you just focused on getting nsd working. :o...
by bls
Tue Aug 06, 2019 4:01 pm
Forum: Raspbian
Topic: NSD fails after Buster upgrade
Replies: 23
Views: 639

Re: Buster lies that files are on a read-only file system

In other words, all this does is stopping nsd from writing to its own logfile in /var/log/nsd.log. Great news! This solves the logfile protection problem. A few things to try: 1) Make sure that the protection on the directory /var/lib/nsd is 755 and owned by nsd.nsd 2) If that's fine, try opening u...
by bls
Tue Aug 06, 2019 3:03 pm
Forum: Raspbian
Topic: NSD fails after Buster upgrade
Replies: 23
Views: 639

Re: Buster lies that files are on a read-only file system

I notice that you have logfile: "/var/log/nsd.log" in one of your config files. In the fresh nsd install on my system, it's not there, and it's commented out in the sample config file in /usr/share/doc/nsd/examples.

What is the result if you comment that line out completely in yours?
by bls
Tue Aug 06, 2019 2:48 pm
Forum: Raspbian
Topic: NSD fails after Buster upgrade
Replies: 23
Views: 639

Re: Buster lies that files are on a read-only file system

Please post your /etc/nsd/nsd.conf and any config files in /etc/nsd/nsd.conf.d
by bls
Tue Aug 06, 2019 2:17 pm
Forum: Raspbian
Topic: NSD fails after Buster upgrade
Replies: 23
Views: 639

Re: Buster lies that files are on a read-only file system

Just for grins I installed nsd on a freshyly installed Buster system that is NOT running rsyslog (journalctl doesn't forward to rsyslog), and /var/log/nsd.log was NOT created. One experiment you could try zero in on the issue is to replicate this on your system: sudo sed -i "s/\#ForwardToSyslog=yes/...
by bls
Mon Aug 05, 2019 9:43 pm
Forum: Raspbian
Topic: NSD fails after Buster upgrade
Replies: 23
Views: 639

Re: Buster lies that files are on a read-only file system

I don't have nsd installed anywhere, but one thing I ran into recently was trying to start a service before the file system had been remounted read/write. I doubt that this is the issue with nsd, but mentioning for completeness. I ended up doing After=local-fs-pre.target to make it work. Is nsd runn...
by bls
Mon Aug 05, 2019 1:52 pm
Forum: Raspbian
Topic: raspi-config keyboard layout configuration not working in buster
Replies: 4
Views: 1329

Re: raspi-config keyboard layout configuration not working in buster

I lifted code from raspi-config and built a small script to easily and quickly localize Raspbian when I build a new SD card. I've only tested it with US, en-US..UTF-8, and Los Angeles timezone, but if you change it as appropriate for your location, it should work for you. No guarantees post-Buster o...
by bls
Mon Aug 05, 2019 1:45 pm
Forum: Networking and servers
Topic: Remote access to Raspberry SSH/VNC/Other
Replies: 2
Views: 190

Re: Remote access to Raspberry SSH/VNC/Other

If you're happy using VNC to access a virtual desktop (i.e., a newly created for each connection, not the Pi "console" desktop), there are other VNC servers that can provide that. Both TightVNC and TigerVNC are capable of providing virtual desktops (and maybe the console desktop...I don't know for s...
by bls
Mon Aug 05, 2019 1:06 am
Forum: Networking and servers
Topic: 3B IoT style wifi setup with AP?
Replies: 8
Views: 388

Re: 3B IoT style wifi setup with AP?

OK, polishing done. You can find the first release of autoAP at https://github.com/gitbls/autoAP. Small and fast...Enjoy!

PS It doesn't yet have the web page for entering WiFi credentials. That's next!
by bls
Sun Aug 04, 2019 10:09 pm
Forum: Troubleshooting
Topic: RPI4 - bluetooth not available at all
Replies: 8
Views: 322

Re: RPI4 - bluetooth not available at all

I have Bluetooth running on Buster Lite. Here's what I do to ensure all the right packages are installed apt-get install pulseaudio pavucontrol pulseaudio-module-bluetooth blueman ofono vlc systemctl disable alsa-state systemctl mask alsa-state systemctl enable bluetooth usermod myusername --groups ...
by bls
Sat Aug 03, 2019 3:43 am
Forum: Advanced users
Topic: Compiling a new Linux distro?
Replies: 3
Views: 261

Re: Compiling a new Linux distro?

Raspbian Lite is quick, small, and compact, and a lot less self-support than maintaining your own custom OS.

You can make Raspbian Lite even smaller with a bit of judicious tuning. What are your size and performance constraints/goals?
by bls
Sat Aug 03, 2019 3:28 am
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 586

Re: systemd module not working

Logs and other output would be very helpful...
by bls
Fri Aug 02, 2019 8:13 pm
Forum: Networking and servers
Topic: 3B IoT style wifi setup with AP?
Replies: 8
Views: 388

Re: 3B IoT style wifi setup with AP?

Thanks for the links! Which is better/easier, https://raspberrypi.stackexchange.com/questions/100195/automatically-create-hotspot-if-no-network-is-available/100196#comment165221_100196 or the wifi-connect? Of course "it depends". The StackExchange link describes a very lightweight mechanism. wifi-c...
by bls
Fri Aug 02, 2019 5:33 pm
Forum: Networking and servers
Topic: 3B IoT style wifi setup with AP?
Replies: 8
Views: 388

Re: 3B IoT style wifi setup with AP?

Great! Post here or there if you have any questions/problems. I did notice that the github repo jake created doesn't seem to exist any more. I'll look into polishing up my stuff and posting it.
by bls
Fri Aug 02, 2019 5:18 pm
Forum: Networking and servers
Topic: 3B IoT style wifi setup with AP?
Replies: 8
Views: 388

Re: 3B IoT style wifi setup with AP?

Absolutely! This post https://raspberrypi.stackexchange.com/q ... 221_100196 fully documents a way to do this. I've made it part of my "standard configuration"
by bls
Fri Aug 02, 2019 3:29 am
Forum: Raspbian
Topic: Buster on Pi 4 rngd logging
Replies: 10
Views: 394

Re: Buster on Pi 4 rngd logging

These tools where introduced to Raspbian Stretch back in April this year to address an issue on headless Pi boards or VNC not seeming to be starting correctly or with a very long delay. Some of this is discussed in this thread amongst others https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=2...
by bls
Fri Aug 02, 2019 2:08 am
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 586

Re: systemd module not working

"Ack on the systemctl start, but just for completeness..." Huh? Was that a typo? If not, I have no idea what you mean. It is very likely the two Python servers are failing during the execution of the following code, which runs on both servers: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s....
by bls
Thu Aug 01, 2019 5:28 pm
Forum: Raspbian
Topic: Buster on Pi 4 rngd logging
Replies: 10
Views: 394

Re: Buster on Pi 4 rngd logging

I was replying to the original post and not your post about adding a control knob. Raspbian is just compiling the upstream Debian maintained version as they've not changed anything. You'll have to talk to the Debian package maintainer for this feature request but the last change was back in 2011. T...
by bls
Thu Aug 01, 2019 5:25 pm
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 586

Re: systemd module not working

Have you ever seen any output from a start command? I don't recall ever having done so: HVAC-Relay1:~# systemctl start varlog HVAC-Relay1:~# systemctl start tserver HVAC-Relay1:~# systemctl start tclient I posted the relevant entries in syslog. Journalctl doesn't really show anything different. Aug...
by bls
Thu Aug 01, 2019 4:06 pm
Forum: Advanced users
Topic: systemd module not working
Replies: 13
Views: 586

Re: systemd module not working

We’re happy to help here, but you haven’t provided the information that I requested: The console output from ‘sudo systemctl start varlog’, and the contents of the systemd journal (via ‘sudo journalctl’) from the attempt that systemd made to start the service. You didn’t provide either of these...

Go to advanced search