How to install NetworkManager in antiX 23 runit

Forum Forums General Tips and Tricks How to install NetworkManager in antiX 23 runit

  • This topic has 5 replies, 3 voices, and was last updated Mar 10-10:38 am by mikey70.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #111677
    Member
    RJP

      1. Install updates and after that install the next packages

      sudo apt install network-manager network-manager-config-connectivity-debian network-manager-gnome network-manager-openconnect network-manager-pptp

      2. Make a runit service

      sudo mkdir /etc/sv/networkmanager

      …. create script

      gksu geany /etc/sv/networkmanager/run

      … which contens is

      #!/bin/bash
      exec chpst -u root /usr/sbin/NetworkManager

      …. make it executable

      sudo chmod +x /etc/sv/networkmanager/run

      … link to /etc/service

      sudo ln -s /etc/sv/networkmanager /etc/service/networkmanager

      3. Edit $HOME/.desktop-session/startup file by unticking nm-applet line

      geany $HOME/.desktop-session/startup

      Reboot and run nm-applet as root at once for adding connection

      gksu nm-applet

      Attachments:
      #111691
      Member
      olsztyn

        1. Install updates and after that install the next packages

        Thank you RJP, primarily for the detailed process of creating runit service for nm.
        Although I used to use network-manager in the past later on I became happy with Connman, so not rushing to revert to network-manager any time soon, however this is a valuable option for other users, who prefer network-manager.

        However a question on this:
        How did you manage to install network-manager in step #1 so it does not entail installation of libelogind0, a component which is alien to antiX architecture since antiX 22?
        Thanks and regards…

        Live antiX Boot Options (Previously posted by Xecure):
        http://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

        #111695
        Member
        RJP

          However a question on this:
          How did you manage to install network-manager in step #1 so it does not entail installation of libelogind0, a component which is alien to antiX architecture since antiX 22?
          Thanks and regards…

          I like to use the best possible programs like NetworkManager or k3b. If elokind comes with these programs, it comes. It is not a problem to me.

          #136064
          Member
          mikey70

            Hi, I have installed antiX-23.1-Core 64bit with runit in order to install my own desktop, but after every reboot I had to start NetworkManager manually (sudo NetworkManager) again and again.

            If you looking for a solution many hours and finally you find this website; it’s really great.
            Many thanks for posting this, especially point 2!
            I’m very excited about my experiences with Antix. Originally coming from Tumbleweed, I wanted a rolling release, but now but I’ll try it first with stable.

            See you soon!

            🙂

            #136066
            Member
            RJP

              Hi, I have installed antiX-23.1-Core 64bit with runit in order to install my own desktop, but after every reboot I had to start NetworkManager manually (sudo NetworkManager) again and again.

              If antiX-23.1-Core uses sysVinit, just add NetworkManager start to the /etc/rc.local file.

              An example:

              #!/bin/sh -e
              #
              # rc.local
              #
              # This script is executed at the end of each multiuser runlevel.
              # Make sure that the script will "exit 0" on success or any other
              # value on error.
              #
              # In order to enable or disable this script just change the execution
              # bits.
              #
              NetworkManager start
              exit 0

              Edit: Are you sure that you use runit version?

              `

              • This reply was modified 2 months, 2 weeks ago by RJP.
              • This reply was modified 2 months, 2 weeks ago by RJP.
              #136138
              Member
              mikey70

                Hi RJP, yes I have downloaded the runit Version. But now here is another not reproducible problem. Every now and then the boot process takes longer and after that I have no rights for example to shut down the notebook. (The button is greyed out.) But in terminal I could make sudo reboot without legitimization. (I have activated lightdm autologin.)
                But that is another problem, no need to solve it here.
                Maybe it’s better I’ll give the sysVinit version a try.

                Thanks alot!

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.