This is an old revision of the document!


Table of Contents

mmini.jpg

The M-mini is a tiny Linux computer with WiFi running OpenWRT.

Pinout
                  1 3V3
                  x GND
                  x USB+
                  x USB-
                  x RX
                  x TX
                  x RESET_SW
                  x SYS_LED
SPI_CLK  x        x NET_POW
SPI_MISO x        x NET_TX-
SPI_MOSI x        x NET_TX+
IO6/TDI  x        x NET_RX-
IO7/TDO  x        x NET_RX+
TCK      x        x IO18
IO8/TMS  x        x IO19
RESET    x        x IO20
Console

There is a low voltage serial console on RX/TX running at 115,200 bits per second.

A connection was establisehd with a cp2102 interface using picocom.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r40555)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
GPIO
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
WiFi

First discover the SID.

ifconfig wlan0 up
iwlist scan | & grep M-MINI
 ESSID:"M-MINI_030DA4"
ifconfig wlan0 down

Now we may create a connection profile.

#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

And then, connect.

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

References

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies