码迷,mamicode.com
首页 > 其他好文 > 详细

OpenWRT 一些好玩的软件

时间:2015-07-06 23:22:09      阅读:1458      评论:0      收藏:0      [点我收藏+]

标签:

root@Jack:/tmp/opkg-lists# opkg--help
opkg:unrecognized option `--helpopkgmust 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

 

OpenWRT 一些好玩的软件

标签:

原文地址:http://www.cnblogs.com/caoguo/p/4625619.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!