Cannot return to Ceni from Connman

Forum › Forums › Official Releases › antiX-23 “Arditi del Popolo › Cannot return to Ceni from Connman

  • This topic has 10 replies, 6 voices, and was last updated Sep 8-11:20 am by roland.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #182434
    roland
    Member

      I used Ceni for years with little trouble, but when Connman finally seemed to be stable I changed over to it. However I now believe there is some hidden bug in Connman that causes frequent line dropping, so frequent now as to make it virtually unusable for my circumstances, and I decided on a return to Ceni.

      This return however has proved impossible, as I am requested by Ceni to erase a file wlan0 left in /run/wpa_supplicant, which insists on returning the moment I invoke Ceni.

      roland@antix1:~/Desktop
      $ su
      Password:
      root@antix1:/home/roland/Desktop# cd /run
      root@antix1:/run# cd wpa_supplicant
      root@antix1:/run/wpa_supplicant# ls
      p2p-dev-wlan0 wlan0
      root@antix1:/run/wpa_supplicant#

      roland@antix1:~/Desktop
      $ su
      Password:
      root@antix1:/home/roland/Desktop# cd /run
      root@antix1:/run# cd wpa_supplicant
      root@antix1:/run/wpa_supplicant# ls
      p2p-dev-wlan0 wlan0
      root@antix1:/run/wpa_supplicant# ls
      p2p-dev-wlan0 wlan0
      root@antix1:/run/wpa_supplicant#

      roland@antix1:~/Desktop
      $ su
      Password:
      root@antix1:/home/roland/Desktop# cd /run
      root@antix1:/run# cd wpa_supplicant
      root@antix1:/run/wpa_supplicant# ls
      p2p-dev-wlan0 wlan0
      root@antix1:/run/wpa_supplicant# ls
      p2p-dev-wlan0 wlan0
      root@antix1:/run/wpa_supplicant# rm *
      root@antix1:/run/wpa_supplicant# ls
      root@antix1:/run/wpa_supplicant#

      Whenever I erase this file, and run Ceni in scan mode, Ceni returns a screen telling me to erase wlan0, and when I look in the folder, there it is again.

      It’s almost certainly some error of mine, can anyone point me in the right direction please?

      • This topic was modified 1 year, 1 month ago by roland.
      • This topic was modified 1 year, 1 month ago by roland.
      • This topic was modified 1 year, 1 month ago by roland.
      #182442
      abc-nix
      Member

        Did you try the easy way first with antix wifi switch?
        sudo antix-wifi-switch -c ceni

        Corruption has two hands: the Right and the Left. Don't let them squeeze you.

        #182443
        melodie
        Member

          Hello,

          And wether using Ceni or Connman, I don’t see why one or the other would fail. When you say, “line dropping”, is it really the network which is down? Are you using wifi only, and never using Ethernet?

          What I have noticed : sometimes, the network would be accessible (a ping to, for example, “www.example.com” would work : “ping -c4 http://www.example.com” outputs 4 lines of returning pings, but the web pages would all be unreachable. I have been using the resolver openresolv many times to replace resolvconf, and it has solved that one issue.

          I wonder, is your issue really no network at all?

          #182444
          marcelocripe
          Member
            #182452
            melodie
            Member

              Hello,

              Maybe a few simple command lines can also help, with getting a connection, for starter.

              This one will provide all information on the network cards that are up:

              ifconfig

              Then, you will see which ones are ‘up’, and if you want to remove wlan0, it is not with the “rm” command. It would rather be as root :

              ifconfig x down

              where “x” is the name of the card interface that you want out of the way (as I understand, “wlan0”). To check the result, you can invoke “ifconfig” again. To revert back, use “up” instead of “down” with the network card interface available that you want to use.

              If you want to just connect to internet with one command line:

              dhclient x

              where “x” is still the name of the network card interface (found with the “ifconfig” command line). And just:

              sudo dhclient

              (or “su”, then “dhclient”) without argument works too. It will use the available network interface.

              I just tested it all in a VM where I started antiX 23.1 runit full.

              #182494
              PDP-8
              Member

                Marcelocripes video was a good one and I caught something I never thought much about before: (I’ve switched to Ceni myself since I don’t connect to anything but ethernet or my own wifi router)…

                Total conjecture: I wonder if anyone using Ceni having these line-dropping issues might consider to change from the default of “hot plug” to “auto” (which is for stay-in-place internal devices..)

                In other words, on my machines, unless I’m using a usb wifi-dongle, I’ve changed the defaults when I first set up to “auto”, not hot-plug.

                I’m not having the issue, and again, this is total conjecture. It did work in my situation, so I’ll probably just leave it like that.

                • This reply was modified 1 year, 1 month ago by PDP-8.
                #182510
                roland
                Member

                  Many thanks to all contributors, there’s quite a bit to think about in your responses, I’ll go through them one by one.

                  #183519
                  PDP-8
                  Member

                    I ran across this before as I move sticks around to different desktop machines with Ceni.

                    Ceni has an option you can chose to make it forget the current configuration. And then you can instruct it to reconfigure. So no manual deleting of files.

                    In fact, for my wifi-only desktop machines, I tell it to simply remove the configuration for ethernet, so it doesn’t sit there for a long timeout when I reboot.

                    But yes, Ceni is mind-numbingly slow when first configuring wifi as it steps through the channels of a dual-band wifi card! 🙂 So for laptops, I use Connman. But maybe this will help.

                    • This reply was modified 1 year, 1 month ago by PDP-8.
                    #183786
                    roland
                    Member

                      Thanks for all these suggestions, but they did not take me forwards. I would revert to Wicd if it were available but is is no longer in the software install lists. Anyone know how I can install it? It was withdrawn I hear due to large memory requirement, but with 64g I have no problen there.

                      #183819
                      rokytnji
                      Forum Admin

                        Try

                        apt search network-manager

                        Sometimes I drive a crooked road to get my mind straight.
                        I don't suffer from insanity. I enjoy every minute of it.
                        Motorcycle racing is rocket science.

                        Linux Registered User # 475019
                        How to Search for AntiX solutions to your problems

                        #185207
                        roland
                        Member

                          I am pleased to report this problem resolved, along with my previous reports of persistent wifi line dropping by Connman.

                          I spent some time on the www following the sound suggestions by Rokytnji about helping onesself to find solutions, and came across a warning to avoid having multiple network managers installed, which was my case. I uninstalled everything network related except Connman and Ceni, which for some reason is harmless in this context being merely a collection of scripts I think, ran a cold reboot, and have not lost my line since then. I will be monitoring progress but so far the author of this warning has an additional admirer. Thanks and best wishes!

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