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

    [Feature request] WiFi key import via /boot/wifikeyfile.txt

    Scheduled Pinned Locked Moved Ideas and Development
    wifibootkeyboard
    2 Posts 1 Posters 5.0k 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.
    • cyperghostC
      cyperghost
      last edited by cyperghost

      Hello together,
      as posted long time ago here, I asked for a feature to automatically import our WiFi key via a file that is writeable via Windows file system. Windows lacks file support for extx-partition (usually used by Unix system). So the only partition we see if we insert a SDHC card in Windows mashines is the \boot\ - Partition which is a FAT32 system.

      So adafruit saw the same problem as and developed a nice system >> OCCIDENTALIS
      It was stripped down to such a small "Add-On" like raspi-config, as the devlopment of Raspian made huge steps.

      So here we go >> OCCIDENTALIS
      And here is OCCI (the tool) as GIT itself I installed it and it works on a DietPi installation!

      And, as a bonus, a handy tool we wrote called occi - which will let you change the hostname and wifi details by plugging the SD card into any computer and editing the /boot/occidentalis.txt file (see below).

      Looking for code? Occidentalis is maintained as its own GitHub repository.
      Occidentalis comes with a configuration helper script called occi, which may be used to set various system options from a text file on your SD card.
      The bootstrapping process will help you create the file by prompting for your desired hostname and wifi credentials, but it can also be created as occidentalis.txt on the card at any time. When the Pi is running, edit /boot/occidentalis.txt.

      Example file /boot/occidentalis.txt:

      # hostname for your Raspberry Pi:
      hostname=mypiname
      
      # basic wireless networking options:
      wifi_ssid=your network here
      wifi_password=your password or passphrase here
      

      I think it's a real usefull feature. But it needed to be installed as default tool and should be accessed by RetroPie Menu. It's a real pain (esp. with the Pi zero) to get WiFi connection :)

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

        Seems to be solved by myself... Can someone please verify?

        https://retropie.org.uk/forum/topic/4691/solved-feature-request-wifi-key-import-via-boot-wifikeyfile-txt

        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.