How can I safely remove all networking and GUI related packages from antiX base?

Forum Forums General Tips and Tricks How can I safely remove all networking and GUI related packages from antiX base?

Tagged: 

  • This topic has 14 replies, 5 voices, and was last updated Jul 4-11:10 am by mrbig.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #24155
    Member
    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.
      #24158
      Member
      eugen-b
        Helpful
        Up
        0
        ::

        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?

        #24159
        Member
        mrbig
          Helpful
          Up
          0
          ::

          I cannot. Neither recognizes my wireless card.

          #24160
          Member
          mrbig
            Helpful
            Up
            0
            ::

            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.
            #24162
            Member
            eugen-b
              Helpful
              Up
              0
              ::

              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.
              #24165
              Member
              mrbig
                Helpful
                Up
                0
                ::

                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.
                #24168
                Forum Admin
                anticapitalista
                  Helpful
                  Up
                  0
                  ::

                  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-zd1211

                  Philosophers have interpreted the world in many ways; the point is to change it.

                  antiX with runit - leaner and meaner.

                  #24171
                  Member
                  mrbig
                    Helpful
                    Up
                    0
                    ::

                    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.
                    #24173
                    Member
                    eugen-b
                      Helpful
                      Up
                      0
                      ::

                      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 try

                      sudo rmmod ath10k_pci
                      sudo modprobe -v ath10k_pci

                      and 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.

                      #24178
                      Member
                      mrbig
                        Helpful
                        Up
                        0
                        ::

                        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.ko

                        Like 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.
                        #24182
                        Anonymous
                          Helpful
                          Up
                          0
                          ::

                          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-runtime

                          During livesession, sudo apt remove vim.tiny (not purge)
                          then
                          cd /live/boot-dev
                          sudo dpkg -i vim-runtime && sudo dpkg -i vim-runtime

                          Can use this process again, later, to insert other programs//pkgs onto the “core” pendrive.

                          #24183
                          Member
                          mrbig
                            Helpful
                            Up
                            0
                            ::

                            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.
                            #24197
                            Anonymous
                              Helpful
                              Up
                              0
                              ::

                              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 pendrive

                              #24199
                              Anonymous
                                Helpful
                                Up
                                0
                                ::

                                hi mrbig,

                                have you tried using
                                sudo ifdown wlan0 and sudo ifup wlan0 after the

                                sudo modprobe -v ath10k_pci
                                insmod /lib/modules/4.19.0-1-amd64/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko

                                command to reset the wifi card? and the see if ceni can find the networks.

                                #24206
                                Member
                                mrbig
                                  Helpful
                                  Up
                                  0
                                  ::

                                  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.
                                Viewing 15 posts - 1 through 15 (of 15 total)
                                • You must be logged in to reply to this topic.