Magically bridge a device to my network via my phone?

I'm building a headless raspberry-pi based device that I'm sending my dad who isn't super tech savvy. The device needs to scan for his network and connect to it somehow once it boots. He won't be able to plug in any keyboard, mouse or display. There is probably a better way to do this, but what about this?

Is there some existing way to have the Pi create an ad-hoc network, which allows my phone to connect to it directly by selecting it as a wireless network, and then somehow get a mobile app on my phone to share his home network's SSID and password?

In other words,

  • Pi creates ad hoc network "MyPi"
  • User switches mobile phone wifi network to "MyPi"
  • With phone connected to Pi, Pi scans for networks and user picks network, enters password via mobile app
  • Pi tries to connect to the home network with the password

  • A better way would be to set up a hotspot on you phone and connect the Pi to the hotspot; then you could edit the network config files via an SSH app on your phone. I have never tested whether or not it is possible, but it should be.

    链接地址: http://www.djcxy.com/p/70130.html

    上一篇: 如何在Express中获得完整的网址?

    下一篇: 通过我的手机将设备神奇地桥接到我的网络?