forked from siwind/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFAQ.txt
39 lines (27 loc) · 1.06 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
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"