简体   繁体   English

临时:ssh:连接到主机失败:连接被拒绝

[英]Temporary: ssh: connect to host failed: Connection refused

SSH is installed and daemon is running. SSH已安装并且守护程序正在运行。

After i installed g_ether to enable ssh over usb (to a beaglebone black, arm based micro computer) i get this error for the first 2 mins at boot up time of the device. 安装g_ether以在USB上启用ssh(到基于beaglebone黑色,基于手臂的微型计算机)后,在设备启动时的前2分钟出现此错误。 After 2mins i can ssh in. 2分钟后,我可以进入。

My only thought is that there is a conflict w/ the device address or IP at startup. 我唯一的想法是启动时与设备地址或IP冲突。 I've tried changing the IP to a few different things, didn't work. 我尝试将IP更改为一些不同的东西,但是没有用。 Tried to set the hw address using modprobe, didn't help. 试图使用modprobe设置硬件地址,没有帮助。

I've had this issue since installing Ubuntu and have neverbeen able to resolve it; 自从安装Ubuntu以来,我就遇到了这个问题,但从未能够解决它。 I'm guessing it has something to do with the router. 我猜它与路由器有关。 The tail of my /var/log/dmesg does indicate some problem bringing up eth0; 我的/ var / log / dmesg的尾部确实表明启动eth0时出现了一些问题; I don't know if this is related. 我不知道这是否有关。

[   11.749371] net eth0: initializing cpsw version 1.12 (0)
[   11.752407] net eth0: phy found : id is : 0x7c0f1
[   11.752439] libphy: PHY 4a101000.mdio:01 not found
[   11.757500] net eth0: phy 4a101000.mdio:01 not found on slave 1
[   11.806816] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.020337] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[   14.444492] init: plymouth-log main process (357) terminated with status 1
[   14.830502] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[   14.830571] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.624303] init: plymouth-upstart-bridge main process (409) terminated with status 1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM