About antiX-net

Forum Forums New users New Users and General Questions About antiX-net

Tagged: ,

  • This topic has 45 replies, 9 voices, and was last updated May 8-10:40 pm by andfree.
Viewing 15 posts - 16 through 30 (of 46 total)
  • Author
    Posts
  • #9020
    Member
    andfree
      Helpful
      Up
      0
      ::

      Is it hard to get wifi work on antiX-net? Installing ceni is not enough. No wlan interface is shown. Nor does installing wireless-tools seem to help.

      #9058
      Forum Admin
      rokytnji
        Helpful
        Up
        0
        ::

        Is it hard to get wifi work on antiX-net? Installing ceni is not enough. No wlan interface is shown. Nor does installing wireless-tools seem to help.

        Well. Without a

        inxi -Fxxx

        ifconfig -a

        and since I have not tried antix-net. Kinda hard to say, really.

        • This reply was modified 5 years ago by rokytnji.

        Sometimes I drive a crooked road to get my mind straight.
        Not all who Wander are Lost.
        I'm not outa place. I'm from outer space.

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

        #9070
        Member
        andfree
          Helpful
          Up
          0
          ::

          Thanks for the reply. I also installed firmware-iwlwifi and firmware-atheros, but wlan interface is still not shown on ceni.

          $ inxi -Fxxx
          Resuming in non X mode: xrandr not found. For package install advice run: inxi --recommends
          System:    Host: desktop Kernel: 4.9.91-antix.1-486-smp i686 (32 bit gcc: 6.3.0)
                     Desktop: N/A dm: (startx)
                     Distro: antiX-17.1_386-net Heather Heyer 17 March 2018
          Machine:   Device: desktop Mobo: Gigabyte model: 8I915PL-G v: x.x
                     BIOS: Award v: F2 date: 03/30/2006
          CPU:       Single core Intel Pentium 4 (-HT-) cache: 2048 KB
                     flags: (lm nx pae sse sse2 sse3) bmips: 6431
                     clock speeds: min/max: 2800/3200 MHz 1: 3200 MHz 2: 2800 MHz
          Graphics:  Card: NVIDIA GT218 [GeForce 210] bus-ID: 01:00.0 chip-ID: 10de:0a65
                     Display Server: N/A drivers: nouveau (unloaded: modesetting,fbdev,vesa)
                     Resolution: 80x24
          Audio:     Card-1 Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller
                     driver: snd_intel8x0 ports: c000 c400 bus-ID: 00:1e.2 chip-ID: 8086:266e
                     Card-2 NVIDIA High Definition Audio Controller
                     driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:0be3
                     Sound: ALSA v: k4.9.91-antix.1-486-smp
          Network:   Card-1: Marvell 88E8001 Gigabit Ethernet Controller
                     driver: skge v: 1.14 port: 9400 bus-ID: 02:05.0 chip-ID: 11ab:4320
                     IF: eth0 state: up speed: 100 Mbps duplex: full
                     mac: 00:0f:ea:31:19:ba
                     Card-2: Atheros TP-Link TL-WN821N v2 / TL-WN822N v1 802.11n [Atheros AR9170]
                     usb-ID: 001-003 chip-ID: 0cf3:1002
                     IF: null-if-id state: N/A mac: N/A
          Drives:    HDD Total Size: 90.4GB (10.5% used)
                     ID-1: /dev/sda model: Excelstor_Techno size: 82.3GB
                     serial: PFDB30K2B07LJB
                     ID-2: USB /dev/sdf model: USB_FLASH_DRIVE size: 8.0GB
                     serial: 07920E820FE7-0:0
          Partition: ID-1: / size: 73G used: 7.0G (11%) fs: ext4 dev: /dev/sda1
                     ID-2: swap-1 size: 2.15GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
          Sensors:   None detected - is lm-sensors installed and configured?
          Info:      Processes: 124 Uptime: 12 min Memory: 135.5/496.3MB
                     Init: SysVinit v: N/A runlevel: 5 default: 5 Gcc sys: N/A
                     Client: Shell (bash 4.4.121 running in urxvt) inxi: 2.3.5 
          $ ifconfig -a
          bash: ifconfig: command not found

          I found that I can use the “ip” command instead of the “ifconfig” one:

          $ ip a
          1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 <snip>
          2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 <snip>

          So, wlan is not shown again. But the wifi adaptor appears to be connected:

          $ lsusb
          ...
          Bus 001 Device 003: ID 0cf3:1002 Atheros Communications, Inc. TP-Link TL-WN821N v2 / TL-WN822N v1 802.11n [Atheros AR9170]
          ...
          #9073
          Forum Admin
          rokytnji
            Helpful
            Up
            0
            ::

            Atheros chips when using Debian always require firmware to be installed along with the athX drivers as far as I know.
            Yours looks like it should use the ath9 driver. I do not see a athx driver in your inxi readout. Seems like you don’t have it.

            https://wiki.debian.org/ath9k

            Have you followed these instructions yet in stretch. Enable the non free repo in your sources list on your net install.
            apt-get update

            Then when that is done

            sudo apt-get install firmware-atheros

            I know you said you already did this. But just to make sure

            lsusb -t

            dmesg | grep firmware

            lspci -v

            lsmod

            Just some of the commands I use when I am stumped. Look for atheros related entries in terminal and post back. lsmod should have ath9k in it somewhere.

            Lastly. Here is /sbin/ifconfig you can put in your net install. Make sure permissions match mine.

            harry@biker:~
            $ ls -l /sbin/ifconfig
            -rwxr-xr-x 1 root root 79744 Dec 25  2016 /sbin/ifconfig
            
            

            My uploaded ifconfig file is for 64 bit AntiX 17 only. I should have mentioned this.

            • This reply was modified 5 years ago by rokytnji.
            • This reply was modified 5 years ago by rokytnji.
            Attachments:

            Sometimes I drive a crooked road to get my mind straight.
            Not all who Wander are Lost.
            I'm not outa place. I'm from outer space.

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

            #9084
            Member
            andfree
              Helpful
              Up
              0
              ::

              The non-free repo is already enabled in the sources list.

              $ sudo apt-get install firmware-atheros
              ...
              firmware-atheros is already the newest version (20161130-3).

              lsusb -t
              dmesg | grep firmware
              lspci -v
              lsmod

              No atheros related output for the commands above; no ath* at all. But I also tried the same commands on a live antiX-base session. No ath* output too, although wifi works on antiX-base.

              $ ls -l /sbin/ifconfig
              -rwxr-xr-x 1 root root 79744 Dec 26  2016 /sbin/ifconfig

              But:

              $ ifconfig -a
              bash: /sbin/ifconfig: cannot execute binary file: Exec format error
              #9102
              Forum Admin
              rokytnji
                Helpful
                Up
                0
                ::

                I don’t know how to reply from here. Maybe someone else has better advice than mine.

                Sometimes I drive a crooked road to get my mind straight.
                Not all who Wander are Lost.
                I'm not outa place. I'm from outer space.

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

                #9103
                Member
                ohh
                  Helpful
                  Up
                  0
                  ::

                  Try this:

                  $ sudo iwconfig

                  paste the output please

                  cheers,
                  ohh

                  • This reply was modified 5 years ago by ohh. Reason: add info

                  Every matter requires prior knowledge.

                  - Du Mu
                  The Art of War

                  #9105
                  Member
                  andfree
                    Helpful
                    Up
                    0
                    ::
                    $ sudo iwconfig
                    eth0      no wireless extensions.
                    
                    lo        no wireless extensions.
                    #9115
                    Member
                    ohh
                      Helpful
                      Up
                      0
                      ::

                      Ok, please run
                      lsmod and post output

                      cheers,
                      ohh

                      Every matter requires prior knowledge.

                      - Du Mu
                      The Art of War

                      #9134
                      Member
                      andfree
                        Helpful
                        Up
                        0
                        ::
                        $ lsmod
                        Module                  Size  Used by
                        cdc_wdm                 8585  0
                        cdc_acm                16052  0
                        ipv6                  330174  16
                        crc_ccitt               1259  1 ipv6
                        af_packet              29432  2
                        lp                      7551  0
                        dm_crypt               15741  0
                        dm_mod                 82697  1 dm_crypt
                        nouveau              1304121  2
                        mxm_wmi                 1267  1 nouveau
                        wmi                     6248  2 mxm_wmi,nouveau
                        video                  26859  1 nouveau
                        ttm                    65496  1 nouveau
                        drm_kms_helper        101870  1 nouveau
                        drm                   233702  5 nouveau,ttm,drm_kms_helper
                        fb_sys_fops             1098  1 drm_kms_helper
                        syscopyarea             2926  1 drm_kms_helper
                        sysfillrect             3258  1 drm_kms_helper
                        sysimgblt               2159  1 drm_kms_helper
                        nvidiafb               35038  0
                        vgastate                8233  1 nvidiafb
                        iTCO_wdt                5000  0
                        gpio_ich                3831  0
                        iTCO_vendor_support     1645  1 iTCO_wdt
                        i2c_algo_bit            4836  2 nvidiafb,nouveau
                        snd_hda_codec_hdmi     31716  4
                        intel_powerclamp        6373  0
                        lpc_ich                12904  0
                        ppdev                   5798  0
                        fb_ddc                  1325  1 nvidiafb
                        evdev                   9315  4
                        snd_hda_intel          21532  0
                        input_leds              2318  0
                        intel_agp               8617  0
                        snd_hda_codec          79426  2 snd_hda_intel,snd_hda_codec_hdmi
                        snd_hda_core           45235  3 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi
                        snd_hwdep               4724  1 snd_hda_codec
                        serio_raw               3649  0
                        intel_gtt              10510  1 intel_agp
                        snd_intel8x0           23893  0
                        snd_ac97_codec         87208  1 snd_intel8x0
                        ac97_bus                1134  1 snd_ac97_codec
                        snd_pcm                69326  6 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_ac97_codec,snd_hda_codec_hdmi,snd_intel8x0
                        shpchp                 22098  0
                        parport_pc             27105  1
                        snd_timer              16337  1 snd_pcm
                        snd                    45620  8 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_ac97_codec,snd_timer,snd_hda_codec_hdmi,snd_intel8x0,snd_pcm
                        soundcore               4515  1 snd
                        parport                29466  3 lp,parport_pc,ppdev
                        rng_core                4992  0
                        button                  5440  1 nouveau
                        acpi_cpufreq            6754  0
                        tpm_tis                 3658  0
                        tpm_tis_core            6952  1 tpm_tis
                        tpm                    28405  2 tpm_tis,tpm_tis_core
                        uas                    11695  0
                        usb_storage            41547  1 uas
                        psmouse                98342  0
                        i2c_i801               15956  0
                        i2c_smbus               2617  1 i2c_i801
                        rtc_cmos                7526  0
                        floppy                 51359  0
                        fjes                   18430  0
                        skge                   35441  0
                        #9136
                        Member
                        ohh
                          Helpful
                          Up
                          0
                          ::

                          ok, thanks

                          Let’s insert the module:
                          sudo modprobe -i ath9k_htc
                          then run lsmod again to insure the atheros module has been inserted

                          if so then run sudo iwconfig to ascertain if we have ath0 or wlan0, etc. If so then
                          go to ControlCentre and use ceni

                          cheers,
                          ohh

                          Every matter requires prior knowledge.

                          - Du Mu
                          The Art of War

                          #9148
                          Member
                          andfree
                            Helpful
                            Up
                            0
                            ::

                            $ sudo modprobe -i ath9k_htc

                            $ lsmod
                            Module                  Size  Used by
                            ath9k_htc              48872  0
                            ath9k_common           20026  1 ath9k_htc
                            ath9k_hw              411485  2 ath9k_htc,ath9k_common
                            ath                    16254  3 ath9k_htc,ath9k_hw,ath9k_common
                            mac80211              523125  2 ath9k_htc,ath9k_hw
                            cfg80211              419335  4 ath9k_htc,mac80211,ath,ath9k_common
                            rfkill                 12472  1 cfg80211
                            ipv6                  330174  16
                            crc_ccitt               1259  1 ipv6
                            af_packet              29432  2
                            lp                      7551  0
                            dm_crypt               15741  0
                            dm_mod                 82697  1 dm_crypt
                            input_leds              2318  0
                            serio_raw               3649  0
                            gpio_ich                3831  0
                            iTCO_wdt                5000  0
                            evdev                   9315  4
                            iTCO_vendor_support     1645  1 iTCO_wdt
                            intel_powerclamp        6373  0
                            nouveau              1304121  2
                            ppdev                   5798  0
                            cdc_wdm                 8585  0
                            cdc_acm                16052  0
                            snd_hda_codec_hdmi     31716  4
                            mxm_wmi                 1267  1 nouveau
                            intel_gtt              10510  1 intel_agp
                            rng_core                4992  0
                            acpi_cpufreq            6754  0
                            tpm_tis                 3658  0
                            tpm_tis_core            6952  1 tpm_tis
                            tpm                    28405  2 tpm_tis,tpm_tis_core
                            uas                    11695  0
                            usb_storage            41547  1 uas
                            psmouse                98342  0
                            i2c_i801               15956  0
                            i2c_smbus               2617  1 i2c_i801
                            skge                   35441  0
                            rtc_cmos                7526  0
                            floppy                 51359  0
                            fjes                   18430  0
                            $ iwconfig
                            eth0      no wireless extensions.
                            
                            lo        no wireless extensions.

                            No wlan in Ceni, too.

                            #9150
                            Member
                            sleekmason
                              Helpful
                              Up
                              0
                              ::

                              Did you update initramfs after installing the drivers? Not sure you need to but couldn’t hurt to try.

                              update-initramfs -u

                              #9153
                              Moderator
                              caprea
                                Helpful
                                Up
                                0
                                ::

                                Hm,

                                $ ifconfig -a
                                bash: /sbin/ifconfig: cannot execute binary file: Exec format error

                                sounds to me like a 64bit-version of ifconfig on your 32bit system.

                                You can install net-tools for to use ifconfig.

                                To look what you your device-id says, please output of
                                modprobe -c | grep -i "0cf3.*1002"

                                • This reply was modified 5 years ago by caprea.
                                • This reply was modified 5 years ago by caprea.
                                #9156
                                Member
                                andfree
                                  Helpful
                                  Up
                                  0
                                  ::
                                  $ sudo update-initramfs -u
                                  update-initramfs: Generating /boot/initrd.img-4.9.91-antix.1-486-smp
                                  I: The initramfs will attempt to resume from /dev/sda2
                                  I: (UUID=d7a466e5-7aff-487c-b85e-21cb8cc253ed)
                                  I: Set the RESUME variable to override this.

                                  It didn’t solve the problem.

                                  $ sudo apt-get install net-tools

                                  And afterwards:

                                  $ ifconfig -a
                                  eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
                                          <snip>
                                  
                                  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
                                          <slip>

                                  Still no wlan.

                                  $ modprobe -c | grep -i "0cf3.*1002"
                                  alias usb:v0CF3p1002d*dc*dsc*dp*ic*isc*ip*in* carl9170
                                Viewing 15 posts - 16 through 30 (of 46 total)
                                • You must be logged in to reply to this topic.