Search found 347 matches

by Jafadmin
Wed Mar 20, 2024 10:36 pm
Forum: Beginners Help
Topic: How to resize personal strorage of Bionicpup USB installation?
Replies: 6
Views: 431

Re: Resize personal strorage on USB installation

Doggy wrote: Wed Mar 20, 2024 5:05 pm

From what I recall, the personal storage size limit is usually set by the system. You might need to dig into some advanced settings or maybe even try a different tool to resize it beyond the 4 GB limit.

The limit is set by the filesystem type. fat32 has a 4g limit.

by Jafadmin
Sat Dec 30, 2023 4:41 pm
Forum: Users
Topic: Strange error at boot
Replies: 21
Views: 921

Re: Strange error at boot

We have to re-iterate this from time to time, so here we go. BIOS/Init processes automatically generate SD? assignments. There is absolutely NO guarantee that the disk that was '/dev/sda' this time will be 'sda1' next time. So how to solve? Use the UUID's people. That is their sole reason to exist. ...
by Jafadmin
Wed Dec 06, 2023 1:51 am
Forum: Beginners Help
Topic: Script to copy files?
Replies: 11
Views: 592

Re: Script to copy files?

I universally us 'rsync' for these tasks. It only updates changed/new files. Mind the positioning of the forward-slash.
sync-dirs.sh:

Code: Select all

#! /bin/bash

From="/path/to/source/directory"
To="/path/to/destination/directory"

# Sync directories:     
rsync -avu --delete $From $To/
sync
by Jafadmin
Fri Oct 27, 2023 5:05 pm
Forum: Users
Topic: Wireless Networking: USB dongles sometimes 'get grumpy'
Replies: 14
Views: 595

Re: Wireless Networking: USB dongles sometimes 'get grumpy'

The following console command will display all detected WAP's, bypassing the various connection apps. This will show the raw output of what WIFI linux can see. Change the 'wlan0' to match your specific wifi adapter. iwlist wlan0 scanning | egrep 'Cell |Quality|ESSID' This is useful to isolate hardwa...
by Jafadmin
Mon Oct 23, 2023 5:57 pm
Forum: Users
Topic: Wireless Networking: USB dongles sometimes 'get grumpy'
Replies: 14
Views: 595

Re: Wireless Networking: USB dongles sometimes 'get grumpy'

Always remember that ALL wifi is RADIO. Different 'dongles' have different antennae schemes. There are a thousand things that can affect radio. Even where you sit or move around in a room. Density of nearby WAPs and transmission stations can also affect you. Worth noting; When you use a fixed wifi p...
by Jafadmin
Tue Oct 10, 2023 6:11 pm
Forum: Beginners Help
Topic: Bookworm64 : find device path to ttyUsb ?
Replies: 7
Views: 491

Re: Bookworm64 : find device path to ttyUsb ?

It should show up as '/dev/ttyUSB0' or something similar. You can set it up using the 'stty' command if needed:

Code: Select all

stty -F /dev/ttyUSB0 9600 cs8 -cstopb -parenb
by Jafadmin
Wed Oct 04, 2023 7:27 pm
Forum: Beginners Help
Topic: command line to connect to wi-fi wpa2 instead of using network wizard
Replies: 5
Views: 522

Re: command line to connect to wi-fi wpa2 instead of using network wizard

Here is a CL script I use for WPA. Notice it uses different wpa_supplicant drivers depending on adapter. I arrived at this via trial and error. YMMV. You can choose whether to use dhcp, or manually config the address. #!/bin/sh # A script to start WPA/WPA2 wireless # XRUNNING=$(ps | grep [X]org) FAS...
by Jafadmin
Wed Sep 20, 2023 3:48 pm
Forum: Users
Topic: When Linux locks up
Replies: 1
Views: 436

Re: When Linux locks up

In the past I have solved this problem by plugging in an additional keyboard. The OS will not transfer the second one to the VM. Ctrl+Alt+F1, then kill the offending process.

Robert is your mother's brother. :thumbup:

by Jafadmin
Mon Aug 21, 2023 7:47 pm
Forum: Users
Topic: How can I wipe a "Read only" flash drive?
Replies: 34
Views: 2397

Re: How can I wipe a "Read only" flash drive?

dd doesn't care about permissions. If you tell it to overwrite a disk, it will. Even if it is mounted.

If dd won't work on it, it has a hardware problem. Probably going bad. This is common.

good luck.

by Jafadmin
Wed Aug 02, 2023 10:08 pm
Forum: Users
Topic: WiFi connection problem after waking from sleep
Replies: 14
Views: 417

Re: WiFi connection problem after waking from sleep

Phil, it would help to know which Wifi tool you use to connect. I'm assuming it is using wpa_supplicant. You are probably going to need to make sure your *.WPA2.conf file is latching the MAC address of the repeater instead of the router. Another thing that may help is to make sure your connection to...
by Jafadmin
Wed Jul 26, 2023 6:22 pm
Forum: Users
Topic: how do i wake precise puppy 571 from sleep?
Replies: 9
Views: 308

Re: how do i wake precise puppy 571 from sleep?

On some you can just press and release the power button which wakes it up. I think it is BIOS dependent.

by Jafadmin
Thu Jun 22, 2023 5:11 pm
Forum: Users
Topic: Ever get tired of trying to do math in bash?
Replies: 9
Views: 374

Re: Ever get tired of trying to do math in bash?

How would that differ from a version-compare utility? The pup-tools pet in EasyOS has 'vercmp': # vercmp --help usage: vercmp version1 lt|gt|le|ge|eq version2 return value 0 if true, else 1 64-bit pet: http://distro.ibiblio.org/easyos/amd64/packages/pet/pet_packages-pyro/pup-tools-20190828-pyro64.p...
by Jafadmin
Sun Jun 04, 2023 6:41 pm
Forum: Users
Topic: Ever get tired of trying to do math in bash?
Replies: 9
Views: 374

Re: Ever get tired of trying to do math in bash?

The other problem is that ' if [ $NumVar > 0 ]; then blah blah ..; fi' will often have the hidden side effect of creating all those wierd little files you see from time to time named '1' or '0' with nothing in them. That's because your syntax is wrong. ... Yep. Ever had that happen? Yep. That's the...
by Jafadmin
Sun Jun 04, 2023 4:06 am
Forum: Users
Topic: Ever get tired of trying to do math in bash?
Replies: 9
Views: 374

Re: Ever get tired of trying to do math in bash?

Your program always returns 0 (unless an error occurs), meanwhile test returns 0 if the condition is true, 1 - if false, and 2 on error. With decx doing the same, it would be possible to write simply decx $num1 LT $num2 && echo yes || echo no insread of [ $(decx $num1 LT $num2) = 0 ] &&...
by Jafadmin
Sat Jun 03, 2023 4:23 pm
Forum: Users
Topic: Ever get tired of trying to do math in bash?
Replies: 9
Views: 374

Re: Ever get tired of trying to do math in bash?

((2>1)) && echo yes || echo no doesn't create files. But if it's for bash, why putchar and not an exit code? It does do exit codes. So we need to do both. exit code AND a result. decx does comparisons AND math operations. echo `decx 34.025 T .003 -p=4` ('T' means x) 0.1021 It's purpose is t...
by Jafadmin
Sat Jun 03, 2023 1:29 am
Forum: Users
Topic: Ever get tired of trying to do math in bash?
Replies: 9
Views: 374

Re: Ever get tired of trying to do math in bash?

It does floating point math and negative values

decx -89.1 T 32
-2851.2

decx -89.1 LT 32
0

decx 37.69911 D 12 -p=8 # :thumbup2:
3.14159250

by Jafadmin
Fri Jun 02, 2023 11:42 pm
Forum: Users
Topic: Ever get tired of trying to do math in bash?
Replies: 9
Views: 374

Ever get tired of trying to do math in bash?

Firstly, 'bc' is cool. But sometimes it can take most of a cold beer to figure out how to get it to understand what I'm trying to do. The other problem is that ' if [ $NumVar > 0 ]; then blah blah ..; fi' will often have the hidden side effect of creating all those wierd little files you see from ti...
by Jafadmin
Mon May 08, 2023 5:39 pm
Forum: Users
Topic: What is typical time to partition a 64GiB thumb-drive?
Replies: 11
Views: 452

Re: What is typical time to partition a 64GiB thumb-drive?

Whole whopping big bunch of variables in this topic. USB port speed, USB thumb speed, filesystem type (Fat32, for instance can format in seconds), processor speed, and how much RAM you have, to name a few.

So, the short answer is: YMMV

Yeah, I know ..

by Jafadmin
Sun Apr 16, 2023 6:21 pm
Forum: Users
Topic: rsync as backup when you forget to mount the partition being backed up
Replies: 2
Views: 266

Re: rsync as backup when you forget to mount the partition being backed up

backmeup.sh #! /bin/bash :<<'[#####]' rsync to /mnt/sda8 rsync -avu --delete "$SOURCE" "$DESTINATION" [#####] if [ -z "$(mount | grep -i /mnt/sda8)" ]; then zenity --info --timeout=10 --title="Sync2Backup" --text="sda8 not mounted .." & exit fi #...
by Jafadmin
Wed Mar 15, 2023 6:40 pm
Forum: Beginners Help
Topic: USB stick boot but I want a frugal save to SDA
Replies: 13
Views: 741

