[Hampshire] Embedded Linux box -- web configuration
Hi all, I'm playing around with a small Linux SBC, which I'd like to configure using a web interface -- in the same way as a domestic router, for example. What is the 'best practise' way of doing this? Is it simply a CGI script that directly modifies the config files, or is there a better way? Cheers, Chris -- Chris Smith cj...@zepler.net signature.asc Description: OpenPGP digital signature -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
[Hampshire] Replacing home server with a Linux NAS device?
Hi, I might have to replace my home server due to a hardware failure. It's a Tranquil PC unit which I chose because it has accessible disk bays and runs pretty quietly. I have been looking at a few options online but most microservers are sold on their size rather than noise. However, NAS devices look like a good option but I'm not sure which of them either run Linux or can be easily hacked to do so. The requirements are: 1) Low power. As low as possible, ideally 20-30W. 2) Quiet. Ideally fanless. 3) SSH access for remote rsync backups. 4) 3TB storage. Ideally I would be able to reuse the 4 existing data 1TB disks I have in a software RAID5 configuration. 5) Can run Ubuntu or Debian. Would be nice: 6) Small. 7) USB connection for printer. I've looked at Synology and ReadyNAS products but any recommendations would be gratefully received. Thanks, Tony -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
[Hampshire] Fwd: [Surrey] Reminder: Bring-a-box meeting: 10th March 2012, Nokia (Farnborough)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Forwarding notification of the Surrey LUG meeting.. - Original Message Subject: [Surrey] Reminder: Bring-a-box meeting: 10th March 2012, Nokia (Farnborough) Date: Wed, 7 Mar 2012 10:41:37 - From: Robert Longstaff dreamf...@dreamfish.org.uk Reply-To: General Linux/Unix community List sur...@mailman.lug.org.uk To: sur...@mailman.lug.org.uk Hello. A reminder that the next BaB is this Saturday at Nokia in Farnborough from 11am to 5pm. Don't forget to register with Bob (our host) before the end of tomorrow if you want to attend. Send your name, car registration (if applicable) and next-of-kin contact details to robert.beattie [at] nokia.com. When you arrive at the Nokia campus, press the intercom button and state you are there for the 'Linux User Group'. Go through the gate and head for the left-hand side building. On arrival, go to the reception desk to get signed in by security. Also, there's still space to provide talks. Spontaneous presentations are always welcome, if you decide you want to do one on the day! Regards, robert_ ___ Surrey mailing list sur...@mailman.lug.org.uk https://mailman.lug.org.uk/mailman/listinfo/surrey http://www.surrey.lug.org.uk -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPV1ONAAoJEMx6UFtfvV4wx4IH/RsnxV+lExEb0Vq4iYaeQG3f km+zZzyhiSkJFkr3M8c/mxwiASdfStYeSUvAFyRkheIWGUrjKfyPrtGhmyRBpJwW oML7OSNxMootOqXRpDr0eex4NKzkUiytZ/j0fYTAj3qFjZKIjLc8QVwyfWOtst6H 7Q0dNhFLxOyVu0NAd9am68neJFIEqb9g4POkD4FCGW50AtR2uGWckjkTKSNzHJ+O cWQrp4IfjcM2FoPG009vZ6y6gbYFJe4KEOHssgPZPVYUdGjj0JB7I4p6zA+Ao0g3 cUwlDx/+ccPeZNwlQ5TmT77qdtw+DEBIJAb9HplW5ewYP2hmcF2Zc7KpVcbuT/U= =fxWc -END PGP SIGNATURE- -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Embedded Linux box -- web configuration
i use a pogoplug which now runs a native debian. super quiet, pleanty of usb ports. not super powerful but fun Sent from my HTC, worse syntax expected. - Reply message - From: Chris Dennis cgden...@btinternet.com To: hampshire@mailman.lug.org.uk Subject: [Hampshire] Embedded Linux box -- web configuration Date: Wed, Mar 7, 2012 12:14 pm On 07/03/12 08:18, Chris Smith wrote: Hi all, I'm playing around with a small Linux SBC, which I'd like to configure using a web interface -- in the same way as a domestic router, for example. What is the 'best practise' way of doing this? Is it simply a CGI script that directly modifies the config files, or is there a better way? I don't really know, but I do know that OpenWrt (openwrt.org), the open-source router project, does a lot of that sort of thing, with config files that can be edited manually via SSH or else via the web interface. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk -- -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Embedded Linux box -- web configuration
Hi, I'm playing around with a small Linux SBC, which I'd like to configure using a web interface -- in the same way as a domestic router, for example. What is the 'best practise' way of doing this? Is it simply a CGI script that directly modifies the config files, or is there a better way? You question doesn't really scope the size of the problem. Are you wanting to tweak just one or two parameters or configure every aspect of the system ? There is a big advantage of modifying standard config files in that an experienced user can go in via the CLI see the standard configuration and make changes. Do it right and the changes will even be reflected back on the CGI interface next time it is used. Avoid one way systems that maintain their own database and then rewrite the system configuration files. Nothing worse than having your careful firewall configuration trashed because a CGI user makes a trivial change somewhere else. If you want to configure the entire system then it's a non-trival task. Just about all aspects of our system can be configured via CGI or by a CLI user using vi on the standard configuration file. Just done a quick count and it's 10K line of C code for the CGI and 10K lines of supporting interface scripts. ps. We looked at and rejected webmin four or five years ago but it may have moved on since then. HTH -- Bob Dunlop -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Embedded Linux box -- web configuration
I'm playing around with a small Linux SBC, which I'd like to configure using a web interface Depending on what you mean by small, you might like to look at Webmin. If you do, make *sure* you understand the security model, and don't use it to configure sendmail... HTH Vic. -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
[Hampshire] Free to a good home
AMD Athlon XP2000 CPU, 512M, 40G HDD, base unit only, fully working with a Philips DVD-RW. Was formerly running Debian Squeeze and Xen. Chuck in more RAM and use as a server or it would make a good 2nd PC with Ubuntu etc. 2 x 512M sticks of Samsung DDR2 PC2 5300 ECC RAM Loads of 8G ex-Xbox IDE HDDs (some are firmware locked, but can be unlocked with free Xbox tools software) Loads of softmodems (modem cards). Please contact me off-list, thanks If no response then they will go to local recycle centre. -- GPG Key fingerprint = B323 477E F6AB 4181 9C65 F637 BC5F 7FCC 9CC9 CC7F “Live as if you were to die tomorrow. Learn as if you were to live forever.” - Indian political and spiritual leader Mahatma Gandhi (1869-1948) -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Embedded Linux box -- web configuration
On 07/03/2012 13:21, Bob Dunlop wrote: Hi, I'm playing around with a small Linux SBC, which I'd like to configure using a web interface -- in the same way as a domestic router, for example. What is the 'best practise' way of doing this? Is it simply a CGI script that directly modifies the config files, or is there a better way? You question doesn't really scope the size of the problem. Are you wanting to tweak just one or two parameters or configure every aspect of the system ? Oh no, this is very much a 'toy' system. All I really need to do is configure the eth0 interface, so IP, netmask, gateway and DNS. There will be other aspects of configuration, but those will be very much in the application domain and not system related. There is a big advantage of modifying standard config files in that an experienced user can go in via the CLI see the standard configuration and make changes. Do it right and the changes will even be reflected back on the CGI interface next time it is used. Ok, I'll look into that, perhaps with some kind of templating/parameter substitution. Chris -- Chris Smith cj...@zepler.net signature.asc Description: OpenPGP digital signature -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Replacing home server with a Linux NAS device?
Hi FC, On 07.03.2012 12:25, Freaky Clown wrote: I recently brought one of the Qnap devices (TS-412) its pretty awesome and very quiet and does everything you ask and more! much much more! Thanks, sounds good. I have remembered a few extra things it would be good if it did too: * NFS shares * Running Apache (for apt-mirror) * UPS monitoring (via serial) Any idea how it fares with those? I guess the serial might be a long shot... Do you mean it does all the things I'm after using the shipped OS, or have you replaced the OS? If so, is it easy to get Ubuntu on it? Thanks, Tony -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Replacing home server with a Linux NAS device?
I am pretty sure it does all those things too.. even the ups stuff.. Everything is done on the shipped os! http://www.qnap.com/pro_detail_feature.asp?p_id=193 theres the box click on the features tab for more info On Wed, Mar 7, 2012 at 1:58 PM, Tony Whitmore t...@tonywhitmore.co.uk wrote: Hi FC, On 07.03.2012 12:25, Freaky Clown wrote: I recently brought one of the Qnap devices (TS-412) its pretty awesome and very quiet and does everything you ask and more! much much more! Thanks, sounds good. I have remembered a few extra things it would be good if it did too: * NFS shares * Running Apache (for apt-mirror) * UPS monitoring (via serial) Any idea how it fares with those? I guess the serial might be a long shot... Do you mean it does all the things I'm after using the shipped OS, or have you replaced the OS? If so, is it easy to get Ubuntu on it? Thanks, Tony -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk -- -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Replacing home server with a Linux NAS device?
On 7 March 2012 11:35, Tony Whitmore t...@tonywhitmore.co.uk wrote: I've looked at Synology and ReadyNAS products but any recommendations would be gratefully received. I've a couple of Synology devices at work. They're not silent, but I had it sat on a desk next to my laptop and I didn't know it was there in amongst the general hubbub of an office environment. The web interface appears very slick and it's easy to configure the sharing over nfs and cifs. I've not used it for any other tasks, but there are a wealth of Apps that you can install via the web interface. The model I have can take four 2 TB drives which can be configured in various RAIDs. I'd give it a thumbs up, but with some caution advised as I've not used many of the features (and hence few of the bugs!). -- Graeme Hilton -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Replacing home server with a Linux NAS device?
FWIW, I put together a Linux server using a fanless mini-itx board and 2.5 discs. The case fan is set to come on with the CPU above something like 60 or 70 and sometimes comes on on very warm days. It's still quiet them, but otherwise it's brilliantly quite. I did it a couple of years ago when at that time I couldn't find a NAS in my budget that did what I wanted and actually worked properly. That may well have changed now. I bought the bits from www.linitx.com Other suppliers are available. Gordon. -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Replacing home server with a Linux NAS device?
Hi, I just picked up a Pogoplug Classic out the bargain bin at PC World for £32. It's a fanless Linux micro server with 4 USB ports. It has an onboard PSU so there's no noise or power brick. You open a Pogoplug cloud account join the device to it then you can access and share all your files from anywhere over the web (via their cloud server) in a similar way to Dropbox. You can also email files to it to be stored or printed. There are Linux, Windows, Mac, Android and iPhone apps to access your files from anywhere and out has a DLNA server to play media on your internet enabled media devices. You can enable SSH access directly to the box with a tick box on the cloud GUI. There are a number of third party packages for it to instal desirable features. Tony Whitmore t...@tonywhitmore.co.uk wrote: The requirements are: 1) Low power. As low as possible, ideally 20-30W. Yes. 2) Quiet. Ideally fanless. Yes. 3) SSH access for remote rsync backups. SSH is present and can be enabled from the web GUI. 4) 3TB storage. Ideally I would be able to reuse the 4 existing data 1TB disks I have in a software RAID5 configuration. 4 USB sockets so you can put them in USB caddies and just plug them in. Don't think RAID is supported out the box. 5) Can run Ubuntu or Debian. Not sure but I think it is possible to reflash it. Would be nice: 6) Small. Yes, about the size of a 3.5 external HD. 7) USB connection for printer. Yes. Cheers, Paul. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Free to a good home
Imram, Is the PC still available? If so can I phone you? Where do you live? Regards, Clive Woodfine On 7 March 2012 13:33, Imran Chaudhry ichaud...@gmail.com wrote: AMD Athlon XP2000 CPU, 512M, 40G HDD, base unit only, fully working with a Philips DVD-RW. Was formerly running Debian Squeeze and Xen. Chuck in more RAM and use as a server or it would make a good 2nd PC with Ubuntu etc. 2 x 512M sticks of Samsung DDR2 PC2 5300 ECC RAM Loads of 8G ex-Xbox IDE HDDs (some are firmware locked, but can be unlocked with free Xbox tools software) Loads of softmodems (modem cards). Please contact me off-list, thanks If no response then they will go to local recycle centre. -- GPG Key fingerprint = B323 477E F6AB 4181 9C65 F637 BC5F 7FCC 9CC9 CC7F “Live as if you were to die tomorrow. Learn as if you were to live forever.” - Indian political and spiritual leader Mahatma Gandhi (1869-1948) -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk -- -- Clive -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Replacing home server with a Linux NAS device?
I brought a Buffalo Linkstation from a Best Buy closing down sale which is fine but I have given up trying to get NFS to work. It needs a kernel rebuild and I dont want to brick the device. Jon -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
[Hampshire] [ADMIN] May Meeting
Hi, Just a quick thanks to Richard for hosting us at the University last Saturday. It was a good meeting with two brief talks. Our next scheduled meeting at the University will be 05 May. If you can't wait that long, the next Surrey LUG meeting is at Nokia on 10 March (confirm with them before travelling though). Please speak up on the list if there is something to want to talk about at a meeting or would like someone else to talk about, so we can plan some talks. -- Adam Trickett Chairman, Hampshire Linux Users Group http://www.hants.lug.org.uk/ signature.asc Description: This is a digitally signed message part. -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Replacing home server with a Linux NAS device?
I love my Asus at3ion deluxe mini itx board. Fanless, though I have a big silent fan for the disks. Only problem is not spending a fortune finding the right case :p Probably better options now though. Anton -- Anton Piatek (sent from my phone, please excuse any typos) email: an...@piatek.co.uk blog/photos: http://www.strangeparty.com pgp: [74B1FA37] (http:// www.strangeparty.com/anton.asc) No trees were destroyed in the sending of this message, however, a significant number of electrons were terribly inconvenienced. On Mar 7, 2012 11:35 AM, Tony Whitmore t...@tonywhitmore.co.uk wrote: Hi, I might have to replace my home server due to a hardware failure. It's a Tranquil PC unit which I chose because it has accessible disk bays and runs pretty quietly. I have been looking at a few options online but most microservers are sold on their size rather than noise. However, NAS devices look like a good option but I'm not sure which of them either run Linux or can be easily hacked to do so. The requirements are: 1) Low power. As low as possible, ideally 20-30W. 2) Quiet. Ideally fanless. 3) SSH access for remote rsync backups. 4) 3TB storage. Ideally I would be able to reuse the 4 existing data 1TB disks I have in a software RAID5 configuration. 5) Can run Ubuntu or Debian. Would be nice: 6) Small. 7) USB connection for printer. I've looked at Synology and ReadyNAS products but any recommendations would be gratefully received. Thanks, Tony -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/**mailman/listinfo/hampshirehttps://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --**--**-- -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Replacing home server with a Linux NAS device?
On Wed, 7 Mar 2012 12:25:48 +, Freaky Clown freakycl...@gmail.com wrote: I recently brought one of the Qnap devices (TS-412) its pretty awesome and very quiet and does everything you ask and more! much much more! On Wed, Mar 7, 2012 at 11:35 AM, Tony Whitmore t...@tonywhitmore.co.uk wrote: Hi, I might have to replace my home server due to a hardware failure. It's a Tranquil PC unit which I chose because it has accessible disk bays and runs pretty quietly. I have been looking at a few options online but most microservers are sold on their size rather than noise. However, NAS devices look like a good option but I'm not sure which of them either run Linux or can be easily hacked to do so. The requirements are: 1) Low power. As low as possible, ideally 20-30W. 2) Quiet. Ideally fanless. 3) SSH access for remote rsync backups. 4) 3TB storage. Ideally I would be able to reuse the 4 existing data 1TB disks I have in a software RAID5 configuration. 5) Can run Ubuntu or Debian. Would be nice: 6) Small. 7) USB connection for printer. I've looked at Synology and ReadyNAS products but any recommendations would be gratefully received. Thanks, Tony -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk -- -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk -- +1 on the QNAP NAS all good so far. Ian -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --
Re: [Hampshire] Quick question
On Wed, Mar 07, 2012 at 11:15:50PM +, Leo wrote: Can anyone with an ubuntu install tell me the owner and group of: /etc/ssl/private/ssl-cert-snakeoil.key $ sudo stat /etc/ssl/private/ssl-cert-snakeoil.key File: `/etc/ssl/private/ssl-cert-snakeoil.key' Size: 887 Blocks: 8 IO Block: 4096 regular file Device: fb01h/64257dInode: 262977 Links: 1 Access: (0640/-rw-r-) Uid: (0/root) Gid: ( 106/ssl-cert) Access: 2010-10-14 13:20:02.370681001 +0100 Modify: 2010-07-27 04:35:54.961966857 +0100 Change: 2010-07-27 04:35:54.981965139 +0100 Cheers, Andy -- http://bitfolk.com/ -- No-nonsense VPS hosting signature.asc Description: Digital signature -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --