Editors Choice

3/recent/post-list

Scan Wi-Fi with termux

Scan wifi with termux

scan wifi with termux, mr Idealhat


Hey there, welcome in Mr Idealhat, Hope you all are well and doing well. 

Hope you all have subscribed Mr Idealhat for latest or tech based videos.

If you don't have subscribed Mr Idealhat YouTube channel, then visit YouTube and search for Mr Idealhat and make sure you watch any video. 

If you liked any video then make sure you have subscribed Mr Idealhat YouTube channel.



Point :

Ok, here we are to know that how can we scan wifi with the help of termux. 

If you wanna know that how can you scan wifi with te help of android or with he help of termux. 

Ok, if you don't know that what is termux. 

Don't worry you are at right place. Must visit this article or watch this video for more detailed info in Hindi


Must watch this video to know that what termux is?




How to install termux in android?



Ok, hope you all are go through with that I have let you know guys.
Let's know that how can we scan wifi with our android or termux.

Requirements:

Here are some requirements which are required before scanning wifi with termux.

Termux:

Make sure you must have termux application, if you don't know what is termux and how to install it. Just watch video below.



Note:

Termux have some commands which are mostly likely Unix distributions because termux is based on Unix.

I have created a playlist on YouTube, just access and watch full playlist and master termux.

Termux-api:

Here is one of the most important thing which is required for scanning wifi with the help of termux which is Unix based application. 



What is termux-api?

Termux-api is an API(Application Programming Interface) of termux application. Which help us to do lots of work in just few commands. 

Some of termux-api's are removed by termux and Play Store because they can harm privacy of any individual, which is illegal we all know.



How to install termux-api?




Termux-api is a supportive application of termux, which increases the power of termux application.

Let's know how can we install termux-api in android.

Visit Play Store, tap on search box and just type termux-api and hit enter to search the application.

You see lots of different - different termux supportive application. Find termux-api and tap on install button.

Congratulations, you have installed termux-api in your android.

Now, Open your termux application which you have installed.




Here are some commands, so use these commands carefully in termux.

apt update && apt upgrade -y

This command will update and upgrade all packages in termux.

apt install termux-api

This will install a package version of termux-api in termux.

Ok, let's see next important commands now



Commands:

1. Turn [on/off] wifi

termux-wifi-enable
  • This command is used to enable wifi using command line. You can also automate this task with the help of shell scripting.
Read this article or watch this video to more about shell scripting.

Above this let's move forward 🙂



Well, this is not the full command "-"

This is the full command, carefully

termux-wifi-enable [true/false]

Here is the command with two options
true
and
false

Both are used to access the wifi with the help of termux in android hands free without taping on them. 

As you told you guys that you can automate this task with the help of shell scripting.



Let's see how can we use both commands as per our requirements

° Turn on wifi

termux-wifi-enable true

This is our first command and we will know that how this command works.
  • When we use this command termux-wifi-enable true as an input in android or termux which is pretty much like a Linux environment.
  • This command access the wifi from softwares installed in android.
  • This command preety much do that this command access the wifi and turn it on by calling with it's package name or wifi package name.

In Normal words

This command access the wifi or calls the wifi with the package name and taps on it 

In real, this command don't tap on it. It's just an example.



° Turn off wifi

termux-wifi-enable false
This command will turn of wifi via command Line Interface (CLI). 


2. Scan wifi Nearest to you

With this command you can scan your nearest wifi or you can check if any wifi is available or turned on nearest to you or not.

termux-wifi-scaninfo

This command will help you to know that is there any wifi near you or not. Which is a very useful command for geeks. 

“““
Note: This command need location to find wifi devices or any router or wifi near you.

”””



3. Connection info

If you want to know or if you want to check information of your connected wifi device. Then you must try below 👇 command.

termux-wifi-connectioninfo

This command will help you to collect information about the device which is connected to you with wifi.

You will get:
  • SSID
  • connection status


Hope this blog article helped you to get necessary info about termux and termux-api. There are lots of other commands which will make your life easier.


Must read this article too.


Post a Comment

0 Comments