Re: USB stick boot but I want a frugal save to SDA

@Jafadmin On the topic of the location of the pupsave file, you gave some sample code: psave=778e3ad4-b9d8-11ed-afa1-0242ac120002:PupsaveDir/pupsavefile.4fs You refer to UUID of SDA1 partition. Can you tell me, please, where can I find this ident. (778e3a.... etc) code? I presume I might use anothe...
by Jafadmin
Fri Mar 03, 2023 3:35 pm
Forum: Beginners Help
Topic: USB stick boot but I want a frugal save to SDA
Replies: 13
Views: 741

Re: USB stick boot but I want a frugal save to SDA

Typically you do this in the menu.lst or grub.cfg file on your USB. Add a "psave" parameter to the "kernel" or "linux" line that looks like this: psave=778e3ad4-b9d8-11ed-afa1-0242ac120002:PupsaveDir/pupsavefile.4fs Where the UUID is the UUID of your sda1 partition, &qu...
by Jafadmin
Sun Jan 22, 2023 7:30 pm
Forum: Beginners Help
Topic: How to encrypt an old, unencrypted pupsave file
Replies: 5
Views: 503

Re: How to encrypt an old, unencrypted pupsave file

Cliff Notes version of what mikeslr said: If using LotsaLuks: 1) create a LUKS file the size you want formatted ext4 with default encryption settings, in the same place as the other puppy boot files, and mount it. (name the file something simple for now) 2) copy everything from the 'fossapup64save' ...
by Jafadmin
Thu Dec 08, 2022 5:00 pm
Forum: Users
Topic: USB ports - How to tell which type?
Replies: 11
Views: 785

Re: USB PC ports - How to tell

You will find all you USB controller information at:

Code: Select all

#ls /sys/bus/usb/devices/usb?
#ls /sys/bus/usb/devices/usb?/speed

Regards

by Jafadmin
Thu Nov 24, 2022 11:41 pm
Forum: Beginners Help
Topic: Why does my thumb drive have a lock icon on it in Pmount? (Solved)
Replies: 12
Views: 595

Re: Why does my thumb drive have a lock icon on it in Pmount

It has it opened as read-only, I'm guessing. You could open GPartEd and get more info on the problem with that drive. Are you mounted to that drive when you run gparted? I think you may have to unmount to perform any operations on it. True, but you can look at the warnings and info icons on the dri...
by Jafadmin
Sun Nov 20, 2022 5:35 pm
Forum: Beginners Help
Topic: Adblocking
Replies: 2
Views: 338

Re: Adblocking

In addition, this one has been around for quite a while: https://winhelp2002.mvps.org/hosts.htm

I've been using this since the earth cooled ..

by Jafadmin
Sun Nov 20, 2022 5:29 pm
Forum: Beginners Help
Topic: Why does my thumb drive have a lock icon on it in Pmount? (Solved)
Replies: 12
Views: 595

Re: Why does my thumb drive have a lock icon on it in Pmount

It has it opened as read-only, I'm guessing. You could open GPartEd and get more info on the problem with that drive.

by Jafadmin
Thu Oct 27, 2022 12:11 am
Forum: Beginners Help
Topic: Booting live USB with text (serial) console
Replies: 3
Views: 684

Re: Booting live USB with text (serial) console

Welcome :welcome: In the grub4dos config file, just add a "pfix=nox" option to the vmlinuz line. This will boot puppy without starting X. I think most puppies come with "picocom" by default for tty serial communication. I think it uses VT100. You can view the CL options by typing...
by Jafadmin
Tue Oct 11, 2022 11:30 am
Forum: Users
Topic: anyone know a serial (RS232) terminal program?
Replies: 8
Views: 795

Re: anyone know a serial (RS232) terminal program?

I think the Bionics also have 'picocom' installed by default. Anyways, mine all seem to have it .. ;)

by Jafadmin
Sat Oct 08, 2022 5:12 pm
Forum: Beginners Help
Topic: How to mount drive automaticaly at boot? (Solved)
Replies: 8
Views: 909

Re: mount drive automaticaly at boot

mikewalsh wrote: Thu Oct 06, 2022 11:35 am

@Jafadmin :-

Hiya, Jafa! Long time no see. I thought you'd gone AWOL..... :D

Mike. ;)

Had to take a break to get a gratuitous heart transplant. 8-) Finally back at the keyboard .. :thumbup2:

by Jafadmin
Sat Oct 08, 2022 5:09 pm
Forum: Users
Topic: anyone know a serial (RS232) terminal program?
Replies: 8
Views: 795

Re: anyone know a serial (RS232) terminal program?

Can you find 'gtkterm' in the repo for your puppy version? You might also need 'setserial'.

Go to the Puppy Package Manager and just type 'serial' into the search bar.

Go to advanced search