Search found 354 matches

by Jafadmin
Thu Oct 17, 2024 10:30 am
Forum: Users
Topic: Wireless Networking: USB dongles sometimes 'get grumpy'
Replies: 24
Views: 1384

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


'lo again, all... and apologies if this is in the wrong place; no doubt, our friendly neighbourhood moderators will take care of it for me... :mrgreen:

I'm having issues with how some wireless networking USB dongles are working (or not).

I've had a look around the forums and elsewhere but I'm ...
by Jafadmin
Tue Oct 01, 2024 6:49 pm
Forum: Users
Topic: Cannot connect to modem using WiFi dongle.
Replies: 14
Views: 802

Re: Cannot connect to modem using WiFi dongle.

In that text file it says to make sure and use the 'nl80211' driver with wpa_supplicant.

I have run into this issue before. So with the -D parameter with wpa_supplicant, I do:

Code: Select all

-D nl80211,wext

That solved my problem. Which sounds exactly like your problem.

by Jafadmin
Wed Aug 28, 2024 6:23 pm
Forum: Beginners Help
Topic: drive name change sdb3>sde3, cant boot to puppy now
Replies: 4
Views: 785

Re: drive name change sdb3>sde3, cant boot to puppy now

'sdX' type drive designations are transitory. They are re-provisioned every time you boot the machine. There is NO guarantee they will stay consistent between boots.

It is ALWAYS recommended to use UUID's instead of 'sdX' designators. UUID's WILL remain consistent between boots. They will remain ...
by Jafadmin
Sun Jul 28, 2024 1:44 pm
Forum: Users
Topic: Grub Entry for USB External Drive [SOLVED]
Replies: 41
Views: 2426

Re: Grub Entry for USB External Drive [SOLVED]


@dimkr
@williwaw
@jp734

UEFI boot will only work with GPT.

Don't think this is accurate. Just set up a hdd as follows:

-partition table = msdos
-part 1 = 100mb, fat32, boot, ESP, grub2 UEFI only
-part 2 = 20gb, ext3, linux, f96ce4

Drive is in a Dell E6430 laptop, bios/setup is configured ...
by Jafadmin
Fri Jun 21, 2024 4:32 pm
Forum: Users
Topic: What App to use for a Full System Backup?
Replies: 18
Views: 1322

Re: What to Use for a Full Backup Application

In a situation where you have multiple OS's/partitions, etc. on a single disk, I always just mirror the disk to another disk using 'dd'. If I need to restore from it I just mount it to an additional mount point and copy off what I need.

Where sdX = disk to back up, and sdY = backup destination disk ...
by Jafadmin
Sat Jun 15, 2024 1:21 pm
Forum: Beginners Help
Topic: Init chooses puppy installation in sda7 regardless of which puppy installation media I'm booting from(solved)
Replies: 10
Views: 563

Re: Init chooses puppy installation in sda7 regardless of which puppy installation media I'm booting from

I always recommend booting by disk/partition UUID to alleviate these types of issues

Code: Select all

menuentry 'FossaPup64-9.5' {
	linux	/fossa/vmlinuz   root=UUID=47028e70-a6cf-43bc-807a-5ee09688d97c   psubdir=fossa pmedia=usbflash pfix=fsck
	initrd	/fossa/initrd.gz
}
by Jafadmin
Sun May 19, 2024 1:16 pm
Forum: Announcements
Topic: Whats up in Puppy World
Replies: 690
Views: 46345

Re: Whats up in Puppy World


Deleted (violated terms of this forum)

By the way, a certain percentage of my acquaintances and friends do not trust developers who themselves do not use (all the time) the OS they develop or support. OK, let's soften the term a bit ;) ... It's not that they don't trust, but rather they are ...
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: 615

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: 1503

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: 884

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: 24
Views: 1384

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 ...
by Jafadmin
Mon Oct 23, 2023 5:57 pm
Forum: Users
Topic: Wireless Networking: USB dongles sometimes 'get grumpy'
Replies: 24
Views: 1384

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 ...
by Jafadmin
Tue Oct 10, 2023 6:11 pm
Forum: Beginners Help
Topic: Bookworm64 : find device path to ttyUsb ?
Replies: 7
Views: 722

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: 696

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 ...
by Jafadmin
Wed Sep 20, 2023 3:48 pm
Forum: Users
Topic: When Linux locks up
Replies: 1
Views: 471

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: 4108

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: 586

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 ...
by Jafadmin
Wed Jul 26, 2023 6:22 pm
Forum: Users
Topic: how do i wake precise puppy 571 from sleep?
Replies: 9
Views: 447

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: 477

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 ...
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: 477

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 ...
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: 477

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 ] && echo yes ...
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: 477

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 ...
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: 477

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: 477

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 ...
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: 639

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: 336

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
#-- rsync ----- From: ___________ To:
rsync ...
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: 910

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 ...
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: 910

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, "PupsaveDir" is the folder ...
by Jafadmin
Sun Jan 22, 2023 7:30 pm
Forum: Beginners Help
Topic: How to encrypt an old, unencrypted pupsave file
Replies: 5
Views: 797

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 ...
by Jafadmin
Thu Dec 08, 2022 5:00 pm
Forum: Users
Topic: USB ports - How to tell which type?
Replies: 11
Views: 1111

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

Go to advanced search