Go to advanced search

by K.Kong
Wed Nov 11, 2020 2:34 am
Forum: Ubuntu
Topic: Ubuntu server is super slow?
Replies: 12
Views: 1664

Re: Ubuntu server is super slow?

@pidd Thanks for sharing. Is your Pi 4 running Ubuntu?
by K.Kong
Tue Nov 10, 2020 1:35 pm
Forum: Ubuntu
Topic: Ubuntu server is super slow?
Replies: 12
Views: 1664

Re: Ubuntu server is super slow?

if comparing price its either "cheap" or "affordable" or "expensive" your title topic mentioned "...super slow"... which would imply lackluster "performance" based on your standard.... get a RPi4B-4G....develop your proposed system on that platform....
by K.Kong
Tue Nov 10, 2020 5:09 am
Forum: Ubuntu
Topic: Ubuntu server is super slow?
Replies: 12
Views: 1664

Re: Ubuntu server is super slow?

LTolledo wrote:
Mon Nov 09, 2020 10:08 am
expecting Ferrari F1 performance from a minica with stock engine?
I was more like comparing for about the same price.
by K.Kong
Tue Nov 10, 2020 5:07 am
Forum: Ubuntu
Topic: Ubuntu server is super slow?
Replies: 12
Views: 1664

Re: Ubuntu server is super slow?

Which RPi 2B version are you using ? https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md Maybe give Raspberry Pi Lite Operating System a try ? BCM2835 a01041 Pi 2 Mode B Rev 1.1 I have to use Ubuntu as this is a staging server for a production server that's using...
by K.Kong
Mon Nov 09, 2020 3:49 am
Forum: Ubuntu
Topic: Ubuntu server is super slow?
Replies: 12
Views: 1664

Ubuntu server is super slow?

I have just done a clean install of Ubuntu 20.04.1 headless on a 1GB Pi 2 Model B (quad core) to run a Node web app. It is super slow. Logging in to a ssh shell takes like 20s to see the prompt. It takes 8s for nano to open a tiny document. The node process can be seen in top to exceed 100% CPU when...
by K.Kong
Sat Sep 12, 2020 2:40 am
Forum: Raspberry Pi OS
Topic: moving SD card between different Raspberry Pi models
Replies: 6
Views: 15688

Re: moving SD card between different Raspberry Pi models

