Re: Ubuntu - Logs out or Crashes

2024-03-09 Thread Craig Sanders via luv-main
Also, disable animations and other bling in your desktop. and apps to (many have options to disable stuff like that). They might be pretty and entertaining the first few times you see them, but they just waste resources (like RAM and CPU power) doing stuff that isn't necessary. If you're using

Re: Ubuntu - Logs out or Crashes

2024-03-09 Thread Craig Sanders via luv-main
On Fri, Mar 08, 2024 at 03:31:38PM +1000, Piers Rowan wrote: > On 8/3/24 10:52, Craig Sanders via luv-main wrote: > > 16GB isn't a lot these days. My guess is you're most likely running out > > of RAM. The best solution is to add more RAM to the system if possible. > >

Re: Ubuntu - Logs out or Crashes

2024-03-07 Thread Craig Sanders via luv-main
On Tue, Mar 05, 2024 at 05:16:50AM +1000, Piers Rowan wrote: > > > Lenovo Lenovo Yoga C740-14IML (Touch screen) > > > 16.0 GiB / Intel® Core™ i7-10510U CPU @ 1.80GHz × 8 > >[...] > > I just had a crash and managed to 'top' as it was going down. There was a > process  fossilize_replay which is

Re: Email accounts which I have used for years are now bouncing mail

2023-05-28 Thread Craig Sanders via luv-main
On Sun, May 28, 2023 at 05:29:13PM +1000, Tony White wrote: > Add a new record to your Zone. Look for TXT record. Leave the > domain empty select TXT from the drop down list. In the filed > to its right insert the value > > -- snip --- > v=spf1 ip4:203.170.84.161 ~all > -- end snip -- That

Re: Postfix - virtual_alias - not working

2023-04-21 Thread Craig Sanders via luv-main
On Fri, Apr 21, 2023 at 02:14:09PM +1000, Piers Rowan wrote: > --/etc/postfix/main.cf: > virtual_alias_maps = hash:/etc/postfix/virtual > virtual_alias_domains = ngungee.com inertiagh.com.au sunnycoastjobs.com > > > /etc/postfix/virtual: > > # IGH Info Account > i...@inertiagh.com.au    info_ingh

Re: Windows on a Linux kernal ?

2023-04-01 Thread Craig Sanders via luv-main
On Mon, Mar 27, 2023 at 10:52:04AM +1100, Rohan McLeod wrote: > Just out of curiousity I 'googled' > > +windows on a +"linux kernal" ? +2023 > > Rather irritatingly it ignored the "+" but [...] maybe because "kernal" doesn't match a lot because it's a spelling error? does google auto-correct

Re: Change a file name - remove a consistent string recursively

2023-01-16 Thread Craig Sanders via luv-main
On Tue, Jan 17, 2023 at 12:01:35AM +1100, Les Kitchen wrote: > On Mon, Jan 16, 2023, at 21:42, Craig Sanders via luv-main wrote: > > On Fri, Jan 13, 2023 at 10:39:02PM +1100, Les Kitchen wrote: > >> I'd do something like: > >> > >> find /Dir1 -type f | perl -lne

Re: Change a file name - remove a consistent string recursively

2023-01-16 Thread Craig Sanders via luv-main
On Fri, Jan 13, 2023 at 10:39:02PM +1100, Les Kitchen wrote: > I'd do something like: > > find /Dir1 -type f | perl -lne '$o=$_; s/\.junk\././; print("mv -i $o $_") if > $_ ne $o;' This is quite dangerous, for several reasons. To start with, there's no protection against renaming files over

Re: Change a file name - remove a consistent string recursively

2023-01-16 Thread Craig Sanders via luv-main
On Thu, Jan 12, 2023 at 05:49:13PM +1000, Piers Rowan wrote: > I have a structure like: > > /Dir1/123.junk.doc > /Dir1/456.junk.pdf > /Dir1/SubDir/1123.junk.doc > /Dir1/SubDir/1456.junk.pdf > /Dir2/SubDir/4321.junk.doc > /Dir2/SubDir/7676.junk.pdf > ...etc... > > I want some guidance as to how to

Re: Life After CentOS

2022-12-21 Thread Craig Sanders via luv-main
On Sun, Dec 18, 2022 at 05:52:46PM +1000, Piers Rowan wrote: > I'm sure we have all used a few distros in the past (like many!). > > So CentOS is going away where to next? I forgot to mention this in my last post, but Rocky Linux is where a lot of the Centos devs and users went.

Re: Life After CentOS

2022-12-18 Thread Craig Sanders via luv-main
On Sun, Dec 18, 2022 at 09:29:51PM +1100, Les Kitchen wrote: > And if there's some package you really need a recent version of, sometimes > you can just do a one-off install. Or look in https://backports.debian.org/ - the latest version (or at least, a very recent version) may have already been

Re: ed! the one true editor! (was Re: sed on a large file)

2022-12-12 Thread Craig Sanders via luv-main
On Sun, Dec 11, 2022 at 10:04:58PM -0800, Rick Moen wrote: > Quoting Craig Sanders (c...@taz.net.au): > > > still useful) ed or ex. ed is the original unix text line editor, dating > > back to 1969 and still included with modern unix & linux systems. > > It also famously had one of the most

