Skip to content

ls: cannot access '/sys/class/net': No such file or directo #2305

Closed

Description

@Mus90YT

Defect Report

Issue type

  • Defect - Compilation or make check issue - Attach config.log and provide relevant system information such as lscpu - Make sure dependencies are installed
  • Defect - Crash
  • Defect - Incorrect value displayed/received/stored
  • Defect - Unexpected behavior (obvious or confirmed in the forum)

System information

  • OS Name: Kali Linux (running on Termux)
  • OS Version: 2022.1
  • CPU: AArch64 Processor rev 2 (aarch64)
  • Wireless card and chipset (if relevant): (couldn't find)

Aircrack-ng version

  • Version: Lastest
  • Commit Revision hash:

Defect

When I run airmon-ng, it says error.

Details

┌──(root㉿localhost)-[~] └─# airmon-ng
ls: cannot access '/sys/class/net': No such file or directory
PHY Interface Driver Chipset

How to reproduce the issue

airmon-ng

Related issues

Activity

  1. ZeroChaos- commented on Apr 4, 2022

    @ZeroChaos-
    Collaborator

    I've added a check to help users with this issue in the future, but please make sure /sys is actually mounted. A lot of stuff will break if it's not.
    2214d6f

  2. aircrack-ng commented on Apr 4, 2022

    @aircrack-ng
    Owner

    @Mus90YT, for next time you open a bug report:

    • Ensure to follow the template
    • Don't open a new bug when it's the same issue.
    • Fill the version: latest doesn't tell us what it is. Are you using a package from a distro, or latest git? If a distro, give us the package version, and if git, the commit.
    • Regarding the checkbox: remove the ones not used, as indicated in the template.
    • If airmon-ng work, post the name of the card from there, otherwise, either post lspci and lsusb. This can also be found in dmesg.
  3. abidmaria commented on Dec 22, 2022

    @abidmaria

    Hello guys
    I am running kali on termux [ Android] , I have the same issue ,I am not able ALSO to configure my wireless adapter ...
    Do you have any idea ?

    Thanks
    Best regards

  4. ZeroChaos- commented on Jan 3, 2023

    @ZeroChaos-
    Collaborator

    I checked the code and there was in fact one remaining unprotected call to /sys/class/net, which I have now protected. That said, if you don't have /sys/class/net, your system is pretty broken, and I have no idea what won't work. Feel free to report bugs, but they may be closed if there is nothing I can do to get the needed info without /sys/class/net

  5. aircrack-ng commented on Jan 3, 2023

    @aircrack-ng
    Owner
  6. Peco2324 commented on May 8, 2023

    @Peco2324

    this comes out to me
    Uploading Screenshot_20230508_182207_Termux.jpg…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions