找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 57265|回复: 127

超详细新手实用教程HG255D OPenwrt 0909版挂载摄像头

 火... [复制链接]
发表于 2013-10-18 13:53 | 显示全部楼层 |阅读模式
本帖最后由 叱咤风云 于 2013-10-21 00:12 编辑

本人也是个新手昨天才入手的HG255D 双天线 64M ,信号不是弱而是几乎没有,拆开一看原来是改接错误,无奈自己动手折腾了半天才达到现在这个程度,基本上算是凑合能用了。

信号弄好了就开始进入正题了,下面主要介绍下挂载摄像头的方法我也是折腾了6个多小时才终于成功了,因为现有的教程贴都写的太专业了咱们这样的新手实在很难理解,所以想写个专门针对新手的教程,让大家都能更方便的使用这个功能!
首先说一下大致流程和要准备的工具软件:
1.SecureCRT 7.0(用来SSH登录HG255D进行命令操作)
2.WinSC (用来上传文件到路由器)
3.CAMWWW (最关键的一个东西)
4.HG255D 和 摄像头(废话。。)
垃圾的摄像头25一个

以上都准备好了就可以开始了
首先用SECURECRT 7.0 连接HG255D
hostname :192.168.1.1 点击CONNECT
usname :root  password:admin (这个其实就是路由的登录账户密码)
出现如下界面:


