RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    [SOLVED][Feature Request]Wifi Key import via /boot/wifikeyfile.txt

    Scheduled Pinned Locked Moved Ideas and Development
    wifi configwifiimprovementskey import
    26 Posts 9 Posters 48.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jseibert81 @herb_fargus
      last edited by

      @herb_fargus Thank you! I guess mine is not WPA, I will have to get a keyboard. Awesome forum.

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @jseibert81
        last edited by

        @jseibert81 if you are using wep i would strongly recommend you switch to WPA if you have control over your router . Wep can be cracked in a heartbeat.

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • M
          MEPoss
          last edited by

          I tried to connect my Retropie to my Wi-Fi copying a wifikeyfile.txt in the boot folder using:

          ssid="My Wifi"
          psk="My Psw"

          but it does not work. Any suggestion?

          B 1 Reply Last reply Reply Quote 0
          • B
            backstander @MEPoss
            last edited by

            @MEPoss
            We'll need more information to help.
            Make sure you're using WPA (not WEP) and that your network is not use a Hidden SSID (I'm not sure if that's supported) and make sure that your quotes are exactly " and not “ or ”.
            Also I would suggest that you power cycle your wireless router (especially if it has been up for months/years). Which means to unplug the power, count to 10 (wait 10 seconds), then plug it back in and wait for it to boot then try to connect to it again.

            1 Reply Last reply Reply Quote 0
            • 4
              4nndee
              last edited by

              Sorry for bringing this up again, but I might have found another issue regarding special characters. My WPA2 passphrase contains a "|" which is (according to the standard) an allowed character. Importing the file gave me an error. I checked wpa_supplicant.conf and noticed that the SSID was imported correctly but the passphrase not. The passphrase was only imported up to the character before the "|". I entered it manually with a keyboard and then it worked.

              I would also recommend to implement an automatically deletion of the wifikeyfile.txt after a successful import.

              1 Reply Last reply Reply Quote 0
              • cyperghostC
                cyperghost
                last edited by

                Instead oft using standard Charakters you can try to hash the key. So the key will be transformed to a HEX string that contains only Charakters from 0 to 9 and A to F

                Im still on vacation ;D

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.