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
#安装路由协议
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 :: OpenWrt kern.info kernel: [ 3285.628000] USB Video Class driver (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
05-11 22:03