bbforever33
Member
Yêu cầu:
- Router cài DDWRT, firmware tìm ở đây: Router Database | www.dd-wrt.com
- PC của các bác đã xem được IPTV (bằng VLC) và có kết nối internet (từ cùng 1 cổng Lan trên modem)
Các bước thực hiện:
- cắm dây mạng từ cổng LAN trên Modem vào cổng WAN trên Router
- trên Router cài Static IP theo modem
thí dụ, địa chỉ modem:
*******************************************************************
router:
*******************************************************************
*******************************************************************
- disable firewall:
- upload file list kênh iptv (.m3u) lên các host cho phép download directlink
thí dụ: dropbox.com, thư mục Public, chọn Copy public link
như hình là file IPTV.m3u (MyTV của VNPT), link download http://dl.dropbox.com/u/68148815/IPTV.m3u
cấu trúc 1 kênh:
#EXTINF:10,ANTV
http://192.168.1.1:86/rtp/232.84.1.212:9246
- vào Administration --> Commands
paste đoạn code sau:
sleep 30
cd /tmp
wget "http://dl.dropbox.com/u/68148815/udpxy_1.0-Chipmunk-19-1_ar71xx.ipk"
ipkg -d /tmp install udpxy_1.0-Chipmunk-19-1_ar71xx.ipk
rm udpxy_1.0-Chipmunk-19-1_ar71xx.ipk
usr/bin/udpxy -p 86 -B 2Mb -M 30
wget "http://dl.dropbox.com/u/68148815/pshare_0.0.2rc2_ar71xx.ipk"
ipkg -d /tmp install pshare_0.0.2rc2_ar71xx.ipk
rm pshare_0.0.2rc2_ar71xx.ipk
cd opt/share/pshare/playlists
wget "http://dl.dropbox.com/u/68148815/IPTV.m3u"
cd /tmp/opt/bin
./pshare -i 192.168.1.1 -n IPTV -t 1 -p 8888 -r "../share/pshare/www" "/tmp/opt/share/pshare/playlists"
chọn Save Starup
kết quả:
- qua Management
chọn Apply Settings
chọn tiếp Reboot Router
Test:
Trên PC, chạy VLC, chọn View --> Playlist --> Local Network --> Universal Plug'n'Play
Trên Adroid:
khuyên dùng BubbleUPnP vì tính năng search kênh
- Router cài DDWRT, firmware tìm ở đây: Router Database | www.dd-wrt.com
- PC của các bác đã xem được IPTV (bằng VLC) và có kết nối internet (từ cùng 1 cổng Lan trên modem)
Các bước thực hiện:
- cắm dây mạng từ cổng LAN trên Modem vào cổng WAN trên Router
- trên Router cài Static IP theo modem
thí dụ, địa chỉ modem:
*******************************************************************
router:

*******************************************************************
*******************************************************************
- disable firewall:

- upload file list kênh iptv (.m3u) lên các host cho phép download directlink
thí dụ: dropbox.com, thư mục Public, chọn Copy public link
như hình là file IPTV.m3u (MyTV của VNPT), link download http://dl.dropbox.com/u/68148815/IPTV.m3u
cấu trúc 1 kênh:
#EXTINF:10,ANTV
http://192.168.1.1:86/rtp/232.84.1.212:9246
- vào Administration --> Commands
paste đoạn code sau:
sleep 30
cd /tmp
wget "http://dl.dropbox.com/u/68148815/udpxy_1.0-Chipmunk-19-1_ar71xx.ipk"
ipkg -d /tmp install udpxy_1.0-Chipmunk-19-1_ar71xx.ipk
rm udpxy_1.0-Chipmunk-19-1_ar71xx.ipk
usr/bin/udpxy -p 86 -B 2Mb -M 30
wget "http://dl.dropbox.com/u/68148815/pshare_0.0.2rc2_ar71xx.ipk"
ipkg -d /tmp install pshare_0.0.2rc2_ar71xx.ipk
rm pshare_0.0.2rc2_ar71xx.ipk
cd opt/share/pshare/playlists
wget "http://dl.dropbox.com/u/68148815/IPTV.m3u"
cd /tmp/opt/bin
./pshare -i 192.168.1.1 -n IPTV -t 1 -p 8888 -r "../share/pshare/www" "/tmp/opt/share/pshare/playlists"
chọn Save Starup
kết quả:
- qua Management
chọn Apply Settings
chọn tiếp Reboot Router
Test:
Trên PC, chạy VLC, chọn View --> Playlist --> Local Network --> Universal Plug'n'Play
Trên Adroid:
khuyên dùng BubbleUPnP vì tính năng search kênh
Chỉnh sửa lần cuối: