回覆 10# Super169
Configuring the Flashair in STA mode for your printer.
For the sake of this tutorial, we will assume my WiFi Network is called “TOMJONES” and the password is “GREENGRASS” (its not, but the extra search traffic from the knicker throwing brigade will help out nicely with our stats). We will also assume that the printer is called the imaginatively named “printer01”
First some warnings
Make a backup of the CONFIG file before you do anything, copy it to your computer so its nice and safe. The config file is in a hidden directory and has the path /SD_WLAN/CONFIG .
You MUST use an editor that uses “UNIX” line ends (the card runs Linux), if you don't then none of your changes will be loaded. Notepad is out, Notepad++ configured in UNIX line-end mode is OK, virtually any Linux command-line editor (Emacs, vim, vi, nano etc) is OK. As is most MAC OS X editors
The file you will be editing will be inside a hidden directory, so if you are not using a command line, you have to configure your OS file explorer to show hidden files.
The sdcard is formatted as fat32, so there are no file permissions to worry about, but for heavens sake, don't try to format it as something else.
Don't use "unusual" characters in the network-name, password and card name, the configuration file parser is pretty primitive, and would get hung up on things like commas etc/
Assuming that you have all the above sorted out, pop the Flashair into an sdcard reader on your laptop or desktop, and look for a hidden directory called SD_WLAN.
On Linux or a Mac I would open a terminal and type
$ vi /[path tpo sdcard]/SD_WLAN/CONFIG
On windows use your favorite text-editor that can handle Unix line-ends as per item 2 above.
The file contents should look something like this:
[Vendor]
UPLOAD=1
UPDIR=/
CIPATH=/DCIM/100__TSB/FA000001.JPG
APPMODE=5
APPSSID=TOMJONES
APPNETWORKKEY=GREENGRASS
APPAUTOTIME=0
APPNAME=printer01
VERSION=F19BAW3AW2.00.03
CID=02544d535730384708ccc4a67800e501
PRODUCT=FlashAir
VENDOR=TOSHIBA
MASTERCODE=e4121d4499e2
LOCK=1
APPINFO=0000000000000000
Note: that there will already be entries in your copy of the file for VERSION, CID, PRODUCT, VENDOR, MASTERCODE, LOCK and APPINFO so don't change those entries from what you have, they are unique to your setup.
If you edit the file multiple times you may find that the APPNETWORKKEY= pasword has been replaced with a bunch of asterisks ie. “**********”, you should put the password back in before saving it again.
Once you have edited the file, write it back to the sdcard, don't forget to dismount or eject the card correctly. Then put the flash-air card into your printer and power it up. |