Advertisement
plirof2

USB wifi adapter

Mar 25th, 2024
764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. This behavior can happen because some USB wifi adapters have a built-in storage functionality that appears as a USB drive when connected to the computer.
  2.  
  3. To switch between wifi and drive mode, you can use the `usb_modeswitch` command. This command is used to switch USB devices like modems, webcams, and wifi adapters between modes.
  4.  
  5. First, you need to install the `usb_modeswitch` package if it's not already installed on your Linux system. You can do this by running the following command:
  6.  
  7. ```
  8. sudo apt-get install usb-modeswitch
  9. ```
  10.  
  11. Once the package is installed, you can use the `usb_modeswitch` command to switch your USB wifi adapter from storage mode to wifi mode. For example, you can use the following command to switch the adapter with the ID `1234:5678` to wifi mode:
  12.  
  13. ```
  14. sudo usb_modeswitch -v 1234 -p 5678
  15. ```
  16.  
  17. After running this command, your USB wifi adapter should switch to wifi mode and be recognized as a wifi card instead of a USB drive.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement