hi3520d无线视网络频传输开发总结

本文档介绍了hi3520d无线视频传输的开发过程,包括rtsp流播放、内核模块加载、网络配置、udhcpd配置以及RT2870AP无线参数设置,详细阐述了每一步的操作步骤和配置文件内容。
摘要由CSDN通过智能技术生成

1.播放rtsp流地址,在vlc上打开

rtsp://192.168.1.21/xstrive0 


2. vi  /etc/init.d/rcS

insmod rtutil3070ap.ko                    
insmod rt3070ap.ko                        
insmod rtnet3070ap.ko                    
ifconfig ra0 up                          
ifconfig ra0 192.168.1.21 netmask 255.255.255.0
cd /usr/xstrive/ko && ./load3520D_xstrive -i 8d1 128M nvp1914c
route add default gateway 192.168.1.1                         
cd /usr/xstrive &&./live555MediaServer &                      
udhcpd /etc/udhcpd.conf &


3. vi  /etc/udhcpd.conf
# Sample udhcpd configuration file (/etc/udhcpd.conf)
# Values shown are defaults

# The start and end of the IP lease block
start           192.168.1.20
end             192.168.1.254

# The interface that udhcpd will use
interface       ra0

# The maximim number of leases (includes addresses reserved
# by OFFER's, DECLINE's, and ARP conficts). Will be corrected
# if it's bigger than IP lease block, but it ok to make it
# smaller than lease block.
#max_leases     254

# The time period at which udhcpd will write out a dhcpd.leases
# file. If this is 0, udhcpd will never automatically write a
# lease file. Specified in seconds.
#auto_time      7200

# The amount of time that an IP will be reserved (leased to nobody)
# if a DHCP decline message is received (seconds).
#decline_time   3600                                               
                                                                   
# The amount of time that an IP will be reserved                   
# if an ARP conflct occurs (seconds).                              
#conflict_time  3600                                               
                                                                   
# How long an offered address is reserved (seconds).               
#offer_time     60                      

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值