|
楼主 |
发表于 2017-10-13 15:40
|
显示全部楼层
本帖最后由 hzjnet@163.com 于 2017-10-13 23:15 编辑
fdisk -l 喃?
刷固件后这样操作:
----------------------------------------------------
root@LEDE:/tmp# wget http://118.112.31.123:10000/v741 ... 0.1-2_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/ipk/base/fdisk_2.30.1-2_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'fdisk_2.30.1-2_mips_24kc.ipk'
fdisk_2.30.1-2_mips_ 100% |*******************************| 37810 0:00:00 ETA
Download completed (37810 bytes)
root@LEDE:/tmp# opkg install ./fdisk_2.30.1-2_mips_24kc.ipk
Installing fdisk (2.30.1-2) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for fdisk:
* libblkid * libsmartcols * libfdisk * libncursesw * 这里提示需要下载哪些关联包来安装!!!
* opkg_install_cmd: Cannot install package fdisk.
wget http://118.112.31.123:10000/v741 ... 0.1-2_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/ipk/base/libblkid_2.30.1-2_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'libblkid_2.30.1-2_mips_24kc.ipk'
libblkid_2.30.1-2_mi 100% |*******************************| 100k 0:00:00 ETA
Download completed (102871 bytes)
wget http://118.112.31.123:10000/v741 ... 0.1-2_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/ipk/base/libsmartcols_2.30.1-2_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'libsmartcols_2.30.1-2_mips_24kc.ipk'
libsmartcols_2.30.1- 100% |*******************************| 58505 0:00:00 ETA
Download completed (58505 bytes)
wget http://118.112.31.123:10000/v741 ... 0.1-2_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/ipk/base/libfdisk_2.30.1-2_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'libfdisk_2.30.1-2_mips_24kc.ipk'
libfdisk_2.30.1-2_mi 100% |*******************************| 128k 0:00:00 ETA
Download completed (132048 bytes)
wget http://118.112.31.123:10000/v741 ... 6.0-1_mips_24kc.ipk
wget http://118.112.31.123:10000/v741 ... .16-1_mips_24kc.ipk
root@LEDE:/tmp# opkg install ./*.ipk --nodeps
Package fdisk (2.30.1-2) installed in root is up to date.
Package libblkid (2.30.1-2) installed in root is up to date.
Package libfdisk (2.30.1-2) installed in root is up to date.
Installing libncurses (6.0-1) to root...
Package librt (1.1.16-1) installed in root is up to date.
Package libsmartcols (2.30.1-2) installed in root is up to date.
Configuring libncurses.
root@LEDE:/tmp# fdisk -l
Disk /dev/mtdblock0: 128 KiB, 131072 bytes, 256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock1: 1.2 MiB, 1292800 bytes, 2525 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock2: 6.6 MiB, 6898688 bytes, 13474 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock3: 2.4 MiB, 2490368 bytes, 4864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock4: 64 KiB, 65536 bytes, 128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock5: 7.8 MiB, 8192000 bytes, 16000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
----------------------------------------------------
再附上安装xl2tp的方法
root@LEDE:/tmp# wget http://118.112.31.123:10000/v741 ... 125-3_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/ipk/packages/xl2tpd_devel-20151125-3_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'xl2tpd_devel-20151125-3_mips_24kc.ipk'
xl2tpd_devel-2015112 100% |*******************************| 43252 0:00:00 ETA
Download completed (43252 bytes)
root@LEDE:/tmp# opkg install xl2tpd_devel-20151125-3_mips_24kc.ipk
Installing xl2tpd (devel-20151125-3) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for xl2tpd:
* ppp-mod-pppol2tp * resolveip *
* opkg_install_cmd: Cannot install package xl2tpd.
root@LEDE:/tmp# wget http://118.112.31.123:10000/v741 ... .7-12_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/ipk/base/ppp-mod-pppol2tp_2.4.7-12_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'ppp-mod-pppol2tp_2.4.7-12_mips_24kc.ipk'
ppp-mod-pppol2tp_2.4 100% |*******************************| 5030 0:00:00 ETA
Download completed (5030 bytes)
root@LEDE:/tmp# wget http://118.112.31.123:10000/v741 ... eip_2_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/ipk/base/resolveip_2_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'resolveip_2_mips_24kc.ipk'
resolveip_2_mips_24k 100% |*******************************| 2655 0:00:00 ETA
Download completed (2655 bytes)
root@LEDE:/tmp# opkg install ./*.ipk
Installing ppp-mod-pppol2tp (2.4.7-12) to root...
Installing resolveip (2) to root...
Installing xl2tpd (devel-20151125-3) to root...
Installing ppp-mod-pppol2tp (2.4.7-12) to root...
Configuring resolveip.
Configuring ppp-mod-pppol2tp.
Configuring xl2tpd.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for ppp-mod-pppol2tp:
* kmod-pppol2tp *
* opkg_install_cmd: Cannot install package ppp-mod-pppol2tp.
root@LEDE:/tmp# wget http://118.112.31.123:10000/v741 ... .89-1_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/packages/kmod-pppol2tp_4.4.89-1_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'kmod-pppol2tp_4.4.89-1_mips_24kc.ipk'
kmod-pppol2tp_4.4.89 100% |*******************************| 10039 0:00:00 ETA
Download completed (10039 bytes)
root@LEDE:/tmp# opkg install ./*.ipk
Installing kmod-pppol2tp (4.4.89-1) to root...
Package ppp-mod-pppol2tp (2.4.7-12) installed in root is up to date.
Package resolveip (2) installed in root is up to date.
Package xl2tpd (devel-20151125-3) installed in root is up to date.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-pppol2tp:
* kmod-l2tp *
* opkg_install_cmd: Cannot install package kmod-pppol2tp.
root@LEDE:/tmp# wget http://118.112.31.123:10000/v741 ... .89-1_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/packages/kmod-l2tp_4.4.89-1_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'kmod-l2tp_4.4.89-1_mips_24kc.ipk'
kmod-l2tp_4.4.89-1_m 100% |*******************************| 14150 0:00:00 ETA
Download completed (14150 bytes)
root@LEDE:/tmp# opkg install ./*.ipk
Installing kmod-l2tp (4.4.89-1) to root...
Installing kmod-pppol2tp (4.4.89-1) to root...
Installing kmod-l2tp (4.4.89-1) to root...
Package ppp-mod-pppol2tp (2.4.7-12) installed in root is up to date.
Package resolveip (2) installed in root is up to date.
Package xl2tpd (devel-20151125-3) installed in root is up to date.
Configuring kmod-l2tp.
Configuring kmod-pppol2tp.
failed to find dependency udp_tunnel
failed to find dependency ip6_udp_tunnel
failed to find dependency udp_tunnel
failed to find dependency ip6_udp_tunnel
3 modules could not be probed
- l2tp_core
- l2tp_netlink
- l2tp_ppp
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-l2tp:
* kmod-udptunnel4 * kmod-udptunnel6 *
* opkg_install_cmd: Cannot install package kmod-l2tp.
root@LEDE:/tmp# wget http://118.112.31.123:10000/v741 ... .89-1_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/packages/kmod-udptunnel4_4.4.89-1_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'kmod-udptunnel4_4.4.89-1_mips_24kc.ipk'
kmod-udptunnel4_4.4. 100% |*******************************| 2696 0:00:00 ETA
Download completed (2696 bytes)
root@LEDE:/tmp# wget http://118.112.31.123:10000/v741 ... .89-1_mips_24kc.ipk
Downloading 'http://118.112.31.123:10000/v741/ar71xx/generic/packages/kmod-udptunnel6_4.4.89-1_mips_24kc.ipk'
Connecting to 118.112.31.123:10000
Writing to 'kmod-udptunnel6_4.4.89-1_mips_24kc.ipk'
kmod-udptunnel6_4.4. 100% |*******************************| 2427 0:00:00 ETA
Download completed (2427 bytes)
root@LEDE:/tmp# opkg install ./*.ipk
Package kmod-l2tp (4.4.89-1) installed in root is up to date.
Package kmod-pppol2tp (4.4.89-1) installed in root is up to date.
Installing kmod-udptunnel4 (4.4.89-1) to root...
Installing kmod-udptunnel6 (4.4.89-1) to root...
Package ppp-mod-pppol2tp (2.4.7-12) installed in root is up to date.
Package resolveip (2) installed in root is up to date.
Package xl2tpd (devel-20151125-3) installed in root is up to date.
Configuring kmod-udptunnel4.
Configuring kmod-udptunnel6.
|
|