WIFI unavailable with antiX 19 Connman

Forum Forums General Software WIFI unavailable with antiX 19 Connman

  • This topic has 6 replies, 3 voices, and was last updated Nov 23-2:37 pm by BitJam.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #29589
    Member
    azrielle

      As per anticapitalista’s suggestion, am posting this as a new thread; looking for some obscure hack for Connman.

      The house I am living in has a very good wifi box hooked up to Hughes satellite dish. It is set up with a SSID name, and NO ENCRYPTION, because the house is 15 miles from the nearest town, and therefore is not needed (is the explanation from the owner, from whom I rent a bedroom). AntiX 19’s Connman is absolutely worthless in my situation. MX19’s Network Manager connects immediately. AntiX 18.4.1’s ceni functions without a passphrase as well. But Connman does not.

      I tried to get Connman to connect with its graphical user interface. It wants my wifi’s SSID, which is “DarkCloud2”. So I entered it, which brought up a window asking for the passphrase, WHICH IT DOES NOT HAVE, because it is completely open and unencrypted. Connman will not proceed from there. I have tried typing in “<none>”. Didn’t work. Online instructions for Connman are singularly unhelpful at best, and are, apparently, nonexistent in antiX 19. Previous versions of antiX didn’t have any for Ceni either, but I was able to muddle through it, with the help of one of DolphinOracle’s videos. Not so with Connman.

      I duckduckgo’d “linux connman network manager”, couldn’t find any relevant links for my problem, other than to type in “connmanctl enable wifi” into the terminal. Which I did. eventually typed in “connmanctl help” or “help connmanctl”, don’t remember which. It LOOKED helpful, but nothing I tried would let me get past SSID without a pesky passphrase. Even tried typing in the wifi’s BSSID “00:80:ae:72:7d:e2”. Posting inxi information would seem to me to be unhelpful, as my netbooks’ internal systems are not the problem.

      Anticapitalista’s suggestion to add ceni back in is not useful for the live version, let alone a full install, as wired Ethenet is at present unavailable to me (in order to download ceni–-as I said, it’s not my wifi box, and physical access to it is unavailable). Only–and rather unpalatible–solution I can think of, is attempting to remake a core iso into a base or full iso, something I do not know how to do–DolphinOracle’s videos on the subject, dating back to 2014 and antiX 13, seem a bit outdated as to what packages to add back in, if nothing else!

      Is there any possibility of fielding a special base version with ceni instead of connman? Because, at the moment, if I want to use antiX19, given my present skill set, I’m dead in the water.

      inxi from Live MX19’s “quick system info”:

      System:    Host: mx1 Kernel: 4.19.0-6-686-pae i686 bits: 32 compiler: gcc v: 8.3.0 
                 parameters: quiet splasht 
                 Desktop: Xfce 4.14.1 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
                 Distro: MX-19_386 patito feo October 21  2019 base: Debian GNU/Linux 10 (buster) 
      Machine:   Type: Laptop System: Acer product: AOD257 v: V1.03 serial: <filter> 
                 Mobo: Acer model: JE06_PT serial: <filter> BIOS: INSYDE v: 1.03 date: 04/20/2011 
      Battery:   ID-1: BAT1 charge: 42.8 Wh condition: 42.8/48.8 Wh (88%) volts: 12.5/11.1 
                 model: SANYO AL10A31 type: Li-ion serial: <filter> status: Full 
                 Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M315/M235 serial: <filter> 
                 charge: 55% (should be ignored) rechargeable: yes status: Discharging 
      CPU:       Topology: Dual Core model: Intel Atom N570 bits: 64 type: MT MCP arch: Bonnell 
                 family: 6 model-id: 1C (28) stepping: A (10) microcode: 107 L2 cache: 512 KiB 
                 flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 13302 
                 Speed: 1397 MHz min/max: 1000/1666 MHz Core speeds (MHz): 1: 1433 2: 1132 3: 998 
                 4: 998 
                 Vulnerabilities: Type: l1tf status: Not affected 
                 Type: mds status: Not affected 
                 Type: meltdown status: Not affected 
                 Type: spec_store_bypass status: Not affected 
                 Type: spectre_v1 status: Not affected 
                 Type: spectre_v2 status: Not affected 
      Graphics:  Device-1: Intel Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics 
                 vendor: Acer Incorporated ALI driver: i915 v: kernel bus ID: 00:02.0 
                 chip ID: 8086:a011 
                 Display: x11 server: X.Org 1.20.4 driver: intel unloaded: fbdev,modesetting,vesa 
                 resolution: 1024x600~60Hz 
                 OpenGL: renderer: Mesa DRI Intel Pineview M x86/MMX/SSE2 v: 1.4 Mesa 18.3.6 
                 direct render: Yes 
      Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Acer Incorporated ALI 
                 driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:27d8 
                 Sound Server: ALSA v: k4.19.0-6-686-pae 
      Network:   Device-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet 
                 vendor: Acer Incorporated ALI RTL810xE driver: r8169 v: kernel port: 3000 
                 bus ID: 01:00.0 chip ID: 10ec:8136 
                 IF: eth0 state: down mac: <filter> 
                 Device-2: Qualcomm Atheros AR9285 Wireless Network Adapter vendor: Foxconn 
                 driver: ath9k v: kernel port: 3000 bus ID: 02:00.0 chip ID: 168c:002b 
                 IF: wlan0 state: up mac: <filter> 
      Drives:    Local Storage: total: 238.77 GiB used: 28.4 MiB (0.0%) 
                 ID-1: /dev/sda vendor: A-Data model: SU800 size: 119.24 GiB block size: 
                 physical: 4096 B logical: 512 B speed: 3.0 Gb/s serial: <filter> rev: 1C scheme: MBR 
                 ID-2: /dev/sdb type: USB vendor: Samsung model: Flash Drive size: 119.53 GiB 
                 block size: physical: 512 B logical: 512 B serial: <filter> rev: 1100 scheme: MBR 
      Partition: ID-1: / raw size: N/A size: 1.48 GiB used: 28.4 MiB (1.9%) fs: overlay 
                 source: ERR-102 
                 ID-2: swap-1 size: 2.08 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60) 
                 cache pressure: 100 (default) dev: /dev/sda4 
      Sensors:   System Temperatures: cpu: 46.0 C mobo: N/A 
                 Fan Speeds (RPM): N/A 
      Repos:     No active apt repos in: /etc/apt/sources.list 
                 Active apt repos in: /etc/apt/sources.list.d/antix.list 
                 1: deb http://iso.mxrepo.com/antix/buster buster main
                 Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
                 1: deb http://deb.debian.org/debian buster-updates main contrib non-free
                 Active apt repos in: /etc/apt/sources.list.d/debian.list 
                 1: deb http://deb.debian.org/debian buster main contrib non-free
                 2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
                 Active apt repos in: /etc/apt/sources.list.d/mx.list 
                 1: deb http://mxrepo.com/mx/repo/ buster main non-free
                 No active apt repos in: /etc/apt/sources.list.d/various.list 
      Info:      Processes: 199 Uptime: 10m Memory: 1.89 GiB used: 427.6 MiB (22.0%) Init: SysVinit 
                 v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: bash v: 5.0.3 
                 running in: quick-system-in inxi: 3.0.36 
      • This topic was modified 3 years, 5 months ago by azrielle.
      • This topic was modified 3 years, 5 months ago by azrielle. Reason: To add inxi data
      • This topic was modified 3 years, 5 months ago by anticapitalista. Reason: added correct code tags
      Lenovo T430 i5/3220M 8GB 14.1" MX17.1/AntiX 17.1 Fluxbox/Win7SP1 180GB SSD+128GB mSATA
      Lenovo X230 i7/3520M 12GB 12.5" MX17.1/Win7SP1 500GB SSD
      Lenovo X131e i3/3227u 8GB 11.6" MX17.1/AntiX 17.1 Fluxbox/Win7SP1 500GB SSD
      #29676
      Forum Admin
      BitJam
        Helpful
        Up
        0
        ::

        I see how this could be a very frustrating situation for you. I think an easy solution might exist. On antiX-19 full I needed to install 4 .deb packages in order to get Ceni to work. If you are using live-usbs made with our live-usb-maker then you could download these deb files on MX or an earlier version of antiX, copy them over to the antiX-19 live-usb and then install them. If you first enable root persistence then they will stay installed across reboots.

        It’s possible the stock .debs won’t quite work and there will need to be some adjustments to this recipe. I imagine antica can fill us in on that. But the basic idea remains. The four packages I needed were:

        ceni_2.33-2_all.deb
        libexpect-perl_1.21-1_all.deb
        libio-pty-perl_1.08-1.1+b5_amd64.deb
        libio-stty-perl_0.03-2_all.deb

        I could upload a tarball with all four packages in it to make the download even easier for you.

        I’m sorry antiX-19 didn’t work for you right OOTB. If we had known connman had such a limitation then we would have probably included ceni as a backup.

        BTW: you can disable the connman service from starting by adding “c” to the disable= argument in the live bootloader. I think this was added during beta testing in order to let ceni work when we had both connman and ceni installed by default.

        Context is worth 80 IQ points -- Alan Kay

        #29677
        Moderator
        caprea
          Helpful
          Up
          0
          ::

          I agree the GUI of connman is not really nice to use and I’m surprised that there are no more requests from users how to deal with it.

          Maybe you are able to establish an internet connection via the terminal. This would also make it easier to download ceni eventually.

          Would try the following
          In terminal

          connmanctl scan wifi
          You might have to wait little till it’s finished
          Then

          connmanctl services

          This will list the available access points, probably only one in your case, something like :

          HUAWEI-B525-7F4A     wifi_00242c7f0864_4855415745492d423532352d37463441_managed_none
          

          If there is more than one access point, yours is the one with manged_none.
          connmanctl

          will get you to the prompt

          Then please type in terminal after connmanctl> connect and everything from the above information about your access point beginning with wifi. Like

           connmanctl>  connect wifi_00242c7f0864_4855415745492d423532352d37463441_managed_none
          

          If everything goes as planned, you should be connected now.

          • This reply was modified 3 years, 5 months ago by caprea.
          #29682
          Forum Admin
          BitJam
            Helpful
            Up
            0
            ::

            If you just use the command “connmantcl” then the following instructions should be printed out on the screen before you get the “connmanctl>” prompt:

            Commands for making a wifi connections in connmanctl
            ----------------------------------------------------
                agent on
                enable wifi
                services
                connect wifi_<tab>
                [wait for connection to appear]
                quit
                ifconfig -s
            ----------------------------------------------------

            The “agent on” command may not always be needed but it doesn’t hurt and sometimes is needed to get things to work.

            Context is worth 80 IQ points -- Alan Kay

            #29683
            Moderator
            caprea
              Helpful
              Up
              0
              ::

              Might, if the agent is turned on , you will be asked for the passphrase, which is might contraproductive in this case (open access point).

              #29705
              Forum Admin
              BitJam
                Helpful
                Up
                0
                ::

                On a first live boot nothing works until I first use “agent on”. YMMV

                Context is worth 80 IQ points -- Alan Kay

                #29707
                Forum Admin
                BitJam
                  Helpful
                  Up
                  0
                  ::

                  @azrielle

                  If you have a working antiX-17.x system that used ceni the I’m pretty sure all you have to do is copy over the /etc/network/interfaces file from that machine to your antiX-19 machine. On a core system here I have this stanza in the interfaces file that was added by ceni:

                  allow-hotplug wlan0
                  iface wlan0 inet dhcp
                  	wpa-psk XXXXXXXX
                  	wpa-ssid YYYYYYYYYY

                  where XXXXXXX is my wifi password and YYYYYYYY is the wifi ssid. Since your wifi is not encrypted then I imagine “wpa-ssid” would be replaced with something else, maybe simply “ssid” but the interfaces file on an antiX-17.x system will tell you for sure.

                  PS: You will need to disable connmand by adding “c” to the disable= boot parameter so it becomes:
                  disable=lxFc

                  PS-2: A little searching led me to this stanza for the interfaces file:

                  allow-hotplug wlan0
                  iface wlan0 inet dhcp
                  	wireless-essid XXXXXXX
                  	wireless-mode managed

                  Where XXXXXX is the ssid of your wifi network.

                  • This reply was modified 3 years, 5 months ago by BitJam.
                  • This reply was modified 3 years, 5 months ago by BitJam.

                  Context is worth 80 IQ points -- Alan Kay

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