0

I have pocket wifi which is a portable wifi router.

It has a SSID and Password.

I want my RPi3 B+(ubuntu server 16.04) connect to that pocket wifi automatically after reboot.

Should I make some script that start when RPi boot up ?

please give me some advice !

  • What OS? What Pi model? What is a "pocket wifi"? What is a "static SSID" (is there any other kind)? – Milliways Nov 10 '18 at 9:51
  • 1
    You should include this information in all questions (preferably as tags). Other answers will assume Raspbian, but Ubuntu MATE uses Network Manager (which AFAIK does not use wpa_supplicant - or at least wpa_supplicant.conf). I am unsure about the server. You would be better to ask on a Ubuntu site. – Milliways Nov 11 '18 at 10:21
  • Possible duplicate of Detect connected wifi IP address – Ingo Nov 13 '18 at 10:03
1

Edit the wpa_supplicant.conf file:

network={
    ssid="yourHiddenSSID"
    scan_ssid=1
    psk="Your_wifi_password"
}

See more in the official documentation.

  • 2
    Why do you assume the SSID is hidden? Why do you leave out some essential bits (like the country code)? Why do you assume OP's distro uses wpa_supplicant? – Dirk Nov 10 '18 at 18:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.