Go to advanced search

by RichardBronosky
Thu Jul 19, 2018 3:26 pm
Forum: Networking and servers
Topic: Restart network without reboot
Replies: 9
Views: 50077

Re: Restart network without reboot

Thanks for that info pcmanbob. On my headless Pi Zero W running Raspian Stretch, I tweaked it a bit in a shell script to: sudo ifconfig wlan0 down sleep 30 sudo ifconfig wlan0 up The 30 second delay lets me turn on the WiFi hotspot on my laptop that I want the RPi to reconnect to. Slow clap, amigo!...
by RichardBronosky
Tue Mar 20, 2018 5:43 pm
Forum: Raspbian
Topic: Set hostname from the /boot partition ?
Replies: 27
Views: 5558

Re: Set hostname from the /boot partition ?

However, the next major version of PiBakery (due to be released fairly soon) will do away with that, and allow any standard Raspbian image or SD card to be used without any pre-modification . I'll go into many more details about how this is done when the new version os released, but essentially it'...
by RichardBronosky
Tue Mar 20, 2018 5:30 pm
Forum: Raspbian
Topic: PiBakery
Replies: 12
Views: 2314

Re: PiBakery

It would be really nice to get PiBakery to work without a modified image, and I had a look at BytemarkHosting/pi-init2 which claims to do this, but I couldn't get it to work. If anyone has any thoughts, ideas or suggestions, I'd love to hear them! Thank you for posting this lead. I can tell that yo...
by RichardBronosky
Tue Mar 20, 2018 4:46 pm
Forum: General discussion
Topic: Piping
Replies: 7
Views: 894

Re: Piping

Altgr ~ did it. And the backslash, which you are likely to be missing as well, may be on AltGr minus. But this does not change the fact that you are using the wrong layout. If you cannot type \ and | without AltGr, then your keyboard has fewer physical keys than your software layout requires, or th...
by RichardBronosky
Fri Mar 09, 2018 9:24 pm
Forum: General discussion
Topic: What is the point in subscribing to a thread?
Replies: 4
Views: 422

What is the point in subscribing to a thread?

I would like to find a place that I can go to see a list of the threads I am subscribed to and see if there are unread updates. I cannot find anything related to subscribed threads, except for at the bottom of the thread itself.

Image
by RichardBronosky
Sun Mar 04, 2018 8:02 pm
Forum: Raspbian
Topic: Set hostname from the /boot partition ?
Replies: 27
Views: 5558

Re: Set hostname from the /boot partition ?

I'll go into many more details about how this is done when the new version os released, but essentially it's using the init= parameter of cmdline.txt. Ha ha! It sounds like you are going to beat me to it! This weekend I started doing the same technique in cmdline.txt setting init=<wrapper that also...
by RichardBronosky
Thu Mar 01, 2018 9:01 pm
Forum: Raspbian
Topic: Please help me compose a list of all activities that run on first boot and every boot.
Replies: 1
Views: 295

Please help me compose a list of all activities that run on first boot and every boot.

NOTE: Though I have very specific reasons for wanting to compile this information, I figure this information could be very useful for anyone trying to understand the magic that happens on a fresh Raspbian system. On another thread I am working on using cloud-init to provision a Raspbian RPi. If I'm...
by RichardBronosky
Thu Feb 22, 2018 5:29 am
Forum: Raspbian
Topic: Using cloud-init for cloudless provisioning of Raspberry Pi
Replies: 5
Views: 888

Re: Using cloud-init for cloudless provisioning of Raspberry Pi

This is exciting! I managed to get it working with cloud-init version 0.7.9 that is in the Stretch repo. The gist is updated. https://gist.github.com/RichardBronosky/fa7d4db13bab3fbb8d9e0fff7ea88aa2#file-cloud-init-setup-sh-L6-L14 The feature I needed was UNDOCUMENTED until version 17.2, but it was ...
by RichardBronosky
Thu Feb 22, 2018 5:21 am
Forum: Raspbian
Topic: Using cloud-init for cloudless provisioning of Raspberry Pi
Replies: 5
Views: 888