Are there any Pi hardware specific information or configuration data that is stored on the SD card that would make such a move impure? I have a 256MB Pi running Buster and some applications. I would like to move the SD card to a 512MB Pi of similar vintage, and to use it in the exact same location (...
by K.Kong
Tue Nov 19, 2019 9:12 am
Forum: Troubleshooting
Topic: Software caused connection abort, after some weeks
Replies: 2
Views: 189

Re: Software caused connection abort, after some weeks

Thanks for the tip that it could be a storage issue. I will try and find a means to read the console output.
by K.Kong
Tue Nov 19, 2019 6:48 am
Forum: Troubleshooting
Topic: Software caused connection abort, after some weeks
Replies: 2
Views: 189

Software caused connection abort, after some weeks

I have this one Pi where after some weeks or months of working perfectly, I can't SSH and other networking applications stop working. Ping is still fine. If I try and ssh to it using PuTTY, I get Network error: Software caused connection abort. The PuTTY Event Log says: 2019-11-19 14:19:55 Connectin...
by K.Kong
Wed Jul 17, 2019 3:05 pm
Forum: General discussion
Topic: Peculiar problem with search path
Replies: 2
Views: 413

Re: Peculiar problem with search path

Logging out/in works.

I think caused by a prior installation via apt-get install of the wrong node application which was since removed.

Thanks.
by K.Kong
Wed Jul 17, 2019 2:54 pm
Forum: General discussion
Topic: Peculiar problem with search path
Replies: 2
Views: 413

Peculiar problem with search path

I have Node.js installed in /usr/local/bin: pi@raspberrypi:~ $ ls -al /usr/local/bin total 36488 drwxr-xr-x 2 root root 4096 Jul 17 21:56 . drwxr-xr-x 10 root root 4096 Jul 17 21:56 .. -rwxr-xr-x 1 root root 37353856 Jul 17 21:56 node lrwxrwxrwx 1 root root 38 Jul 17 21:56 npm -> ../lib/node_modules...
by K.Kong
Thu Jun 07, 2018 4:31 am
Forum: Advanced users
Topic: How to resolve package mirror issues?
Replies: 4
Views: 1015

Re: How to resolve package mirror issues?

My /etc/apt/sources.list is: deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi Only file in /etc/apt/sources.list.d is raspi.list and it contains: deb http://archive.raspberrypi.org/debian/ stretch main ui It seems that the rogue server is in via archive.raspberrypi.org...
by K.Kong
Thu Jun 07, 2018 12:17 am
Forum: Advanced users
Topic: How to resolve package mirror issues?
Replies: 4
Views: 1015

How to resolve package mirror issues?

I have just installed a Pi with Raspbian Stretch Lite. I have tried many methods but apt-get update keeps going to a server at 103.1.138.146. What is a good way to resolve such an issue? How can the administrator at 103.1.138.146 be contacted? Or how can 103.1.138.146 be removed from being reference...
by K.Kong
Wed Jun 06, 2018 2:44 pm
Forum: Beginners
Topic: apt-get update 103.1.138.146 giving hash sum errors
Replies: 5
Views: 1592

Re: apt-get update 103.1.138.146 giving hash sum errors

Still no joy. My /etc/apt/sources.list: deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi I then deleted all in /var/lib/apt/lists. But apt-get update still gives: pi@WORKHORSE:~ $ sudo apt-get update Get:1 http://mirrordirector.raspbian.org/raspbian stretch InReleas...
by K.Kong
Wed Jun 06, 2018 2:15 pm
Forum: Beginners
Topic: apt-get update 103.1.138.146 giving hash sum errors
Replies: 5
Views: 1592

Re: apt-get update 103.1.138.146 giving hash sum errors

Thanks. I tried both, but somehow it still ends up at 103.1.138.146. Example: pi@WORKHORSE:~ $ sudo apt-get update Get:1 http://mirror.nus.edu.sg/raspbian/raspbian stretch InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB] Get:3 http://mirror.nus.edu.sg/raspb...
by K.Kong
Wed Jun 06, 2018 1:48 pm
Forum: Beginners
Topic: apt-get update 103.1.138.146 giving hash sum errors
Replies: 5
Views: 1592

apt-get update 103.1.138.146 giving hash sum errors

I have a brand new Raspbian Stretch Lite (2018-04-18) just installed. Immediately after installation I ran apt-get update but get: E: Failed to fetch http://103.1.138.146/archive.raspberrypi.org/debian/dists/stretch/main/binary-armhf/Packages.gz Hash Sum mismatch I tried removing /var/lib/apt/lists/...
by K.Kong
Tue Jan 16, 2018 1:57 am
Forum: Raspberry Pi OS
Topic: Suppressing wifi warning messages
Replies: 0
Views: 336

Suppressing wifi warning messages

A few minutes after booting up, my three log files: syslog, messages and kern.log are filled with millions of the following lines: Jan 16 09:21:38 DVORAK kernel: [ 2023.391080] ieee80211 phy0: rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -71 Deleting the three log files solv...
by K.Kong
Mon Apr 25, 2016 5:22 am
Forum: Camera board
Topic: capture() causes network to crash
Replies: 0
Views: 380

capture() causes network to crash

I have a Model B and the camera. Everything was working fine until February. Since then, every time the Python PiCamera.capture() method is called, the picture is not recorded successfully, and network connectivity disappears. As my Pi is headless and literally 10,000miles away, it is very difficult...
by K.Kong
Thu Dec 17, 2015 2:42 am
Forum: Advanced users
Topic: Apache problems in Jessie
Replies: 2
Views: 1965

Re: Apache problems in Jessie

Thanks. I didn't have to do anything in previous Wheezy after apt-get install apache.

I solved the current problem by running:

Code: Select all

a2enmod cgi
by K.Kong
Wed Dec 16, 2015 6:40 am
Forum: Advanced users
Topic: Apache problems in Jessie
Replies: 2
Views: 1965

Apache problems in Jessie

I have just installed my first Jessie Pi and what used to work in Wheezy does not work anymore. First there was an access problem, but this was solved by adding" AllowOverride None Require all granted But now it appears CGI is not running or added or loaded. Python scripts are not executed and ...
by K.Kong
Wed Dec 16, 2015 4:47 am
Forum: Advanced users
Topic: Making Apache Use Python 3
Replies: 2
Views: 1721

Re: Making Apache Use Python 3

Change the first line to:

Code: Select all

#!/usr/bin/env python3
by K.Kong
Tue Dec 15, 2015 3:13 pm
Forum: Advanced users
Topic: Making Apache Use Python 3
Replies: 2
Views: 1721

Making Apache Use Python 3

Where do I configure to make apache2 use Python 3 instead of the default Python 2?

I tried relinking the symbolic link /usr/bin/python to /user/bin/python3.4 and it works. But this produces unwanted side effects for other applications and I was also advised against it.

Thanks. :D
by K.Kong
Fri Sep 18, 2015 8:34 am
Forum: Advanced users
Topic: Is there a built-in firewall?
Replies: 7
Views: 77909

Re: Is there a built-in firewall?

Sorry, forgot to mention that mine is the Raspbian. I was installing pptpd and this iptables thing came up. I then looked up iptables and wikipedia says "iptables is a user-space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall...
by K.Kong
Fri Sep 18, 2015 5:39 am
Forum: Advanced users
Topic: Is there a built-in firewall?
Replies: 7
Views: 77909

Is there a built-in firewall?

Does the Pi have a built-in firewall?

Are all ports for incoming traffic open by default on the LAN interface?

Thanks
by K.Kong
Thu Sep 17, 2015 1:33 pm
Forum: Advanced users
Topic: /lib/modules versions
Replies: 2
Views: 1406

Re: /lib/modules versions

rpdom, you are right!!

Thanks.
by K.Kong
Thu Sep 17, 2015 12:07 pm
Forum: Advanced users
Topic: /lib/modules versions
Replies: 2
Views: 1406

/lib/modules versions

Today, wanting to install pptpd, I did an apt-get update and apt-get install . As part of the pptp server configuration, I had to run iptables . However iptables -L returned: libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.12.35+/modules.dep.bin...

Go to advanced search