系统:https://downloads.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/openwrt-15.05.1-mvebu-armada-385-linksys-shelby-squashfs-factory.img
需要的工具:WinSCP, putty(或其它ssh工具)
安装完系统后
1. ssh连接路由器后直接输入命令
最开始刷系统后会登陆192.168.1.1时会出现一个root用户名和其对应的密码,
就是用于ssh连接时的用户名和密码。如果更改过密码,则使用更改过的。
opkg update
opkg install kmod-usb-core
opkg install kmod-usb2 #安装usb2.0
opkg install kmod-usb3 #安装usb3.0
opkg install kmod-usb-ohci #安装usb ohci控制器驱动
opkg install kmod-usb-storage #安装usb存储设备驱动
opkg install kmod-fs-vfat #挂载FAT
opkg install ntfs-3g #挂载NTFS
opkg install mount-utils #挂载卸载工具
opkg install block-mount
再更新驱动
opkg update
opkg install git-http
cd /tmp
git clone --depth 1 https://github.com/NemoAlex/mwlwifi-bin.git
cd mwlwifi-bin/15.05.1
opkg install kmod-mwlwifi_3.18.23\+10.3.0.17-20160531-1_mvebu.ipk
reboot
2. 用WinSCP连接路由器(还是上面的路由器和密码),文件协议选择SCP,
打开/etc/hotplug.d/block/10-mount文件(如果不存在请新建)
修改为如下内容
#!/bin/sh
# Copyright (C) 2009 OpenWrt.org (C) 2010 OpenWrt.org.cn
blkdev=`dirname $DEVPATH`
if [ `basename $blkdev` != "block" ]; then
device=`bas