USBOTGNet

From VentureResearchWiki
Jump to navigation Jump to search

mount USB stick[edit | edit source]

mount /dev/sda1 /media
cd /media/

unmount USB stick[edit | edit source]

run this (or power off) before unplugging USB.

cd /
umount /media

update m6e reader script[edit | edit source]

root@vr-e446c2:/media# /media/update-m6e-reader.sh
/home/user/m6efirmware.sim: OK
Checking for M6e...
> rfid model;ACK,M6e
Checking current firmware version...
> rfid info;ACK,01.19.00.0D-20.16.01.04-BL10.11.16.00
M6e already current version. Exiting.
Please wait... installing firmware (40 seconds)
vr-e446c2: Connected as ADMIN, Session 0

wait 40 seconds

> rfidtest fwupgrade m6e ;ACK
> -RFID,1,Done loading firmware
!RFID,13,M6E READER RESET
Wait for module reset...
Verifying firmware version...
> rfid info;ACK,01.19.00.0D-20.16.01.04-BL10.11.16.00
M6e upgrade finished successfully.

setup ethernet through USB OTG port[edit | edit source]

Make sure USB stick is mounted per above. Make sure USB OTG is plugged into the computer, and wait until Windows loads a driver for it. You should see a 'Local Area Connection' device for it. Then run:

root@vr-e446c2:~# /media/start-usb-network.sh
[ 4649.793501] using random self ethernet address
...
[ 4650.543375] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
Done. Now open a browser to http://10.42.0.1/
root@vr-e446c2:~#