-
Notifications
You must be signed in to change notification settings - Fork 11
Description
This issue was originally filed by @duerig in the Spreads issues: DIYBookScanner/spreads#134
We do a good job of bootstrapping SpreadPi onto a wired network. But not on a wireless one. Adding wireless support means the following packages/configuration (via Jonathan Campbell):
wpasupplicant
firmware-ralink (this installs the firmware for my particular wirless usb device - other wireless will need different)
I then added the following to /etc/network/interfaces with the following for wpa-psk:
auto wlan0
iface wlan0 inet dhcp
wireless-mode managed
wpa-ssid myssid
wpa-psk mykey
But the problem is the ssid/key for a wifi network. Without network access, the user cannot set these parameters. And ideally, we want to allow users to use SpreadPi more or less as an appliance even if they don't have detailed knowledge of Unix.
So, a few possibilities:
(1) Detect when there is no network connection (or when using a wifi adapter rather than a typical ethernet) and notify the user via the camera screen.
(2) Have the user enter this information in a (laborious) way via the camera controls and screen.
(3) Have the user plug in a USB keyboard and use that combined with the camera screen to enter ssid/password.
(4) Parameterize the image in some way such that the user could run a program on their (WIndows or Mac) PC that would modify the .img file to have the appropriate ssid/password.
(5) After creating the image, instruct the users to run a program which modified the card after the image has been written to it to add the config information.
I don't plan to act on any of this immediately. Just brainstorming ideas on how to make this scenario work for those who aren't necessarily comfortable with Linux and just want a Spread appliance.