Difference between revisions of "WRTnode2P开箱指南/en"

From WRTnode Wiki
Jump to: navigation, search
Line 111: Line 111:
=OpenWrt SDK=
=OpenWrt SDK=
[https://github.com/WRTnode/openwrt https://github.com/WRTnode/openwrt] <br />
[https://github.com/WRTnode/openwrt https://github.com/WRTnode/openwrt] <br />
This SDK is an universal one for all WRTnode hardwares, and for WRTnode2P, choosing [MT7628 base boards] in [ Subtarget ] when make menuconfig.
This SDK is an universal one for all WRTnode hardwares, and for WRTnode2P, choosing [ MT7628 base boards ] in [ Subtarget ] when make menuconfig.
=more resources=
=more resources=
: [[http://wiki.wrtnode.cc/index.php?title=WRTnode2P%E8%AF%A6%E7%BB%86%E5%8F%82%E6%95%B0/en|WRTnode2P Specifications]]  
: [http://wiki.wrtnode.cc/index.php?title=WRTnode2P%E8%AF%A6%E7%BB%86%E5%8F%82%E6%95%B0/en|WRTnode2P Specifications]  
: [[http://wiki.wrtnode.cc/index.php?title=WRTnode2P%E9%92%88%E8%84%9A%E5%AE%9A%E4%B9%89/en|WRTnode2P pinmap]]
: [[http://wiki.wrtnode.cc/index.php?title=WRTnode2P%E9%92%88%E8%84%9A%E5%AE%9A%E4%B9%89/en|WRTnode2P pinmap]]
: [[http://wiki.wrtnode.cc/index.php?title=WRTnode2P%E6%A0%87%E5%87%86%E5%BA%95%E6%9D%BF/en|WRTnode2P baseboard pinmap]]
: [[http://wiki.wrtnode.cc/index.php?title=WRTnode2P%E6%A0%87%E5%87%86%E5%BA%95%E6%9D%BF/en|WRTnode2P baseboard pinmap]]
: [[WRTnode2P硬件扩展开发及量产指南]]<br /><br />
: [[WRTnode2P硬件扩展开发及量产指南]]<br /><br />
keep on rock, man!
keep on rock, man!

Revision as of 23:01, 14 March 2016

Other languages:

First tip:
WRTnode2P default WiFi ssid: WRTnode2P_xxxx
Defual password for the Wi-Fi ssid: 12345678

What's in the WRTnode2P retail package

WRTnode2P retail package including the WRTnode2P and it's base board.
There's two FPC antenna, in order to better packaging, when you get they are looking like this

Antenna can rotate 360 degrees, the first thing we recommend to do is to rotate the antenna like the following figure, so not to block the antennas with board, also two antennas do not overlap, thus ensuring that wifi signal is strongest. As shown below:

Light up WRTnode2P

  • The board is powered by micro-USB connector, find an ordinary micro-USB power cable( which is not included in the retail package)
  • Plug into the baseboard's micro-USB connector, and the other side you could use any USB port which could offer more than 500mA and 5V power, such as a computer or a laptop's USB interface or a mobile phone charger or something like this.
  • The blue LED lights on and the OpenWrt starts to run in the board.
  • 20 seconds later, you will find a Wi-Fi with the SSID like WRTnode2P_xxxx( xxxx means the last four byte of the MAC address of your WRTnode2P), you could connecting the Wi-Fi with computer or phone with the password 12345678.

Play with WRTnode2P

Login to WRTnode2P using telnet or ssh

Use any PC with Windows, Linux or MacOS operating system, install PuTTY on Windows PC, use any Linux / MacOS terminal software on Linux / MacOS.

  • First ping the WRTnode to see if connection is available. The default IP of WRTnode2P is set to, but WRTnode2P is able to resolve openwrt.lan to as well:
ping openwrt.lan
  • Connect to WRTnode2P using telnet or ssh

If you connect first time to WRTnode2P or you didn't set password for root user of OpenWrt, use telnet to connect:



telnet openwrt.lan

If you a password for root user was set, use SSH to connect:

ssh root@


ssh root@openwrt.lan

Input your root password and a screen should appear like, ok, that's it. you could play your Linux CLI interacting here now:

No internet no happiness

Now we will connect WRTnode2P to the internet. of course, you must have a 2.4G Wi-Fi ap or router with has connected on the internet.

root@OpenWrt:~# aps

'aps' is the command of WRTnode2P to scan the Wi-Fi available, the output of 'aps' looks like this:

WRTnode AP scaner.
Begin scaning APs, pls wait...
APs available are...
ra0       get_site_survey:
Ch  SSID                             BSSID               Security               Siganl(%)W-Mode  ExtCH  NT WPS DPID
1   Tenda                            xx:xx:xx:xx:xx:xx   NONE                   70       11b/g/n ABOVE  In YES
1   hshn                             xx:xx:xx:xx:xx:xx   WPA2PSK/AES            96       11b/g/n NONE   In YES
6   TP-LINK                          xx:xx:xx:xx:xx:xx   NONE                   55       11b/g   NONE   In  NO
6   BY01                             xx:xx:xx:xx:xx:xx   NONE                   100      11b/g/n NONE   In YES
6   Tenda_xxxxxx                     xx:xx:xx:xx:xx:xx   WPAPSK/AES             50       11b/g/n ABOVE  In  NO
11  CU_wpFS                          xx:xx:xx:xx:xx:xx   WPAPSK/TKIPAES         70       11b/g/n NONE   In YES

ok,we will connect one:

root@OpenWrt:~# setwifi SSID_you_connetctin the_password

be careful, there's a space between the SSID and the password
Such as:

root@OpenWrt:~# setwifi TP_linkAB33CD my_password

Press Enter and wait 5 seconds, or sometimes we need to reconnect our computer to the WRTnode2P's SSID, so let's see if we have got the IP address from uppter router:

root@OpenWrt:~# ia

we'll see

root@OpenWrt:~# ia
apcli0    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
          inet addr:  Bcast:  Mask:
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/xx Scope:Link
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sometimes getting the IP address will lasts more than 5 seconds, so be patient. Once we got the IP address, let's see if the board have access the internet:

root@OpenWrt:~# ping baidu.com
PING baidu.com ( 56 data bytes
64 bytes from seq=0 ttl=54 time=6.071 ms

See, thus we connected our computer to the WRTnode2P, and we connected the WRTnode2P to the internet.

WRTnode2P software repository

root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7628/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7628/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7628/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7628/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7628/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ramips/mt7628/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.

root@OpenWrt:~# opkg install xxxx

Restore Factory Settings

Then you could do whatever you want in WRTnode2P via ssh, just like an ordinary Linux PC, and when you done something you dislike and want to restore the board as you first getting it, here's how:

root@OpenWrt:~# firstboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
/dev/mtdblock5 is mounted as /overlay, only erasing files
root@OpenWrt:~# reboot

Update firmware to support micor-SD card in baseboard

As the micor-SD card driver is not included in the factory firmware, if you are using a micor-SD card in baseboard, please update:
Here's a easy method:

  • download the new firmware in your computer: http://d.wrtnode.com/WRTnode2P/openwrt-ramips-mt7628-wrtnode2p-squashfs-sysupgrade.bin
  • Connecting your computer to WRTnode2P via Wi-Fi (SSID: WRTnode2P_xxxx password: 12345678)
  • In browser go:, the page will jump to automatically,the login password for root is empty by default, or what you have changed for the root account in the Linux CLI of WRTnode2P.
  • Go: System->Backup/Flash Firmware finding "Flash new firmware image", and choose the firmware downloaded before, click the "Flash image" button, when uploading finished, click "proceed" to refresh the system.


OpenWrt SDK

This SDK is an universal one for all WRTnode hardwares, and for WRTnode2P, choosing [ MT7628 base boards ] in [ Subtarget ] when make menuconfig.

more resources

[baseboard pinmap]

keep on rock, man!