Search found 400 matches

by Mike7
Thu 19 Jul 2018, 06:05
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

Hi, 8Geee. I'm on my second, non-Asus replacement battery. I don't know if either has a built-in chip, but the ACPI-tool (Vattery) seems to work properly: it pops up at the discharge percentages that have been set. It may execute the commands that have been set in it, but I haven't yet tested that (...
by Mike7
Wed 18 Jul 2018, 15:35
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

I think you can't have read the previous posts in the thread, Muggins. But thanks for your desire to help.
by Mike7
Tue 17 Jul 2018, 16:59
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

Thank you, rg66.
by Mike7
Mon 16 Jul 2018, 05:29
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

Hi, Flash. Are you certain that lithium batteries are not harmed by discharging all the way down? What is your authority for this? I am under the impression that it does harm them, and the instructions that came with the replacement battery warned not to do it. However, the issue here is not so much...
by Mike7
Mon 16 Jul 2018, 05:22
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

Hi, Peterw. Yes, the panel icon does tell me battery state (charging or discharging) and percentage of charge remaining. But that isn't much help. I can't check it every five minutes. What I need is code that will suspend the computer when there is five percent remaining. My somewhat lengthy earlier...
by Mike7
Sun 15 Jul 2018, 03:10
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

This problem was never resolved because no one replied to my last post. However, I'd like to thank those who at least tried to help me.

Cheers.

Mike7
by Mike7
Fri 04 May 2018, 03:28
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

Hi, all. cbatticon is not in Carolite, and the battery monitor which is there - vattery - seems to work fine to monitor battery percentage. If cbatticon also shuts off power at a critical low battery discharge percent, that might help to save the battery, but it won't save my work. What I want is to...
by Mike7
Thu 03 May 2018, 17:12
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

On a second discharge I monitored vattery as it got low and saw that there is a small pop-up box that notifies you when the battery is down to 10% (and, I assume, when it gets down to 5%). But you have to be watching the screen at that precise moment or it passes you by. Isn't there a built-in utili...
by Mike7
Tue 01 May 2018, 13:23
Forum: Puppy Derivatives
Topic: Battery protection in Carolina (Carolite 2)?
Replies: 18
Views: 8172

Battery protection in Carolina (Carolite 2)?

Hi, guys. I'm adding a new battery to my Asus eeepc 1000HA, and I ran into a snag. I need some advice from more-experienced users or developers. I charged the battery up all the way, then unplugged power and started working it down slowly (I thought). At around 15% capacity left (according to vatter...
by Mike7
Wed 01 Mar 2017, 12:16
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

Hi, jamesbond. The traditional wisdom is that /tmp (which stands for "temporary") is free for all users to use, to create temporary files, In Carolite 1.2, /tmp is where the system puts boot logs and a bunch of other log files and pup-event files. Doesn't look like a very hospitable place ...
by Mike7
Mon 27 Feb 2017, 21:56
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

jamesbond-

One last query: If the permissions for /tmp should be 1777, why are they 0777 in my OpSys (Carolite 1.2)?

M.
by Mike7
Mon 27 Feb 2017, 21:53
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

Hi, jamesbond. do "chmod +t /tmp" (or "chmod 1777 /tmp" So, the t and the 1 are equal, is that right? Does the "d" in drwxrwxrwt stand for "directory", and is it generated automatically by chmod for directories? The MAN page for chmod says: "The restrict...
by Mike7
Mon 27 Feb 2017, 20:48
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

Hi, musher0.

I am getting quite confused with all this conflicting info from different people.

Tell me, though, in your opinion, even if I don't change /root to 700, is it safe to leave it at 755? (That is, not change it to 754 like I did with busybox and bash.)

M.
by Mike7
Mon 27 Feb 2017, 17:19
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

jamesbond-
@Mike7 - for /tmp, you need to have it Access: (1777/drwxrwxrwt) ==> see the last letter is a "t" instead of "x".
How do I set the 1 and the t ?

M.
by Mike7
Mon 27 Feb 2017, 17:04
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

musher0-

I get:

Code: Select all

# stat -c "%a %n" /root
755 /root
Should this be changed to 754 or some other permissions?

Thanks.

M.
by Mike7
Mon 27 Feb 2017, 17:00
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

amigo-
The /tmp dir is an exception, as it is '1777'.
and
The home dir of root, /root is chmod'ed 700 on normal systems.
I get:

Code: Select all

# stat /tmp
Access: (0777/drwxrwxrwx) 
# stat /root
Access: (0755/drwxr-xr-x) 
???

M.
by Mike7
Mon 27 Feb 2017, 04:20
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

Hi, 6502coder.
I never use numbers like "755" for adjusting permissions with "chmod." I find it far easier to remember the syntax

Code: Select all

chmod   abc  filename
Does chmod have to be told to use the abc option? Can stat print the abc system rather than numbers?

M.
by Mike7
Sun 26 Feb 2017, 12:43
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

Who's right regarding bash in this case,musher0 or amigo?

Thanks, drunkjedi, for the stat use.
by Mike7
Sun 26 Feb 2017, 04:10
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

musher0-

Here are the current permissions on my machine for busybox, bash, and ash. What, if anything, should I change?

Code: Select all

# stat -c "%a %n" busybox
754 busybox
# stat -c "%a %n" bash
755 bash
# stat -c "%a %n" ash
777 ash
M.
by Mike7
Sun 26 Feb 2017, 03:56
Forum: Security
Topic: Mirai malware infects Linux with Busybox
Replies: 137
Views: 41770

greengeek-
Sounds like they caught the guy that hijacked the German routers
One. But these hackers divide and multiply like amoebas.

M.