Phytec中国的wiki
support@phytec.cn
热线:0755-61802110-803
在BSP包的build/conf/local.conf文件下添加 telnetd的软件包
IMAGE_INSTALL_append = " xinetd netkit-telnet"
netkit-telnet需要依赖xinetd服务,所以也需要添加xinetd。
重新编译镜像完成后,将镜像烧入核心板
修改telnet 的配置文件 /etc/xinetd.d/telnet
# default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet { flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID disable = no ## yes改为no 使能telnet服务 }
修改telnet配置后,需要重启xinetd.service
systemctl restart xinetd.service
测试
xinetd.service 重启后,其他设备就可以通过telnet连接到开发板了
nzhang@Z220:~$ telnet 192.168.1.104 Trying 192.168.1.104... Connected to 192.168.1.104. Escape character is '^]'. ____ _ _ __ __ _____ _____ ____ | _ \ | | | |\ \ / /|_ _|| ____| / ___| | |_) || |_| | \ V / | | | _| | | | __/ | _ | | | | | | |___ | |___ |_| |_| |_| |_| |_| |_____| \____| __ __ ___ ____ _ _ ____ _____ \ \ / / / _ \ / ___|| | | || _ \ |_ _| \ V / | | | || | _ | | | || |_) | | | | | | |_| || |_| || |_| || _ < | | |_| \___/ \____| \___/ |_| \_\ |_| Yogurt (Phytec Example Distribution) i.MX6-PD16.1.0 phyboard-mira-imx6-3 login: root root@phyboard-mira-imx6-3:~#
Overview
Content Tools
Tasks