Go to advanced search

by BeauSlim
Sat Mar 16, 2019 12:23 am
Forum: Troubleshooting
Topic: lirc on Raspberry Pi Zero W with gpio-ir
Replies: 2
Views: 282

Re: lirc on Raspberry Pi Zero W with gpio-ir

I have only played with the receiver part, but gpio-ir seems to work quite well with the new 4.19 kernel. See https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=224931 for issues using 4.19. I use a scrounged camcorder IR remote to the Zero, which then runs scripts to wake and/or run things ove...
by BeauSlim
Fri Mar 15, 2019 11:43 pm
Forum: Advanced users
Topic: Is it reliable to backup Raspi from remote?
Replies: 23
Views: 766

Re: Is it reliable to backup Raspi from remote?

The usual solution to the problem of having your storage in an indeterminate state is to keep temporary files in RAM and to synchronize them to storage on a schedule. This also helps keep flash storage bootable after unexpected power losses, etc. There are many guides out there for doing this with L...
by BeauSlim
Sun Jan 13, 2019 12:00 am
Forum: Advanced users
Topic: Raspberry PI cold boot attack protected / Zero out RAM after boot?
Replies: 71
Views: 3347

Re: Raspberry PI cold boot attack protected / Zero out RAM after boot?

I think the bottom line is that if you are worried about any physical attack, the raspberry pi is the wrong platform in general. It has none of the features from ARM's Trust Zone and other tech that would help with this. See https://www.arm.com/products/silicon-ip-security. I assume that the Raspber...
by BeauSlim
Mon Dec 31, 2018 7:08 am
Forum: Troubleshooting
Topic: hotspot when no known network is available
Replies: 11
Views: 384

Re: hotspot when no known network is available

Hmm, cool concept. Naw, this isn't a "beginner" issue. Have you set your "Wi-Fi Country" under Localisation in raspi-config? If I remember right, on the 3B this is not required to be a WiFi client but it _is_ required to be an AP. If that's not it, you'll need to look in /var/log/syslog or whatever ...
by BeauSlim
Mon Dec 31, 2018 6:45 am
Forum: Troubleshooting
Topic: Can't even get started
Replies: 10
Views: 394

Re: Can't even get started

Don't panic yet! The red light coming on but nothing else happening suggests that the Pi is probably fine but that it can't read anything on the uSD card. uSD to SD card adapters work fine. You should see 5V between GPIO pins 4 and 6 (see https://pinout.xyz). Just to confirm, you are writing the Ras...
by BeauSlim
Mon Dec 31, 2018 5:36 am
Forum: Advanced users
Topic: RPIzW Stretch 24/7 running
Replies: 4
Views: 488

Re: RPIzW Stretch 24/7 running

Assuming that you are actually running "lite" not the desktop version, there really isn't much to turn off. Maybe avahi if that's running.

Add "dtoverlay=pi3-disable-bt" to your /boot/config.txt to make sure bluetooth is disabled. Yes "pi3" on the zero.
by BeauSlim
Mon Dec 31, 2018 4:08 am
Forum: Other programming languages
Topic: Swift programming on Raspberry Pi B 3+ with XCode
Replies: 1
Views: 1786

Re: Swift programming on Raspberry Pi B 3+ with XCode

I was just today wondering how that whole Swift thing was coming along, did a little looking around, and I see that they just released Swift 4.1.3 for the Pi Zero. Then here you are helping with Xcode. Cool stuff! While I _completely_ understand the desire to use a proper full-blown IDE for developm...
by BeauSlim
Sun Dec 16, 2018 8:21 am
Forum: Troubleshooting
Topic: Booting from USB
Replies: 10
Views: 2842

Re: Booting from USB

I ran into this today. Using a 16GB Kingston Datatraveler 4G boots my 3B just fine, but a "reboot" doesn't come back, requiring a power cycle. Adding rootdelay=15 to the end of the cmdline.txt didn't seem to help. BUT, adding program_usb_boot_timeout=1 to /boot/config.txt and a shutdown + power cycl...
by BeauSlim
Thu Dec 13, 2018 3:21 am
Forum: Beginners
Topic: Raspberry for the Industry
Replies: 17
Views: 733

Re: Raspberry for the Industry

Proper industrial PLCs are EXPENSIVE and it is often tempting to look at $30 hobbyist boards and wonder if they'd work. They probably _could_ work but the actual cost of using one would end up being more than that of using a proper PLC. Equipment used in various scenarios generally needs to be certi...
by BeauSlim
Thu Dec 13, 2018 1:30 am
Forum: Beginners
Topic: Can I use Raspberry Pi to make router get a new IP?
Replies: 21
Views: 884

Re: Can I use Raspberry Pi to make router get a new IP?

Talk to your ISP. DHCP policies very widely. A DHCP server can be set to give a customer prem device a new IP on reset, on request, every X hours, after it's been offline for X hours, or never (i.e. static IP). You'll need to talk to your ISP to be sure. If the ISP aren't cooperative in resolving th...
by BeauSlim
Thu Dec 13, 2018 12:57 am
Forum: Advanced users
Topic: Wake from halt when gadget booted?
Replies: 5
Views: 328

Re: Wake from halt when gadget booted?

The "normal" way to do this is via shorting the "run" pins. I haven't tried it in combination with sd-less booting.
by BeauSlim
Tue Dec 04, 2018 11:24 pm
Forum: Advanced users
Topic: USB Gadget mode on new 3 A+?
Replies: 8
Views: 1433

Re: USB Gadget mode on new 3 A+?

Thanks to all for the info and clarification of the caveats. Since I'll be running from SD and not looking to have it boot from the USB, it sounds like it will work for my application.
by BeauSlim
Mon Dec 03, 2018 8:45 pm
Forum: Advanced users
Topic: USB Gadget mode on new 3 A+?
Replies: 8
Views: 1433

USB Gadget mode on new 3 A+?

Since the new A+ only has one USB port, I'm wondering if it supports gadget mode like the Zero/W does. For example, so you can connect to a PC for Ethernet over USB.
by BeauSlim
Fri Oct 26, 2018 10:06 am
Forum: Advanced users
Topic: How to send file by the serial com line ?
Replies: 5
Views: 1321

Re: How to send file by the serial com line ?

Back when dial-up modems were a thing, z-modem protocol was the best method. I don't know if it'll work over TTL Serial, but "apt install lrzsz" will get you started. Or try kermit (ckermit or gkermit) , which was slower but more interoperable.
by BeauSlim
Sat Aug 18, 2018 10:20 pm
Forum: Advanced users
Topic: look for all in one touch screen solution to connect to Raspberry Pi without need set up by keyboard, mouse, monitor
Replies: 1
Views: 222

Re: look for all in one touch screen solution to connect to Raspberry Pi without need set up by keyboard, mouse, monitor

A display that plugs into the HDMI for video and into the USB for touch/mouse input _should_ let you get going out of the box.
by BeauSlim
Sat Aug 18, 2018 10:15 pm
Forum: Troubleshooting
Topic: Ethernet RX packet loss on the 3B+
Replies: 6
Views: 759

Re: Ethernet RX packet loss on the 3B+

The flow control thing could definitely be the problem, but if it isn't: All of them have approved Raspberry Pi power supplies. Swap them out. Don't forget that bad components can come in batches. All of them have good quality Cat6 cables and all are working on a Gigabit network. See above. Also try...
by BeauSlim
Wed Jul 18, 2018 2:43 am
Forum: Advanced users
Topic: Help writing an overlay (dts / device tree) for an ssd1307
Replies: 14
Views: 3679

Re: Help writing an overlay (dts / device tree) for an ssd1307

I tried this a while back with my Adafruit OLED Bonnet but I think the "reset" issue got in the way. ighea, thank you so much for sorting this all out! It works quite well now, at least for text consoles. The latest kernel code removes the reset requirement, so there's no need to comment stuff out a...
by BeauSlim
Fri Aug 18, 2017 8:37 am
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 538
Views: 230636

Re: STICKY: USB boot now working on Pi3

So, here's some strangeness... I decided I wanted to try booting from USB because I have a bunch of keys laying around. I've found only 1 stick that boots no problem with no uSD. It's a Transcend 8GB USB3. BUT I have quite a few that will boot but ONLY if I have also plugged in the wireless dongle t...
by BeauSlim
Mon Jul 31, 2017 10:21 am
Forum: General discussion
Topic: Unpleasant new board smell ?
Replies: 68
Views: 8969

Re: Unpleasant new board smell ?

Just googled to see why my new pi3 smells and found this thread. Maybe a lack of rinsing or something at the factory in a recent batch? I've worked in IT for 25 years, and this is definitely a much stronger chemical smell than normal. I can only compare the smell to some really cheap plastic item's ...

Go to advanced search