Go to advanced search

by VascoFerraz
Sat Mar 16, 2019 1:14 pm
Forum: Troubleshooting
Topic: RPi1 with bad contact on the SD card port
Replies: 4
Views: 492

Re: RPi1 with bad contact on the SD card port

You all are right. The SD is a little bit bended. I gently removed the curvature of the SD and pried up the contacts. Now it is working again without the need of an extra finger pressure :) I think this is the reason why this particular Pi1 corrupted frequently the OS. I only own one Pi1. The other ...
by VascoFerraz
Fri Mar 15, 2019 5:27 pm
Forum: Troubleshooting
Topic: RPi1 with bad contact on the SD card port
Replies: 4
Views: 492

RPi1 with bad contact on the SD card port

Hello, I have one RPi1 which as a bad contact on the SD card port . That is, If I press the SD card down the RPi1 boots normally. If I don't press the SD card down the RPi won't boot. So, before starting re-soldering the SD card port pins, bending contacts... I want to know if this is a know issue a...
by VascoFerraz
Mon Jan 01, 2018 9:03 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 62143

Re: Is this the correct way to install the watchdog package?

The following solution (thanks Paul) works on the RPi1 model B (BCM2835)? 1) In /boot/config.txt add/change: watchdog=on 2.1) In /etc/systemd/systemd.conf, change #RuntimeWatchdogSec= to: RuntimeWatchdogSec=10s 2.2) In /etc/systemd/systemd.conf, change #ShutdownWatchdogSec= to: ShutdownWatchdogSec=1...
by VascoFerraz
Tue Oct 24, 2017 2:51 pm
Forum: Troubleshooting
Topic: apt-get segmentation fault
Replies: 16
Views: 9754

Re: apt-get segmentation fault

After messing around with some packages I found that python3.5 also had problems.
I manually installed all python3.5 dependencies.
Then, I manually installed python3.5 and finally apt-listchanges.
Problem solved.
by VascoFerraz
Tue Oct 24, 2017 8:41 am
Forum: Troubleshooting
Topic: apt-get segmentation fault
Replies: 16
Views: 9754

Re: apt-get segmentation fault

I had no problem installing it in stretch on a 32 GB card on a Pi 3. I have no idea what is going on. I think I have to reflash the Pi. I never did a rpi-update, just apt-get update, upgrade and dist-upgrade That's strange because my Pi1 never had this kind of issues. Pi3 suddenly breaks regularly ...
by VascoFerraz
Mon Oct 23, 2017 3:34 pm
Forum: Troubleshooting
Topic: apt-get segmentation fault
Replies: 16
Views: 9754

Re: apt-get segmentation fault

DougieLawson wrote:
Mon Oct 23, 2017 3:29 pm
apt-listchanges_3.14_all.deb appears to be an Ubuntu X86_64 package. No armhf version available, as far as I can see.
Is it normal to have a X86_64 package in the Raspbian repository?
http://mirrordirector.raspbian.org/rasp ... stchanges/
by VascoFerraz
Mon Oct 23, 2017 3:28 pm
Forum: Troubleshooting
Topic: apt-get segmentation fault
Replies: 16
Views: 9754

Re: apt-get segmentation fault

DougieLawson wrote:
Mon Oct 23, 2017 3:16 pm
Why are you trying to install an X86_64 package on an ARM based processor. If you want that function you will need to build it from source code.
As far as I know I am on the RPI repository.

Where did you see in my posts that I am installing a X86_64 package?
by VascoFerraz
Mon Oct 23, 2017 3:11 pm
Forum: Troubleshooting
Topic: apt-get segmentation fault
Replies: 16
Views: 9754

Re: apt-get segmentation fault

Do you have any free space left on sdcard? Check with df -h [email protected]:~ $ sudo df -h Filesystem Size Used Avail Use% Mounted on /dev/root 15G 4.3G 9.7G 31% / devtmpfs 370M 0 370M 0% /dev tmpfs 375M 0 375M 0% /dev/shm tmpfs 375M 11M 365M 3% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 375M 0 375M 0%...
by VascoFerraz
Mon Oct 23, 2017 1:28 pm
Forum: Troubleshooting
Topic: apt-get segmentation fault
Replies: 16
Views: 9754

Re: apt-get segmentation fault

I think the problem is in the apt-listchanges But if I download it and install it with dpkg I get: [email protected]:~ $ sudo dpkg -i apt-listchanges_3.14_all.deb (Reading database ... 125795 files and directories currently installed.) Preparing to unpack apt-listchanges_3.14_all.deb ... Segmentation fault ...
by VascoFerraz
Mon Oct 23, 2017 8:47 am
Forum: Troubleshooting
Topic: apt-get segmentation fault
Replies: 16
Views: 9754

Re: apt-get segmentation fault

