Go to advanced search

by hal8000
Fri Apr 30, 2021 8:07 am
Forum: Troubleshooting
Topic: How long should fsck run?
Replies: 5
Views: 136

Re: How long should fsck run?

You should never run fsck on a mounted filesystem. Always unmount the file system and pass the file system type to run the FileSystem ChecK So for example a 524G ext4 partition on my 1TB SATA drive takes less than one second, exaple output when complete below: osmc@osmc:~$ sudo fsck.ext4 /dev/sda4 e...
by hal8000
Mon Apr 12, 2021 9:42 pm
Forum: Troubleshooting
Topic: Pi zero W wifi intermittent
Replies: 5
Views: 172

Re: Pi zero W wifi intermittent

Youve already found that the problem lies with the TP link powerline adapter and not your home hub 5. So waht you need is an Android phone or tablet and a utility like wifi analyser. You need to know aht wifi channel your jome hub 5 is using and what channel the tp link powerline wifi adapter is usi...
by hal8000
Fri Apr 09, 2021 8:55 pm
Forum: Troubleshooting
Topic: runs but can't reboot. I/O error, dev mmcblk0
Replies: 3
Views: 141

Re: runs but can't reboot. I/O error, dev mmcblk0

There is another way you can check your card using linux data dump dd command. Again on a linux machine run: sudo dd if=/dev/sdb2 of=/dev/null bs=512 status=progress Just replace sdb2 wih the correct partition of the sdcard, block size from previous output was 512 bytes and if youre running a fairly...
by hal8000
Thu Apr 08, 2021 7:56 pm
Forum: Troubleshooting
Topic: runs but can't reboot. I/O error, dev mmcblk0
Replies: 3
Views: 141

Re: runs but can't reboot. I/O error, dev mmcblk0

Almost certainly your Pi can't read from sector 823050 on your SDcard. I have a feeling its going to be on the FAT partition as well. To find which partition its on from an ssh session, type: sudo fdisk /dev/mmcblk0 Then type p to print partition table, copy and paste this information, then press q ...
by hal8000
Wed Apr 07, 2021 5:01 pm
Forum: General discussion
Topic: DHT11 interface Errors
Replies: 1
Views: 82

Re: DHT11 interface Errors

Posting like this makes your question unanswerable. At the very least you need to provide the command you start your program with. Chances are its a python script and the last line of your program sgould give you a very big clue RuntimeError: Error accessing GPIO. Make sure program is run as root wi...
by hal8000
Sat Apr 03, 2021 5:24 pm
Forum: Troubleshooting
Topic: Redirecting stderr to file
Replies: 1
Views: 155

Re: Redirecting stderr to file

Standard error stderr and stdout are used in the linux bash shell. Stderr and stdout have file descriptors, Stderror has the file descriptor called 2. To redirect its output to a file used the ">" redirect command. As an example in the terminal type expr 1 / 0 Your output will be an error ...
by hal8000
Sat Apr 03, 2021 11:33 am
Forum: General discussion
Topic: Seeking advice re monitoring audio output
Replies: 5
Views: 263

Re: Seeking advice re monitoring audio output

Here's another way using mplayer. Install mplayer sudo apt install mplayer Run apt update if you've not updated for a while, then start from the terminal with the URL of your station, example: mplayer http://stream.live.vc.bbcmedia.co.uk/bbc_radio_four_extra You will get a lot of information in the ...
by hal8000
Sat Apr 03, 2021 11:11 am
Forum: General discussion
Topic: Seeking advice re monitoring audio output
Replies: 5
Views: 263

Re: Seeking advice re monitoring audio output

Its a good question and Linux Magazine wrote an article about streaming media some time ago, but I cant find the article now. If you know the stream address (URL) of a station , open it in vlc, example: vlc http://185.33.22.15:9010 Will open the audio stream for Smooth Jazz Radio. Then from vlc go t...
by hal8000
Fri Apr 02, 2021 8:31 pm
Forum: Troubleshooting
Topic: Pi 3B+ Slow 5Ghz wifi speed
Replies: 1
Views: 105

Re: Pi 3B+ Slow 5Ghz wifi speed

Not enough information to answer your question. From your Pi, open a terminal and post the output of iwconfig It will provide a host of information, copy and paste this between the code tags. You can delete your MAC address if you're paranoid. 5GHz is not the best channel for range, link quality cou...
by hal8000
Fri Apr 02, 2021 8:23 pm
Forum: Troubleshooting
Topic: Kodi on Raspian
Replies: 2
Views: 158

Re: Kodi on Raspian

Open the terminal on Rasbian, type:

Code: Select all

kodi
There will be some terminal output, copy and paste the error message
with your post and paste it bewteen the code tags
by hal8000
Fri Apr 02, 2021 8:13 pm
Forum: Troubleshooting
Topic: Can ssh using raspberrypi.local , but cant using IP.
Replies: 10
Views: 424

Re: Can ssh using raspberrypi.local , but cant using IP.

There is more than one way to get the correct IP address of the Pi on your network. What you're not stating is the host OS you are using secure shell from. If you're using another linux system then ssh -vvvv pi@raspberrypi.local will fill your terminal with verbose output and in the debug informatio...
by hal8000
Fri Apr 02, 2021 11:06 am
Forum: Advanced users
Topic: Starting program in rc.local consuming cpu usage high
Replies: 9
Views: 468

Re: Starting program in rc.local consuming cpu usage high

