Go to advanced search

by bertlea
Wed Apr 03, 2019 6:07 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Backup Debian X86 to WinPC
Replies: 4
Views: 177

Re: Backup Debian X86 to WinPC

Assuming you do not have access to another system running Linux (including Raspberry Pi), and your PC got a FAT partition (or attached a separate disk in FAT format) with sufficient free space to store your backup (16G), then my workaround is: 1. Buy another 16GB USB drive and repeat the same proces...
by bertlea
Wed Apr 03, 2019 5:53 am
Forum: Python
Topic: Use pretrained model from tensorflow 1.7 on Raspberry Pi?
Replies: 3
Views: 250

Re: Use pretrained model from tensorflow 1.7 on Raspberry Pi?

Yes, I think the best way is to shrink the model size if that is feasible. Because the Pi can only access 1G RAM and need to share with GPU. The last thing you may try (but not recommended) is to set your swap file to a bigger size. But that will significantly affect the speed of your process and al...
by bertlea
Wed Apr 03, 2019 5:46 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: How to set screen brightness using existing buttons?
Replies: 2
Views: 132

Re: How to set screen brightness using existing buttons?

I also had the same need, on my Dell laptop, but not found a good solution. I end up just writing a script to adjust the brightness using a command in terminal. The script simply put the desired brightness value to the "file": /sys/class/backlight/intel_backlight/brightness I use a script as I found...
by bertlea
Wed Apr 03, 2019 5:31 am
Forum: Raspbian
Topic: Kernel logs with wrong priority level
Replies: 1
Views: 83

Re: Kernel logs with wrong priority level

Since it is related to the Kernel, I think you can try to raise to the Github:

https://github.com/raspberrypi/linux
by bertlea
Thu Mar 28, 2019 4:21 am
Forum: Troubleshooting
Topic: Do not buy this case, it has broken 2 brand new Pi 3 B+ devices
Replies: 9
Views: 794

Re: Do not buy this case, it has broken 2 brand new Pi 3 B+ devices

I do not think the BIQU case is good for Pi3B+ or newer Pi3B as they got taller SoC chip position as HawaiianPi mentioned. Because I do feel their heat transfer rod is long and thin. It already giving the original Pi3B some pressure. I guess they want to make sure the rod is pressing against the SoC...
by bertlea
Mon Mar 25, 2019 6:18 am
Forum: General programming discussion
Topic: What options do I have to issue commands remotely
Replies: 4
Views: 316

Re: What options do I have to issue commands remotely

Why not just write a simple HTML form and use your phone to access and send message using that HTML form. Anytime you want to send a command/message, just type the command in the HTML page (opened by the browser of your phone) and it will send to your sever using the HTTP. I assume you need very lit...
by bertlea
Mon Mar 25, 2019 5:58 am
Forum: Python
Topic: Coding clock + tempature gage
Replies: 2
Views: 113

Re: Coding clock + tempature gage

Firstly, what you are writing is not Python, but seems like a shell script (e.g. bash). If your question is simply want to keep the updates at the same spot of the terminal, not keep appending to the output, then, there are different options. 1. You can try to use “watch” command to run your script ...
by bertlea
Fri Mar 15, 2019 4:02 am
Forum: Beginners
Topic: Display problems: Monitor v. TV
Replies: 4
Views: 357

Re: Display problems: Monitor v. TV

It sounds like your monitor is no longer working, nothing to do with the Pi (as it works when connected to a TV). Are you saying the monitor is still working if connected to other computer such as a PC?
by bertlea
Wed Mar 13, 2019 3:46 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 51
Views: 4905

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

I need to correct myself on the previous wrong conclusion I made that: "The issue is not related to the wifi router". I now believe it is related to wifi router. Because I carried another Pi zero W from my home to the location where the issue happens. The Pi from home also suffers the same problem i...
by bertlea
Wed Mar 06, 2019 5:53 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 51
Views: 4905

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

