t2linux / T2-Ubuntu

Ubuntu for T2 Macs
590 stars 52 forks source link

No ethernet in kubuntu isos #134

Open lemmyg opened 1 week ago

lemmyg commented 1 week ago

Hello @AdityaGarg8 , I was trying reinstall kubuntu 24.04 on my laptop. I found that for some reason in the KDE live session or the installed one, the ethernet device was missing. So I have no access to internet to download pkgs etc. Could it be some missing KDE packages although everything seems correct. I was wondering if we should install KDE desktop with the --install-recommends option as some packages were moved from required to recommended.

This issue doesn't not happen in Ubuntu isos and it can be reproduced in the virtual box, by loading kubuntu live session. Thanks,

Lemmyg

AdityaGarg8 commented 1 week ago

Hi @lemmyg

I don't really know much about kde isos tbh, but feel free to make a PR and I'll be happy to merge it.

lemmyg commented 1 week ago

I'll do some tests this week. Thanks

AdityaGarg8 commented 1 week ago

You also would like to check the commit history of mainline branch for packages, since the kde 24.04 isos are now being made from the LTS branch and I had to manually change jammy to noble again in that branch.

lemmyg commented 1 week ago

Increase the size of the iso is not a problem any more, right? As you are splitting automatically in multiple files. Due the --install-recommends

AdityaGarg8 commented 1 week ago

Not an issue

lemmyg commented 1 week ago

Hello I did some tests today. add --install-recommends and restore iwd that was remove since my merge for Kubuntu: Also remove grub kernel options. I have checked kde network pkgs. they are installed. no luck. network device is there but not used. the networkmanger config seems correct. not managed. I have a laptop with those settings and seems ok. mistery! :)

AdityaGarg8 commented 1 week ago

Is the 24.10 ISO also having the same issue?

lemmyg commented 1 week ago

yep

lemmyg commented 4 days ago

Hello, I did some findings. Basically the problem is that network manager doesnt create the ethernet connection automatically. to solve this, user need to create one from Kde and then restart manually network manager service. I have check network manager config and I dont see any diference from normal installation. All seems correct. Another problem I found is that Kde installation is not completed and many gnome libraries are there because the iso is generated based on ubuntu docker.

I did a test install kubuntu directly from the official iso and then add the missing packages. Im wondering if would not better create an iso from the official one and add t2 kernel pkgs.

By the way, your script get firmware in ubuntu works perfectly. :)

AdityaGarg8 commented 4 days ago

Hello, I did some findings. Basically the problem is that network manager doesnt create the ethernet connection automatically. to solve this, user need to create one from Kde and then restart manually network manager service. I have check network manager config and I dont see any diference from normal installation. All seems correct. Another problem I found is that Kde installation is not completed and many gnome libraries are there because the iso is generated based on ubuntu docker.

I did a test install kubuntu directly from the official iso and then add the missing packages. Im wondering if would not better create an iso from the official one and add t2 kernel pkgs.

By the way, your script get firmware in ubuntu works perfectly. :)

It's possible to create from official iso, but I haven't been able to get the installer working like that.

Is there any terminal command that can do the Ethernet fix you did?

lemmyg commented 4 days ago

from chatgpt

#to find the device
nmcli device status
#create the connection
sudo nmcli connection add type ethernet ifname <device> con-name MyEthernet
#change the priority to mimic kde settings
sudo nmcli connection modify MyEthernet connection.autoconnect-priority -100
lemmyg commented 4 days ago

about creating an iso. i got some steps from chatgpt. ill do some tests