9 Replies Latest reply on Oct 17, 2016 1:52 PM by Intel Corporation

    Delete a wifi connection in intel edison

    chaos39

      HI Guys, I would like to know How do I forget/delete a wifi connection in intel edison, I have tried the method that was provided by another forum  Re: How to forget a Wifi network?  However I am struck on the first part where entering the command root@edison:/# cd etc/wpa_supplicant/. I got an error on -sh: /#: No such file or directory, I am using putty to run my intel edison board, i was hoping to not use vi editor and use method that involves with putty . Hope that I could get a reply as soon as possible

      Thanks !!

        • 1. Re: Delete a wifi connection in intel edison
          if

          When you log on your edison as root, you will fall into the /root directory. So to change into etc you must type:

          root@edison:/root# cd /etc/wpa_supplicant/

          Beware the  / before etc. It shows the path reference does not start from your /root directory, but from the / (main root) directory.

          Then

          root@edison:/etc/wpa_supplicant# vi wpa_supplicant.conf

          vi is not so scary at all.

          Go to the first line of the network={ of the connection to be deleted, then keep pressing dd (two times d) as long as the closing } is deleted.

          To save it:

          ESC

          : (you'll get down the command line)

          wq and enter.

          I hope it helps,

          Istvan

          • 2. Re: Delete a wifi connection in intel edison
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hi Chaos39,

            Just like Istvan said, you entered the wrong path. You have to use the path: root@edison:~# cd /etc/wpa_supplicant/

            In the /etc/wpa_supplicant/ directory you can edit the wpa_supplicant.conf file using the VI editor and follow the steps that Istvan gave you, or you can use the command cat << EOF > /etc/wpa_supplicant/wpa_supplicant.conf and write the following lines:

            ctrl_interface=/var/run/wpa_supplicant
            ctrl_interface_group=0
            config_methods=virtual_push_button virtual_display push_button keypad
            update_config=1
            fast_reauth=1
            device_name=Edison
            manufacturer=Intel
            model_name=Edison
            EOF


            It will delete all the networks available that you have been connected.

            I hope you find this information useful. And thanks Istvan for your help.

            Regards,
            -Leonardo

             

            • 3. Re: Delete a wifi connection in intel edison
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hi Chaos39,

              Was the information useful? Did you successfully delete a Wi-Fi network?

              Don't doubt to ask us if you still need help.

              Regards,
              -Leonardo

              • 4. Re: Delete a wifi connection in intel edison
                chaos39

                Hi Leonardo, sorry for the late reply, I only manage to get to use the intel edison with the wifi like today and right now i Have this error not sure the error was caused by the example provided

                 

                Link encap:Ethernet  HWaddr 00:ae:fa:03:fc:9e

                          UP BROADCAST MULTICAST  MTU:1500  Metric:1

                          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

                          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0

                          collisions:0 txqueuelen:1000

                          RX bytes:0 (0.0 B)  TX bytes:7504 (7.3 KiB)

                • 5. Re: Delete a wifi connection in intel edison
                  Intel Corporation
                  This message was posted on behalf of Intel Corporation

                  Hi Chaos39,

                  Can you explain me the error that you are getting? The message that you showed me is normal, when I deleted the network and I ran the command ifconfig I got a similar information.

                  I will be waiting for your reply to help you more.

                  Regards,
                  -Leonardo

                  • 6. Re: Delete a wifi connection in intel edison
                    chaos39

                    Hi leonardo, so sorry for the late reply,

                     

                     

                    I get that error right after I tried using that example provided above. After following the steps, I cannot connect to any wifi connection, it will always Timeout while trying to connect to the wifi connection, so I eject the Intel Edison and connect it back to my computer and now my Intel edison cannot scan for internet connection, when the Intel Edison is booted, there is an error on wpa supplicant

                    • 7. Re: Delete a wifi connection in intel edison
                      Intel Corporation
                      This message was posted on behalf of Intel Corporation

                      Hi Chaos39,

                      That's weird, in my case it works without problems. If you are having issues with the wpa supplicant, try to follow the next steps:

                      Before you edit the wpa_supplicant.conf file, run the command ifconfig wlan0 down.

                      Then follow the steps that I gave you above to delete the networks.

                      After you delete the networks run the following commands:

                      systemctl restart wpa_supplicant.service
                      ifconfig wlan0 up


                      Let me know if it works.

                      Have a nice day.

                      Regards,
                      -Leonardo

                      • 8. Re: Delete a wifi connection in intel edison
                        chaos39

                        Hello Leonardo, it seems that It works !!

                        thanks for your help !!

                        • 9. Re: Delete a wifi connection in intel edison
                          Intel Corporation
                          This message was posted on behalf of Intel Corporation

                          Hi Chaos39,

                          That's awesome, it is good to know that it worked.

                          Remember that we are here to help, just contact us.

                          Regards, 
                          -Leonardo