Hello recently I bought raspberry pi 3 kit, and I hope to make a smart mirror.

Imagine If I make smart mirror successfully, and want to give to my girl friend.

The raspberry pi are assembled, behind the mirror, you can see only usb power port unless you disassemble it.

At this point, How can she set WiFi configuration?

Is it possible to connect the laptop to smart mirror through usb power port, and access to raspberry pi's sd card, and save some configuration?

Of course, I should done raspberry pi use that config file before finish it.

Is it possible? or better idea?

  • 1
    I'm pretty sure you're out of luck on this one. For next time round, a common approach to this problem is to set the Pi up so that it can be switched between network client and access point modes. That should let you access the Pi's configuration files to update them for a new network.
    – goobering
    Oct 27, 2016 at 16:45
  • @goobering I don't start make mirror. haha, just think about wifi problem before into it. I searched several docs about that and I think your comment is one of proper way.
    – ton1
    Oct 28, 2016 at 0:57
  • @goobering Is that possible to when I manufactured mirror the wifi will be access point mode, and end user connect the mirror through certain device and save configuration file, and switch to network client mode?
    – ton1
    Oct 28, 2016 at 1:00
  • @goobering even I use RPi3 as an AP, I should have to connect ethernet cable to router,, right?
    – ton1
    Oct 28, 2016 at 3:52
  • 1
    If you've set the Pi up so that it can act as an access point, and the Pi has a WiFi adapter, you shouldn't need to connect a cable. When it's acting as an AP the Pi will appear to other devices as a new WiFi network. You connect to that, edit the configuration files with the credentials of the WiFi network you want to connect to, then disconnect from the Pi's AP and restart networking with the Pi in client mode, which should connect to the local router and allow internet access. No ethernet cables required.
    – goobering
    Oct 28, 2016 at 8:18

1 Answer 1


You cannot connect to the Pi 3 using the mirco-USB power port. The data lines of that connector are not attached to the Pi - it is just used to provide power. See the official schematics of the Pi3 (pdf), top left.

An alternative would be to used the wired ethernet to connect to the Pi and set the WiFi configuration, depends on how tech-savvy the end user will be. Ultimately it might just boil down to you setting it up to a working condition on-site and/or to provide support after that.

  • You could add a camera behind the smart mirror with motion software to create a user interface allowing the wifi ESSID and password to be entered via semaphore. This might be considered a bit creepy though. Somewhat easier would something that used udev to respond to a keyboard being plugged in.
    – goldilocks
    Oct 27, 2016 at 13:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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