Search Preview
OpenWrt - 海运的博客
haiyun.meopenwrt相关技术,openwrt使用教程。
.me > haiyun.me
SEO audit: Content analysis
Language | Error! No language localisation is found. | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Title | OpenWrt - 海运的博客 | ||||||||||||||||||||||||||||||||||||
Text / HTML ratio | 54 % | ||||||||||||||||||||||||||||||||||||
Frame | Excellent! The website does not use iFrame solutions. | ||||||||||||||||||||||||||||||||||||
Flash | Excellent! The website does not have any flash contents. | ||||||||||||||||||||||||||||||||||||
Keywords cloud | wlan0 Comments cut grep dev 发布时间:February 分类:OpenWrt etcconfigserviceopenconnect station kernel sv unknown ` install iwinfo sed Breaker openconnect tmpdhcpleases 'print | ||||||||||||||||||||||||||||||||||||
Keywords consistency |
|
||||||||||||||||||||||||||||||||||||
Headings |
|
||||||||||||||||||||||||||||||||||||
Images | We found 1 images on this web page. |
SEO Keywords (Single)
Keyword | Occurrence | Density |
---|---|---|
wlan0 | 7 | 0.35 % |
Comments | 6 | 0.30 % |
cut | 6 | 0.30 % |
grep | 6 | 0.30 % |
dev | 5 | 0.25 % |
发布时间:February | 5 | 0.25 % |
分类:OpenWrt | 5 | 0.25 % |
etcconfigserviceopenconnect | 4 | 0.20 % |
station | 4 | 0.20 % |
kernel | 4 | 0.20 % |
sv | 4 | 0.20 % |
unknown | 4 | 0.20 % |
` | 4 | 0.20 % |
install | 3 | 0.15 % |
iwinfo | 3 | 0.15 % |
sed | 3 | 0.15 % |
Breaker | 3 | 0.15 % |
openconnect | 3 | 0.15 % |
tmpdhcpleases | 3 | 0.15 % |
2 | 0.10 % |
SEO Keywords (Two Word)
Keyword | Occurrence | Density |
---|---|---|
cut f | 6 | 0.30 % |
s d | 6 | 0.30 % |
No Comments | 5 | 0.25 % |
分类:OpenWrt No | 5 | 0.25 % |
2015 分类:OpenWrt | 5 | 0.25 % |
d ` | 4 | 0.20 % |
dev wlan0 | 3 | 0.15 % |
iwinfo wlan0 | 3 | 0.15 % |
etcconfigserviceopenconnect sv | 3 | 0.15 % |
wlan0 station | 3 | 0.15 % |
2 s | 3 | 0.15 % |
f 2 | 3 | 0.15 % |
d grep | 2 | 0.10 % |
f 234 | 2 | 0.10 % |
tmpdhcpleases cut | 2 | 0.10 % |
offset unknown | 2 | 0.10 % |
234 s | 2 | 0.10 % |
sed i | 2 | 0.10 % |
grep mac | 2 | 0.10 % |
mac cut | 2 | 0.10 % |
SEO Keywords (Three Word)
Keyword | Occurrence | Density | Possible Spam |
---|---|---|---|
分类:OpenWrt No Comments | 5 | 0.25 % | No |
2015 分类:OpenWrt No | 5 | 0.25 % | No |
s d ` | 4 | 0.20 % | No |
cut f 2 | 3 | 0.15 % | No |
dev wlan0 station | 3 | 0.15 % | No |
2 s d | 3 | 0.15 % | No |
f 2 s | 3 | 0.15 % | No |
bitrate'awk 'print 34'` | 2 | 0.10 % | No |
wlan0 station dumpgrep | 2 | 0.10 % | No |
tmpdhcpleases cut f | 2 | 0.10 % | No |
cut f 234 | 2 | 0.10 % | No |
f 234 s | 2 | 0.10 % | No |
234 s d | 2 | 0.10 % | No |
s d grep | 2 | 0.10 % | No |
d grep mac | 2 | 0.10 % | No |
grep mac cut | 2 | 0.10 % | No |
5 2015 分类:OpenWrt | 2 | 0.10 % | No |
发布时间:February 5 2015 | 2 | 0.10 % | No |
11 2015 分类:OpenWrt | 2 | 0.10 % | No |
发布时间:February 11 2015 | 2 | 0.10 % | No |
SEO Keywords (Four Word)
Keyword | Occurrence | Density | Possible Spam |
---|---|---|---|
2015 分类:OpenWrt No Comments | 5 | 0.25 % | No |
f 2 s d | 3 | 0.15 % | No |
2 s d ` | 3 | 0.15 % | No |
cut f 2 s | 3 | 0.15 % | No |
tmpdhcpleases cut f 234 | 2 | 0.10 % | No |
cut f 234 s | 2 | 0.10 % | No |
f 234 s d | 2 | 0.10 % | No |
s d grep mac | 2 | 0.10 % | No |
11 2015 分类:OpenWrt No | 2 | 0.10 % | No |
234 s d grep | 2 | 0.10 % | No |
d grep mac cut | 2 | 0.10 % | No |
grep mac cut f | 2 | 0.10 % | No |
dev wlan0 station dumpgrep | 2 | 0.10 % | No |
发布时间:February 5 2015 分类:OpenWrt | 2 | 0.10 % | No |
5 2015 分类:OpenWrt No | 2 | 0.10 % | No |
发布时间:February 11 2015 分类:OpenWrt | 2 | 0.10 % | No |
Cacti 14 Squid 5 | 1 | 0.05 % | No |
14 Cacti 14 Squid | 1 | 0.05 % | No |
DNS 14 Cacti 14 | 1 | 0.05 % | No |
海运的博客 首页 关于 分析网站 | 1 | 0.05 % | No |
Internal links in - haiyun.me
关于 - 海运的博客
分析网站 - 海运的博客
文章归档 - 海运的博客
参考手册 - 海运的博客
在线工具 - 海运的博客
常用命令 - 海运的博客
centos repo管理使用 - 海运的博客
centos/debian自动通过网络远程安装系统配置脚本 - 海运的博客
IPXE网络引导通过kickstart和preseed自动安装centos/ubuntu/debian系统 - 海运的博客
使用kickstart安装ubuntu - 海运的博客
Centos/linux ipv4优先 - 海运的博客
海运的博客
海运的博客
海运的博客
海运的博客
海运的博客
PHP - 海运的博客
IIS - 海运的博客
Mail - 海运的博客
DNS - 海运的博客
Cacti - 海运的博客
Squid - 海运的博客
Nagios - 海运的博客
Puppet - 海运的博客
CentOS - 海运的博客
Iptables - 海运的博客
RADIUS - 海运的博客
OpenWrt - 海运的博客
DD-WRT - 海运的博客
VMware - 海运的博客
网站程序 - 海运的博客
备份存储 - 海运的博客
常用软件 - 海运的博客
日记分析 - 海运的博客
Linux基础 - 海运的博客
欧诺代理 - 海运的博客
Linux服务 - 海运的博客
系统监控 - 海运的博客
流量监控 - 海运的博客
虚拟化 - 海运的博客
伪静态 - 海运的博客
LVM - 海运的博客
Shell - 海运的博客
高可用 - 海运的博客
数据库 - 海运的博客
FreeBSD - 海运的博客
网络安全 - 海运的博客
Windows - 海运的博客
网络工具 - 海运的博客
控制面板 - 海运的博客
系统调优 - 海运的博客
Cisco - 海运的博客
VPN - 海运的博客
ROS - 海运的博客
Vim - 海运的博客
KMS - 海运的博客
PXE - 海运的博客
Mac - 海运的博客
Git - 海运的博客
PE - 海运的博客
LNS - 海运的博客
Xshell - 海运的博客
Firefox - 海运的博客
Cygwin - 海运的博客
OpenSSL - 海运的博客
Sandboxie - 海运的博客
StrokesPlus - 海运的博客
AutoHotKey - 海运的博客
Total Commander - 海运的博客
WordPress - 海运的博客
iMacros - 海运的博客
Typecho - 海运的博客
Ollydbg - 海运的博客
Photoshop - 海运的博客
正则 - 海运的博客
Debian - 海运的博客
Python - 海运的博客
NoSQL - 海运的博客
消息队列 - 海运的博客
JS - 海运的博客
Tmux - 海运的博客
GO - 海运的博客
HHVM - 海运的博客
算法 - 海运的博客
Docker - 海运的博客
initrd.img解压与打包 - 海运的博客
qq smtp 465/587端口区别 - 海运的博客
Haiyun.me Spined HTML
OpenWrt - 海运的博客 海运的博客 首页 关于 分析网站 文章归档 参考手册 在线工具 常用命令 Openwrt下转守护进程runit使用 发布时间:February 11, 2015 // 分类:OpenWrt // No Comments 类似于s6,不过runit在openwrt busybox中自带,需编译openwrt固件时选择。runsvdir用以扫描指定目录子目录下run脚本并使用runsv启动为守护进程:runsvdir -P /etc/config/service/一个openconnect启动脚本示例,注意启动的程序一定要以非守护进程启动且以exec命令执行:cat /etc/config/service/openconnect/run exec 2>&1 exec openconnect -c user-cert.pem -k user-key.pem -s /etc/config/vpnc --no-cert-check www.haiyun.me如果run目录存在finish脚本,run执行的程序退出后runsv会执行finish并传递程序退出code给finish参数1,然后再重新执行run启动程序,我们可以使用finish判断当网络不通时程序退出状态,避免程序持续启动退出导致死循环:#!/bin/sh if [ $1 -eq 255 ] then sleep 5 else exit fi控制启动的程序,更多见http://smarden.org/runit/sv.8.html:sv status /etc/config/service/openconnect/ sv stop /etc/config/service/openconnect/ sv start /etc/config/service/openconnect/ sv restart /etc/config/service/openconnect/也可以用runit管理ssh动态隧道转发实现类似于autossh的功能,ssh连接时使用超时控制,超时后ssh关闭runsv会自动重启ssh。更多示例:http://smarden.org/runit/runscripts.html 此内容被密码保护 发布时间:February 11, 2015 // 分类:OpenWrt // No Comments 请输入密码访问 Openwrt无线管理工具/命令 发布时间:February 9, 2015 // 分类:OpenWrt // No Comments 查看连接Openwrt路由的无线客户端:iwinfo wlan0 assoclist iw dev wlan0 station dump查看分配的DHCP客户端IP: cat /tmp/dhcp.leases 扫描无线路由器/AP:iwinfo wlan0 scan查看Openwrt路由无线信息:iwinfo wlan0 info wlan0 ESSID: "OpenWrt" Access Point: 00:1F:A3:65:55:8E Mode: Master Channel: 5 (2.432 GHz) Tx-Power: 20 dBm Link Quality: 30/70 Signal: -80 dBm Noise: unknown Bit Rate: 32.5 MBit/s Encryption: WPA2 PSK (CCMP) Type: nl80211 HW Mode(s): 802.11bg Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: no PHY name: phy0重启无线:wifi lanugo && sleep 5 && wifi一个bash脚本,输出当前无线客户端IP/MAC/名称/速率:#!/bin/bash reverberate -e "# IP address\tname\tMAC address\ttx bit\trx bit" for interface in `iw dev | grep Interface | cut -f 2 -s -d" "` do maclist=(`iw dev $interface station dump | grep Station | cut -f 2 -s -d" "`) txlist=(`iw dev wlan0 station dump|grep 'tx bitrate'|awk '{print $3$4}'`) rxlist=(`iw dev wlan0 station dump|grep 'rx bitrate'|awk '{print $3$4}'`) len=${#maclist[@]} for ((i=0;i<$len;i++)) do mac=${maclist[$i]} tx=${txlist[$i]} rx=${rxlist[$i]} ip="UNKN" host="" ip=`cat /tmp/dhcp.leases | cut -f 2,3,4 -s -d" " | grep $mac | cut -f 2 -s -d" "` host=`cat /tmp/dhcp.leases | cut -f 2,3,4 -s -d" " | grep $mac | cut -f 3 -s -d" "` reverberate -e "$ip\t$host\t$mac\t$tx\t$rx"|awk '{printf "%-15s %-25s %-15s %-10s %-10s\n",$1,$2,$3,$4,$5}' washed-up donehttp://wiki.openwrt.org/doc/faq/faq.wirelesshttp://wiki.openwrt.org/doc/howto/wireless.utilities 编译Openwrt固件安装软件内核版本不一致问题解决 发布时间:February 5, 2015 // 分类:OpenWrt // No Comments 最近将使用近3年Openwrt Backfire 10.03固件升级到了最新版本Barrier Breaker 14.07,编译后使用opkg安装官方源提供的软件出现了内核版本不一致的问题:Collected errors: * satisfy_dependencies_for: Cannot satisfy the pursuit dependencies for openconnect: * kernel (= 3.10.49-1-3051dee8f07064b727e9d57fbfeb05ec) * * opkg_install_cmd: Cannot install package openconnect.安装的openwrt kernel版本,内核大版本一样,就后面md5不一样:opkg info kernel Package: kernel Version: 3.10.49-1-eac88df3cb49b94d68ac3bc78be57f95 Depends: libc Status: install hold installed Architecture: x86 Installed-Time: 1423195057看看md5版本号是怎么生成的:grep vermagic include/kernel-defaults.mk $(SH_FUNC) grep '=[ym]' $(LINUX_DIR)/.config | LC_ALL=C sort | md5s > $(LINUX_DIR)/.vermagic在编译前指定内核版本号:#查看Openwrt官方源内核版本: wget http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/Packages.gz zgrep -m 1 "Depends: kernel (=.*)$" Packages.gz | sed -e 's/.*-\(.*\))/\1/' > .vermagic #取而代之 sed -i -e 's/^\(.\).*vermagic$/\1cp $(TOPDIR)\/.vermagic $(LINUX_DIR)\/.vermagic/' include/kernel-defaults.mk编译后指定内核版本:sed -i 's/eac88df3cb49b94d68ac3bc78be57f95/3051dee8f07064b727e9d57fbfeb05ec/' /usr/lib/opkg/status以上解决方法和opkg --force-depends无区别,会造成不稳定因素,最好的解决方法是使用官方提供的固件,如果非要自己编译固件的话使用官方软件相同版本的源码编译,如Barrier Breaker 14.07 r42625:svn co svn://svn.openwrt.org/openwrt/branches/barrier_breaker -r 42625 就算使用同一版本源码编译内核md5版本号也不一致,除非使用官方提供的.config,可以使用前面的两种方法修改内核版本号。Openwrt版本历史及版本号:http://en.wikipedia.org/wiki/OpenWrthttp://wiki.openwrt.org/about/history#barrier_breaker VMware测试编译的OpenWRT固件 发布时间:February 5, 2015 // 分类:OpenWrt // No Comments 路由刷机有风险,编译后可先使用x86版本的固件使用vmware测试,平台选择x86,目标image选择vmdk。vmware新建虚拟机使用已存在的磁盘,硬盘一定要选择IDE格式,不要选择SCSI。OpenWRT官方提供的x86固件自Barrier Breaker 14.07版本没有提供vmdk格式,转换方法:yum install qemu-img wget http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/openwrt-x86-generic-combined-ext4.img.gz gunzip openwrt-x86-generic-combined-ext4.img.gz qemu-img convert -f raw openwrt-x86-generic-combined-ext4.img -O vmdk openwrt-x86-generic-combined-ext4.vmdk 1234...8» 分类 Apache (13)Nginx (42)PHP (83)IIS (8)Mail (17)DNS (14)Cacti (14)Squid (5)Nagios (4)Puppet (7)CentOS (13)Iptables (23)RADIUS (3)OpenWrt (40)DD-WRT (1)VMware (9)网站程序 (3)备份存储 (11)常用软件 (20)日记分析 (10)Linux基础 (18)欧诺代理 (2)Linux服务 (18)系统监控 (4)流量监控 (7)虚拟化 (28)伪静态 (2)LVM (3)Shell (18)高可用 (2)数据库 (16)FreeBSD (3)网络安全 (25)Windows (35)网络工具 (22)控制面板 (3)系统调优 (10)Cisco (3)VPN (5)ROS (20)Vim (14)KMS (4)PXE (2)Mac (1)Git (1)PE (1)LNS (2)Xshell (7)Firefox (13)Cygwin (4)OpenSSL (9)Sandboxie (3)StrokesPlus (1)AutoHotKey (4)Total Commander (2)WordPress (3)iMacros (6)Typecho (2)Ollydbg (1)Photoshop (1)正则 (3)Debian (3)Python (8)NoSQL (6)消息队列 (4)JS (7)Tmux (3)GO (7)HHVM (2)算法 (1)Docker (2) 最新文章 centos repo管理使用centos/debian自动通过网络远程安装系统配置脚本使用kickstart安装ubuntuCentos/linux ipv4优先BT/utorrent连接加密及标志IPXE网络引导通过kickstart和preseed自动安装centos/ubuntu/debian系统ubuntu 通过ppa源安装最新版qbittorrentinitrd.img解压与打包libtorrent提高上传速度qq smtp 465/587端口区别 最近回复 404NTF: 交叉编译的作用是? 404NTF: 请教一下 CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go ... 小智: 安利个PHP开发以太坊区块链的教程: http://xc.hubwiz.com/course/... 陈浩南: 您好,您教程中的 dev.openwrt.org.cn 现在似乎不可用了。请问现在应该在哪里下... 斑马斑马: 怎么查看虚拟机CPU 内存使用情况 zzg: http://downloads.openwrt.org.cn/PandoraBox/rali... xiongrui: 看图 傻狍子: filebrowser好像和这功能一样? https://github.com/filebro... 陶国文: 想看看能不能安装 傻狍子: 服务端设置了用户名密码认证的话,在openwrt的openvpn客户端的配置文件当中该如何更改... Copyright © 2011 海运的博客 / 文章归档 / Archives Rss / Comments Rss / Powered By Typecho 页面执行耗时:0.0393秒。-->