Re: Using cloud-init for cloudless provisioning of Raspberry Pi

And I linked to https://packages.debian.org/search?keywords=cloud-init which shows the cloud-init version for every Debian release. The purpose of that was to show that cloud-init version 17.2 is not on the roadmap. What is the purpose of your link?
by RichardBronosky
Thu Feb 22, 2018 5:18 am
Forum: Raspbian
Topic: Using cloud-init for cloudless provisioning of Raspberry Pi
Replies: 5
Views: 888

Re: Using cloud-init for cloudless provisioning of Raspberry Pi

So "cloud-init" does not actully use the cloud to initialize anything. What actually does it do? Cloud hosting companies use cloud-init (it was created for Amazon EC2 but now supports everything) to allow you to specify provisioning instructions before an instance is launched. When the instance is ...
by RichardBronosky
Wed Feb 21, 2018 6:35 pm
Forum: Raspbian
Topic: Using cloud-init for cloudless provisioning of Raspberry Pi
Replies: 5
Views: 888

Using cloud-init for cloudless provisioning of Raspberry Pi

This is 5 YEARS in the making! https://www.raspberrypi.org/forums/viewtopic.php?t=35224 I've finally gotten something that I think could be adopted by the Raspbian community. I'd like to get some eyeballs on my work so that I can get suggestions on how to proceed. https://gist.github.com/RichardBron...
by RichardBronosky
Tue Jan 02, 2018 9:55 am
Forum: AIY Projects
Topic: Changing the wake word (PLEASE HELP)
Replies: 3
Views: 813

Re: Changing the wake word (PLEASE HELP)

This is on my list of things to do also. I watch that video a long time ago and plan to do it. But, it's really low on my list of priorities. When I first watched the video, I hadn't done much hacking on this. Now that I have, I can see that he is doing things in an odd way and is using an install v...
by RichardBronosky
Tue Jan 02, 2018 7:51 am
Forum: AIY Projects
Topic: Google Aiy Headless Example Code
Replies: 3
Views: 975

Re: Google Aiy Headless Example Code

Many of us have run into issues with instructions found online because of the history of this project. It is hard for us to tell you what to change unless we know how your system is set up. Please answer all of these: Did you start with a Voice Kit SD image as described in those instructions ? Did y...
by RichardBronosky
Tue Jan 02, 2018 7:29 am
Forum: AIY Projects
Topic: Running AIY Google Assistant On Boot-up on Raspberry pi3
Replies: 20
Views: 8943

Re: Running AIY Google Assistant On Boot-up on Raspberry pi3

Yes, mpember is correct. Please do not use (or spread) methods involving `crontab`, `rc.local`, etc. Raspbian (like all modern distrobutions) uses systemd, and that is the way we do this. For reference I will add a few links. HACKING.md explains how to enable the included services . Those instructio...
by RichardBronosky
Tue Jan 02, 2018 7:07 am
Forum: AIY Projects
Topic: Confused: voicekit vs. aiyprojects vs. master code branch?
Replies: 5
Views: 836

Re: Confused: voicekit vs. aiyprojects vs. master code branch?

Full circle! I created that issue 211 that scriptautomate linked to in the OP. I expressed confusion about where the community for the project lived and t1m0thyj linked me back to this subforum. I'm glad to know about this. Out of gratitude for the developers of Free Software, I try to keep github d...
by RichardBronosky
Tue Nov 28, 2017 7:18 am
Forum: Other projects
Topic: RearPi - Use your Raspberry Pi as Rear View / Backup Camera and Dashcam
Replies: 9
Views: 11976

Re: RearPi - Use your Raspberry Pi as Rear View / Backup Camera and Dashcam

This sounds like a great starting point for my project. While I agree that there are commercial systems out there that do 1 thing well, my needs are unique. I need to Record front and back video Display rear video on a permanently mounted phone Overlay turn by turn directions Be entirely waterproof ...
by RichardBronosky
Tue Nov 28, 2017 6:55 am
Forum: Raspbian
Topic: Creating /boot/ssh and /boot/wpa_supplicant.conf (for a headless setup) works, but how?
Replies: 0
Views: 822