:( Another proof that my problem is different from others. My "carrier lost" issue is still there after the wpasupplicant upgrade. Keep using background ping work-around for the moment.
by bertlea
Tue Mar 05, 2019 11:17 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 51
Views: 4905

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

@pootle, Good to know bls’ workaround works for you. It is strange why it does not work for me, but a slight variation of bls’ method does work. I also ruled out it is the router issue (I previously think if no traffic to router, it will sleep and causing that problem). My workaround is simply ping ...
by bertlea
Mon Mar 04, 2019 2:07 am
Forum: General discussion
Topic: funny terminal commands and personalisations
Replies: 11
Views: 486

Re: funny terminal commands and personalisations

Code: Select all

sudo apt-get cmatrix -y
cmatrix
by bertlea
Mon Mar 04, 2019 2:03 am
Forum: General discussion
Topic: Ideal temperatures.
Replies: 10
Views: 402

Re: Ideal temperatures.

Why not just keep your fan always on? Unless you try to save the power consumption by the fans or the wear of the fans or your environment can be in a very cold, I think keep the fans always on is best for the Pi’s PCB as it tends to keep the temperature stable. As your goal is “to ensure the longev...
by bertlea
Tue Feb 26, 2019 8:19 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 51
Views: 4905

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

Sorry guys, I think my case is different from bls's case as I just tested and found the regular wifi scan didn't help in my case. I think the regular (5 to 10 mins) carrier lost is causing by something else. I am suspecting the wifi router now, as it seems the problem only happen to one location.
by bertlea
Tue Feb 26, 2019 6:41 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 51
Views: 4905

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

@sfgabe, The solution (work-around) is a script from bls that you need to keep it running at the background to scan the network about every 2 minutes. #!/bin/bash # # Loop forever doing wpa_cli SCAN commands # sleeptime=120 # number of seconds to sleep. 2 minutes (120 seconds) is a good value while ...
by bertlea
Mon Feb 25, 2019 3:51 am
Forum: Other programming languages
Topic: Using Tensorflow.js on Raspberry
Replies: 1
Views: 698

Re: Using Tensorflow.js on Raspberry

You really cannot compare Raspberry Pi (even 3B+) processing power with modern Intel based Laptops. I only tried to run “back-end” training/processing as experiments on Pi (tried on both Node.js and Chromium browser), it works but pretty slow and it also got some bugs when using web-gl. When trouble...
by bertlea
Mon Feb 25, 2019 2:03 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 51
Views: 4905

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

@bertlea can you clarify whether your devices are running with LXDE desktop or console? Thanks Oh, and I believe that this is a Stretch problem, where it appears that the WiFi management was significantly modified. @bls, The Pi-zero W got the issue is running the official Raspbian Stretch (i.e. wit...
by bertlea
Fri Feb 22, 2019 3:25 pm
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 51
Views: 4905

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

@bls, I just checked my other Pi that are running over wifi, and I found: Only my Pi-Zero W running Stretch got this problem, my Pi-3B running Stretch do not have this issue. Also, I have another Pi-Zero W running Jessie do not have this issue.
by bertlea
Fri Feb 22, 2019 3:57 am
Forum: Networking and servers
Topic: Raspbian WiFi bounces regularly on Raspbian in console mode
Replies: 51
Views: 4905

Re: [Solved] Raspbian WiFi bounces regularly on Raspbian in console mode

:shock: Interesting! I also found that loss wlan0 carrier every 5 to 11 minutes last year when I troubleshoot my Pi-zero-W “lost connection” issue. The “lost connection” issue was due to a configuration mistake but the root of cause should be this regular carrier lost. Hope there will be a fix in th...
by bertlea
Wed Feb 20, 2019 7:25 am
Forum: Networking and servers
Topic: autoSSH
Replies: 16
Views: 1657

Re: autoSSH

I use mosh (runs on top of SSH and able to reconnect automatically) and tmux together to keep the connection. I only have one particular issue on mosh when running it via VPN due to the IP package size issue. When not using VPN, it works fine.

https://mosh.org/
by bertlea
Mon Feb 18, 2019 3:33 am
Forum: General discussion
Topic: apt -y upgrade stalls.
Replies: 7
Views: 184

Re: apt -y upgrade stalls.

I remember seeing the command "yes" in Linux as an old solution to this type of problem. But I didn't tried that on system upgrade yet.
by bertlea
Fri Feb 08, 2019 1:51 am
Forum: Advanced users
Topic: Upgrading HW - just swap SD card?
Replies: 3
Views: 203

Re: Upgrading HW - just swap SD card?

If it is 3B+ or 3A+, I think you need a relatively new firmware on the SD card (after mid 2018 when the 3B+ released).
by bertlea
Fri Feb 08, 2019 1:31 am
Forum: Beginners
Topic: tmux command and options
Replies: 1
Views: 51

Re: tmux command and options

The official document should be the man page of the tmux command. Try use the command: man tmux in your terminal. That "-d" is described in the man page: "The new session is attached to the current terminal unless -d is given...." There are many cheat-sheets or non-official documents on tmux if you ...
by bertlea
Tue Feb 05, 2019 12:24 pm
Forum: Raspbian
Topic: Where should I report a potential bug in a driver
Replies: 6
Views: 283

Re: Where should I report a potential bug in a driver

Thank you @jamesh! I just raised it as issue #1106. It is not critical to me as there is work-around, just hope it can help to make the firmware even better in the future.
by bertlea
Tue Feb 05, 2019 10:57 am
Forum: Raspbian
Topic: Where should I report a potential bug in a driver
Replies: 6
Views: 283

Re: Where should I report a potential bug in a driver

Yes @jamesh, it is also what the google guys said. But I am not sure where is the right place to report to. It will be nice if you can point me to the right github url (assume it is on GitHub).

Go to advanced search