<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I just saw this thread so I might be asking/stating something someone else already said but is there not a network manager on kali like nmcli for debian? If there is this is a very simple process.<div class=""><br class=""></div><div class="">// enable wifi</div><div class=""><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 16px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);" class="">       <b class="">nmcli</b> <b class="">radio</b> <b class="">wifi</b> <b class="">on</b></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 16px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);" class=""><br class=""></pre></div><div class="">// list all wifi access points available</div><div class=""><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 16px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);" class="">       <b class="">nmcli</b> <b class="">dev</b> <b class="">wifi</b></pre><div class=""><br class=""></div></div><div class="">// to connect to a network with encription</div><div class=""><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 16px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);" class="">       <b class="">nmcli</b> <b class="">dev</b> <b class="">wifi</b> <b class="">con</b> <b class="">"Cafe</b> <b class="">Hotspot</b> <b class="">1"</b> <b class="">password</b> <b class="">caffeine</b> <b class="">name</b> <b class="">"My</b> <b class="">cafe"</b><span style="font-family: inherit;" class="">              </span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 16px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);" class=""><span style="font-family: inherit;" class=""><br class=""></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 16px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);" class=""><span style="font-family: inherit;" class="">creates a new connection named "My cafe" and then connects it to</span>
</pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; line-height: 16px; font-family: inherit; vertical-align: baseline; color: rgb(51, 51, 51); background-color: rgb(247, 247, 247);" class="">              "Cafe Hotspot 1" SSID using password "caffeine". This is mainly
              useful when connecting to "Cafe Hotspot 1" for the first time.
              Next time, it is better to use 'nmcli con up id "My cafe"' so
              that the existing connection profile can be used and no
              additional is created.
</pre></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">These and more are available at this link</div><div class=""><a href="http://manpages.ubuntu.com/manpages/wily/man1/nmcli.1.html" class="">http://manpages.ubuntu.com/manpages/wily/man1/nmcli.1.html</a> </div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 3, 2016, at 6:22 PM, Joel Roth <<a href="mailto:joelz@pobox.com" class="">joelz@pobox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Kristoffer Gustafsson wrote:<br class=""><blockquote type="cite" class="">Oh, dear. I'll never sucseed with this.<br class="">I've read a guide page, and there was a lot files to edit. I read the<br class="">page and almost got a headache.<br class="">is there any easier way?<br class=""></blockquote><br class="">There are some high-level programs, like wicd-curses.<br class="">Otherwise, I can tell you that it's a problem you'll solve<br class="">once and not have to worry about ever again.<br class=""><br class="">Here's a good tutorial, 8 steps, but if the gumball comes<br class="">out you can be happy! I list the steps below.<br class=""><br class=""><a href="http://www.blackmoreops.com/2014/09/18/connect-to-wifi-network-from-command-line-in-linux/" class="">http://www.blackmoreops.com/2014/09/18/connect-to-wifi-network-from-command-line-in-linux/</a><br class=""><br class="">The page explains more, but this summary comes at the end.<br class="">You should probably become root for this, e.g. sudo su.<br class=""><br class="">1. See what your wireless device is:<br class=""><br class="">root@kali:~# iw dev<br class=""><br class="">2. Assuming it is wlan0, bring up that interface:<br class=""><br class="">root@kali:~# ip link set wlan0 up<br class=""><br class="">3. Look for wireless access point:<br class=""><br class="">root@kali:~# iw wlan0 scan<br class=""><br class="">4. Put the access point and passphrase into the config file:<br class=""><br class="">root@kali:~# wpa_passphrase blackMOREOps >> /etc/wpa_supplicant.conf<br class=""><br class="">5. Connect to the access point:<br class=""><br class="">root@kali:~# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf<br class=""><br class="">6. Check that you are connected:<br class=""><br class="">root@kali:~# iw wlan0 link<br class=""><br class="">7. Ask for an IP address (I added the first command, to kill<br class="">existing dhclient processes).<br class=""><br class="">root@kali:~# dhclient -x<br class="">root@kali:~# dhclient wlan0<br class=""><br class="">8. Check your internet connectivity:<br class=""><br class="">root@kali:~# ping 8.8.8.8<br class=""><br class="">9. That is usually enough, but the article provides a<br class="">command to set a default route. <br class=""><br class="">root@kali:~# ip route add default via 10.0.0.138 dev wlan0<br class=""><br class="">I usually just make sure that ethernet interface is turned off:<br class=""><br class="">root@kali:~# ifconfig eth0 down<br class=""><br class="">Cheers, hope this helps. <br class=""><br class="">-- <br class="">Joel Roth<br class=""><br class=""><br class="">_______________________________________________<br class="">Blinux-list mailing list<br class="">Blinux-list@redhat.com<br class="">https://www.redhat.com/mailman/listinfo/blinux-list<br class=""></div></div></blockquote></div><br class=""></div></body></html>