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