Go to advanced search

by Milliways
Sat May 18, 2019 5:36 am
Forum: Raspbian
Topic: Updated to debian 9.9
Replies: 1
Views: 432

Re: Updated to debian 9.9

You didn't update to latest! You installed an experimental kernel and presumably firmware, probably from running `rpi-update`. There are outstanding issues with the 4.19 kernel. sudo apt-get update; sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel will put it back to the la...
by Milliways
Sun May 12, 2019 12:12 am
Forum: The MagPi
Topic: Etcher instruction wrong Issue 81
Replies: 29
Views: 4692

Re: Etcher instruction wrong Issue 81

I never used training wheels - just got on and tried riding. Fell off a few times before I got the hang of it, but by 13 or so I was riding no-hands, doing hand-stands on the saddle, ... It wasn't until much later that I learned about gyroscopes, and why a bike stays upright. On the other hand, whe...
by Milliways
Mon May 06, 2019 5:13 am
Forum: Troubleshooting
Topic: Raspberry Pi B+ - Help to replace micro SD socket and power LED
Replies: 18
Views: 788

Re: Raspberry Pi B+ - Help to replace micro SD socket and power LED

The replacement parts will cost you $35 - i.e. buy a new Pi.
by Milliways
Mon May 06, 2019 4:24 am
Forum: General discussion
Topic: PEN and RUN Pins, Proper Use?
Replies: 2
Views: 279

Re: PEN and RUN Pins, Proper Use?

Do I have this right: PEN when shorted to GND will wake up Pi that is in a halt (or former shutdown state)? RUN when shorted to GND does a safe reset of the Pi? Safe as in SD card corruption is not an issue? Read quite a bit of information on this, and the many different references, none seems offi...
by Milliways
Tue Apr 30, 2019 6:45 am
Forum: General discussion
Topic: Raspberry pi 3 B+ can't boot up
Replies: 3
Views: 368

Re: Raspberry pi 3 B+ can't boot up

Hello: I need help to make my Raspberry pi 3 B+ working. I purchase it at Digikey and also purchase a 128GB SDXC to download latest image to pi, I got a black screen with solid lighted PWR LED and no light on ACT LED. Then I purchases a SD card in which Raspberry pi preloads the image. This time I ...
by Milliways
Sat Apr 27, 2019 11:19 am
Forum: Troubleshooting
Topic: Unable to enter quote in geany
Replies: 2
Views: 150

Re: Unable to enter quote in geany

There is this reported error https://github.com/geany/geany/issues/1036 that seems to say its an issue with the localisation - have you checked the Pi settings for locale and keyboard (Preferences / Pic Config / Localisation -> Locale & keyboard)? If so - what do you have them set to? Have you trie...
by Milliways
Sat Apr 27, 2019 7:58 am
Forum: Troubleshooting
Topic: Unable to enter quote in geany
Replies: 2
Views: 150

Unable to enter quote in geany

I am using geany on Raspbian as a programming editor.

Unfortunately every time I press the quote key " it inserts a ¨ (U00A8) character.

Needless to say this is very inconvenient!

This only seems to happen in geany, and I have been unable to find any setting which would do this.
by Milliways
Sat Apr 27, 2019 6:36 am
Forum: Troubleshooting
Topic: An Introduction to C & GUI Programming
Replies: 1
Views: 146

An Introduction to C & GUI Programming

I have been working through the GTK examples in An Introduction to C & GUI Programming , and while it is OK (if a bit short on explanation) I stumbled on the List stores example. I can't figure out how to get the contents of a COMBO_BOX populated by a renderer. char *selected = gtk_combo_box_text_ge...
by Milliways
Fri Apr 26, 2019 7:14 am
Forum: General discussion
Topic: Python3 Unicode escape sequences not working out of IDLE
Replies: 4
Views: 281

Re: Python3 Unicode escape sequences not working out of IDLE

Nothing to do with python; you have to configure your terminal to display unicode.
by Milliways
Sat Apr 20, 2019 1:27 am
Forum: Raspbian
Topic: Raspi3 autoconnect to WiFi with static IP
Replies: 13
Views: 983

Re: Raspi3 autoconnect to WiFi with static IP

Hi, I am running Raspian jessie. What I want to achieve is that the raspi automatically connects to a certain wifi network on startup (or whenever possible) and that it uses static IP. I tried these steps: https://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-...
by Milliways
Sat Apr 20, 2019 1:15 am
Forum: General discussion
Topic: Change new user privileges
Replies: 13
Views: 612

Re: Change new user privileges

I am following some tutorials but it is not clear to me how to give this new user all the privileges that the PI has, Raspbian privileges are determined by group membership. I avoid fiddling with sudoers - Just copy groups to the new user:- for GROUP in $(groups pi | sed 's/.*:\spi//'); do sudo add...
by Milliways
Sun Apr 07, 2019 8:21 am
Forum: Troubleshooting
Topic: hostapd doesn't start automatically
Replies: 2
Views: 420

Re: hostapd doesn't start automatically

The latest update to Raspbian (2019-03-09) has changed hostapd "wpa (2:2.6-10)".



You should run sudo systemctl unmask hostapd and sudo systemctl enable hostapd to ensure it runs on boot.
by Milliways
Sun Apr 07, 2019 8:21 am
Forum: Troubleshooting
Topic: Failed to start hostapd.service: Unit hostapd.service is masked.
Replies: 4
Views: 12624

Re: Failed to start hostapd.service: Unit hostapd.service is masked.

The latest update to Raspbian (2019-03-09) has changed hostapd "wpa (2:2.6-10)".