Some part of the upgrade process failed. I would restart the computer and try again. This should clear any locked files. If it still fails. then you may need to clear some of the file directories used by apt-get. sudo rm -rf /var/cache/apt/*.bin sudo rm -rf /usr/bin/apt-listchanges/*.* And try agai...
by VascoFerraz
Mon Oct 23, 2017 8:20 am
Forum: Troubleshooting
Topic: Strange issue with memory cards
Replies: 8
Views: 1160

Re: Strange issue with memory cards

I am almost sure that the problem is related to the USB/SD chinese adapter.
I have 4 USB/SD chinese adapters and two of them randomly throw these errors.
by VascoFerraz
Sun Oct 22, 2017 12:57 pm
Forum: Troubleshooting
Topic: apt-get segmentation fault
Replies: 16
Views: 9754

apt-get segmentation fault

Hi, Can anyone please help with this: [email protected]:~ $ sudo apt-get install --reinstall ntfs-3g Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 375 kB of archives. Af...
by VascoFerraz
Sun Oct 08, 2017 9:41 am
Forum: Advanced users
Topic: Disable power management in Stretch
Replies: 12
Views: 39990

Re: Disable power management in Stretch

Then why I get my wlan0 disabled from time to time? No idea. I have a Zero W connected for days on end and have never noticed any dropouts. (well, at least after I set our AP to a channel that was not hogged by all the other ones in the neighbourhood) You are again right. I set the router to anothe...
by VascoFerraz
Thu Oct 05, 2017 8:02 pm
Forum: Advanced users
Topic: Disable power management in Stretch
Replies: 12
Views: 39990

Re: Disable power management in Stretch

You are right! [ 26.801862] usbcore: registered new interface driver brcmfmac [ 26.942622] brcmfmac: Firmware version = wl0: Aug 7 2017 00:46:29 version 7.45.41.46 (r666254 CY) FWID 01-f8a78378 [ 29.284947] brcmfmac: power management disabled [16192.219005] brcmfmac: power management disabled Then w...
by VascoFerraz
Wed Oct 04, 2017 9:33 pm
Forum: Advanced users
Topic: Disable power management in Stretch
Replies: 12
Views: 39990

Re: Disable power management in Stretch

AFAIK it's switched off by default. After a fresh install of the following version: Version: September 2017 Release date: 2017-09-07 Kernel version: 4.9 SHA-256: a64d742bc525b548f0435581fac5876b50a4e9ba1d1cd6433358b4ab6c7a770b Also: "/etc/network/interfaces" is empty. I only added my network to the...
by VascoFerraz
Wed Oct 04, 2017 4:15 pm
Forum: Troubleshooting
Topic: Omxplayer doesn't display nothing
Replies: 9
Views: 2337

Re: Omxplayer doesn't display nothing

Hi! I tried to play a video in Raspbian with omxplayer and didn't worked properly. It runned it, but didn't displayed any window. Neither I had any error message or a crash, so it keeps running on the terminal without any changes on the CPU or RAM usage. I tried 3 different videos, encoded with 2 d...
by VascoFerraz
Wed Oct 04, 2017 11:12 am
Forum: Advanced users
Topic: Disable power management in Stretch
Replies: 12
Views: 39990

Disable power management in Stretch

In Stretch, with predicables names active, on a RPi3 how can I disable the power management of the embedded wireless chip?

Thank you.
by VascoFerraz
Wed Oct 04, 2017 10:46 am
Forum: Advanced users
Topic: Predicable names on stretch are confusing me
Replies: 29
Views: 6120

Re: Predicable names on stretch are confusing me

I have predicables names enabled but wlan0 is still using old name scheme?!

What am I missing?

Image
by VascoFerraz
Wed Oct 04, 2017 10:40 am
Forum: Advanced users
Topic: Predicable names on stretch are confusing me
Replies: 29
Views: 6120

Re: Predicable names on stretch are confusing me

It works a bit differently on stretch. In raspi-config, enable predictable interface names, under advanced options. Read up on it here: https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ If that doesn't suit your needs, you can try disabling it and copying the old p...
by VascoFerraz
Wed Oct 04, 2017 8:33 am
Forum: Advanced users
Topic: Predicable names on stretch are confusing me
Replies: 29
Views: 6120

Re: Predicable names on stretch are confusing me

What's the problem exactly? "75-persistent-net-generator.rules" is from Jessie, not Stretch. /etc/network/interfaces should be empty if you're using dhcpcd I have two wlan cards and I want to make sure that wlan0 is fixed for IP x.x.x.x and MAC aa:aa:aa:aa:aa:aa and wlan1 is fixed for IP y.y.y.y an...
by VascoFerraz
Tue Oct 03, 2017 11:20 am
Forum: Advanced users
Topic: Predicable names on stretch are confusing me
Replies: 29
Views: 6120

Re: Predicable names on stretch are confusing me

sudo raspi-config advanced menu has a switch for old names versus predictable names. All of my raspberries are using predictable names. I installed the version with predictable names enabled by default but the "75-persistent-net-generator.rules" file is still missing. "/etc/network/interfaces" is e...
by VascoFerraz
Mon Oct 02, 2017 11:40 am
Forum: Advanced users
Topic: Predicable names on stretch are confusing me
Replies: 29
Views: 6120

Re: Predicable names on stretch are confusing me

Second question :) With your help, I realised that I have the old scheme name interface but the "75-persistent-net-generator.rules" file missing. I copied the file from a running Jessie version into "/lib/udev/rules.d", added the "wlanx" to the white list... ...but the "70-persistent-net.rules" didn...
by VascoFerraz
Mon Oct 02, 2017 11:31 am
Forum: Advanced users
Topic: Predicable names on stretch are confusing me
Replies: 29
Views: 6120

Re: Predicable names on stretch are confusing me

Thank you so much for both replies.

For further reference I downloaded and installed the image yesterday (1st of October).
Version: September 2017
Release date: 2017-09-07
Kernel version: 4.9
SHA-256: a64d742bc525b548f0435581fac5876b50a4e9ba1d1cd6433358b4ab6c7a770b
by VascoFerraz
Mon Oct 02, 2017 11:13 am
Forum: Advanced users
Topic: Predicable names on stretch are confusing me
Replies: 29
Views: 6120

Predicable names on stretch are confusing me

I made a fresh stretch install on a RPi-3.

Shouldn't I get something like enx000 or wlx000 instead of eth0, wlan0 and wlan1?

Image

/etc/network/interfaces is empty.
If I do: sudo ifdown wlan0
I get: ifdown: unknown interface wlan0

Go to advanced search