root@Jack:/tmp/opkg-lists# opkg--help opkg:unrecognized option `--help' opkgmust have one sub-command argument usage:opkg [options...] sub-command [arguments...] wheresub-command is one of: PackageManipulation: update 升級 Update list ofavailable packages upgrade <pkgs> 升級某一個軟件 Upgrade packages install <pkgs> 安裝某一個軟件 Install package(s) configure <pkgs> 配置某一個軟件 Configure unpacked package(s) remove <pkgs|regexp> 刪除軟件 Remove package(s) flag <flag> <pkgs> Flag package(s) <flag>=hold|noprune|user|ok|installed|unpacked (one perinvocation) InformationalCommands: list 列出openwrt所有支持的軟件包 List availablepackages list-installed 列出本機已經安裝的軟件包 List installed packages list-upgradable 列出可以升級的軟件包 ist installed and upgradable packages list-changed-conffiles List user modified configuration files files <pkg> List files belonging to<pkg> search <file|regexp> List package providing <file> find <regexp> List packages whose name ordescription matches <regexp> info[pkg|regexp] 顯示軟件包的信息 Display all info for <pkg> status [pkg|regexp] 顯示軟件包的狀態 Display all status for <pkg> download<pkg> 下載一個軟件包到當前目錄 Download<pkg> to current directory
######################################################### openWrt 界面中文支持 opkg update opkg install luci-i18n-chinese System -> System -> Language and Style ->Language :chinese
######################################################
# usb驅動安裝
opkg install kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-storage usbutils kmod-fs-ext4 kmod-fs-ntfs kmod-fs-vfat ntfs-3g fdisk mount-utils aria2
#掛載 mkdir /mnt/device mount -t ntfs-3g /dev/sda4 /mnt/device umount /mnt/device
#設置開機啟動掛載 vi /etc/rc.local # Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. mount -t ntfs-3g /dev/sda4 /mnt/device exit 0
#安裝路由協議
opkg install quagga quagga-zebra quagga-ripd quagga-watchquagga quagga-vtysh
#安裝攝像頭軟件 opkg install kmod-video-uvc kmod-video-core mjpg-streamer logread | grep "usb"root@OpenWrt:~# logread | grep "USB Video" Oct 12 18:33:09 OpenWrt kern.info kernel: [ 3285.628000] USB Video Class driver (1.1.1) mjpg_streamer -i "./input_uvc.so" -o "./output_http.so -w ./www" mjpg_streamer -i "input_uvc.so -r 352x288 -f 15 -q 80 -y" -o "output_http.so -p 8080 -w /www" http://192.168.80.1/?action=stream
#viop
opkg update
opkg install asterisk18 luci-app-pbx