Go to advanced search

by SteveSpencer
Tue May 08, 2018 11:00 am
Forum: General discussion
Topic: Problems after latest update
Replies: 1
Views: 353

Re: Problems after latest update

Can't help with problem #2. As for problem one, do you (as the current user, presumably "pi") have permission to change the files in question? They may be somewhere under /var/www. Do you have a general issue with writing files? Things to check df -h so you can see how much disk space you have echo ...
by SteveSpencer
Tue May 08, 2018 10:52 am
Forum: General discussion
Topic: pi cant find package when time to install
Replies: 18
Views: 2954

Re: pi cant find package when time to install

Generally speaking, if you are using wget to download a package, then apt-get won't know about the package.
This is because apt-get will get details of packages from (generally public) repositories, via apt-get update.

If you have manually downloaded a package, you should use dpkg to install it.
by SteveSpencer
Fri May 04, 2018 12:11 pm
Forum: Troubleshooting
Topic: Changing the MAC address on a Pi 3B+
Replies: 7
Views: 4727

Re: Changing the MAC address on a Pi 3B+

You can do it via the /boot/cmdline.txt, see viewtopic.php?t=33252#p284683
by SteveSpencer
Mon Apr 30, 2018 1:17 pm
Forum: Raspberry Pi OS
Topic: Jessie Lite + unofficial Touchscreen
Replies: 1
Views: 554

Re: Jessie Lite + unofficial Touchscreen

Firstly, you should upgrade to stretch, rather than Jessie. That said, the following is, I believe, true for both versions. The "lite" version doesn't include any GUI elements, so the $64,000 question is, what do you expect the touchscreen to actually do? You can see if the touchscreen is actually r...
by SteveSpencer
Sat Apr 28, 2018 5:10 pm
Forum: General discussion
Topic: Internal HDD Format
Replies: 11
Views: 2884

Re: Internal HDD Format

A Pi has no internal HDD.
It may have an SD card, in some shape or other, but not necessarily.
by SteveSpencer
Fri Apr 27, 2018 8:42 am
Forum: C/C++
Topic: Unable to start dbus-daemon on Raspbian Lite
Replies: 5
Views: 2604

Re: Unable to start dbus-daemon on Raspbian Lite

Named pipes, shared memory, sockets are the ones that immediately spring to mind, or MQTT, even.
by SteveSpencer
Thu Apr 26, 2018 8:29 am
Forum: Troubleshooting
Topic: Connect RB3 on WPA2 Enterprise
Replies: 2
Views: 3730

Re: Connect RB3 on WPA2 Enterprise

Have you read viewtopic.php?f=29&t=205360&p=1274159#p1272896 ?
It might help you.
by SteveSpencer
Wed Apr 18, 2018 9:16 am
Forum: Raspberry Pi OS
Topic: Need help compiling a kernel module for latest Raspbian
Replies: 2
Views: 691

Re: Need help compiling a kernel module for latest Raspbian

Looking at the github you specified, it appears that this is for kernel version 3.8.13, which is far older than the version currently available for the Pi .
You may be out of luck, unless you can find the source for a later version. Is there a discussion group or anything for the opennetworking stuff?
by SteveSpencer
Mon Apr 16, 2018 8:55 am
Forum: Raspberry Pi OS
Topic: Is raspbian a bad choice for 24/7 iot?
Replies: 13
Views: 2809

Re: Why is raspbian bad choice for 24/7 iot?

A Raspberry Pi is for education, it’s cheap and meant for experimenting - you can try whatever OS you want without breaking your main computer ;) Actually, at home, I have a Pi as my main computer. However, because they are so cheap, I have many others for experimenting with. Despite the fact I hav...
by SteveSpencer
Fri Apr 13, 2018 2:10 pm
Forum: Raspberry Pi OS
Topic: Custom GUI?
Replies: 2
Views: 639

Re: Custom GUI?

If you want to design it yourself then you probably have to also write it yourself so which programming languages do you know ? That is almost certainly true. I had in mind something similar at one time for the Adafruit TFT screens, which also have 4 GPIOs which can be connected to buttons (think l...
by SteveSpencer
Fri Apr 13, 2018 1:52 pm
Forum: General discussion
Topic: IOError: [Errno 121] Remote I/O error
Replies: 4
Views: 2436

Re: IOError: [Errno 121] Remote I/O error

If you leave the ADDR pin floating, it may switch between on/off, because it is not being tied one way or the other. This means it could change the address while you are using it - never a good idea.
by SteveSpencer
Fri Apr 13, 2018 1:49 pm
Forum: General discussion
Topic: Raspberry Pi3 Bluetooth
Replies: 2
Views: 495

Re: Raspberry Pi3 Bluetooth

Receive and transmit, just like the ZeroW is.

I have a ZeroW playing music to bluetooth speakers, for example, and a 3 that is capturing a different audio stream from a mobile phone.
by SteveSpencer
Fri Apr 13, 2018 11:48 am
Forum: General discussion
Topic: ISO GPIO pins 41-x expander
Replies: 7
Views: 1204

Re: ISO GPIO pins 41-x expander

As an aside, if you use the excellent wiringpi library, this will also let you address those pins using the same mechanism as you do for other pins. This assumes you use C or C++. Can anyone tell me if there is a python/python3 wrapper for the library that allows the same functionality? I am slowly ...
by SteveSpencer
Wed Apr 11, 2018 11:13 am
Forum: Advanced users
Topic: Audio recording
Replies: 14
Views: 8982

Re: Audio recording

The pi (all models) does not have a line-in built in. Your easiest option is to acquire a USB audio device, from Amazon or other sites. These will generally plug in to the Pi and be automatically recognized as an audio device, typically with line in (or mic) and line out. This is recognized by ALSA,...
by SteveSpencer
Tue Apr 10, 2018 11:07 am
Forum: C/C++
Topic: api to firmware
Replies: 16
Views: 4034

Re: api to firmware

Thanks for that. I had completely forgotten about "userland", I was only looking at linux and firmware....
by SteveSpencer
Tue Apr 10, 2018 8:34 am
Forum: C/C++
Topic: api to firmware
Replies: 16
Views: 4034

Re: api to firmware

You get the source code for that vcgencmd program and it must have a mailbox call in it to retrieve the CPU temperature. Where is, or how would I find the source for vcgencmd? I'd be interested in extracting some configuration/settings stuff for display on a small OLED, and rather than executing an...
by SteveSpencer
Tue Apr 03, 2018 11:32 am
Forum: Raspberry Pi OS
Topic: minidlna database problem
Replies: 5
Views: 4028

Re: minidlna database problem

Glad you solved your first problem. I don't use it for video, just audio. However, it looks relatively self-explanatory; Some of the video files it finds (.mkv or .avi) don't match minidlna's idea of what a good (not corrupted) .mkv or .avi file should be like. Possibly, they are not .mkv files or ....
by SteveSpencer
Thu Mar 29, 2018 9:17 am
Forum: Raspberry Pi OS
Topic: minidlna database problem
Replies: 5
Views: 4028

Re: minidlna database problem

Are your media files on a removable disk (USB device)? If so, it may be that when minidlna starts, the mount of that device hasn't been done. This would mean that it looks like the files are no longer available, and would be removed from the database. Then, when the device is mounted, minidlna looks...
by SteveSpencer
Fri Mar 16, 2018 11:41 am
Forum: C/C++
Topic: wiringPi undefined Reference
Replies: 29
Views: 51467

Re: wiringPi undefined Reference

As well as -lwiringpi, you need -lpthread -lcrypt -lm, as these undefined references are in those libraries, respectively.
by SteveSpencer
Thu Mar 15, 2018 1:15 pm
Forum: General discussion
Topic: MAC generation
Replies: 4
Views: 845

Re: MAC generation

Presumably the same is true for the Bluetooth, but a different constant, 0xAAAAAA seems to be the one. So I know the serial number, I can easily work out what the WiFi and Bluetooth addresses are. Incidentally, can anyone remind me where I can find the decoding of the revision number to determine wh...
by SteveSpencer
Wed Feb 28, 2018 10:33 am
Forum: Advanced users
Topic: bluealsa woes - device not visible to library
Replies: 3
Views: 1324

Re: bluealsa woes - device not visible to library

Well, the default device (shown by the library code) is the default ALSA device. This happens to be the BCM2835. I can select any of the listed devices (2 or 3), or select the default (1). What I can't do is see a corresponding device to bluealsa. Presumably I need to define to ALSA some specific in...
by SteveSpencer
Tue Feb 27, 2018 1:57 pm
Forum: Advanced users
Topic: bluealsa woes - device not visible to library
Replies: 3
Views: 1324

bluealsa woes - device not visible to library

Hi I am using a fully updated Raspbian stretch image on a Pi3. First off, let me state that by putting defaults.bluealsa properties into ~/.asoundrc, having paired and connected a bluetooth speaker, I can successfully use aplay -D bluealsa myfile.wav So the underlying stuff is there. However, I use ...
by SteveSpencer
Tue Feb 27, 2018 1:16 pm
Forum: General discussion
Topic: MAC generation
Replies: 4
Views: 845

Re: MAC generation

Absolutely it. Many thanks.
by SteveSpencer
Tue Feb 27, 2018 10:02 am
Forum: General discussion
Topic: MAC generation
Replies: 4
Views: 845

MAC generation

OK. I know that the OUI for Raspberry Pi is b8-27-eb I also know that by default, the remaining 3 octets are taken from the serial number of he Pi (eth0) (which I know is in the OTP @28) How is the MAC for wlan0 generated? Presumably there is a similar "fixed" mechanism. Obviously, I can determine t...
by SteveSpencer
Tue Feb 27, 2018 9:46 am
Forum: General discussion
Topic: pi 3b cant connect to a hidden ssid network
Replies: 3
Views: 2909

Re: pi 3b cant connect to a hidden ssid network

In your wpa_supplicant.conf file, do you have

Code: Select all

scan_ssid=1
in your network block?

Go to advanced search