You've created an infinite loop, CPU usage will be very high. Loop at your bash script: # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi nohup /home/uf/xArm/xarm_start.sh & exit 0 Look at the line with no...
by hal8000
Thu Apr 01, 2021 10:47 am
Forum: Troubleshooting
Topic: No ip v4 address and after disabling ip v6 no connection at all
Replies: 1
Views: 90

Re: No ip v4 address and after disabling ip v6 no connection at all

So if it was working with IPv6 your LAN pool and router gateway were configured to use IPv6
Consult the OpenWRT documentation:

https://openwrt.org/docs/guide-user/network/ipv6/start

You may have configured your router with IPv6 addressing only
by hal8000
Thu Apr 01, 2021 9:28 am
Forum: Troubleshooting
Topic: error": cannot open /dev/ttyACM0 port
Replies: 1
Views: 114

Re: error": cannot open /dev/ttyACM0 port

So if you look at the python traceback, you will see this line: FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyACM0' So that should tell you that your USB device has been enumerated differently, depending on the hardware connected to your USB ports. So although you did not state de...
by hal8000
Tue Mar 30, 2021 1:58 pm
Forum: Advanced users
Topic: Any way to speed up boot time? (Including my 'sudo vcdbg log msg' output)
Replies: 14
Views: 1357

Re: Any way to speed up boot time? (Including my 'sudo vcdbg log msg' output)

Start by posting the output of

Code: Select all

systemd-analyse

Code: Select all

systemd-analyze blame
The output can be long so paste it between the code tags.
by hal8000
Sun Mar 28, 2021 5:15 pm
Forum: Troubleshooting
Topic: Crontabs get deleted after each reboot
Replies: 25
Views: 704

Re: Crontabs get deleted after each reboot

So did you reboot with all drives disconnected and were crontabs entries for user pi and user root changed or not?
Can you post your file system table?

Code: Select all

cat /etc/fstab
by hal8000
Sun Mar 28, 2021 5:00 pm
Forum: Troubleshooting
Topic: Crontabs get deleted after each reboot
Replies: 25
Views: 704

Re: Crontabs get deleted after each reboot

So how many 'users' on your system and what drive have you used for each users /home directory?
by hal8000
Sun Mar 28, 2021 4:29 pm
Forum: Troubleshooting
Topic: Crontabs get deleted after each reboot
Replies: 25
Views: 704

Re: Crontabs get deleted after each reboot

You've got an overlay filesystem running and a 5.5TB disk /dev/sdb1 that's 99% full! Ext4 filesystems have by default 5% of the blocks reserved for the root user. Filling it this full is going to cause file fragmentation and poor performance. In post #1 you say "everything I add". What are...
by hal8000
Sun Mar 28, 2021 3:18 pm
Forum: Troubleshooting
Topic: Crontabs get deleted after each reboot
Replies: 25
Views: 704

Re: Crontabs get deleted after each reboot

Post the output of these commands:

Code: Select all

dmesg | grep  mmcblk0
crontab -l
df -hT  -x tmpfs
Just in case fonts are not clear after dmesg the symbol is "pipe, |" and second line crontab -l is lower case L.
by hal8000
Sun Mar 28, 2021 12:01 pm
Forum: Advanced users
Topic: Voice recognise
Replies: 1
Views: 145

Re: Voice recognise

Voice control and recognition are better suited to Orange Pi and Banana Pi which include that hardware. For your Raspberry Pi you need to add a sound card and Microphone. I have no idea what a "ps2 eye" is, I can only think it must be a webcam with builtin microphone for the PS2, connected...
by hal8000
Sun Mar 28, 2021 11:47 am
Forum: Advanced users
Topic: (Solved) FileZilla or what else?
Replies: 53
Views: 1634

Re: (Solved) FileZilla or what else?

Hi Kalman,
Yes, clocks went back and you corrected my post!
An email is on its way till Sverige !
by hal8000
Sat Mar 27, 2021 9:19 pm
Forum: Advanced users
Topic: (Solved) FileZilla or what else?
Replies: 53
Views: 1634

Re: (Solved) FileZilla or what else?

Hallå Kalman, Yes, these glitches can happen on Wifi, and this is probably what caused the error. So from your laptop, if the drive on the Raspberry Pi is not reachable due to interference or some other glitch you will get the transport error message again. To get round this you need to disconnect t...
by hal8000
Sat Mar 27, 2021 8:58 pm
Forum: Troubleshooting
Topic: RTL8192EU low signal strength
Replies: 2
Views: 150

Re: RTL8192EU low signal strength

With the dongle connected can you post the output of

Code: Select all

iwconfig
by hal8000
Sat Mar 27, 2021 8:04 pm
Forum: Advanced users
Topic: (Solved) FileZilla or what else?
Replies: 53
Views: 1634

Re: (Solved) FileZilla or what else?

OK, just read your post at 8:59 CET Yes, I've seen it this error before. Because you are turning your Raspberry Pi on and off, you are creating "a moving target" Your laptop is trying to connect to the hard drive on your Pi, but when its switched off, it can not connect so you will get &qu...
by hal8000
Sat Mar 27, 2021 5:00 pm
Forum: Advanced users
Topic: (Solved) FileZilla or what else?
Replies: 53
Views: 1634

Re: (Solved) FileZilla or what else?

Ok your last line in fstab is perfect, I've enlarge my screen checked it three times. After sudo mount -a (sytem asking for password is normal) So from your laptop terminal type: sudo ssh pi@nissan1 Your Mint laptop will ask for a password but when you connect to your Pi as sudo it should not ask fo...

Go to advanced search