Banana Pi 測試 – 解決 LeMedia ssh 連線會停很久的問題

使用 ssh 連線時,會停很久,一直無法登入
[@more@]本來以為是時間不對所造成的,後來發現時間修正了依然是如此
解決方式:
1. 先使用 Ctrl+C 中斷連線
2. 將 /root 目錄下的 .profile 中的 xbmc 移除或加上 #
# cat /root/.profile
# ~/.profile: executed by Bourne-compatible login shells.

if [ “$BASH” ]; then
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi

#xbmc

mesg n

3. 將 xbmc 加入到 /etc/rc.local 之中
# cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will “exit 0” on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

xbmc
exit 0