You should run sudo systemctl unmask hostapd and sudo systemctl enable hostapd to ensure it runs on boot.
by Milliways
Sun Apr 07, 2019 8:12 am
Forum: Troubleshooting
Topic: Wifi connected but "Link is down"
Replies: 10
Views: 528

Re: Wifi connected but "Link is down"

I can normally power up my Pi, a B+, and it connects to my home Wifi no problem except this morning. Using the graphical interface the wifi icon shows I'm connected but when I put the cursor over the icon I get the following wlan0: Associated with JXT56_2GEXT wlan0: Configured 192.168.137.2/24 enxb...
by Milliways
Sat Apr 06, 2019 11:33 pm
Forum: General discussion
Topic: AV Connector oxidized
Replies: 14
Views: 1467

Re: AV Connector oxidized

Burngate wrote:
Sat Apr 06, 2019 6:22 pm
For some reason, I thought it was silver rather than cadmium.
On reflection, it probably is - the fact remains the discolouration (which is common) does not seem to affect performance, and does not warrant drastic removal action. Simply inserting and removing a plug should be sufficient.
by Milliways
Sat Apr 06, 2019 3:52 am
Forum: General discussion
Topic: AV Connector oxidized
Replies: 14
Views: 1467

Re: AV Connector oxidized

It isn't "corrosion" it is oxidation of the cadmium plating, and is quite normal (and harmless).

If you use it it should work, but attempting to "clean" is likely to do more harm than good.
by Milliways
Mon Apr 01, 2019 6:44 am
Forum: Beginners
Topic: GPIO does not drive relay board properly
Replies: 10
Views: 398

Re: GPIO does not drive relay board properly

For those who are interested I purchased this relay board and powered it externally according to these instructions and it works perfectly in my testing so far. It does work counter-intuitively (active low) in my opinion but it does work reliably. The spec for this relay states "each one needs 15-2...
by Milliways
Mon Apr 01, 2019 2:34 am
Forum: Off topic discussion
Topic: Is ARM doomed?
Replies: 311
Views: 22645

Re: Is ARM doomed?

I don't understand the fuss over RISC - this is old hat.

The IBM 360 used microcode in 1964 to implement its instruction set on a RISC-like processor.
by Milliways
Sun Mar 31, 2019 7:31 am
Forum: General discussion
Topic: shorting pins 5 and 6 while RPI is on
Replies: 13
Views: 902

Re: shorting pins 5 and 6 while RPI is on

AdamStanislav wrote:
Sat Mar 30, 2019 9:53 pm
Perhaps this article answers your question.
You COULD do this, but Raspbian now has gpio-shutdown built in.

NOTE the pin 5/6 thing is an anachronism. Now all Pi models have an accessible RUN pin it is unnecessary, and doesn't work if gpio-poweroff is used.
by Milliways
Tue Mar 26, 2019 5:29 am
Forum: General discussion
Topic: Maximum Stations connected to Rasp as Access Point
Replies: 3
Views: 265

Re: Maximum Stations connected to Rasp as Access Point

The DHCP server is configured to allocate 19 addresses.
by Milliways
Sat Mar 23, 2019 6:39 am
Forum: Raspbian
Topic: Unable to install nginx
Replies: 6
Views: 473

Re: Unable to install nginx

php 5 has been replaced by newer versions. Try sudo apt-get install nginx php-cli php-fpm php-gd php-ncrypt php-curl The Foundation documentation https://www.raspberrypi.org/documentation/remote-access/web-server/nginx.md STILL has php5 instructions. I had posted a correction on github, but nothing...
by Milliways
Tue Mar 12, 2019 6:20 am
Forum: Raspbian
Topic: Is there any way of getting the GUI network icon to uses the stored PSK?
Replies: 7
Views: 500

Re: Is there any way of getting the GUI network icon to uses the stored PSK?

From comments by Simon Long I've just tested this with wpa_passphrase data set in wpa_supplicant, and I see the following behaviour when connecting to an already-known network: psk in quotes in wpa_supplicant - psk is read back into passphrase prompt; clicking ok reconnects to network. If text in pa...
by Milliways
Mon Mar 11, 2019 7:00 am
Forum: Raspbian
Topic: Is there any way of getting the GUI network icon to uses the stored PSK?
Replies: 7
Views: 500

Re: Is there any way of getting the GUI network icon to uses the stored PSK?

The code seems to only search for psk in quotes - which excludes proper PSK Maybe those responsible may accept the challenge to fix it. Although "those responsible" is an occasional contributor to these forums it is more likely he will see and respond to your "challenge" if you raise it as an Issue...
by Milliways
Sat Mar 09, 2019 11:07 am
Forum: Raspbian
Topic: Is there any way of getting the GUI network icon to uses the stored PSK?
Replies: 7
Views: 500

Re: Is there any way of getting the GUI network icon to uses the stored PSK?

Go and read the code. It's probably an oversight by the developer. I never use it so it doesn't bother me enough to look. I looked at the code. 40 years ago I wrote OS 30 years ago I entered senior management - so I gave engineers projects and wrote specifications, but got little opportunity to wor...
by Milliways
Sat Mar 09, 2019 5:42 am
Forum: Raspbian
Topic: Is there any way of getting the GUI network icon to uses the stored PSK?
Replies: 7
Views: 500

Re: Is there any way of getting the GUI network icon to uses the stored PSK?

Looks like the source code is at https://github.com/raspberrypi-ui/lxplug-network so you may be able to hack it to store crypted passwords rather than plain text. Then do a git pull request to get your changes into the RPF version. I probably COULD do this - the real issue is why it ignores stored ...

Go to advanced search