Go to advanced search

by K.Kong
Tue Nov 19, 2019 9:12 am
Forum: Troubleshooting
Topic: Software caused connection abort, after some weeks
Replies: 2
Views: 75

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: 75

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: 252

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: 252

Peculiar problem with search path

I have Node.js installed in /usr/local/bin: [email protected]:~ $ 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: 682

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: 682

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: 1286

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: [email protected]:~ $ 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: 1286

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: [email protected]:~ $ 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: 1286

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: Raspbian
Topic: Suppressing wifi warning messages
Replies: 0
Views: 240

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: 320

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: 1854

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: 1854

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 just ...
by K.Kong
Wed Dec 16, 2015 4:47 am
Forum: Advanced users
Topic: Making Apache Use Python 3
Replies: 2
Views: 1364

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: 1364

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: 60565

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 " Th...
by K.Kong
Fri Sep 18, 2015 5:39 am
Forum: Advanced users
Topic: Is there a built-in firewall?
Replies: 7
Views: 60565

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: 1209

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: 1209

/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...
by K.Kong
Fri Apr 24, 2015 4:20 pm
Forum: Beginners
Topic: Display Id
Replies: 6
Views: 1217

Re: Display Id

DirkS wrote: So you're trying to start it before the GUI is started?
I am trying to start it programmatically from a terminal. :0 works.
by K.Kong
Fri Apr 24, 2015 3:50 pm
Forum: Beginners
Topic: Display Id
Replies: 6
Views: 1217

Re: Display Id

DougieLawson wrote:It's usually :0 (or /dev/fb0) for the primary display.
Thanks!! :0 works just fine.
by K.Kong
Fri Apr 24, 2015 3:31 pm
Forum: Beginners
Topic: Display Id
Replies: 6
Views: 1217

Re: Display Id

DirkS wrote:Do you need it at all? What happens if you leave it out completely?
It will say "Failed to open display". libreoffice is a graphical program.
by K.Kong
Fri Apr 24, 2015 3:14 pm
Forum: Beginners
Topic: Display Id
Replies: 6
Views: 1217

Display Id

My Raspberry Pi is configured to boot to desktop and logged in as user pi. So the display connected to the HDMI port is always showing the graphical desktop. What is the display id for the monitor that is connected to the HDMI port? I am trying to launch libreoffice from the command line in a separa...
by K.Kong
Fri Apr 24, 2015 7:44 am
Forum: Troubleshooting
Topic: xrdp password issue
Replies: 5
Views: 14447

Re: xrdp password issue

Alex, I have the exact same problem as you. Did you manage to solve it? I was in a RDP session. I changed the password from a SSH shell. Now I cannot connect via RDP. It says the exact same message as yours, about connecting to 127.0.0.1. I can confirm that I have the correct password as I can repea...
by K.Kong
Sat Nov 15, 2014 3:53 am
Forum: Beginners
Topic: Questions on File Systems
Replies: 1
Views: 436

Questions on File Systems

df -h on my Pi gives: [email protected] ~ $ df -h Filesystem Size Used Avail Use% Mounted on rootfs 7.2G 2.3G 4.6G 34% / /dev/root 7.2G 2.3G 4.6G 34% / devtmpfs 215M 0 215M 0% /dev tmpfs 44M 248K 44M 1% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 88M 0 88M 0% /run/shm /dev/mmcblk0p1 56M 9.7M 47M 18% /boo...

Go to advanced search