Creating /boot/ssh and /boot/wpa_supplicant.conf (for a headless setup) works, but how?

Have you ever wondered HOW this works? I did. And it was quite the rabbit hole to go down. First I Googled and found the documentation about creating the file /boot/ssh I never managed to find any official documentation on creating the file /boot/wpa_supplicant.conf (Though I did find lots of refere...
by RichardBronosky
Thu May 11, 2017 11:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspbian Jessie and LTE Dongle
Replies: 6
Views: 4689

Re: Raspbian Jessie and LTE Dongle

For others looking to have access to a device on a mobile network, consider using OpenVPN. If you have your Raspberry Pi connect to an OpenVPN server via domain name, then it doesn't matter what IP the Raspberry Pi gets from the mobile provider and it doesn't matter if your OpenVPN server changes IP...
by RichardBronosky
Thu May 11, 2017 2:21 am
Forum: General discussion
Topic: raspi-config command line parameter
Replies: 4
Views: 8653

Re: raspi-config command line parameter

This is still not documented anywhere, but the rc_gui tool (I'm assuming it would be a graphical user interface to the raspi-config if I were to ever install the full desktop) uses command line options to the raspi-config bash script. You can see the full list of options in the C source code https:/...
by RichardBronosky
Mon May 01, 2017 7:33 pm
Forum: General programming discussion
Topic: Cross-compilation w/ Amazon EC2
Replies: 3
Views: 1507

Re: Cross-compilation w/ Amazon EC2

PLEASE PLEASE PLEASE update! I've never managed to get Raspbian to build from source. Any help you can offer would be AWESOME. Thanks in advance. I've managed to cross-compile app w/ shared libs, not cleanest way but it works. Later I'll post script how to recreate environment . Tip is still valid -...
by RichardBronosky
Tue Mar 21, 2017 2:57 am
Forum: Raspbian
Topic: autorun script in /boot
Replies: 2
Views: 530

Re: autorun script in /boot

I initially asked this question in 2013. I'm not convinced someone else will do it. I'm ready to get it done. It's just so difficult contributing to projects that are not on GitHub.
by RichardBronosky
Mon Mar 20, 2017 8:41 am
Forum: Camera board
Topic: Local network streaming solution that's faster than `motion`
Replies: 2
Views: 2871

Local network streaming solution that's faster than `motion`

I have managed to get my RPi Zero W streaming my usb webcam to my laptop using the `motion` package as described here: https://pimylifeup.com/raspberry-pi-webcam-server/ Unfortunately it is VERY slow. There is about a 3 second delay in the video which makes it worthless or at least dangerous for my ...
by RichardBronosky
Mon Mar 20, 2017 5:54 am
Forum: Raspbian
Topic: autorun script in /boot
Replies: 2
Views: 530

autorun script in /boot

I discovered that if you `touch /boot/ssh` it will enable and start `ssh` on boot. I'm wondering what other magic can be accomplished with this FAT32 partition. It would be AWESOME if there was a name I could give a bash script to get it to run. This would be a big help to people who are looking to ...
by RichardBronosky
Tue Jul 09, 2013 3:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI and chip select pins
Replies: 11
Views: 25955

Re: SPI and chip select pins

Hi, I am not suggesting to use bit-banging ;) Better solution would be to extend the SPI /CS lines with a 138/139. See for an example interface : http://www.raspberrypi.org/phpBB3/viewtopic.php?p=333992#p333992 And here for the SPI-DAC board (3 SPI devices) : http://www.raspberrypi.org/phpBB3/viewt...
by RichardBronosky
Mon Jul 08, 2013 6:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI and chip select pins
Replies: 11
Views: 25955

Re: SPI and chip select pins

When you don't want to use the built in SPI controller, then you can basically use any GPIO pin for SPI. Doing this, you need to write the SPI logic in your own code : bit-banging. This code gives more extensive use of the CPU. Better solution would be to extend the SPI /CS lines with a 138/139. Th...

Go to advanced search