mdsh.com/wiki


RecentChanges

TextFormattingRules
AllWikiTopics
OrphanedWikiTopics
ToDoWikiTopics
WikiLockList
RSS
Export2HTML

WikiSearch

SetUsername

StartingPoints
Home

Back to DreamPlug.

Diff DreamPlug

Line 15:
 Once the FTDI drivers are loaded I can connect to the JTAG using screen:  Once the FTDI drivers are loaded I can connect to the JTAG using screen:
      
-{{{screen /dev/tty.usbserial-FTT0GSKVB 115200}}} +{{{__screen /dev/tty.usbserial-FTT0GSKVB 115200__}}}
Line 27:
 The LEDs are named; 'red' is the WiFi led and 'green' is the WiFi-AP led.  The LEDs are named; 'red' is the WiFi led and 'green' is the WiFi-AP led.
 So, turn on and off the WiFi led:  So, turn on and off the WiFi led:
-[<java>]echo 1 > `eval ls /sys/class/leds/guruplug\:red\:wmode/brightness` +{{{__echo 1 > `eval ls /sys/class/leds/guruplug\:red\:wmode/brightness`
-echo 0 > `eval ls /sys/class/leds/guruplug\:red\:wmode/brightness`[</java>] +echo 0 > `eval ls /sys/class/leds/guruplug\:red\:wmode/brightness`__}}}
Line 31:
 and turn on and off the WiFi-AP LED  and turn on and off the WiFi-AP LED
-[<java>]echo 1 > `eval ls /sys/class/leds/guruplug\:green\:wmode/brightness` +{{{__echo 1 > `eval ls /sys/class/leds/guruplug\:green\:wmode/brightness`
-echo 0 > `eval ls /sys/class/leds/guruplug\:green\:wmode/brightness`[</java>] +echo 0 > `eval ls /sys/class/leds/guruplug\:green\:wmode/brightness`__}}}
Line 34:
      
 Enable the flashing BlueToothLED  Enable the flashing BlueToothLED
-{{{blinkled}}} +{{{__blinkled__}}}
Line 37:
 Disable the flashing BlueToothLED  Disable the flashing BlueToothLED
-{{{blinkbtled 0xf1010148 w 0x000}}} +{{{__blinkbtled 0xf1010148 w 0x000__}}}
Line 52:
 You can change the IP address range of the DHCP server, by altering the IP address of uap0 in /root/init_setup.sh  You can change the IP address range of the DHCP server, by altering the IP address of uap0 in /root/init_setup.sh
      
-{{{ifconfig uap0 xxx.yyy.zzz.1/24 up}}} +{{{__ifconfig uap0 xxx.yyy.zzz.1/24 up__}}}
Line 56:
 and also editing /etc/udhcpd.conf  and also editing /etc/udhcpd.conf
      
-{{{start xxx.yyy.zzz.100 +{{{__start xxx.yyy.zzz.100
Line 66:
 max_leases 101  max_leases 101
 lease_file /var/lib/udhcpd.leases  lease_file /var/lib/udhcpd.leases
-auto_time 5}}} +auto_time 5__}}}
Line 70:
 A word of warning. udhcpd is a bit dumb, even though you've altered the config files it will still happily hand you out old leases for the old IP address ranges, so if you do alter the address ranges then remove /var/lib/udhcpd.leases before you restart:  A word of warning. udhcpd is a bit dumb, even though you've altered the config files it will still happily hand you out old leases for the old IP address ranges, so if you do alter the address ranges then remove /var/lib/udhcpd.leases before you restart:
      
-{{{/etc/init.d/udhcpd stop +{{{__/etc/init.d/udhcpd stop
-/etc/init.d/udhcpd start}}} +/etc/init.d/udhcpd start__}}}
Line 80:
      
 Then, to get the link up, you run this to get the socket forwarding from the DreamPlug to Azlink on the Android.  Then, to get the link up, you run this to get the socket forwarding from the DreamPlug to Azlink on the Android.
-{{{adb forward tcp:41927 tcp:41927}}} +{{{__adb forward tcp:41927 tcp:41927__}}}
Line 96:
      
 Create:  Create:
-{{{/etc/udev/rules.d/ZTE.rules}}} +{{{__/etc/udev/rules.d/ZTE.rules__}}}
Line 99:
 with this contents:  with this contents:
-{{{SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="2000", RUN+="/usr/bin/eject %k", OPTIONS+="last_rule"}}} +{{{__SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="2000", RUN+="/usr/bin/eject %k", OPTIONS+="last_rule"__}}}
Line 104:
 We can test the device now with chat:  We can test the device now with chat:
      
-{{{chat -s -v '' ATZ OK AT+CSQ OK >/dev/ttyUSB2 </dev/ttyUSB1}}} +{{{__chat -s -v '' ATZ OK AT+CSQ OK >/dev/ttyUSB2 </dev/ttyUSB1__}}}
Line 112:
      
 /etc/ppp/peers/3g  /etc/ppp/peers/3g
-{{{lock +{{{__lock
Line 124:
 mtu 1492  mtu 1492
 ipparam 3g  ipparam 3g
-usepeerdns}}} +usepeerdns__}}}
Line 128:
      
 /etc/ppp/peers/3g.chat  /etc/ppp/peers/3g.chat
-{{{ABORT BUSY ABORT 'NO CARRIER' +{{{__ABORT BUSY ABORT 'NO CARRIER'
Line 136:
 OK AT+CGDCONT=1,"ip","giffgaff.com"  OK AT+CGDCONT=1,"ip","giffgaff.com"
 OK-AT-OK ATDT*99***1#  OK-AT-OK ATDT*99***1#
-CONNECT \d\c}}} +CONNECT \d\c__}}}
      
 {{{pon 3g}}}  {{{pon 3g}}}


VeryQuickWiki Version 2.8.1 | Admin

All contents copyright mdsh.com (C) 2011-2023.