Difference between revisions of "Translations:WRTnode2R开箱指南/4/en"

From WRTnode Wiki
Jump to: navigation, search
(创建页面,内容为“==No internet no happiness== Now we will connect WRTnode2R to the internet. of course, you must have a 2.4G Wi-Fi ap or router with has connected on the internet.<br...”)
 
(No difference)

Latest revision as of 17:32, 15 March 2016

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (WRTnode2R开箱指南)
==不联网不幸糊==
接下来的事情就是要把你的WRTnode2R连上互联网。首先,你得有个已经连上网的无线路由器。<br />
 root@OpenWrt:~# aps
'aps'是WRTnode的自定义命令,扫描当前的Wi-Fi,结果是类似这样的:<br />
<pre>
WRTnode AP scaner.
Begin scaning APs, pls wait...
Finished.
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
</pre>
然后,我们来将WRTnode2R连上您现有的路由器:
 root@OpenWrt:~# setwifi 您要连接的路由器SSID 对应的密码
注意哦,SSID和密码中间有个空格。<br />例如:
 root@OpenWrt:~# setwifi TP_linkAB33CD password
回车以后等5秒,有时需要我们的电脑重新连接WRTnode2R的Wi-Fi,然后看看WRTnode2R有没有从上级路由DHCP获取IP地址:
 root@OpenWrt:~# ia
我们得到:<br />
<pre>
root@OpenWrt:~# ia
apcli0    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
         inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
         inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/xx Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         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)
</pre>
有时候,获取IP地址有可能要搞十几秒甚至几十秒,稍安勿躁。搞到IP后,我们看看是不是已经连上互联网了:<br />
<pre>
root@OpenWrt:~# ping baidu.com
PING baidu.com (220.181.111.85): 56 data bytes
64 bytes from 220.181.111.85: seq=0 ttl=54 time=6.071 ms
</pre>
搞定,我们用电脑连上了WRTnode2R,还把WRTnode2R连上了互联网。<br /><br />
Translation==No internet no happiness==
Now we will connect WRTnode2R to the internet. of course, you must have a 2.4G Wi-Fi ap or router with has connected on the internet.<br />
 root@OpenWrt:~# aps
'aps' is the command of WRTnode2R to scan the Wi-Fi available, the output of 'aps' looks like this:<br />
<pre>
WRTnode AP scaner.
Begin scaning APs, pls wait...
Finished.
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
</pre>
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 <br />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 WRTnode2R's SSID, so let's see if we have got the IP address from uppter router:
 root@OpenWrt:~# ia
we'll see<br />
<pre>
root@OpenWrt:~# ia
apcli0    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
         inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
         inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/xx Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         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)
</pre>
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:<br />
<pre>
root@OpenWrt:~# ping baidu.com
PING baidu.com (220.181.111.85): 56 data bytes
64 bytes from 220.181.111.85: seq=0 ttl=54 time=6.071 ms
</pre>
See, thus we connected our computer to the WRTnode2R, and we connected the WRTnode2R to the internet.<br /><br />

No internet no happiness

Now we will connect WRTnode2R 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 WRTnode2R to scan the Wi-Fi available, the output of 'aps' looks like this:

WRTnode AP scaner.
Begin scaning APs, pls wait...
Finished.
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 WRTnode2R'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:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/xx Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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 (220.181.111.85): 56 data bytes
64 bytes from 220.181.111.85: seq=0 ttl=54 time=6.071 ms

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