upnp 问题

路由器各项安装设置正常,upnp启动成功与否,最直接的验证方法是:
1、ps可以看到有一个miniupnp进程;
2、在网上邻居中会自动显示一个openwrt的网关设备!

路由器upnp启动成功后,迅雷、utorrent等各软件能否成功获取与PC设置也有关,两项与upnp有关的基本服务Universal Plug and Play Device Host和SSDP Discovery Service启动了,如果还是无法正常获取,请注意检查PC的防火墙设置,将windows的防火墙服务Windows Firewall/Internet Connection Sharing (ICS)设置为服务已启动,状态为关闭!

0508、0528版
我是这样设置后,迅雷、utorrent中测试upnp可以通过!!!

两行即可:
/etc/init.d/miniupnpd enable
/etc/init.d/miniupnpd start

第一行的意思是把miniupnpd服务设置为自启动
第二行是在路由重启之前(即本次启动),手工启动miniupnpd服务。

敲完这2行命令,如果PC的设置没问题,upnp马上就能用了

【转】http://blog.chinaunix.net/uid-108863-id-3473677.html

posted on   lydstory  阅读(616)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2021-03-04 DLP :Data Leakage Prevention,数据泄露防护
2021-03-04 win32 wstring <-> string
2020-03-04 qdialog 自动缩放控件可以实现,qmainwindow如何自动缩放
2020-03-04 qt ui设计器 复制粘贴控件
2020-03-04 QMainWindow 中的 centralWidget()
2020-03-04 QT5如何在MainWindow上布局(QWidget::setLayout: Attempting to set QLayout "" on MainWindow)
2020-03-04 宏定义

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示