Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
boards:mmini [2015/01/02 11:14] darronboards:mmini [2015/03/22 21:55] (current) – external edit 127.0.0.1
Line 4: Line 4:
 </wrap> </wrap>
  
-== Pinout ==+The M-mini is a tiny Linux computer with WiFi running OpenWRT. 
 + 
 +=== Pinout ===
 <code> <code>
-                  1 VCC+                  1 3V3
                   x GND                   x GND
                   x USB+                   x USB+
Line 24: Line 26:
 </code> </code>
  
-== Console ==+=== Console ==
 +There is a low voltage serial console on RX/TX running at 115,200 bits per second.\\ 
 + 
 +A connection was established with a [[:interfaces:cp2102|cp2102]] interface using picocom. 
 <code> <code>
   _______                     ________        __   _______                     ________        __
Line 41: Line 47:
 </code> </code>
  
-==== References ====+=== GPIO ==
 +<code> 
 +root@Easy-link:/# cat /sys/kernel/debug/gpio  
 +GPIOs 0-29, ath79: 
 + gpio-8   (USB power           ) out hi 
 + gpio-11  (reset               ) in  lo 
 + gpio-20  (sd-reset            ) in  lo 
 + gpio-27  (elink:green:system  ) out lo 
 +</code> 
 + 
 +=== WiFi === 
 + 
 +First discover the SID. 
 +<code> 
 +ifconfig wlan0 up 
 +iwlist scan | & grep M-MINI 
 + ESSID:"M-MINI_030DA4" 
 +ifconfig wlan0 down 
 +</code> 
 + 
 +Now we may create a connection profile. 
 +<code> 
 +#auto wlan0 
 +iface wlan0 inet static 
 +        address 192.168.1.100 
 +        wireless-retry 20 
 +        wireless-channel 6 
 +        wireless-essid M-MINI_030DA4 
 +        wpa-ap_scan 1 
 +        wpa-key_mgmt NONE 
 +        wpa-ssid M-MINI_030DA4 
 +</code> 
 + 
 +And then, connect. 
 +<code> 
 +ifup wlan0 
 +nmap 192.168.1.1 
 + 
 +Starting Nmap 6.00 ( http://nmap.org ) at 2015-01-02 12:58 GMT 
 +Nmap scan report for 192.168.1.1 
 +Host is up (0.0026s latency). 
 +Not shown: 997 closed ports 
 +PORT   STATE SERVICE 
 +22/tcp open  ssh 
 +53/tcp open  domain 
 +80/tcp open  http 
 + 
 +Nmap done: 1 IP address (1 host up) scanned in 38.53 seconds 
 +</code> 
 + 
 + 
 +=== Resources ===
 [[http://wiki.openwrt.org/toh/easylink/el-m-mini|OpenWRT]] [[http://wiki.openwrt.org/toh/easylink/el-m-mini|OpenWRT]]