Re: ed! the one true editor! (was Re: sed on a large file)

2022-12-12 Thread Craig Sanders via luv-main
On Mon, Dec 12, 2022 at 05:21:29PM +1100, Les Kitchen wrote: > I too will put in a good word for good old ed. I wrote most of my Ph.D. > thesis using ed through a dial-up acoustic modem, but that was a long time > ago. ed is awful for interactive use but very useful for scripted use (e.g. with

ed! the one true editor! (was Re: sed on a large file)

2022-12-11 Thread Craig Sanders via luv-main
On Mon, Dec 12, 2022 at 12:35:11PM +1100, Jason White wrote: > How would Perl (e.g., with -pi -e options) perform compared with Sed? Like sed, perl creates a new file too but does it in a slightly different way. IIRC, sed writes to a new file then renames it over the original, while perl renames

Re: LUV needs volunteers

2022-07-02 Thread Craig Sanders via luv-main
On Sat, Jul 02, 2022 at 09:10:28PM +1000, russ...@coker.com.au wrote: RE: reverting to mailman 2: > It probably can, but it's a pain and no-one is volunteering to do it. > > https://packages.debian.org/search?keywords=mailman > But if you did it then you would have to support it, Mailman

Re: webcams

2021-11-04 Thread Craig Sanders via luv-main
On Fri, Nov 05, 2021 at 12:20:26AM +1100, Irving Tjiptowarsono wrote: > I'm considering turning an old phone into a webcam, or using this as an > excuse to grab the raspberry pi high quality camera module (already have > most of the other bits)... Dunno what kind of rpi you have, but I watched

Re: PCIe lanes

2021-05-31 Thread Craig Sanders via luv-main
On Sun, May 30, 2021 at 02:10:35PM +1000, russ...@coker.com.au wrote: > This blog post describes PCIe bifurcation and how PCI lanes are allocated. > I never properly understood PCIe before reading this. Kind of related: "Record Breaker: Toward 20 million i/ops on the desktop with Threadripper

Oh My Git!

2021-03-08 Thread Craig Sanders via luv-main
I just saw a mention of this on Boing Boing and thought it might be of interest here, especially for those who want to learn more about git. It's an open source educational game that teaches how to use git (and, yes, it uses a real git repo to do so). https://ohmygit.org/

Re: storage error

2020-12-15 Thread Craig Sanders via luv-main
On Tue, Dec 15, 2020 at 06:48:32PM +1100, Russell Coker wrote: > How likely is the following error (which happens periodically) to be on the > M. 2 SATA device and how likely is it to be on the motherboard? My guess would be that it's most likely the M.2 SATA device...because, in my experience,

Re: trouble with debian mirrors

2020-11-06 Thread Craig Sanders via luv-main
On Sat, Nov 07, 2020 at 03:58:51PM +1100, b...@fastmail.fm wrote: > [root@owl /etc/apt]# apt-get install inxi > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following additional packages will be installed: > hddtemp libglew2.1 lm-sensors

Re: trouble with debian mirrors

2020-11-06 Thread Craig Sanders via luv-main
On Sat, Nov 07, 2020 at 12:01:54PM +1100, b...@fastmail.fm wrote: > In my /etc/apt/sources.list I have been using the following mirror: > deb http://ftp.au.debian.org/debian/ bullseye main non-free contrib > > The last few days it's returning error messages such as the following: > > E: Failed to

Re: Old OpenLDAP server and ProFTPD - "bad password" problem

2020-10-24 Thread Craig Sanders via luv-main
On Thu, Oct 22, 2020 at 11:00:10AM +1100, Peter Ross wrote: > ftptest:ACJJox72N4DZQ:14740::9:7::: that's a really ancient looking crypted password, probably hasn't been changed in decades. It doesn't even start with "$1$", so it was created before even MD5 hashing became standard (let alone

Re: Firefox menus disappear

2020-09-16 Thread Craig Sanders via luv-main
On Sun, Sep 06, 2020 at 07:29:29PM +1000, Brian May wrote: > I realised that a computer where this just works has the latest Firefox > which I downloaded from the Firefox website (now 80.0.1). Instead of the ESR > version supplied with Debian (68.11.0esr). 68.11.0esr is what's in testing, right?

Re: copy and paste, under Wayland, and to and from an XTerm, was relating to dl audio and video

2020-08-30 Thread Craig Sanders via luv-main
On Mon, Aug 31, 2020 at 01:22:32AM +1000, Russell Coker wrote: > > curl URL | sudo bash > > If you trust someone who's written the daemon then trusting their install > script is no more risk. part of my point is that anyone who suggests using brawndo-installer to install their code can not

Re: copy and paste, under Wayland, and to and from an XTerm, was relating to dl audio and video

2020-08-30 Thread Craig Sanders via luv-main
On Sun, Aug 30, 2020 at 09:25:08PM +1000, Russell Coker wrote: > One feature of systemd is fast boot, unless it has an error and gets you 90 > second timeouts etc. It can be (and often is) worse than just 90 seconds. I've had both bootups and shutdowns delayed by 10s of minutes or longer while it

Re: copy and paste, under Wayland, and to and from an XTerm, was relating to dl audio and video

2020-08-30 Thread Craig Sanders via luv-main
On Sun, Aug 30, 2020 at 05:24:39PM +1000, Mark Trickett wrote: > I did not choose Wayland, nor systemd, but that is now the Debian > defaults. There are good reasons behind the changes, or at least I have seen > some support that I will concur with on why Wayland over xwindows. However I > do not

Re: copy and paste, under Wayland, and to and from an XTerm, was relating to dl audio and video

2020-08-29 Thread Craig Sanders via luv-main
On Tue, Aug 18, 2020 at 04:54:08PM +1000, Mark Trickett wrote: > Many thanks for your excellent posts, I am learning more. However I have > Debian 10, nominally up to date, and it has Wayland with Gnome as the > desktop. I am finding it very frustrating that I cannot copy and paste to > and from

Re: [MLUG] Advice needed about ZFS

2020-08-29 Thread Craig Sanders via luv-main
On Wed, Aug 26, 2020 at 10:43:30AM +, stripes theotoky wrote: > > I would suggest looking at something like a Network Attached Storage > > device, with multiple drives in a suitable RAID array. > > This is the ultimate plan to build a NAS from an HP Microserver. I am > leaning towards Nas4Free

Re: [MLUG] Advice needed about ZFS

2020-08-20 Thread Craig Sanders via luv-main
On Thu, Aug 20, 2020 at 01:40:03PM +0100, stripes theotoky wrote: > When we started this discussion we had this > > stripinska@Stripinska:~$ sudo zfs list > NAME USED AVAIL REFER > MOUNTPOINT > alexandria

Re: BBC radio program, saving the audio

2020-08-17 Thread Craig Sanders via luv-main
On Mon, Aug 17, 2020 at 04:13:30PM +1000, Craig Sanders wrote: > The file size is nearly a gigabyte. You can use ffmpeg or handbrake > or something to re-encode with x265 to get it smaller (i'd guess that > transcoding the video to x265 would probably shrink the file by a third to > a half. maybe

Re: BBC radio program, saving the audio

2020-08-17 Thread Craig Sanders via luv-main
On Sun, Aug 16, 2020 at 07:48:57AM +1000, Mark Trickett wrote: > I heard a BBC documentary on ABC Radio National, in the World Docos > segment. I want the audio to pass on to others, and I would strongly > recommend it to all here. I can get it to play, but not to save, yet. > >

Re: SpamAssassin rule problem

2020-04-15 Thread Craig Sanders via luv-main
On Tue, Apr 14, 2020 at 01:55:42PM +1000, Russell Coker wrote: > header SWS_AUTHReceived =~ /Authenticated sender/ > describeSWS_AUTHMail from local SASL is good > score SWS_AUTH-10 > > I have the above in my SA local.conf file. > > Received: from

Re: Rebuild after disk fail

2020-01-29 Thread Craig Sanders via luv-main
On Tue, Jan 28, 2020 at 08:06:18PM +1100, russ...@coker.com.au wrote: > On Monday, 20 January 2020 2:34:09 AM AEDT Craig Sanders via luv-main wrote: > > > [ paraphrased from memory because I deleted it: Russell said ] > > > [ something about using btrfs on smal

Re: Rebuild after disk fail

2020-01-29 Thread Craig Sanders via luv-main
On Tue, Jan 28, 2020 at 08:02:15PM +1100, russ...@coker.com.au wrote: > Having a storage device fail entirely seems like a rare occurance. The only > time it happened to me in the last 5 years is a SSD that stopped accepting > writes (reads still mostly worked OK). it's not rare at all, but a

Re: BTRFS and ZFS training

2020-01-26 Thread Craig Sanders via luv-main
On Fri, Jan 24, 2020 at 11:36:45PM +1100, Russell Coker wrote: > https://doc.coker.com.au/training/btrfs-training-exercises/ > https://doc.coker.com.au/training/zfs-training-exercises/ > > I've put some simple BTRFS and ZFS training exercises at the above URLs > (this is the training that was done

Re: Rebuild after disk fail

2020-01-19 Thread Craig Sanders via luv-main
On Sun, Jan 19, 2020 at 05:38:23PM +1100, russ...@coker.com.au wrote: > Generally I recommend using BTRFS for workstations and servers that have 2 > disks. Use ZFS for big storage. Unless you need to make regular backups from workstations or small servers to a "big storage" ZFS backup server. In

Re: Rebuild after disk fail

2020-01-19 Thread Craig Sanders via luv-main
On Sun, Jan 19, 2020 at 05:34:46PM +1100, russ...@coker.com.au wrote: > I generally agree that RAID-1 is the way to go. But if you can't do that > then BTRFS "dup" and ZFS "copies=2" are good options, especially with SSD. I don't see how that's the case, how it can help much (if at all). Making

Re: Rebuild after disk fail

2020-01-19 Thread Craig Sanders via luv-main
On Sun, Jan 19, 2020 at 04:48:30PM +1100, Andrew Greig wrote: > here is the output of blkid > > /dev/sdb1: LABEL="Data" UUID="73f55e83-2038-4a0d-9c05-8f7e2e741517" > UUID_SUB="77fdea4e-3157-45af-bba4-7db8eb04ff08" TYPE="btrfs" > PARTUUID="d5d96658-01" > /dev/sdc1: LABEL="Data"

Re: Rebuild after disk fail

2020-01-18 Thread Craig Sanders via luv-main
On Sat, Jan 18, 2020 at 11:06:50PM +1100, Andrew Greig wrote: > Yes, the problem was my Motherboard would not handle enough disks, and we > did Format sdc with btrfs and left the sdb alone so that btrfs could arrange > things between them. > > I was hoping to get an understanding of how the RAID

Re: Rebuild after disk fail

2020-01-17 Thread Craig Sanders via luv-main
On Sat, Jan 18, 2020 at 02:14:46PM +1100, Andrew McGlashan wrote: > Just some thoughts > > Way back, SSDs were expensive and less reliable than today. > > Given the cost of SSDs today, I would consider even RAIDING the SSDs. If it's physically possible to install a second SSD of the same

Re: Rebuild after disk fail

2020-01-17 Thread Craig Sanders via luv-main
On Sat, Jan 18, 2020 at 01:41:05PM +1100, Andrew Greig wrote: > alg@andrewg:~$ sudo cat /etc/fstab > [sudo] password for alg: > # /etc/fstab: static file system information. > # > # Use 'blkid' to print the universally unique identifier for a > # device; this may be used with UUID= as a more

Re: Rebuild after disk fail

2020-01-17 Thread Craig Sanders via luv-main
On Sat, Jan 18, 2020 at 01:20:39PM +1100, pushin.linux wrote: > I have elected to start with a Ubuntu 18.04 LTS desktop install.The Raid > drives were picked up, ie are available, but does the balance command need > to be issued again? You only need to run 'btrfs balance' when you're changing the

Re: Rebuild after disk fail

2020-01-17 Thread Craig Sanders via luv-main
On Fri, Jan 17, 2020 at 11:36:29AM +1100, Andrew Greig wrote: > I recently experienced an SSD failure, and so I have purchased another to > set up my system again. I received some substantial help from this list > early in 2019 to build my machine with this SSD as / and /home under Ubuntu > 18.04

Re: Weird boot issue

2020-01-12 Thread Craig Sanders via luv-main
On Sun, Jan 12, 2020 at 04:20:42PM +1100, pushin.linux wrote: > > Original message From: Craig Sanders via luv-main > Date: 11/1/20 2:12 pm (GMT+10:00) To: > luv-main@luv.asn.au Subject: Re: Weird boot issue On Fri, Jan 10, 2020 at > 05:01:57PM +1100, pus

Re: Weird boot issue

2020-01-11 Thread Craig Sanders via luv-main
On Sat, Jan 11, 2020 at 10:02:24PM +1100, Andrew Greig wrote: > Another thought. Is there a way to command a system upgrade from Ubuntu > 18.04 to 19.10 , or download the DVD and Well, yes. Ubuntu is meant to be upgraded in place. As long as you have a CD, DVD, or internet connection, you can

Re: Weird boot issue

2020-01-11 Thread Craig Sanders via luv-main
On Sat, Jan 11, 2020 at 03:44:21PM +1100, Andrew Greig wrote: > As it turns out the system does reference the drives by UUIDs. > > So, my question is, "by fixing grub 2.8 will my RAID under BTRFS just work? > Or will I have to run something to get it working as well?" if you're not booting off

Re: Weird boot issue

2020-01-10 Thread Craig Sanders via luv-main
On Fri, Jan 10, 2020 at 05:01:57PM +1100, pushin.linux wrote: > Hi all,I am in a great dilemma, when rebooting after agreeing to a > software update, did not check the packges involved, but running Ubuntu > 18.04, I was confronted with this: > > GRUB version 2.02 > Minimal BASH-like line editing

Process Substitution

2020-01-06 Thread Craig Sanders via luv-main
On Mon, Jan 06, 2020 at 01:30:40PM +1100, Rodney Brown wrote: > https://www.spinellis.gr/blog/20191214/ > Convert file I/O into pipe I/O with /dev/fd > > Some Unix commands read data from files or write data to files, without > offering an obvious way to use them as part of a pipeline. How can you

Re: Bash Recursive File Rename

2019-11-14 Thread Craig Sanders via luv-main
On Fri, Nov 15, 2019 at 11:51:40AM +1000, Piers wrote: > I have a bunch of files that I want to rename: > > 123.someword.doc > 123.doc > > 456.someword.pdf > 456.pdf > > The "someword" is consistent in all the files and they need to be renamed > recursively. Use the perl-based 'rename' tool

Re: Renaming files

2019-10-09 Thread Craig Sanders via luv-main
On Wed, Oct 09, 2019 at 08:54:54PM +1100, Andrew McGlashan wrote: > > xargs -0r mv -T /destination/ -- > The "mv -T /destination/" ... that doesn't seem to make sense to me...? > > This from mv man page: > >-T, --no-target-directory > treat DEST as a normal file typo. i

Re: Renaming files

2019-10-08 Thread Craig Sanders via luv-main
On Wed, Oct 09, 2019 at 03:46:20PM +1100, Craig Sanders wrote: > BTW, you could then pipe the output of the above pipeline into xargs to do > something with the filename(s) matched. e.g. to move the matching file to > another directory: > > xargs -0r mv -T /destination/ Actually, that should

Re: Renaming files

2019-10-08 Thread Craig Sanders via luv-main
On Wed, Oct 09, 2019 at 02:15:44AM +1100, Andrew McGlashan wrote: > On 8/10/19 9:33 am, Craig Sanders via luv-main wrote: > > Either with 'find ... -exec' or, if you need to process find's list > > of filenames (with grep or sed or something) make sure you use NUL > > separ

Re: rename vs rename -- was Re: Renaming files

2019-10-07 Thread Craig Sanders via luv-main
On Tue, Oct 08, 2019 at 09:28:05AM +1100, Duncan Roe wrote: > Under Slackware: > > > 09:03:07$ file $(type -p rename) > > /usr/bin/rename: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), > > dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped Dunno if slackware has it

Re: Renaming files

2019-10-07 Thread Craig Sanders via luv-main
On Tue, Oct 08, 2019 at 12:47:15AM +1100, Andrew McGlashan wrote: > I've been "reprimanded" in the past for doing something like > >for filex in $(ls 6H9*) >... > > > Everyone says, don't use "ls", it isn't needed. It's true that ls isn't needed, but the real problem is that parsing the

Re: Renaming files

2019-10-07 Thread Craig Sanders via luv-main
On Mon, Oct 07, 2019 at 07:46:50PM +1100, Andrew Greig wrote: > Rename 6H9A0001.CR2 6J9A0001.CR2 > Rename 6H9A0002.CR2 6J9A0002.CR2 > Rename 6H9A0003.CR2 6J9A0003.CR2 > Rename 6H9A0004.CR2 6J9A0004.CR2 > to > Rename 6H9A0085.CR2 6J9A0085.CR2 Use the perl rename utility (aka prename or

Re: modern anti-spam

2019-10-05 Thread Craig Sanders via luv-main
On Tue, Oct 01, 2019 at 04:22:48PM +1000, Russell Coker wrote: > I currently have SpamAssassin set to reject anything over 5.0, but I'm still > getting a lot of spam. > > Are there any other good options? I haven't tweaked SA much, just used mostly > the default Debian settings with a few

Re: Talks?

2019-06-25 Thread Craig Sanders via luv-main
On Sat, Jun 22, 2019 at 09:01:28PM +1000, Russell Coker wrote: > We are currently having problems where mail Andrew sends to luv-main gets > blocked by localhost. > > # postconf -d|grep mynet > mynetworks = 127.0.0.0/8 10.10.10.0/24 [::1]/128 [2a01:4f8:140:71f5::]/64 > [fe80::]/64 > > Below are

Re: linux heart rate monitor / activity tracker?

2019-04-05 Thread Craig Sanders via luv-main
On Sat, Apr 06, 2019 at 12:36:31PM +1100, Stephen wrote: > Hi Craig, > > Not sure what sports you're targeting, it can make a difference to apps. this is not at all related to sports or fitness training - it's entirely about monitoring heart rate and related biological data, health informatics

linux heart rate monitor / activity tracker?

2019-04-05 Thread Craig Sanders via luv-main
I'm looking for both wearable hardware and software for heart rate monitoring on linux. On wrist or chest strap is fine. Heart rate monitoring is essential. Oxygen saturation and ECG functionality would be nice too. I've got a better idea of what I **DON'T** want than what I do. I don't want

(fwd) Re: Proposed road map for 1 SSD & 2 HDDs set up in btrfs as RAID1 -- success!!

2019-02-25 Thread Craig Sanders via luv-main
ding at present but it is a lot slower as the feed is from USB3 to a SATA HDD. But I can work with that. Really overjoyed, I have learned a lot, and probably tormented Craig and the list a lot, BUT I AM GRATEFUL!! Thank you Andrew On 25/2/19 1:22 pm, Craig Sanders via luv-main wrote: > On Mon,

Re: Proposed road map for 1 SSD & 2 HDDs set up in btrfs as RAID1

2019-02-24 Thread Craig Sanders via luv-main
On Mon, Feb 25, 2019 at 06:44:57AM +1100, Andrew Greig wrote: > Now it is time to see if I have learned anything. > > 1Tb SSD and 2 x 2Tb SATA HDDs, motherboard is a UEFI board but I have never > used UEFI with this board. > > Ubuntu desktop obviously ignored it. > > Using Gparted partition the

Re: shrinking btrfs (was Re: Boot problems after adding 2 new disks)

2019-02-23 Thread Craig Sanders via luv-main
On Sun, Feb 24, 2019 at 03:15:19PM +1100, Andrew Greig wrote: > This should be my last message on this issue (I sincerely hope so as I have > probably redefined the meaning of "needy") > > I lost the message related to the setting up of one btrfs drive and then > using the force (-f) feature to

shrinking btrfs (was Re: Boot problems after adding 2 new disks)

2019-02-23 Thread Craig Sanders via luv-main
[ you accidentally sent this Q as private mail. replying back to the luv-main list ] On Sun, Feb 24, 2019 at 08:33:25AM +1100, pushin.linux wrote: > Hi Craig,I was wondering if btrfs allows "shrinking" a patition to create > free space, and if swap at the end of an SSD was better than at the

Re: Boot problems after adding 2 new disks

2019-02-23 Thread Craig Sanders via luv-main
On Sat, Feb 23, 2019 at 06:32:43PM +1100, Andrew Greig wrote: > > 1. unmount both of them > > $sudo umount /dev/sdb1 && umount /dev/sdc1 ? or "sudo umount /data0 /data1" as long as no process has any file open under those directories (and that includes having a shell with it's current working

Re: Boot problems after adding 2 new disks

2019-02-22 Thread Craig Sanders via luv-main
On Sat, Feb 23, 2019 at 04:26:25PM +1100, Andrew Greig wrote: > Referring to an earlier message about my data drives, do I need to CHOWN > those drives to andrew:andrew and then set the permissions to rwx? I think i said perms should be 664. that was wrong. the execute bit is needed to access a

Re: Boot problems after adding 2 new disks

2019-02-22 Thread Craig Sanders via luv-main
On Sat, Feb 23, 2019 at 03:42:57PM +1100, Andrew Greig wrote: > Now I need to plug in my old SATA drive and copy my data to one of my data > drives. > > Small thing, when I was setting the partitions the system did not like /data > on two separate drives so for the moment one is /data0 and the

Re: Boot problems after adding 2 new disks

2019-02-22 Thread Craig Sanders via luv-main
On Sat, Feb 23, 2019 at 02:30:46PM +1100, Andrew Greig wrote: > Unfortunately I am stuck in tty1, I thought that the GUI was on tty7, but I > have forgotten how to get there. I thought it used to be CTRL ALT F7 If you have a display manager (xdm, gdm, kdm, lightdm, etc) installed, it will start

Re: Boot problems after adding 2 new disks

2019-02-22 Thread Craig Sanders via luv-main
On Fri, Feb 22, 2019 at 05:33:53PM +1100, Andrew Greig wrote: > I have purchased a new 1Tb SSD and I have two unused SATA 2Tb drives, and > currently 8Gb RAM (max capacity 32Gb DDR3 1866) I will settle for 24Gb soon. 24GB is nice. With that and the SSD, you should see an enormous boost in

Re: Boot problems after adding 2 new disks

2019-02-22 Thread Craig Sanders via luv-main
On Fri, Feb 22, 2019 at 08:20:48PM +1100, Andrew Greig wrote: > The 1Tb is an SSD for speed and I have another 2 x 2Tb drives for my data. > After 3 years of photography and 13,000 images in raw, proofs and full size > jpgs I have around 500Gb of data. This should meet my needs for 2 years at >

RAM & LUV's HW Library (was Re: Boot problems after adding 2 new disks)

2019-02-21 Thread Craig Sanders via luv-main
On Fri, Feb 22, 2019 at 10:22:38AM +1100, Russell Coker wrote: > In regard to the hardware advice. The LUV hardware library often has DDR3 > RAM for free, but 4G modules don't hang around long. If anyone is upgrading > from a DDR3 system to DDR4 please donate your old RAM as lots of people have >

Re: Boot problems after adding 2 new disks

2019-02-21 Thread Craig Sanders via luv-main
On Thu, Feb 21, 2019 at 11:14:13PM +1100, Andrew Greig wrote: > Looking at the disks in gparted I have: > > /dev/sda1 > File system lvn2 pv > Label > UUID sI0LJX-JSme-W2Yt-rFiZ-bQcV-lwFN-tSetH5 > Volume Group ubuntu-vg > Members /dev/sda1 /dev/sdb1 > Partition /dev/sda1 > Name > Flags boot/lvm >

Re: Boot problems after adding 2 new disks

2019-02-20 Thread Craig Sanders via luv-main
On Wed, Feb 20, 2019 at 10:25:13PM +1100, Andrew Greig wrote: > I apologise for my carelessness. In the days when I needed frequent help > (2000 - 2007) bottom posting was preferred, and so I defaulted to that > position. It was not laziness, just a lack of awareness that I included too > much of

Re: Boot problems after adding 2 new disks

2019-02-20 Thread Craig Sanders via luv-main
On Wed, Feb 20, 2019 at 09:33:21PM +1100, Andrew Greig wrote: > I have peace of mind about the ECC or not issue. I have a machine which > boots slowly compared with even ten years ago. One needs to boot it up and > then log in, and go and make a cup of coffee have a chat with a friend over > the

Re: making backports I have built recognised as providing correct package

2019-02-20 Thread Craig Sanders via luv-main
On Wed, Feb 20, 2019 at 08:11:16PM +1100, Mark Trickett wrote: > Aha, another piece of using apt-get. It is brilliant, but also a very steep > learning curve. It would be very good to have a good cheat sheet in a > printable form. $ apt-get --help apt 1.8.0~rc3 (amd64) Usage: apt-get [options]

Re: Boot problems after adding 2 new disks

2019-02-20 Thread Craig Sanders via luv-main
Firstly, can you please configure your thunderbird mail client to NOT send HTML mail? Or at least send both HTML and plain text? HTML mail really screws up the quoting, making it very hard to tell what's quoted and what's new. Also, don't bottom-post. Bottom posting is evil. And please trim

Re: Boot problems after adding 2 new disks

2019-02-20 Thread Craig Sanders via luv-main
On Wed, Feb 20, 2019 at 08:18:59PM +1100, Morrie Wyatt via luv-main wrote: > The ECC warnings just mean that either your motherboard doesn't support ECC > error correcting RAM, or that you don't have ECC RAM installed. AFAIK, you see it when the motherboard supports ECC RAM but you only have

Re: making backports I have built recognised as providing correct package

2019-02-17 Thread Craig Sanders via luv-main
On Sun, Feb 17, 2019 at 05:59:54PM +1100, Mark Trickett wrote: > This is the issue, I will have to remove and rebuild the tiff packages. The > relevant lines are :- > > libtiff5 (=${binary:version}), > libtiffxx5 (=$binary:version}) > > Is there a way to alter these to add the "~backport" item? or

Re: making backports I have built recognised as providing correct package

2019-02-16 Thread Craig Sanders via luv-main
On Sun, Feb 17, 2019 at 04:59:46PM +1100, Mark Trickett wrote: > Even with one of the backports, it produced multiple debs, and one of those > depends on two others, and adding the "~backport" tag in the it's not a "tag", it's part of the version string for the package you built. For most

Re: Ongoing scanner setup, now need a bit of help with dpkg-buildpackage

2019-02-16 Thread Craig Sanders via luv-main
On Sun, Feb 17, 2019 at 10:55:52AM +1100, Craig Sanders wrote: > 2. run 'dch -i' to change the package version number. e.g. when dch starts > up your text editor, change the first line to something like: > > sane-backends (1.0.27-3.1~backport) UNRELEASED; urgency=medium The version number (inside

Re: Ongoing scanner setup, now need a bit of help with dpkg-buildpackage

2019-02-16 Thread Craig Sanders via luv-main
On Sun, Feb 17, 2019 at 10:16:37AM +1100, Mark Trickett wrote: > I have managed to locate and download the source files, > sane-backends_1.0.27.orig.tar.gz, sane-backends_1.0.27.debian.tar.gz and > sane-backends_1.0.27.dsc and put them in a directory. I tried extract the debianised source with:

Re: Boot problems after adding 2 new disks

2019-02-15 Thread Craig Sanders via luv-main
On Sat, Feb 16, 2019 at 03:00:08PM +1100, Morrie Wyatt wrote: > The one extra step you might need to add to the end of Craig's list would be > to force a rebuild of your bootloader configuration (probably Grub) so that > the fstab UUID / LABEL changes get propagated into grub's config files. It

Re: Scanning, challenging

2019-02-15 Thread Craig Sanders via luv-main
On Sat, Feb 16, 2019 at 03:01:35PM +1100, Mark Trickett wrote: > So I have two packages to update, plus any dependencies of libc6 of the > later version. Now to learn how to find out what that might be. And then to > see where that leads. Then to install the sane-utils (v 1.0.27) package. The >

Re: Boot problems after adding 2 new disks

2019-02-15 Thread Craig Sanders via luv-main
On Sat, Feb 16, 2019 at 01:02:44PM +1100, Andrew Greig wrote: > I  shut it down and removed the 2 SATA cables from the MB and booted up - > successfully. I didn't notice this before. You can edit /etc/fstab to change to UUIDs or LABELs at this point. Then shutdown, add the new drives, and turn

Re: Boot problems after adding 2 new disks

2019-02-15 Thread Craig Sanders via luv-main
On Sat, Feb 16, 2019 at 01:02:44PM +1100, Andrew Greig wrote: > I have had some disks "ready to go" for a couple of months, meaning all that > was required was to plug the SATA cables into the MB. I plugged them in > today and booted the machine, except that it did not boot up. Ubuntu 18.04, > it

Re: Cron jobs + PHP ~ IMAP polling

2019-02-14 Thread Craig Sanders via luv-main
On Thu, Feb 14, 2019 at 09:02:54AM +1000, Piers wrote: > Is that supposed to be *Deletefile* ? Does it matter? It's clearly neither PHP code nor sh code. It's very obviously pseudocode intended to show the steps that need to performed to implement a simple semaphore/lock-file. craig -- craig

Re: Cron jobs + PHP ~ IMAP polling

2019-02-14 Thread Craig Sanders via luv-main
On Thu, Feb 14, 2019 at 07:17:49PM +1100, luv-main@luv.asn.au wrote: > 1) Pick the mail out of the inbox in your script(s), or > 2) deliver each mail directly to a converting filter if your pipeline >prefers that, and can buffer adequately. Yes. Break larger tasks into multiple smaller tasks,

Re: Scanning, challenging

2019-02-09 Thread Craig Sanders via luv-main
On Sun, Feb 10, 2019 at 03:50:30PM +1100, Mark Trickett wrote: > As i have mentioned, I have an Agfa SnapScan, and it appears to have > died. I have bought a new scanner, and checked compatibility with the sane > website. The Canon CanoScan LiDE 120 is listed as supported, but with > scanimage

Re: openwrt recommendations

2019-02-01 Thread Craig Sanders via luv-main
On Thu, Jan 31, 2019 at 08:20:09PM +1100, Brett Pemberton wrote: > It's not what you're asking for, but it'll do the job much better IMHO. > > https://www.ui.com/edgemax/edgerouter-x/ > > I've been using one of these for a few years now and it has been perfect. > Don't miss OpenWRT/Tomato at all

Re: GUI problem

2019-01-30 Thread Craig Sanders via luv-main
On Wed, Jan 30, 2019 at 06:58:28PM +, stripes theotoky wrote: > Where do I start debugging this one? Beats me right now. /var/log/Xorg.0.log if there are errors while X is starting up, they'll be in here. Look especially for lines with "(EE)" (errors) and maybe also "(WW)" (warnings).

Re: postfix boot dependencies with systemd

2019-01-26 Thread Craig Sanders via luv-main
On Sat, Jan 26, 2019 at 10:13:10PM +1100, Russell Coker wrote: > It appears that the boot of my laptop is delayed by postfix depending on > network-online.target. How can I change this? Postfix is only listening on > 127.0.0.1 so there's no reason for it to wait until my laptop connects to > the

Re: Grub in text mode

2019-01-11 Thread Craig Sanders via luv-main
On Fri, Jan 11, 2019 at 10:48:54PM -0500, Stewart Smith wrote: > The one thing I miss from screen is built in zmodem capture. Okay, so this > is a bit esoteric these days, and I guess I should not complain about it and > instead send a patch to tmux :) I'd forgotten that screen could even do

Re: Many to many VPN

2019-01-10 Thread Craig Sanders via luv-main
On Thu, Jan 10, 2019 at 05:41:50PM +1100, russ...@coker.com.au wrote: > If you have servers in multiple countries and people using those servers in > multiple locations what's a good way of setting up a VPN? > > Any ideas? simplest method would be to set up a VPN service with the same user

Re: Grub in text mode

2019-01-09 Thread Craig Sanders via luv-main
On Tue, Jan 08, 2019 at 11:51:33PM +1100, Russell Coker wrote: > Currently I run my kvm VMs under screen sounds like a PITA doing everything manually...but whatever works for you. > and just use screen -r to get the console. I strongly recommend switching to tmux. I stuck with screen for many

Re: Grub in text mode

2018-12-21 Thread Craig Sanders via luv-main
On Fri, Dec 21, 2018 at 04:32:20PM +1100, Russell Coker wrote: > Recently Grub has been changing to a high resolution mode. On some systems > this is really slow, presumably due to having a crap BIOS. On kvm/qemu > systems it doesn't work with -display curses. > > How do I get grub to stick to

Re: LAN-only chat?

2018-11-01 Thread Craig Sanders via luv-main
On Thu, Nov 01, 2018 at 11:09:36PM +1100, Nick Evans wrote: > Potentially i have miss interpreted your question but we are currently > looking into Rocket Chat.. looks like even more of an overkill than running ircd or something. really, all i want is something simple for me and my partner

LAN-only chat?

2018-10-31 Thread Craig Sanders via luv-main
Anyone know of a decent local-LAN chat program? I've tried the Bonjour (i.e. avahi) module for pidin but it's just unreliable. I don't know whether it's pidgin that's the problem or whether it's because avahi is more half-arsed Poettering garbage, but I've spent hours fucking around with it on

Re: Dropbox and zfs

2018-10-21 Thread Craig Sanders via luv-main
On Sun, Oct 21, 2018 at 11:49:40AM +, stripes theotoky wrote: > As of November Dropbox are dropping support for Linux file systems other > than ext4, as I run zfs this is less than helpful. > > I am wondering as a temporary measure until I move to Pcloud if it would be > possible to format a

Re: Apache + Open Office Headless

2018-09-26 Thread Craig Sanders via luv-main
On Wed, Sep 26, 2018 at 10:25:29AM +1000, Piers wrote: > I have a VM with 16GB RAM and 8 Cores. It's job is to accept a HTTP request > using PHP, take the data (documents) and run open office to convert it to > plain text and return it. Up until now this process has been fine. It seems > that the

Re: expect script

2018-08-19 Thread Craig Sanders via luv-main
On Mon, Aug 20, 2018 at 01:31:26PM +1000, Craig Sanders wrote: > Perl has several to choose from - the most generic is Expect.pm[1]. There's > also application-specific ones like Device::SerialPort[2]. or for specific > network protocols with, e.g., Net::SSH[3] and Net::Telnet[4]. > >

Re: expect script

2018-08-19 Thread Craig Sanders via luv-main
On Mon, Aug 20, 2018 at 10:29:46AM +1000, cory seligman wrote: > I'm having some trouble making expect work. expect itself is a complete PITA. IMO you are better off using one of the expect-like modules for a general purpose programming language like perl or python. Also IMO, the time and

  1   2   3   >