wireless linux scan Access point and connect
// description of your code here
Channels and ESSID can be listed by issuing the command "iwlist scan".
$ iwlist scan $ iwconfig eth1 ESSID <MY_ESSID> mode Managed channel <MY_CHANNEL>
Channels and ESSID can be listed by issuing the command "iwlist scan".