OpenWRT 常用软件安装

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

 

转载于:https://www.cnblogs.com/caoguo/p/4625619.html

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值