forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 21
/
FAQ.txt
52 lines (37 loc) · 1.48 KB
/
FAQ.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
1) how to get crashlog after reboot
A:
for example with mt7621 platform, make with this flag:
# vim target/linux/ramips/mt7621/config-4.14
add: CONFIG_CRASHLOG=y
then:
# cat /sys/kernel/debug/crashlog
2) convert img file to vmdk file:
A:
qemu-img convert -f raw openwrt.img -O vmdk openwrt.vmdk
3) luci-app-xxx not shown in the "make menuconfig" list
A:
# rm -rf tmp/*
# ./script/feeds update -a
# ./script/feeds install -a
4) add USB support
Base system --> block-mount , blockd(option)
Kernel modules --> Filesystem --> kmod-fs-exfat/ext4/msdos/ntfs
Kernel modules --> USB support --> kmod-usb-ohci/uhci
Kernel modules --> USB support --> kmod-usb-usb2/usb3
Kernel modules --> USB support --> kmod-usb-storage/storage-extras
Utilities --> Disc --> blkid/cfdisk/lsblk (option)
5) transmission failed to start
A:
in /etc/init.d/transmission file, modified following two lines:
[ "$incomplete_dir_enabled" = "0" ] || service_dirs="$service_dirs $incomplete_dir"
[ "$watch_dir_enabled" = "0" ] || service_dirs="$service_dirs $watch_dir"
6) build frp package fail for "dial tcp 34.64.4.113:443: i/o timeout"
A:
open Make file of "feeds/packages/net/frp/Makefile" , then add following two lines
in file head, then make again: #make package/frp/compile V=s
export GO111MODULE=on
export GOPROXY=https://goproxy.cn
7) enable mesh and 802.11s-kvrw
A:
-- kernelmodule --> kernel-support --> kmod-batman-adv
-- network --> wirelessAD --> wpad-wolfssl/wpad-openssl