Go to advanced search

by gdt
Wed Sep 10, 2014 10:53 am
Forum: General discussion
Topic: raspi as dedicated document printing?
Replies: 14
Views: 4353

Re: raspi as dedicated document printing?

I can report success using the Raspberry Pi as a print server for a Samsung ML-1710 monochrome laser printer which connected via USB. I used that arrangement from late 2011 to just a few weeks ago (the printer finally died). That printer no longer had useful drivers from Samsung. CUPS works fine. Wi...
by gdt
Mon Sep 08, 2014 5:50 am
Forum: Networking and servers
Topic: Monitoring PI services with SNMP?
Replies: 7
Views: 4899

Re: Monitoring PI services with SNMP?

The host resources MIB presents the UNIX process table to NetSNMP. Configure your SNMP collector to search that table for the process you wish to monitor.

NetSNMP also has a MIB which will run a arbitrary command and present the stdout of that to a collector. See this document.
by gdt
Mon Sep 08, 2014 5:46 am
Forum: Networking and servers
Topic: Using Raspberry Pi as a remote support tool
Replies: 4
Views: 1432

Re: Using Raspberry Pi as a remote support tool

You may be happier configuring the remote offices to run a VPN back to the main office. Then you control the IP addressing, DHCP and DNS. As a result you don't need dynamic DNS or other external services beyond basic Internet transport. The RPi makes a fine DHCP server, DNS forwarder. You can also u...
by gdt
Mon Sep 08, 2014 5:42 am
Forum: Networking and servers
Topic: Can no longer SSH Permission denied (publickey,password)
Replies: 9
Views: 65795

Re: Can no longer SSH Permission denied (publickey,password)

Check that you are using the right userid by giving it on the command line: ssh [email protected].0.2.1 Please do change your password (see the passwd command). If your machine is accessible from the Internet (ie: you have a public IP address, not a NATed one) then it will last about a day before a brute-force...
by gdt
Mon Sep 08, 2014 5:23 am
Forum: Networking and servers
Topic: Spam Filtering
Replies: 2
Views: 2668

Re: Spam Filtering

I use SpamAssassin with spamass-milter and ClamAV with clamav-milter. The two milters are used by Postfix. Neither is lightweight. Spamassassin is a CPU hog, ClamAV uses a lot of RAM. For capacity planning purposes, here's the output of ps_mem.py edited to mention only the processes used for e-mail:...
by gdt
Thu Aug 28, 2014 2:33 pm
Forum: Advanced users
Topic: Restricting access to a locally hosted page
Replies: 6
Views: 1566

Re: Restricting access to a locally hosted page

Alternatively, you can use userids and passwords. Here are my notes. They are not step-by-step, but should get you through. 1) install a public key and activate the HTTPS server. cp www.gdt.id.au.cert /etc/ssl/certs/www-gdt-id-au-cert.pem cp www.gdt.id.au.key /etc/ssl/private/www-gdt-id-au-key.key a...
by gdt
Thu Aug 28, 2014 2:12 pm
Forum: Advanced users
Topic: Restricting access to a locally hosted page
Replies: 6
Views: 1566

Re: Restricting access to a locally hosted page

Another approach is to use HTTPS with a client certificate. You are probably used to server certificates: you install a server certificate's public key and private key into a web server; you install a server certificate's public key into the web browser; and now the web browser can determine that th...
by gdt
Thu Aug 28, 2014 1:30 pm
Forum: Advanced users
Topic: systemd-journal misbehaving
Replies: 2
Views: 841

Re: systemd-journal misbehaving

A journald 1.5 years old might well have the data corruption bug. Quickest way to solve that is to discard old journals and reboot. cd /var/log/journal sudo rm *.journal* Alternatively journald is being hammered with messages which don't meet the criteria for storing. Journald does have rate-limitin...
by gdt
Fri Jun 13, 2014 3:42 am
Forum: General discussion
Topic: 2 RS232 to 1 RP
Replies: 24
Views: 7896

Re: 2 RS232 to 1 RP

I don't understand the basic task: is it to monitor 32 relay closures, 32 TTL outputs or 32 RS-232 links? If it is the first two, I don't understand the attraction of using the RS-232 port on the RPi. A latching multiplexor to SPI would make sense. Even for this there are a multitude of industrial c...
by gdt
Tue May 27, 2014 2:07 am
Forum: General discussion
Topic: Micro USB cable too large
Replies: 5
Views: 849

Re: Micro USB cable too large

The Connector Conspiracy claims another victim :-(
by gdt
Tue May 27, 2014 1:58 am
Forum: General discussion
Topic: apache2 .htaccess Issues
Replies: 10
Views: 4980

Re: apache2 .htaccess Issues

when I navigate to any web-page stored in the sub-directory I can view it directly without having to login
You've probably missed a "NoOverride" applied to the parent directory.
by gdt
Mon May 26, 2014 1:09 pm
Forum: General discussion
Topic: I want more documentation for RPi
Replies: 16
Views: 2705

Re: I want more documentation for RPi

If I was positive person I would say that this makes people curious and want to explore, but almost nothing has happened in two years. I don't think that's true at all. The RPi is well on the way to being one of the most open platforms out there. Unless there's another SoC with a documented graphic...
by gdt
Mon May 26, 2014 12:55 pm
Forum: Networking and servers
Topic: transmission headless, does not connect to peers
Replies: 2
Views: 1843

Re: transmission headless, does not connect to peers

Basically, follow the scientific method. Connectivity. Test from the RPi outwards: Can you ping the router? Can you ping the outside world? Application. Test from the RPi outwards: Is transmission running? Can you torrent from a seed on the same machine? From on your home network? From a solid sourc...
by gdt
Mon May 26, 2014 12:46 pm
Forum: Networking and servers
Topic: 2 pi's 1 ethernet wire?
Replies: 10
Views: 2025

Re: 2 pi's 1 ethernet wire?

I'd suggest locating a four-port fast ethernet switch with the "auto MDI" feature and a plugpack. Strip the packaging and you should get something you can mount inside a box. You'll need to crimp your own Cat5 ethernet cables as the shortest pre-assembled cables are 1ft/0.5m. Note that ethernet is a...
by gdt
Thu Apr 10, 2014 2:33 pm
Forum: General discussion
Topic: Problem with Wget
Replies: 9
Views: 1945

Re: Problem with Wget

It only checks. Do have a read of the manual page, that give a one-liner to check and reinstall. Note that debsums can give false positives for things like configuration and caches. If you have a huge amount of corruption with I/O errors when running debsums then reinstalling won't help (the reinsta...
by gdt
Thu Apr 10, 2014 2:00 pm
Forum: General discussion
Topic: postfix as backup mx mail server
Replies: 1
Views: 1059

Re: postfix as backup mx mail server

The idea is that incoming mail attempts to deliver to the mail servers in order, see the "MX" records in this DNS template for a two server ail system: ; Incoming mail example.org. IN MX 10 mta1.example.org. example.org. IN MX 20 mta2.example.org. ; Outgoing mail uses same servers as incoming mail e...
by gdt
Thu Apr 10, 2014 1:38 pm
Forum: General discussion
Topic: Problem with Wget
Replies: 9
Views: 1945

Re: Problem with Wget

Yep, a SD card corruption seems likely. Have a look in the output of "dmesg" for any I/O errors.

To check other installed packages for correction use the debsums program:

Code: Select all

sudo apt-get install debsums
sudo debsums -ca
It has a fine manual page "man debsums"
by gdt
Wed Apr 09, 2014 3:03 pm
Forum: Advanced users
Topic: Heartbleed openssl vulnerability
Replies: 58
Views: 21702

Re: Heartbleed openssl vulnerability

For many people the large number of keys to be managed running a full CA is not worth the effort for small experiments in SSL. Of course, it really depends on the overheads. Once you're over the learning curve it's not a huge ask to run your own CA. But I wouldn't disagree that the curve is steep a...
by gdt
Wed Apr 09, 2014 2:41 pm
Forum: Networking and servers
Topic: cheap Console Server
Replies: 2
Views: 1332

Re: cheap Console Server

If you want a pre-packaged solution, OpenGear make small console servers ( ACM5500 , SD4000 ). If you want to use a RPi then use a powered USB hub and a couple of USB/RS-232 dongles. Set up udev so that the RS-232 ports always get the same name (eg, /dev/ttySun0, /dev/ttySun1, see my blog ). Then us...
by gdt
Wed Apr 09, 2014 2:34 pm
Forum: Networking and servers
Topic: RaspberryPi and SNMP
Replies: 6
Views: 3989

Re: RaspberryPi and SNMP

How do I make a connection between an object and the hardware (a gpio pin)? That's what the agent does. An agent is a daemon which is called by NetSNMP to handle a particular MIB. So when NetSNMP sees a SNMP client accessing the MIB it will call the daemon. There are various agent APIs supported by...
by gdt
Wed Apr 09, 2014 2:25 pm
Forum: Networking and servers
Topic: Book Review: Raspberry Pi Server Essentials
Replies: 1
Views: 863

Re: Book Review: Raspberry Pi Server Essentials

I haven't read the book, but your review does make me think it might be a little lacking in enough information to set up a vanity domain. I'd expect to see: a web server, with per-user blogging. A mail server (with spam and virus checking and authenticated submission). A IMAPS server. A good descrip...
by gdt
Wed Apr 09, 2014 1:23 pm
Forum: General discussion
Topic: Set up
Replies: 2
Views: 513

Re: Set up

If you have access to another RPi it's pretty easy. Remove the SD card from the RPi with the lost password. Plug it into a USB/SD reader, plug that into the USB port of the second running RPi. Mount the second (ext4) partition, say at /mnt. Become superuser. Edit /mnt/etc/passwd and /mnt/etc/shadow ...
by gdt
Wed Apr 09, 2014 12:58 pm
Forum: Advanced users
Topic: Heartbleed openssl vulnerability
Replies: 58
Views: 21702

Re: Heartbleed openssl vulnerability

...self sign your own keys, but this leads to the site user having an annoying dialog box pop up which should say "Self signed key. Someone didn't pay the arbitrary rich corporations for providing the apparent service of suppressing this dialog box." Rather than self-sign the keys use TinyCA2 to ru...
by gdt
Wed Apr 09, 2014 2:59 am
Forum: Advanced users
Topic: Heartbleed openssl vulnerability
Replies: 58
Views: 21702

Re: Heartbleed openssl vulnerability

For future reference, instructions to rebuild openssl from the Wheezy source. I did this whilst waiting for an official Raspbian package to minimise downtime of SSL-using services. Academic now, but I hope the instructions help someone in the future. Edit: I've read above that people should generate...
by gdt
Tue Mar 04, 2014 12:32 pm
Forum: Networking and servers
Topic: Airprint from Pi (debian wheezy)
Replies: 1
Views: 881

Re: Airprint from Pi (debian wheezy)

"Airprint" is simply a mDNS advertisement of a printer which renders PDF. CUPS, the print service most often used on Debian, is happy to find mDNS-advertised printers. It will happily print PDF files to such a printer. I think Debian pulls in enough additional packages to attempt to transform other ...

Go to advanced search