Archive

‘Linux’ 分类存档

Direct boot eXR ISO by iPXE

The article should applies to all eXR platform, include ASR9k, NCS5500, NCS6k. The output information maybe different by diff platform, but the iPXE method should same. Btw in eXR, if you want to recovery password, will require iPXE.

Enable HTTP Service at linux

[root@nso exr]# python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...

完整阅读

0

Telemetry Solution Demo with IOS XR

I put a telemetry demo to youtube at last year, but no more time summary… now I summaried in the article, will help you to easy build up the solution. Due to original testbed had changed, so follow some info maybe change, but all procedure should same. And XR configuration file is original. Demo video at this link: https://www.youtube.com/watch?v=E5UlZByLA1c 

Install Grafana and Influxdb by Docker

docker run -d -v grafana-storage:/var/lib/grafana -p 3000:3000 grafana/grafana:5.4.3
docker run -d --volume=/opt/influxdb:/data -p 8080:8083 -p 8086:8086 tutum/influxdb

Install Pipeline

git clone https://github.com/cisco/bigmuddy-network-telemetry-pipeline.git

Config Pipeline

完整阅读

1+

手机/平板到NAS的速率测试

问题及解决

根据如下拓扑,用iphone和ipad查看nas的高清资源总是卡,低于5mbps码率的资源没问题,当网线连接时,50mbps码率的视频也没问题,所以严重怀疑wifi出了问题,但又不好查哪里的问题,我在AppStore上找了一圈,也没有一个像样的wifi 分析软件,即使收费也能接受呀。。。

Iphone/Ipad — <wifi 5g> — wrt1200ac —<GE>—918+

问题现在已经解决了,由于我的wrt1200ac刷的是OpenWRT,开源的wifi驱动不稳定,导致时不时的卡。我在918+上部署了docker版本的speedtest,从iphone/ipad上测试了下tcp性能,发现测不出问题,速率都挺正常(只给最终结果,无法显示平均还是最大),如下:

完整阅读

0

被恶意注入钓鱼网站链接

当游览blog时,发现网站左上角有奇怪的link,点进去后竟是黄网。。。想了想这几天没点什么不正常的网站呀,前几天还是好好的,啥情况。。。😓

我需要找到这个link在哪里,经过TS排查,发现link只会出现在我现有这个主题下,换主题就没问题了,所以我去blog管理台找,发现找不到。。。后来登录我的vps,用下面方式找到,注:网站名称已被我隐去:

[root@frank wordpress_data]# find . | xargs grep -ri "xxxx"
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
./wp-content/themes/page-shippou/header.php:<div id="1049"><a href="https://xxxx.com">xxx voglio</a></div>
grep: ./wp-content/plugins/backupwordpress/vendor/symfony/finder/Tests/Fixtures/with: No such file or directory
grep: space: No such file or directory
grep: ./wp-content/plugins/backupwordpress/vendor/symfony/finder/Tests/Fixtures/with: No such file or directory
grep: space/foo.txt: No such file or directory

现在才发现wordpress控制台下search不太好使呀。。。按照路径找到文件,找到下面内容删掉后恢复,然后赶紧改admin密码😅,先观察几天再说:

1+

New install NSO and Connect with XR by CLI/Netconf NED

Not update any NSO article to my blog, I will put more NSO info to here, wish that will help more guys. The article will include more hands-on experiences, help beginner fast connect xr devices with nso by cli or netconf ned. For netcong NED, build by Pioneer at former, that need to manual exclude the Yang file that no support. In the article, will build netconf ned by native tool of NSO 5.2.0.

Platform Info

[root@nso opt]# ncs --version
5.2.0.1
[root@nso opt]# cat /etc/redhat-release 
CentOS Linux release 7.6.1810 (Core) 
RP/0/RP0/CPU0:frank#show ins ac sum
Wed Aug  7 01:53:03.286 UTC
    Active Packages: 1
        xrv9k-xr-6.6.3.14I version=6.6.3.14I [Boot image]

完整阅读

0
blonde teen swallows load.xxx videos