The Debian-Stretch-Live Starter Kit
Attached below is an update to PeasyScan.
1. PeasyScan now recognizes SANE device names (URI's) that contain spaces. This is required by some next-generation SANE backends that use multi-word device names.
2. The OCR function has been removed in favour of the separate pic2txt app which has been updated here.
3. V2.16 recognizes the following PAPER choices to use in config files for Auto scanning:
Custom paper sizes and scan areas can be handled with the OTHER variable:
-----------------------
1. PeasyScan now recognizes SANE device names (URI's) that contain spaces. This is required by some next-generation SANE backends that use multi-word device names.
2. The OCR function has been removed in favour of the separate pic2txt app which has been updated here.
3. V2.16 recognizes the following PAPER choices to use in config files for Auto scanning:
Code: Select all
letter, legal
ledger (11x17)
a3, a4, a5
a6 (4x6 photo)
b6 (5x7 photo)
b7 (5x3 index card)
Code: Select all
export OTHER="-x www -y hhh" #in millimetres
- Attachments
-
- peasyscan_2.16_amd64.deb.gz
- Updated 2020-06-18
- (49.84 KiB) Downloaded 96 times
-
- peasyscan_2.16_i386.deb.gz
- Updated 2020-06-18
- (48.84 KiB) Downloaded 87 times
Last edited by rcrsn51 on Fri 19 Jun 2020, 11:22, edited 5 times in total.
first I want to thank you for this great addition, it worked on my xenialpup. However I have some questions in regard to how it operates.rcrsn51 wrote:WlanMaker
-----------------
To enable Internet sharing, do the following:
The server machine needs the additional package "iptables" via apt-get.
Start the server with: wlanmaker wlan0 ssid passphrase eth0
The fourth argument is the server's Internet-facing port.
Client machines will get an IP address via DHCP and a route to the Internet.
--------------------------
----------------------
1) if my firewall is working, then there is no access to internet. However, I want to keep my firewall operational.how can I achieve this.
2)even though I closed my terminal, it is still operate in the background and I could access internet ( while disabeling the firewall). how to stop it or enable it again?
kindly explain in easy terms as I am a beginner in linux in general and puppy in particular. Thanks again
Xanialpup 7.5 32 bit
rcrsn51 wrote:You also sent me a PM. I took the time to find a solution and send you an answer.memo wrote:kindly explain in easy terms as I am a beginner in linux in general and puppy in particular.
You still have not shown the courtesy of a reply.
Hi Bill, Sorry for the late response, just check the message on the website, ofcourse many thanks to you for taking the time to find a solution and sending it to me.
My excuses
Xanialpup 7.5 32 bit
Here is a kernel module "driver" for the MOXA Uport 11x0 series Serial-USB adapter.
The device may NOT be auto-detected, in which case you must manually load the module with
It may also require firmware. Run:
Remove the fake .gz extension.
The device may NOT be auto-detected, in which case you must manually load the module with
Code: Select all
modprobe mxu11x0
Code: Select all
dmesg | grep -i firmware
- Attachments
-
- mxu11x0-k4.19.0-6_4.0_amd64.deb.gz
- (18.42 KiB) Downloaded 103 times
Here is the latest version of the brlaser printer driver from here. This is a generic driver for various Brother laser printers that eliminates the complexity of the vendor driver.
It was compiled in the Buster64 Starter Kit but may work in other 64bit Dogs.
It was compiled in the Buster64 Starter Kit but may work in other 64bit Dogs.
- Attachments
-
- printer-driver-brlaser-github_7_amd64.deb.gz
- Remove the fake .gz extension
- (20.04 KiB) Downloaded 128 times
A standard MBR-structured drive has empty space between the MBR (sector 0) and the start of the first partition. Some bootloaders like Legacy GRUB's optional stage1.5 and Grub4Dos (see below) use this space for their own code.
But the partition table of a GPT-structured drive starts at sector 1 and covers some of this space. So installing one of the above bootloaders will over-write the partition table and corrupt the drive.
The only contentious issue is whether Grub4Dos actually does this. Does its stage1 bootloader get written into sector 1 and beyond or does it fit entirely into sector 0? Here is a way to find out.
1. Start with a regular MBR-structured flash drive sdb.
2. Write zeros into the ten sectors starting at sector 1.
3. Save this block of ten sectors to the file out1
4. Install the Grub4Dos stage1 bootloader.
5. Save the same block of ten sectors to the file out2
6. Compare the two files.
For GRUB2 users, this is a non-issue. But people who want to keep using their favourite G4D menu.lst syntax can boot GPT drives via Legacy GRUB without stage1.5. Its stage1 boot code fits entirely in the MBR and doesn't touch the GPT partition table.
Continued: The above procedure is based on shinobar's Grub4Dos Config tool which uses bootlace.com (or wee) to install the stage1 boot code. But there are other stage1 installers out there. If an installer was smart enough to recognize GPT, it could place its stage1.5 code in another location, like after the GPT partition table but before the first 1 MiB boundary. This would make G4D compatible with GPT.
Continued: In the discussions here, enrique claims to have this working - G4D on a GPT drive. Unfortunately, he provides no details of how he installed the stage1 G4D bootloader so it does not conflict with the GPT partition table. In the absence of this information, his procedure has no advantage over using Legacy GRUB to accomplish the same thing.
Continued: in recent versions of G4D (0.4.6a 2018-06-12), bootlace.com has a "--gpt" option. This will write the stage1.5 code to the area described above, allowing G4D to boot on a GPT drive.
Continued: I have not tested this on an SSD with 4K blocks. Hopefully, the "--gpt" option is compatible with such hardware.
--------------------
But the partition table of a GPT-structured drive starts at sector 1 and covers some of this space. So installing one of the above bootloaders will over-write the partition table and corrupt the drive.
The only contentious issue is whether Grub4Dos actually does this. Does its stage1 bootloader get written into sector 1 and beyond or does it fit entirely into sector 0? Here is a way to find out.
1. Start with a regular MBR-structured flash drive sdb.
2. Write zeros into the ten sectors starting at sector 1.
Code: Select all
dd if=/dev/zero of=/dev/sdb seek=1 count=10
Code: Select all
dd if=/dev/sdb of=out1 skip=1 count=10
Code: Select all
bootlace.com --no-backup-mbr --time-out=0 /dev/sdb
Code: Select all
dd if=/dev/sdb of=out2 skip=1 count=10
Code: Select all
cmp out1 out2
cat out1
cat out2
Continued: The above procedure is based on shinobar's Grub4Dos Config tool which uses bootlace.com (or wee) to install the stage1 boot code. But there are other stage1 installers out there. If an installer was smart enough to recognize GPT, it could place its stage1.5 code in another location, like after the GPT partition table but before the first 1 MiB boundary. This would make G4D compatible with GPT.
Continued: In the discussions here, enrique claims to have this working - G4D on a GPT drive. Unfortunately, he provides no details of how he installed the stage1 G4D bootloader so it does not conflict with the GPT partition table. In the absence of this information, his procedure has no advantage over using Legacy GRUB to accomplish the same thing.
Continued: in recent versions of G4D (0.4.6a 2018-06-12), bootlace.com has a "--gpt" option. This will write the stage1.5 code to the area described above, allowing G4D to boot on a GPT drive.
Continued: I have not tested this on an SSD with 4K blocks. Hopefully, the "--gpt" option is compatible with such hardware.
--------------------
Last edited by rcrsn51 on Tue 23 Jun 2020, 11:19, edited 7 times in total.
PeasyScan v2.16 updated here.
V2.16 has a slight regression to accommodate models (like Brother) that use multi-word scanner options. For example:
V2.16 has a slight regression to accommodate models (like Brother) that use multi-word scanner options. For example:
Code: Select all
export SOURCE="Automatic Document Feeder(left aligned)"
Legacy GRUB Config 2019 updated here. The squashfs module has been slimmed down considerably.
This continues to be the most versatile GRUB bootloader app for pre-UEFI machines. Use it with the stetch-live-frugal-install tool.
----------------------
This continues to be the most versatile GRUB bootloader app for pre-UEFI machines. Use it with the stetch-live-frugal-install tool.
----------------------
Didn't add Master PDF Editor to the Stretch repo yet, but just now I did.rcrsn51 wrote:There are new instructions here for making a squashfs module for Master PDF Editor.
rcrsn51 wrote:Go here and get a 32bit or 64bit Debian package.
You have two choices:
1. Do a regular install with Right-click > Install Deb. However, there is a missing dependency.Code: Select all
apt-get update #if needed apt-get install libsane
I recommend you stick to older 4.3.61 masterpdfeditor, Fred, and not the new versions from code.industry.netfredx181 wrote:Didn't add Master PDF Editor to the Stretch repo yet, but just now I did.rcrsn51 wrote:There are new instructions here for making a squashfs module for Master PDF Editor.
The newer versions have much-limited functionality. My partner originally alerted me to that fact since I had simply installed latest for her from Arch AUR and she complained that lots of functions that used to work are now only available to registered users.
wiak
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Thanks but it is 4.3.61 that I added to repo, I know about the limitations of newest versions.wiak wrote:I recommend you stick to older 4.3.61 masterpdfeditor, Fred, and not the new versions from code.industry.net
EDIT: to clarify, the update from rcrsn51 is just this:
Below it is the old how-toHow to install Master PDF Editor
Update: Fred has packaged v4.6.31 in DEB form with a complete dependency list and has added it to his repo. You can now build a squashfs module using a vanilla repo2sfs operation.
-----------------------
Fred
Okay. I just noted that rcrsn52 instructions said:fredx181 wrote:EDIT: to clarify, the update from rcrsn51 is just this:How to install Master PDF Editor
Go https://code-industry.net/free-pdf-editor/#get]here and get a 32bit or 64bit Debian package.
which would have been new masterpdfeditor I thought. But I guess I was wrong. No problem.
wiak
WeeDogLinux forum: https://weedoglinux.rockedge.org/viewforum.php?f=4
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Tiny Linux Blog: https://www.tinylinux.info/
Check Firmware: http://murga-linux.com/puppy/viewtopic.php?p=1022797
Here is a tip for using repo2sfs (which regular users have probably already figured out).
In general, the best way to use repo2sfs is in a CleanMode environment so you get the complete set of dependencies and your squashfs module is fully portable.
But Master PDF Editor has a built-in scanning tool which requires libsane. Including libsane brings in a bunch of other stuff that doubles the size of the module.
So if you only want to use Master PDF Editor in setups that already have print/scan installed, run repo2sfs in that environment. Then libsane and its dependencies will be omitted from the module.
In general, the best way to use repo2sfs is in a CleanMode environment so you get the complete set of dependencies and your squashfs module is fully portable.
But Master PDF Editor has a built-in scanning tool which requires libsane. Including libsane brings in a bunch of other stuff that doubles the size of the module.
So if you only want to use Master PDF Editor in setups that already have print/scan installed, run repo2sfs in that environment. Then libsane and its dependencies will be omitted from the module.