ssh to pcduino3 without monitor from ubuntu

Ubuntu

NOTE: You should have the usbnet module available for your Linux kernel. On most distributions, this is the case by default. If this is not the case for your distribution, you will need to enable USB networking support in the kernel. 

  • In the file /etc/network/interfaces, you should add:
iface usb0 inet dhcp
  • Plug an USB Type-A to USB Type-A mini cable between your host PC and the USB OTG from IGEP device. 
  • Type in a terminal:
$ sudo ifup usb0
  • then you should got the following info:
  •    
       
    • usb0      Link encap:以太网  硬件地址 66:37:7d:ff:b3:2c             inet 地址:192.168.100.10  广播:192.168.100.255  掩码:255.255.255.0           inet6 地址: fe80::6437:7dff:feff:b32c/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  跃点数:1           接收数据包:361 错误:0 丢弃:0 过载:0 帧数:0           发送数据包:813 错误:0 丢弃:0 过载:0 载波:0           碰撞:0 发送队列长度:1000            接收字节:40879 (40.8 KB)  发送字节:90969 (90.9 KB)

  • if you didnot got the info, you should first reboot the pcduino3, then type ifconfig again

if you got the inet 地址:192.168.100.10

you can ssh to your pcduino3 by the following: the default password is ubuntu

ssh ubuntu@192.168.100.1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值