Development note based on the MT7688 module 9--login to the MT7688 Development Board in Ubuntu with Telnet

Source: Internet
Author: User

I was in the process of developing thinking about whether I could sign in to the Development Board in Ubuntu, the answer is YES! There's more than one way to sign in, and here's how to log in to the board using Telnet. Just imagine, if you can login to the Development Board in Ubuntu, then you can easily debug on the same platform. And then I also thought about another problem, how to put the code written in Ubuntu to execute on the development Board, a friend told me that the Ubuntu written in the user program to the SD card or USB stick to the SD card or USB stick into the development Board, this method is feasible, but a little trouble, not easy to develop, So I'm also trying to figure out a way to get files from Ubuntu directly onto the Development Board. Here's how to log in to the Development Board in Ubuntu first.
First, already said Putty to want to login Ubuntu is to install SSH, so my Ubuntu has been installed SSH, the following is the basic SSH query information.
[Email protected]:~# ssh-v
Openssh_5.9p1 debian-5ubuntu1.8, OpenSSL 1.0.1 Mar 2012
[Email protected]:~#
Second, Telnet mode login Development Board: My Development Board IP address is 192.168.1.1/24, the computer's IP address is set to the network segment, because the virtual machine and the real host is the use of bridge mode, so the virtual machine IP address will be the same network segment, Finally, the network port of the MT7688 LAN spoken computer is connected with a network cable.
Here is my Ubuntu IP information, which is in the same network segment as the Development Board.
[Email protected]:~# ifconfig eth0
Eth0 Link encap:ethernet HWaddr 00:0c:29:66:c6:66
inet addr:192.168.1.100 bcast:192.168.1.255 mask:255.255.255.0
Inet6 ADDR:FE80::20C:29FF:FE66:C666/64 Scope:link
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:3003 errors:0 dropped:0 overruns:0 frame:0
TX packets:2461 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:273532 (273.5 KB) TX bytes:228250 (228.2 KB)
Interrupt:19 Base address:0x2000

Third, to login to the Development Board premise is that they can ping each other.

3.1 Ubuntu Ping MT7688
[Email protected]:~# ping-c 4 192.168.1.1
PING 192.168.1.1 (192.168.1.1) bytes of data.
Bytes from 192.168.1.1:icmp_req=1 ttl=64 time=0.772 ms
Bytes from 192.168.1.1:icmp_req=2 ttl=64 time=0.861 ms
Bytes from 192.168.1.1:icmp_req=3 ttl=64 time=0.799 ms
Bytes from 192.168.1.1:icmp_req=4 ttl=64 time=0.878 ms
---192.168.1.1 ping statistics---
4 packets transmitted, 4 received, 0% packet loss, time 3003MS
RTT Min/avg/max/mdev = 0.772/0.827/0.878/0.052 ms

3.2 MT7688 Ping Ubuntu
# ping-c 4 192.168.1.100
PING 192.168.1.100 (192.168.1.100): Data bytes
Bytes from 192.168.1.100:seq=0 ttl=64 time=1.620 ms
Bytes from 192.168.1.100:seq=1 ttl=64 time=1.020 ms
Bytes from 192.168.1.100:seq=2 ttl=64 time=0.840 ms
Bytes from 192.168.1.100:seq=3 ttl=64 time=1.020 ms
---192.168.1.100 ping statistics---
4 packets transmitted, 4 packets received, 0% packet loss

Round-trip Min/avg/max = 0.840/1.125/1.620 ms


3.3 Telnet Login MT7688: The username and password for my MT7688 Development Board are admin.
[Email protected]:~# telnet 192.168.1.1
Trying 192.168.1.1 ...
Connected to 192.168.1.1.
Escape character is ' ^] '.
Mediatek Login:admin
Password:

BusyBox v1.12.1 (2015-07-14 09:33:29 CST) built-in shell (ASH)
Enter ' help ' for a list of built-in commands.
# ls
etc sys mnt Init usr Dev etc_ro lib
Home bin proc Var media sbin tmp

3.4 The above can perform basic operations, which is the same as using SECURECRT through the serial port operation under Windows MT7688, for example:
# CD/
# ls
ETC Home Sys bin MNT proc init var usr media dev sbin etc_ro tmp Lib
# cd/media/mmcblk0p1/media/
# pwd
/media/mmcblk0p1/media
# ls
Adu-See you every day. mp3 Estevan-Heartbreak. mp3
Itsuki-There is a love called Letting go. mp3 Sunrise masculine-spring-sun masculine combination singing. mp3
Yang-All the trouble of the moon. mp3 Fang-sorry. mp3

3.5 Exit with exit.
# ls
etc sys mnt Init usr Dev etc_ro lib
Home bin proc Var media sbin tmp
# exit
Connection closed by foreign host.
[Email protected]:~#

In the next article, we'll tell you how to transfer files between Ubuntu and the Development Board!














Development note based on the MT7688 module 9--login to the MT7688 Development Board in Ubuntu with Telnet

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.