tag:blogger.com,1999:blog-8032022811235182759.post4104931998223111326..comments2024-03-08T23:37:33.569-08:00Comments on Linux Commando: How to connect to a WPA/WPA2 WiFi network using Linux command linePeter Leunghttp://www.blogger.com/profile/05589860210899238688noreply@blogger.comBlogger67125tag:blogger.com,1999:blog-8032022811235182759.post-59430066873065007522023-12-19T08:48:49.216-08:002023-12-19T08:48:49.216-08:00Yes I agree with all the comments about thank thes...Yes I agree with all the comments about thank these instructions to finally make wpa work. Thanks.jolumafe7https://www.blogger.com/profile/00994780734999716084noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-4448327243993100982023-08-21T23:56:18.934-07:002023-08-21T23:56:18.934-07:00how can we connect wifi with security(password) wi...how can we connect wifi with security(password) with iw command.<br /> a3215https://www.blogger.com/profile/02894095368884178941noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-60303831647836749812023-04-27T02:59:35.923-07:002023-04-27T02:59:35.923-07:00Very helpfull info,Very helpfull info,Anonymoushttps://www.blogger.com/profile/09073529233951844144noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-8664313298322673252022-04-23T23:15:58.673-07:002022-04-23T23:15:58.673-07:00Worked like a charm even after 9 years.
Upgrade b...Worked like a charm even after 9 years.<br /><br />Upgrade broke my system. Had to fix it using a single user boot.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-23534336713888968092022-03-10T22:39:13.699-08:002022-03-10T22:39:13.699-08:00Nice🙂🙂🙂🙂🙂
Nice🙂🙂🙂🙂🙂<br />MD Raju hussainhttps://www.blogger.com/profile/16791170648173401507noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-68467008575106594402021-06-12T13:42:55.106-07:002021-06-12T13:42:55.106-07:00Helped a lot. I accidentally uninstalled networkma...Helped a lot. I accidentally uninstalled networkmanager app from my manjaro desktop. This guide helped me to connect to my wifi and reinstall that app. Otherwise I would have to reinstall the entire OS. Thanks a lot.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-76666713642894073862021-02-20T10:13:25.373-08:002021-02-20T10:13:25.373-08:00running fedora 33 - had to use the nl... driver. I...running fedora 33 - had to use the nl... driver. I also had to disable NetworkManager and wpa_supplicant services - then kill the existing wpa_supplicant processes. then it worked. how do I add the new entry to the existing /etc/wpa_supplicant/wpa_supplicant.conf? GGAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-41153306106877476862020-12-10T08:26:39.082-08:002020-12-10T08:26:39.082-08:00Thank you so much! This was a great help and proba...Thank you so much! This was a great help and probably saved me several days or weeks, especially for giving the exact commands with options.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-85373682834372691442020-12-05T13:37:39.891-08:002020-12-05T13:37:39.891-08:00greate explantation..greate explantation..Fionnhttps://www.blogger.com/profile/01977368924662775008noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-92069494333865106172020-03-24T15:10:50.949-07:002020-03-24T15:10:50.949-07:00A lifesaver post for Linux-noobs! Thank you so muc...A lifesaver post for Linux-noobs! Thank you so much! :)Paresh P.noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-40702850899201164412019-12-16T08:22:47.469-08:002019-12-16T08:22:47.469-08:00I struggled a lot with this one, but these steps +...I struggled a lot with this one, but these steps + comment written by ExpHP = success!<br /><br />Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-58349098672291549312019-09-29T18:34:03.573-07:002019-09-29T18:34:03.573-07:00It worked. I just wondered how one could make it w...It worked. I just wondered how one could make it work during boot time.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-47753567725887467192019-08-12T17:42:34.835-07:002019-08-12T17:42:34.835-07:00Than a lot it worked!Than a lot it worked!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-65054369162039774312019-07-28T14:10:22.640-07:002019-07-28T14:10:22.640-07:00I spent 6h looking for exactly this. Hats off to y...I spent 6h looking for exactly this. Hats off to you sir. I can at last go to sleep.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-15240882627064692732019-07-09T17:41:10.284-07:002019-07-09T17:41:10.284-07:00It was helpful. Thank you!It was helpful. Thank you!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-6770489157083305942019-03-12T11:51:35.553-07:002019-03-12T11:51:35.553-07:00What about EAP TLS enabled wifi network they ask y...What about EAP TLS enabled wifi network they ask you your login and password credentials?Anonymoushttps://www.blogger.com/profile/03030249305755217322noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-50460431820194480952019-02-24T15:53:02.373-08:002019-02-24T15:53:02.373-08:00Thank you for the guide! This was wonderfully simp...Thank you for the guide! This was wonderfully simple and surprisingly educational for me.<br /> Linux user for several years - and only now do I finally understand basics of Linux wifi(at least user side) . My greatful regards to you! Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-69349180409929089582019-01-25T06:17:02.886-08:002019-01-25T06:17:02.886-08:00Saved my day! thanks a lotSaved my day! thanks a lotAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-20073236446316340822018-04-02T14:11:11.851-07:002018-04-02T14:11:11.851-07:00Great job, I tried and it works!!! ThxGreat job, I tried and it works!!! ThxAnonymoushttps://www.blogger.com/profile/07941600016199673138noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-57366391007299553572018-03-01T17:13:18.782-08:002018-03-01T17:13:18.782-08:00I was the whole day trying to make it work. I foll...I was the whole day trying to make it work. I followed your steps and it worked very good. Thank so much my friend!Anonymoushttps://www.blogger.com/profile/16297881975014594881noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-2429788235742964872017-03-18T12:37:22.532-07:002017-03-18T12:37:22.532-07:00Thank you so much Peter and ExpHP. Your post and f...Thank you so much Peter and ExpHP. Your post and follow up comment helped me successfully connect my Raspberry Pi 3 Model B to my WiFi network. Cheers.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-31495021309064183632017-02-28T14:21:34.306-08:002017-02-28T14:21:34.306-08:00Awesome man!... thanks for the step by step guide ...Awesome man!... thanks for the step by step guide and to everyone who added even more details, you guys rock!<br />I managed to connect my raspberry 3 to my wifi on a headless setup.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-22692724626794435092017-02-25T23:14:16.823-08:002017-02-25T23:14:16.823-08:00# wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_s...<i># wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf<br />Successfully initialized wpa_supplicant<br />ioctl[SIOCSIWENCODEEXT]: Invalid argument<br />ioctl[SIOCSIWENCODEEXT]: Invalid argument<br /># iw wlan0 link<br />Not connected.</i><br /><br />I got this too (using Netgear N150 Wireless Adapter WNA1100), and just now finally resolved it after a good hour of muddling about.<br /><br />As another person has mentioned, part of the trick is to <b>make sure you're using the right driver</b>. To find what options are available:<br /><br /><i># wpa_supplicant -h<br />(snip)<br />drivers:<br /> nl80211 = Linux nl80211/cfg80211<br /> wext = Linux wireless extensions (generic)<br /> wired = Wired Ethernet driver<br />(snip)</i><br /><br />The right choice for me is nl80211.<br /><br /><i># wpa_supplicant -B -D nl80211 -i wlan0 -c /etc/wpa_supplicant.conf<br />Successfully initialized wpa_supplicant<br /># iw wlan0 link<br />Not connected.</i><br /><br />...and then this is the next problem I ran into. <i>The errors disappeared, but it still did not connect!</i> So on I went, continuing to try other things, with all of it failing...until it occurred to me.<br /><br /><i># pgrep wpa_supplicant<br />7687<br />7698<br />7703<br />7757<br />7762<br />7806<br />7808<br />7811<br />7815<br />7900<br />7941<br />8107<br />8592<br />8660</i><br /><br /><b><i>Each time you do "wpa_supplicant -B" it leaves a new instance running!</i></b> And they all compete with each other!<br /><br /><i># pkill wpa_supplicant<br /># wpa_supplicant -B -D nl80211 -i wlan0 -c /etc/wpa_supplicant.conf<br />Successfully initialized wpa_supplicant<br /># iw wlan0 link<br />Connected to my:ma:ca:dd:re:ss (on wlan0)</i><br /><br />:DExpHPhttps://www.blogger.com/profile/18273014042812148763noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-86765757939008308122016-12-19T20:18:36.318-08:002016-12-19T20:18:36.318-08:00When I typed the second step of connecting to the ...When I typed the second step of connecting to the WPA2 wifi network it shows Operation Not permitted. What's the fix for this ?Anonymoushttps://www.blogger.com/profile/12481389349448895002noreply@blogger.comtag:blogger.com,1999:blog-8032022811235182759.post-64502434560635907012016-12-11T02:16:51.327-08:002016-12-11T02:16:51.327-08:00so helpful & useful. also, thanks Peter Leung ...so helpful & useful. also, thanks Peter Leung for the scan hidden networks tip.<br /><br />you'd be hard pressed to find anything more basic and informative as this. truly the best help page on command line wifi configuration i've been able to find on the internet anywhere... and i've been to a lot of pages covering this topic. thanks again.Anonymousnoreply@blogger.com