Forum › Forums › General › Tips and Tricks › How can I safely remove all networking and GUI related packages from antiX base?
Tagged: customization
- This topic has 14 replies, 5 voices, and was last updated Jul 4-11:10 am by mrbig.
-
AuthorPosts
-
July 4, 2019 at 4:49 am #24155Member
mrbig
The reason I installed base is that I couldn’t access the internet with the core and net versions. My intention is to have a pen drive with a minimal non-graphical interface (TTY) for me to write prove using Vim with no distractions. But the provided version, vim.tiny, cannot be configured. Installing those things without the internet is a pain in the ass. I’ll configure everything to my liking. Later on, I’ll remove all graphical and networking distractions, remove myself from sudo
group and give a gigantic password to root. I’ll back up the files once a day in my other OS. It’ll be like my personal typewriter.- This topic was modified 3 years, 10 months ago by mrbig.
July 4, 2019 at 4:53 am #24158Member
eugen-b
::The reason I installed base is that I couldn’t access the internet with the core and net versions.
Why not? Maybe it is easier to find out, how you can access the network in core and net?
July 4, 2019 at 4:57 am #24159Membermrbig
July 4, 2019 at 5:01 am #24160Membermrbig
::I ran ceni on the core edition, but it did not find any network. When I ran ceni on base and it found my network in the first try.
- This reply was modified 3 years, 10 months ago by mrbig.
July 4, 2019 at 5:02 am #24162Member
eugen-b
::Ok, I used to hack it like this:
1. find out what firmware file is needed for your wireless card and copy it to a USB stick
2. boot antiX core
3. copy the firmware file from the USB stick to the live file system (/usr/lib/firmware/ is probably the right place)
4. you should be able to run networking commands now like ceni or for connman like here:Do you have any idea why connman sometimes fails to detect wi-fi networks and why restarting it (using whatever way) helps?
I have a guess. So far, I’ve only used connmanctl from the command line and it works like a champ as long as you know the secret handshake:
agent on enable wifi services connect wifi_<tab> [wait for connection to appear] quit ifconfig -s- This reply was modified 3 years, 10 months ago by eugen-b.
- This reply was modified 3 years, 10 months ago by eugen-b.
July 4, 2019 at 5:16 am #24165Membermrbig
::At this point, I’m not sure if that would be a better solution than just trimming down base. These networking matters are never simple, and tend to wear me down quite easily.
Plus: I tried in my both laptops. No dice.
- This reply was modified 3 years, 10 months ago by mrbig.
July 4, 2019 at 5:47 am #24168Forum Admin
anticapitalista
::core should have picked up the wireless device. net (as the FAQ says) will not.
This is the firmware included on core edition.
atmel-firmware firmware-atheros firmware-b43-installer firmware-b43legacy-installer firmware-bnx2 firmware-bnx2x firmware-brcm80211 firmware-ipw2x00 firmware-intelwimax firmware-iwlwifi firmware-libertas firmware-linux firmware-linux-free firmware-linux-nonfree firmware-misc-nonfree firmware-myricom firmware-netxen firmware-qlogic firmware-realtek firmware-zd1211Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
July 4, 2019 at 7:05 am #24171Membermrbig
::In one of my computers, nm-applet reports this card: ath10k_pci. Which is atheros, so it should have worked.
- This reply was modified 3 years, 10 months ago by mrbig.
July 4, 2019 at 8:54 am #24173Member
eugen-b
::It would be great, if you tried to reproduce it on core. Find a way to share the terminal output with us.
inxi -Fxxxz > inxi.txt
dmesg > dmesg.txt
Copy the text files to a USB stick, then paste the output on pastebin service on a machine with a browser
.
It could help to trysudo rmmod ath10k_pci sudo modprobe -v ath10k_pciand then ceni again.
A different approach would be to use a mobile phone via USB tethering.
If you want to remove packages from your base installation you can try
cli-aptiX
or install the more powerfull
aptitude
and try to remove xorg and see what it proposes to remove in addition to it.July 4, 2019 at 9:39 am #24178Membermrbig
::– On MX-Linux 18:
$ sudo rmmod ath10k_pci rmmod: ERROR: Module ath10k_pci is not currently loaded $ sudo modprobe -v ath10k_pci insmod /lib/modules/4.19.0-1-amd64/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko– On antiX Core 17.4.1:
$ sudo rmmod ath10k_pci rmmod: ERROR: Module ath10k_pci is not currently loaded $ sudo modprobe -v ath10k_pci insmod /lib/modules/4.9.160-antix.1-amd64-smp/kernel/drivers/wireless/ath/ath10k_pci.koLike before, ceni is able to identify my card, but it doesn’t show any wireless network on “scan”. On antiX base ceni finds a bunch of networks, including my own.
- This reply was modified 3 years, 10 months ago by mrbig.
- This reply was modified 3 years, 10 months ago by mrbig.
- This reply was modified 3 years, 10 months ago by mrbig.
July 4, 2019 at 9:45 am #24182Anonymous
::intention is [..] pen drive with a minimal non-graphical interface [..] Vim with no distractions.
After creating the “antiX core” pendrive, before detaching it…
retrieve the additional packages needed for vim and (then) place copies of their debfiles onto pendrive for easy access to them from within the liveboot session.sudo apt-get install –download-only vim (minus minus, not longdash as mangled by the forum software)
sudo apt-get install –download-only vim-runtimeDuring livesession, sudo apt remove vim.tiny (not purge)
then
cd /live/boot-dev
sudo dpkg -i vim-runtime && sudo dpkg -i vim-runtimeCan use this process again, later, to insert other programs//pkgs onto the “core” pendrive.
July 4, 2019 at 10:04 am #24183Membermrbig
::Are you supposing that I’m connected to the internet while creating the pendrive? Cause I’m not. I don’t have an ethernet cable here, and I can’t get one right away. If I had, that problem would be already solved 😛
And in order to install a deb package offline, Debian/antiX core requires the package apt-offline. Ironically, I need the internet to install it.
Regardless, I also wish to configure my Vim install, and an internet connection would be probably required for that. Furthermore, after some tests, I realized that Vim proper has some annoying restrictions on TTYs. I’ll probably opt to build Neovim from source, since antiX’s version is old and slow. And this would be cumbersome to do offline.
- This reply was modified 3 years, 10 months ago by mrbig.
- This reply was modified 3 years, 10 months ago by mrbig.
- This reply was modified 3 years, 10 months ago by mrbig.
July 4, 2019 at 10:43 am #24197Anonymous
::In my post above, I wasn’t “supposing” anything.
I believe that what I suggested both solves the as-quoted intention
and refutes the unenlightened statement that “Installing those things without the internet is a pain in the ass”.
.
.
ps:
I’ve edited the earlier post
…………. and (then)………….
toward clarifying: retrieve the debfiles onto the NON-live system and then copy those onto the still-attached pendriveJuly 4, 2019 at 10:49 am #24199Anonymous
::hi mrbig,
have you tried using
sudo ifdown wlan0andsudo ifup wlan0after thesudo modprobe -v ath10k_pci insmod /lib/modules/4.19.0-1-amd64/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.kocommand to reset the wifi card? and the see if ceni can find the networks.
July 4, 2019 at 11:10 am #24206Membermrbig
::Dear skidoo:
Sorry, my friend, I believe I was unable to correctly convey my tone. I had no intention to deride your effort to help, but rather to clarify the meaning of your words. This is not my first language and sometimes I make mistakes such as this. Thank you very much for answering with kindness and attention, and I hope you have a great day. Cheers! 😉
- This reply was modified 3 years, 10 months ago by mrbig.
-
AuthorPosts
- You must be logged in to reply to this topic.