BusyBox v1.15.3 (2012-09-08 23:35:46 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
           _.-"._
        _-: ()   ":_
     _-"'. '.   _"  :-_
   -"     '.-.'-. .'   "-_
  |"_()   _')..'  ()   -"|
  J  "_ .'  .''. '.    -"  F
   L   "_ .' () '. '_-" o J
   | o ' "-_     _:":     |
    "_ L '  "-.-" | J  _-"
      "| J    F ()J :-"
        "| () J   :-"
          "-_ | _"
             "-"
____                           ____            
|  _ \ _ __ ___  __ _ _ __ ___ | __ )  _____  __
| | | | '__/ _ \/ _` | '_ ` _ \|  _ \ / _ \ \/ /
| |_| | | |  __/ (_| | | | | | | |_) | (_) >  <
|____/|_|  \___|\__,_|_| |_| |_|____/ \___/_/\_\
                                                
------Openwrt-Dreambox(2012, r550) ------------
  * Base on Openwrt Backfire
  * Openwrt-Dreambox Team 2012
  * https://dev.openwrt.org.cn
------------------------------------------------
root@DreamBox:~#
有人说要先用lsusb命令可我这个就是不行我就直接跳过这步了,我是直接输入下面的这个命令(什么摄像头芯片之类的我也搞不懂这样试一下就知道了
root@DreamBox:~# dmesg | grep usb
Registered led device: hg255d:usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbcore: registered new interface driver rt73usb
usbcore: registered new interface driver rtl8187
usbcore: registered new interface driver rt2800usb
usbcore: registered new interface driver p54usb
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 2.6.32.59 dwc_otg
usb usb1: SerialNumber: dwc_otg.0
usb usb1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver ath9k_htc
usb 1-1: new high speed USB device using dwc_otg and address 2
usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1: Product: USB 2.0 Hub
usb 1-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver cdc_acm
usb 1-1.1: new high speed USB device using dwc_otg and address 3
usbcore: registered new interface driver snd-usb-audio
usb 1-1.1: New USB device found, idVendor=0cf3, idProduct=9271
usb 1-1.1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
usb 1-1.1: Product: USB2.0 WLAN
usb 1-1.1: Manufacturer: ATHEROS
usb 1-1.1: SerialNumber: 12345
usb 1-1.1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
usbcore: registered new interface driver usbserial
usb 1-1.1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
usb 1-1.1: ath9k_htc: USB layer initialized
usb 1-1.4: new high speed USB device using dwc_otg and address 4
usb 1-1.4: New USB device found, idVendor=058f, idProduct=3880
usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.4: Product: USB 2.0 PC Camera
usb 1-1.4: Manufacturer: Alcor Micro, Corp.
usb 1-1.4: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver zd1211rw
usbcore: registered new interface driver option
usbcore: registered new interface driver pl2303
usbcore: registered new interface driver cm109
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
usbcore: registered new interface driver zc3xx
input: USB 2.0 PC Camera as /devices/platform/dwc_otg.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input1
usbcore: registered new interface driver uvcvideo
usbip_common_mod: usbip common driver1.0
usbip: proving...
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: USB/IP Virtual Host Contoroller
usb usb2: Manufacturer: Linux 2.6.32.59 vhci_hcd
usb usb2: SerialNumber: vhci_hcd
usb usb2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbip
usbip:Stub Driver for USB/IP:1.0
usb 1-1.4: USB disconnect, address 4
usb 1-1: USB disconnect, address 2
usb 1-1.1: USB disconnect, address 3
usb 1-1.1: ath9k_htc: USB layer deinitialized
usb 1-1: new high speed USB device using dwc_otg and address 5
usb 1-1: New USB device found, idVendor=058f, idProduct=3880
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: USB 2.0 PC Camera
usb 1-1: Manufacturer: Alcor Micro, Corp.
usb 1-1: configuration #1 chosen from 1 choice
input: USB 2.0 PC Camera as /devices/platform/dwc_otg.0/usb1/1-1/1-1:1.0/input/input2
注意上面显示的数据根据上面的信息就能知道你的摄像头是否能支持
usbcore: registered new interface driver zc3xx
input: USB 2.0 PC Camera as /devices/platform/dwc_otg.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input1
usbcore: registered new interface driver uvcvideo

看到上面的3行信息了吗,有这个提示的就说明可以支持
这里先别关闭这个窗口,等会还要继续操作的

游客,如果您要查看本帖隐藏内容请回复
注意里面的参数一定要和代码里的参数匹配否则就会出现上面的错误提示!
好了现在摄像头已经成功挂载了,相信一般的新手也能轻松上手了吧
需要开机自动加载的话就把代码加到开机启动项,设置自动启动后可能会导致路由器的指示灯有些不亮到LED设置里去设置一下就行了!
还有远程监控的话也很简单做个端口映射就OK了!这里就不详细说明了,发帖真累!{:soso_e127:}
第一次发帖写的不好也不专业只要能让大家成功的弄好也就算达到我的目的了,各位老手请别见笑哈!
希望大家多多顶贴哦!!祝大家成功哈!只看不顶木有小JJ{:soso_e113:}




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

永夜君王 www.biquge5.com/0_4/ 永夜君王  发表于 2014-8-12 11:21

评分

参与人数 6恩山币 +4 收起 理由
af*** + 1 对我们这些新手有用
ctyf*** + 1 赞一个,你是我的呕像!
zhiyu*** -1 拿去买糖吃吧!
龙吟*** + 1 我手抖了下,加分变扣分了!
chuh*** + 1 一看就是觉得高端、大气、上档次!
car*** + 1 比那些出口成码的好,帖界良心。

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2013-10-18 14:00 | 显示全部楼层
顺便晒一下我的宽带叠加速度,呵呵!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-18 15:18 | 显示全部楼层
谢谢楼主,正需要这类帖子,标记一下晚上回家仔细学习
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-18 15:30 | 显示全部楼层
还有啊楼主,CAMWWW这个玩意哪里下载啊?求告知
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2013-10-18 16:11 | 显示全部楼层
本帖最后由 叱咤风云 于 2013-10-18 16:14 编辑
sdstone 发表于 2013-10-18 15:30
还有啊楼主,CAMWWW这个玩意哪里下载啊?求告知

就这个
其他2个文件太大传不上来,自己百度一下吧
SecureCRT 7.0
WinSCPPortable_5.1.3

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-18 23:49 | 显示全部楼层
高手,期待楼主其他教程~~~~~~~~~~~~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-20 08:46 | 显示全部楼层
不错,学习了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-20 11:17 | 显示全部楼层
看看什么参数
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-20 11:23 | 显示全部楼层
有兴趣看看,折腾了好一会,终于有点点头绪,驱动也正常了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-20 15:11 | 显示全部楼层
有兴趣看看,折腾了好一会,终于有点点头绪,驱动也正常了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-20 21:37 | 显示全部楼层
学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-20 22:52 | 显示全部楼层
woyao kankan zai shuo o
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-20 23:35 | 显示全部楼层
谢谢楼主
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-21 12:24 | 显示全部楼层
来学习学习哦
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-21 22:56 | 显示全部楼层
参考参考参考
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 21:23

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表