Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - Brian000

Pages: [1]
1
Linux Support / Re: ubuntu 16.04 on disc
« on: July 10, 2021, 08:36:24 pm »
DIGGGSY,

By far the easiest place to buy installation media is with a Linux magazine, many come with a DVD full of options and are available in most bookshops, new agents and supermarkets - just have a quick read of the cover to ensure it contains the distribution your looking for.

I found a similar question, that  provides other options: https://askubuntu.com/questions/79715/where-can-i-get-an-ubuntu-installation-cd-dvd-usb

Although you may struggle getting Ubuntu at Version 16 which was released in 1016 and now out of support.  The latest version is 21.0.4, (with the TLS (long term support) version being version 20.0.4).


At risk of confusing the subject; there are other distributions and desktops which are more "Windows" like than others... but that depends on what you want.

Hope this helps...

2
Linux Support / Re: Frequent crashing of 18.04
« on: July 08, 2021, 08:44:07 pm »
Rattleback,

Have you performed a RAM test?
MEMTEST is available during boot up, or free from https://www.memtest86.com.



3
Linux Support / Re: My scanner doesn?t work on Ubuntu
« on: June 17, 2021, 08:38:07 pm »
Based on this it's supported but looks to require some manual work

https://ubuntuforums.org/showthread.php?t=771976


Edit: adding URL for SANE
http://www.sane-project.org/cgi-bin/...model=&bus=usb

4
Linux Support / Re: Keyboard and mouse problems
« on: June 16, 2021, 09:20:34 pm »
Hi,

Do you know if its a Kernel panic (completely unresponsive), or can you do the shutdown key-combs?

Quote
Press and hold the Alt and SysReq (aka PrntScr) keys and then slowly type r e i s u o

But I'd also consider running a memory test - you should find MEMTEST during the bootup sequence, or part of most/any live distro - or just download the free copy from https://www.memtest86.com.

5
Linux Support / Re: My scanner doesn´t work on Ubuntu
« on: June 16, 2021, 09:15:35 pm »
Hi,

Could you kindly share some important details, like the make and model of the scanner.

...But, the light - that may just be power, which is not any confirmation of connectivity.



6
Linux Support / Re: Linux 64 bit installation problem
« on: June 09, 2021, 09:32:17 pm »
Hi Steve57,

I'm just as perplexed, because what you're describing (running 64bit OK, unless it's on the local drive!) doesn't make sense to me either I'm afread :(

Therefore, the only 2pence I can throw into this thread, would be to look through all of the BIOS options, Sure I agree, I can't imaging anything saying "Boot Local Device in 32bit only".....but perhaps its worth a peek before you throw in the towel - also you could check if there is a BIOS update.   

Ah!... I just found this: https://forums.lenovo.com/t5/Gaming-Laptops/Y700-15ISK-Can-Only-Boot-amp-Install-32-Bit-not-64-Bit/td-p/3755104  which suggests "Secure boot" and "UEFI Legacy" - although that thread does end with it ultimately being a Motherboard failure.......

Sorry - but, that's my out of thoughts!

7
Linux Support / Re: How to Back Deletes
« on: June 07, 2021, 12:05:31 am »
Thanks for the info -  These backups are for internal drives, so "-z" sounds pointless.

...but I like the sound of "NICE" - I'll have a play, because pretty much all of my processes are far from urgent - mostly CRON or scripts for startup.

thanks again.

PS - that "-backup" works just as expected; I have re-employed my old 3tb drive, which is slowly filling up with daily directories of change :)

8
Linux Support / Re: Rsync
« on: June 06, 2021, 11:38:50 pm »
Hi,

I wonder if you have any large files in your home directories and if you're exceeding the available space or your defined RSYNC limit or just the limitations of FAT32 (different file types have difference specifications/limitations).  As you say the RSYNC command looks OK and I can run it on Debian10 to a VFAT USB (but I have almost nothing in my HOME, so that's far from a comparable test)

Can you confirm you HOME partition and file type - "df -Th ~"  and also check if there are any files larger than or close to 4gb (being the limit for FAT32)

If you have a spare USB, I'd format it to whatever your HOME is, which should reduce those incompatibility risks.

Is that possible? - let me know the results....

Regards deleting; if it's solely a backup for you "home" and you intend to recreate it anyway - then that sounds fine (BUT, since I don't know your requirements/intentions, I'll strongly recommend you copy that data and ensure its safe first before doing anything that may risk your data).

...but on paper using RSYNC to copy to an USB drive, that should be fine.....
 

9
Linux Support / Re: ip neigh and arp - incorrect MAC address
« on: June 06, 2021, 10:18:25 pm »
There are likely to be a few better ways to get this information, but I am still at that point where I enjoy writing semi-pointless scripts :)

So I simply hope this is helpful to somebody if only as an example for something else... 

Anyway - this is what I've got/done - feel free to suggest a better option.

Nb: There are obvious risks/issues - like those assets that don't reply to PING, or if you don't have a asset with a complete ARP table*.
*not that I understand ARP, can ARP scan the network itself, in order to make this more reliable - or is this idea largely flawed to begin with?!

Code: [Select]
#/sbin/sh
IFS=$'\n';

readonly ARP=`which arp`
readonly CUT=`which cut`
readonly PING=`which ping`
readonly NETADDR=192.168.1
readonly ARP_ARRAY=$(${ARP} -a)
HOST="${1}"

#---------------------------------------------
if [ "${HOST}" = "" ]; then
  echo "Error - No Input Given"
  echo "Usage: ${0} [host/ip/scan]"
  exit 9
fi

#---------------------------------------------
function _GetHostDetails {
  if [ "${1:0:${#NETADDR}}" = "${NETADDR}" ]; then
    IP=${1}
  else
    IP="`${PING} ${1} -c1 | head -n1 | ${CUT} -d '(' -f 2 | ${CUT} -d ')' -f 1`"
   #IP=`${ARP} -a | grep "$({IP})" | ${CUT} -d '(' -f 2 | $CUT} -d ')' -f 1`
  fi

  for ARP_LINE in ${ARP_ARRAY}; do
    if [ "${IP}" = "`echo ${ARP_LINE} | ${CUT} -d '(' -f 2 | ${CUT} -d ')' -f 1`" ]; then
      HOST=`echo ${ARP_LINE} | ${CUT} -d '.' -f 1`
      MAC=`echo ${ARP_LINE} | ${CUT} -d ' ' -f 4`

      if [ "${HOST:0:1}" = "?" ]; then
        HOST="Unknown"
        DOMAIN="Unknown"
      else
        DOMAIN=`echo ${ARP_LINE} | ${CUT} -d '.' -f 2,3,4,5 | ${CUT} -d ' ' -f 1`
      fi
      break
    fi
  done

  echo ${HOST},${DOMAIN},${IP},${MAC}
}

#---------------------------------------------
if [ "${1}" = "scan" ]; then

  for i in `seq 1 254`; do
    ${PING} ${NETADDR}.${i} -c1 > /dev/null
    if [ ${?} -eq 0 ]; then
      _GetHostDetails ${NETADDR}.${i}
    fi
  done

else
  _GetHostDetails ${HOST}
fi

Output:
Code: [Select]
#./gethostdetails.sh scan
router,local.net,192.168.1.1,6c:cd:d6:a6:09:50
wifi1,local.net,192.168.1.13,d8:47:32:25:c6:72
wifi2,local.net,192.168.1.14,d8:47:32:51:6a:9b


10
Linux Support / Re: ip neigh and arp - incorrect MAC address
« on: June 06, 2021, 12:13:41 am »
Hi, and thanks..

I was just about to provide an update and suggest that I'd been stupid and broken my own system of documenting everything in BIND and/or DHCP - and that having tracked the MAC address (I found this to translate the MAC : https://maclookup.app), I found that the "incorrect MAC" was a TP-LINK devices....... I only have a few so it was easy to find that, which is now exactly what read from Mad Penguin (thank you by the way)

"Based on your description I would be inclined to think you have two devices on the network using the same IP address. "
Yeah - you're quite right and I feel appropriately foolish *blush*

many thanks, I hope I've not wasted too much of you're evening :)
Brian





11
Linux Support / ip neigh and arp - incorrect MAC address
« on: June 05, 2021, 09:05:33 pm »
Hi,

I'm not sure how long I've had the issue but today I decided to simply change the IP of my NAS (it's configured to DHCP, albeit with a fixed address in dhcpd.conf) and something that I thought would be easy, but found that devices were struggling to re-connect.    I was looking around and have discovered that the MAC address of the NAS was incorrect on most/all devices (based on "ip neigh").  And something that a reboot of my router/switch/NAS didn't simply resolve. 

I have since connect to several of my servers, and run "ip -s -s neigh flush all" and "arp -d <ip>", one or both successfully cleared the ARP cache and was soon showing the correct MAC address (Yay! I thought), but after a few minutes it was reverted, so the same IP has the incorrect MAC again (it's always the same one). 

My NAS is the same hardware with the same NIC (and unchanged MAC) - plus I'm not 100%  sure where the "incorrect" MAC is coming from, I assume it's on my network somewhere, but as yet have not found it (with so may mobile devices I've not yet managed to check everything).  I read that I can force the IP/MAC details into the ARP cache - but I assume that that shouldn't be necessary (should it?)

I'd like to better understand where ARP or IP, get the MAC address from - which may help me understand my problem and therefore resolve it. 
But also - how I can scan my entire network for MAC Addresses assuming this "unknown" one is on my network.

The other options is that I've made a rookie error, and done something wrong in either BIND or DHCPD.... My gateway seems to be the only asset that consistently should the correct details......

Hoping everybody is well and enjoying the change in weather,
Brian,

12
Linux Support / Re: How to Back Deletes
« on: May 25, 2021, 11:07:28 pm »
Hi again....

So - it looks like all I need to do is use --backup with --backup-dir=   .... and then find somewhere to store them. Oh! as it so happens, having bought new drives, I do have 3tb spares sat around looking for a job! - Sounds like enough space for the incremental, while also keeping my mirror copy intact!

I don't currently use as many of the options as you list: (only "-avz --delete")
So looking at what I'm missing out on:
sparse - "Sparse files are files that have large amounts of space preallocated to them"  - this sounds like an option worth including
force - good shout (to delete directories even when not empty) and something I'll adopt
ignore-errors - I've read in other forums that this also ensures files are correctly deleted, so that's a good one for me to add too
bwlimit - I don't think this is relevant in my case, because the files are already local
rvlpgoDtO - I currently use "-av" which takes care of most of these options (but I agree, calling them out individually is cleaner)..

However, "-O" - I can't find anything to neatly describe what this actually does.

The only extra one that I use if -z  (compress file data during the transfer) - I assume due to the omission in your usage, that you don't think that's necessary.

13
Linux Support / Re: How to Backup Deletes
« on: May 25, 2021, 09:16:16 pm »
Thanks for sharing Keith, as I got caught up in real life so haven't had time to do what I hoped.

Reading your script, It looks like we have similar concerns - mine being for a NAS (and to answer one of your questions ~3tb) , which also has a "./servers/${host}" setup as you describe - and it's those I need to backup; which includes config, shared files as well as application data from all connected devices. The start of this was buying some shiny new drives - so I should have space enough to consider incremental backups as you seem to have already implemented.

I follow you're script (although "nice" is new to me, but nothing --help can't fix :) ) I'll have a play and read of the options being suggested.

Very much appreciated.
Brian.

14
Linux Support / Re: How to Back Deletes
« on: May 21, 2021, 11:52:20 pm »
Thanks Keith, and I’m now glad I asked the question :)

I have been obsessing over deletes but realise i should mean changes too. And the reason i care is because i have numerous users uploading and changing files; so I’d like to provide a little window for recovery.  Not that I’ve had that problem yet!

My current 2 drives is “easy” (and yes, I do —delete to keep them the same) and that gives me a roll-back to “last rsync” but nothing in-between nor after. i was wondering how to best provide a more “enterprise” backup option - hopefully without buying extra drives.

I’ve been reading tonight, and while I’ve never got my head around incremental backups - i guess that’s my weekends homework! ;)

Feel free to point me in a better direction or if I’ve worrying about the wrong things, and I’ll report back incase anybody else cares....

Thanks again,
Brian





15
Linux Support / How to Back Deletes
« on: May 21, 2021, 09:48:12 pm »
Hi all,

I have a simple backup policy which sees two drives rsynced weekly. This is great as it works well and has the plus of being both nice and easy.

I would like to make these syncs more regular to avoid data loss, but need some protection from/backup for, deletes.

My first though is to scan the two disks and copy those deleted files - keeping them safe, before the rsync.

Before i start any thing i thought i ask....
Is there a switch in rsync that a I’m not aware of that does this?
....or is there a better option (AKA, what should I do?)?

Let’s suggest I’d like to retain 7days of deletes while rsyncing every day.

Thanks in advance,
Brian


Pages: [1]

SimplePortal 2.3.3 © 2008-2010, SimplePortal