Re: KLA-Manjaro LXDE
Can Packit create an SFS? You can remove Midori if you want, and install Firefox if
you want to test
Discussion, talk and tips
https://forum.puppylinux.com/
Can Packit create an SFS? You can remove Midori if you want, and install Firefox if
you want to test
josejp2424 wrote: Sat Sep 21, 2024 11:46 pmJusGellin wrote: Sat Sep 21, 2024 10:02 pmjosejp2424 wrote: Thu Sep 19, 2024 5:42 pmWhat I usually do is the following. Notice that there is a file 10KLA-Manjaro.sfs. The SFS I created, I rename it to 13KLA-Manjaro.sfs. This makes it start with the system.
Back to understanding this.
For this iso, I see it has 07KLA-manjaro.sfs and 10KLA-Manjaro-03.sfs. Does the KLA make them related (07KLA and 10KLA)?
If they are related, inside 10 just contains a couple of folders, opt and usr with items different than the 07 has. So you can
turn 10 off and on but 07 would be the main sfs for the system to run.
How would you add small items like this to combine with a base like this?
In this example, how was it determined what was needed for the additional folders to have or not have a new feature?I think that is showing a building on (10KLA) with new features to a base system (07KLA), right?
Thanks
07KLA-manjaro.sfs is the main sfs, 10KLA-Manjaro-03.sfs only contains the Midori browser. If you want to add
programs, you can create a new sfs with the number 13KLA-Manjaro-03.sfs.
Or you can decompress 10KLA-manjaro.sfs using the program Uextract, add the configurations or programs you
need, and then repack it with Packit.
Not only above. You can leave new additions (i.e. provided by new numbered layer) uncompressed if you wish. So you might have a new 22whatever_name_you_wish normal uncompressed folder as a layer. Or if you want to you can compress it such that it becomes 22whatever_name_you_wish.sfs INSTEAD.
Of course the new layer, whether uncompressed or not, must have appropriate internal organization such that new files and directories end up layered to correct wanted places.
For example, if you wanted to include a new file named myjunk in the /home/spot directory:
In your new layer construction directory you would first create empty directory "home" (without quotes) and make an empty directory called spot inside that. Then you would put your new myjunk file inside that subdirectory spot.
Finally you would give your newly constructed layer directory a suitable required numeric layer position name (two digits at front) so end result would be an addon with overall name and structure like:
22blahblahblah/home/spot/myjunk
On reboot that would automatically be layered in and you would find file myjunk in /home/spot of the newly booted system.
I set this up on my HP Pavilion 11m-ap0000 x360 Convertible PC.
How do I set this up for wifi?
Thanks
JusGellin wrote: Mon Sep 23, 2024 12:51 amI set this up on my HP Pavilion 11m-ap0000 x360 Convertible PC.
How do I set this up for wifi?Thanks
This is CUPS for printers, but in my case I use HP with system-config-printer and HPLIP. Once you install system-config-printer, you can find it in the menu under Preferences - Print Settings.
Code: Select all
pacman -S hplip system-config-printer
josejp2424 wrote: Mon Sep 23, 2024 3:22 amJusGellin wrote: Mon Sep 23, 2024 12:51 amI set this up on my HP Pavilion 11m-ap0000 x360 Convertible PC.
How do I set this up for wifi?Thanks
This is CUPS for printers, but in my case I use HP with system-config-printer and HPLIP. Once you install system-config-printer, you can find it in the menu under Preferences - Print Settings.
Code: Select all
pacman -S hplip system-config-printer
I think the question was about wifi, not about CUPS. HP support website is usually pretty good pointing to the WLAN card installed in different models. Once you know that you need to find the appropriate firmware (driver) and put it in /usr/lib/firmware. All going well, after that wifi connection should work. Might be the one per attached screenshot in that machine, but I'm in a hurry and don't know exact model you have.
I found that in this Maintenance Manual (is it the correct one though?): https://h10032.www1.hp.com/ctg/Manual/c06252995.pdf
@wiak
I found a more complete module on a sticker for the laptop 11m-ap0033dx
This gets me to a wealth of manuals I didn't know existed from hp!
That module is exactly the one you show for it -
Realtek RTL8821CE AC 1x1 Mu-mimo + Bluetooth...
Hp doesn't support Linux drivers, but they direct me to places I can look for them.
Just a note. I can install BookwormPup64_10.0.7 which has the correct wifi driver to connect to the wifi for it.
I'll try looking to what it uses at that location -/usr/lib/firmware
Thanks
It looks like KLA-Manjaro LXDE doesn't have the folder
/usr/lib/firmware
I found what I think Bookworm uses in that folder.
I would like to copy this over to KLA-Manjaro.
Where should I copy the driver to for this?
Thanks
I found the location for the drivers in KLA_Manjaro:
/usr/lib/modules/6.9.9/kernel/drivers/net/wireless/realtek
I determine that Bookworm was using the folder rtw88, which Manjaro didn't have.
So I copied that to the realtek folder in Manjaro.
It worked to now see the wifi network.
From the menu preferences I was able to see my wifi connection and set the logon.
But now I don't see how to connect to wifi.
How do I make this connect?
JusGellin wrote: Mon Sep 23, 2024 1:47 pmI found the location for the drivers in KLA_Manjaro:
/usr/lib/modules/6.9.9/kernel/drivers/net/wireless/realtek
I determine that Bookworm was using the folder rtw88, which Manjaro didn't have.
So I copied that to the realtek folder in Manjaro.It worked to now see the wifi network.
From the menu preferences I was able to see my wifi connection and set the logon.But now I don't see how to connect to wifi.
How do I make this connect?
You could trynmtui
the command line Network Manager tool, if it's installed. It always works for me. I use it all the time in KLV-spectrwm.
@geo_c
Using that tool, at the main menu I select Activate a connection
I see a box come up with a blue <Activate>
on top and a black <Back>
on the bottom
It only lets me select the <Back>
I'm not sure what is supposed to come up.
I'm probably supposed to select <Activate>
but I can't.
Back at the main menu if I select Edit a connection
It shows the setup I made from preferences.
I guess it's telling me I can't activate the wifi connection for some reason.
I have BookwormPup on a USB stick that I can run also.
When I try running nmtui from it, it says
NetworkManager is not running
But it is connected to wifi and wifi works.
Thanks
KLA-Manjaro LXDE can detect and connect to Broadcom Inc. BCM4313 802.11bgn Wireless Network Adapter (rev 01), but disconnected by itself so many many times per minute. Is there any fix?
JusGellin wrote: Mon Sep 23, 2024 3:56 pm@geo_c
Using that tool, at the main menu I selectActivate a connection
I see a box come up with a blue<Activate>
on top and a black<Back>
on the bottom
It only lets me select the<Back>
ess it's telling me I can't activate the wifi connection for some reason.I have BookwormPup on a USB stick that I can run also.
When I try running nmtui from it, it says
NetworkManager is not runningBut it is connected to wifi and wifi works.
Thanks
I suppose a different network manager is installed on Bookworm. I'm not sure what's setup in KLA-Manjaro, because I only booted it once.
Try this command ip a
in the terminal and it will list your available network devices, that way you can see what system devices are showing up available, I'll give you an example output from my system:
Code: Select all
[root]~/$:ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback [addresses-omitted]
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether [my-addresses-omitted]
3: wlp0s20f3: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether [my-addresses-omitted]
1 is the loopback, part of the filesystem which I don't understand, but normal.
2 is my ethernet device
3 is my wireless device
If your wireless isn't showing up, then we'd know something further.
EDIT: and actually, if you can delete the manual setup you did in nmtui, and then try activating a connection, it should find the wireless connection automatically. I haven't needed with nmtui to set anything up.
ip a
just gave the loopback - no wifi.
I misinterpreted what I did before. It was just a driver I thought was missing, but I now don't think it helped at all.
Removing that driver didn't make any difference for nmtui
or ip a
So basically wifi works when the laptop boots with BW and doesn't when KLA-Manjaro is used.
Thanks
I just happened to notice a topic about this wifi driver was discussed before:
rtl8821ce drivers
https://forum.puppylinux.com/viewtopic.php?t=3844
I haven't looked at it much, but will and see if that applies to mine.
@josejp2424
I tried the newer iso version, but still wifi doesn't work on my laptop for it.
That other topic mentioning rtl8821ce drivers seems to be for crashes occurring not wifi not working.
Thanks
@JusGellin which version kernel components is your KLA-Manjaro-LXDE using?
Is this an Arch Linux kernel or a Puppy Linux type huge kernel?
Hi @JusGellin @rockedge
Use the Puppy kernel. But well, let's take a look at that driver. I think I have it. The package.
@rockedge
It's using 6.9.9(x86_64) kernel.
It's Manjaro which I think is arch.
josejp2424 wrote: Tue Sep 24, 2024 12:17 amHi @JusGellin @rockedge
Use the Puppy kernel. But well, let's take a look at that driver. I think I have it. The package.
How can I use the Puppy kernel?
JusGellin wrote: Tue Sep 24, 2024 12:22 amjosejp2424 wrote: Tue Sep 24, 2024 12:17 amHi @JusGellin @rockedge
Use the Puppy kernel. But well, let's take a look at that driver. I think I have it. The package.
How can I use the Puppy kernel?
already uses Puppy Linux kernel
When I booted into BW again and found Kernel to be 6.1.94(x86_64)
If that means anything.
esos wrote: Mon Sep 23, 2024 4:08 pmKLA-Manjaro LXDE can detect and connect to Broadcom Inc. BCM4313 802.11bgn Wireless Network Adapter (rev 01), but disconnected by itself so many many times per minute. Is there any fix?
I also experienced that problem with an adapter and those drivers. I'm trying to see what it could be.
Great, thanks
@josejp2424
When I used your newer version, I just copied over the other one like you said and it didn't work.
So now I decided to instead do a new install -- and it worked!
Doing it this time, it has the 6.1.62 Kernel.
That must be what makes it work for this and BW
Thanks for the updated version of the iso which makes it work.
JusGellin wrote: Mon Sep 23, 2024 12:38 pmIt looks like KLA-Manjaro LXDE doesn't have the folder
/usr/lib/firmware
I found what I think Bookworm uses in that folder.
I would like to copy this over to KLA-Manjaro.
Where should I copy the driver to for this?Thanks
I gather from final postl is working now? Wifi connecting on your machine? All good then.
But just to clarify your understanding: the distro will indeed have a firmware folder, which usually nowadays is under /usr/lib directory but in older distros often under simply /usr.
It may not exist in 07KL main addon, but remember this is a layered filesystem. With Puppy type huge kernels that /usr/lib/firmware directory is provided by 01firmware sfs addon usually.
Note that modules are not the same as binary firmware files. Modules are external driver code required by kernel if not already directly compiled into the kernel. Modules are found in directory /usr/lib/modules in an exact kernel version subfolder. In Puppy type huge kernel constructions that subdir is generally provided (layered in) by 00modules sfs addon. However, unlike with firmware, you cannot simply copy new modules into that /usr/lib/modules hierarchy. Not only must new modules be specially compiled for the exact kernel being used, but the command "depmod" has to be run with appropriate options such that the kernel can later find the stored new modules.
Adding new firmware is simpler; you just copy that in to /usr/lib/firmware. No depmod needed there.
Note that both new modules and new firmware can be loaded in via a new numbered layer as long as that correctly uses internally /usr/lib/firmware structure for firmware, and /usr/lib/modules/<kernel version> for modules (running depmod command being needed to set up the new module component).
@wiak
I just checked on the new install for this and it is using /usr/lib/firmware
for the drivers
I couldn't find that location before for the first install. It probably was due to my lack of understanding for how this works that I didn't find this before.
Thanks for taking the time to explain this. I may not catch everything but it gives me a better idea of how this works.
I've come to appreciate more about the layers part that make this unique and powerful.
So it works on my laptop, but I'm going to make a clean install again to clean up any messes I may have caused for myself.
It's nice that I have a couple different computers and vms for testing these things and my knowledge for how to install and troubleshoot better.
My observation
@geo_c offered the 'key' clue ip addr
If 'lo' is the only adapter seen by the system, the effort pursuing would not work.
The correct effort after the IP command discovery was to review DMESG to see if/why the LAN adapters were not captured during boot.
Just an observation
Thanks @josejp2424 for the new ISO file.
Note: Sometimes, after a new release, the developers remake the ISO with the maintenance added.
I ask: Should the developer make the new releases a NEW VERSION? Multiple versions with the exact same name causes user errs as things are easily mistaken. I think we all know this.
Clarity wrote: Tue Sep 24, 2024 9:42 pmMy observation
@geo_c offered the 'key' clue
ip addr
If 'lo' is the only adapter seen by the system, the effort pursuing would not work.
The correct effort after the IP command discovery was to review DMESG to see if/why the LAN adapters were not captured during boot.
Just an observation
Thanks @josejp2424 for the new ISO file.
Note: Sometimes, after a new release, the developers remake the ISO with the maintenance added.
I ask: Should the developer make the new releases a NEW VERSION? Multiple versions with the exact same name causes user errs as things are easily mistaken. I think we all know this.
hi @Clarity
The release isn't ready yet, I just tested it with the new kernel so that the WiFi drivers could work. I have one to finish in the next few days, and it will be available with several updates for the kernel, drivers, and I want to finish it so that it can be updated without needing to upload more ISOs. I'll only upload the packages, and the system will notify that there's an update for KLA Manjaro.
KLA Manjaro Update: What’s New?
latest updates in KLA Manjaro! Here’s a summary of the significant changes and improvements:
Kernel Update: We have replaced the previously used kernel 6.9.9 with the well-tested kernel 6.1.62 from DevuanPup. This ensures better stability and performance for your system.
Enhanced Driver Support: More Realtek drivers have been added, improving hardware compatibility and overall system performance.
System Configuration Tool: We’ve added system-config-printer, a user-friendly tool for managing printers with CUPS. This makes it easier to configure and manage your printing devices seamlessly.
Browser Upgrade: Midori has been removed in favor of Firefox 130, providing a more robust browsing experience with enhanced features and security.
KL Installer: We have introduced the KL Installer, making the installation of KLA systems much easier, whether you're installing on a hard drive or a USB stick.
KLA Manjaro Updater: To streamline updates, we’ve added an updater for KLA Manjaro. This means you won't need to create new ISO files for every change; all updates can now be seamlessly integrated into your existing system.
LXPanel Improvements: The LXPanel menu has been enhanced for better usability, making navigation more intuitive.
Touchpad Functionality: touchpad support is now fully functional in this ISO, making it easier to use on laptops.
These changes aim to provide you with a more reliable and user-friendly experience.
Download Manjaro-LXDE-1.2.iso
https://sourceforge.net/projects/kla-ma ... DE-1.2.iso
# MD5
cbe278d3e981d95c585402cd9d8cbd12 Manjaro-LXDE-1.2.iso
@josejp2424
Nice! I like the KLInstaller. This really makes the installation easy and straight forward.
For the usual partition setup for efi:
sda set up as GPT
sda1: 300MB fat32 flags boot,esp
sda2: 21GB ext4
I ran the installer.
It set up the drives and set it up to be bootable.
But when I ran it after it was built, the boot crashed for my laptop.
I got it to work by running the wd_grubconfig shell that comes with the iso and inserting the grub results into grub.cfg
Then it booted fine.
The grub.cfg that was built had:
Code: Select all
menuentry '07KLA manjaro (sda2/KLA-Manjaro)' --class devuanpup{
search --no-floppy --set=root --fs-uuid 906f3e7a-f0aa-4fa8-b1b1-59cd5365c87a
linux /KLA-Manjaro/vmlinuz psubdir=/KLA-Manjaro pmedia=atahd pfix=fsck
initrd /KLA-Manjaro/initrd.gz
}
I placed the results from the wd_grubconfig shell results in place of the above:
Code: Select all
#####grub.cfg (note the UUID or LABEL options below):
menuentry "KLA-Manjaro" {
insmod ext2
search --no-floppy --label main --set
linux /KLA-Manjaro/vmlinuz w_bootfrom=LABEL=main=/KLA-Manjaro w_changes=RAM2
initrd /KLA-Manjaro/initrd.gz
}
#############################OR uuid method:
menuentry "KLA-Manjaro" {
insmod ext2
search --no-floppy --fs-uuid --set 906f3e7a-f0aa-4fa8-b1b1-59cd5365c87a
linux /KLA-Manjaro/vmlinuz w_bootfrom=UUID=906f3e7a-f0aa-4fa8-b1b1-59cd5365c87a=/KLA-Manjaro w_changes=RAM2
initrd /KLA-Manjaro/initrd.gz}
Both menus worked for my my laptop to successfully boot it.
==============================================================================
Also I noticed on my laptop that the touchpad and buttons didn't seem to work quite right for my laptop.
I can't move any of the windows around or select anything like it normally should.
It only clicks items.
============================================================================
Also wifi works like it should.
Thanks for this update
Let me know if you need more information from what I have given here.