Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

hoatienii

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Bạn cấu hình modem và router như thế nào, bạn nói vậy mình chả hiểu.
 

dktn

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Cam on cac bac(xin loi may em dau tieng viet) da quan tam. con comtrem CT5621 la mo dem nhung em cai firmware Snapshots CT5365 moi duoc day la file /etc/network, cac bac giup em chia vlan cho no duoc khong de em lay con wr-740N ra tim hieu. mang cua em internet la 1210 mytv la 2402 chinh xac cac bac a

#port1/wan la 0
#Port2 la 1
#Port3 la 2
#Port4 la 3
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'fdb5:d07d:944f::/48'

config interface 'lan'
option ifname 'eth0'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'

config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'eth0'
option vlan '1'
option ports '1 2 3 4 5'
 
Chỉnh sửa lần cuối:

dktn

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Cam on cac bac(xin loi may em dau tieng viet) da quan tam. con comtrem CT5621 la mo dem nhung em cai firmware Snapshots CT5365 moi duoc day la file /etc/network, cac bac giup em chia vlan cho no duoc khong de em lay con wr-740N ra tim hieu. mang cua em internet la 1210 mytv la 2402 chinh xac cac bac a

#port1/wan la 0
#Port2 la 1
#Port3 la 2
#Port4 la 3
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'fdb5:d07d:944f::/48'

config interface 'lan'
option ifname 'eth0'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'

config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'eth0'
option vlan '1'
option ports '1 2 3 4 5'

em muon cac bac giup em nhu hinh https://drive.google.com/folderview?id=0BzGuJz2gDyubTXotWEdyd19OV0U&usp=sharing
 
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

tình hình là em mới mua dc con TotoLink N300RH mà loay hoay config đủ kiểu mà chưa trộn dc mytv + internet , bác nào đang dùng con này giúp em với .

Bác nhờ bác Draytek bên VOZ là OK ngay.
 

tuanqc78

Well-Known Member
Loay hoay mãi mà vẫn chưa xem được IPTV trên lap và android box, cuối cùng hình như con Tplink 740N đã chết. Tất cả các đèn đều nháy một cách đều đặn trừ đèn nguồn. Các bác cho hỏi vậy con Tplink740N đã chấp nhận vứt được chưa?
 

hoatienii

Member
Ðề: Re: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Loay hoay mãi mà vẫn chưa xem được IPTV trên lap và android box, cuối cùng hình như con Tplink 740N đã chết. Tất cả các đèn đều nháy một cách đều đặn trừ đèn nguồn. Các bác cho hỏi vậy con Tplink740N đã chấp nhận vứt được chưa?

Hình như chết rồi bạn à, cho mình nha :D
 

hoatienii

Member
Ðề: Re: Ðề: Re: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Mình đã up OpenWrt, chắc nó brick. Có tìm hiểu Debrick mà phức tạp quá, hy vọng bác nào có cao kiến gì chứ phải dùng USB to UART TTL để nạp lại firmware cho nó thì một tiền gà 3 tiền thóc.

cho mình mình gửi tiền vận chuyển cho bác à. :D
 

dktn

Member
Ðề: Re: Ðề: Re: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Bác thử theo hướng dẫn:
-rút nguồn điện ra
-đặt địa chỉ máy tính là 192.168.1.2/255.255.255.0/192.168.1.1, tốt nhất là có Switch nối chung máy tính và router.
-cắm nguồn điện vào
-đợi khi đèn SYS nháy (thử khoảng từ 1 giây dến 10 giây), nhấn giữ QSS nếu thấy đèn nháy nhanh thì router đã chạy chế độ failsafe. Theo hướng dẫn bạn có thể telnet được router và dùng các dòng lệnh
-mount_root
-firtsboot
-/rom/sbin/reboot
mình không có wr740 nên không thử được.
 

hamdzuii

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Cam on cac bac(xin loi may em dau tieng viet) da quan tam. con comtrem CT5621 la mo dem nhung em cai firmware Snapshots CT5365 moi duoc day la file /etc/network, cac bac giup em chia vlan cho no duoc khong de em lay con wr-740N ra tim hieu. mang cua em internet la 1210 mytv la 2402 chinh xac cac bac a

Con modem Comtrend này ram chỉ có 16MB, cpu quá yếu để chạy openwrt, khuyên bạn ko nên xài.
 

tuanqc78

Well-Known Member
Re: Ðề: Re: Ðề: Re: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Bác thử theo hướng dẫn:
-rút nguồn điện ra
-đặt địa chỉ máy tính là 192.168.1.2/255.255.255.0/192.168.1.1, tốt nhất là có Switch nối chung máy tính và router.
-cắm nguồn điện vào
-đợi khi đèn SYS nháy (thử khoảng từ 1 giây dến 10 giây), nhấn giữ QSS nếu thấy đèn nháy nhanh thì router đã chạy chế độ failsafe. Theo hướng dẫn bạn có thể telnet được router và dùng các dòng lệnh
-mount_root
-firtsboot
-/rom/sbin/reboot
mình không có wr740 nên không thử được.
Cách này không được, em thử rồi. Chỉ còn cách giải phẩu nó rồi hàn với cap usb to rs232, sau đó mới nạp lại firmware. Nạp từ máy ảo không được.
 

tuanqc78

Well-Known Member
Có cách dã man hơn là làm sập nguồn rồi kêu vnpt bảo hành.!!!
 

dktn

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Con modem Comtrend này ram chỉ có 16MB, cpu quá yếu để chạy openwrt, khuyên bạn ko nên xài.

Bác giúp em phân thành 2 vlan cho FTTH(1210) và MYTV (2402) giúp em với để em lấy con WR740 ra chạy vì con CT5621 này bị khóa loader hay sao ấy, firmware chính gốc của nó khi cài xong openwrt không telnet được.
bác xem giúp em, em cám ơn bác.
BusyBox v1.22.1 (2014-12-06 19:35:05 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Bleeding Edge, r43530)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.14.25 (openwrt@gb-11) (gcc version 4.8.3 (OpenWrt /Linaro GCC 4.8-2014.04 r43530) ) #1 Sat Dec 6 19:51:00 UTC 2014
[ 0.000000] Detected Broadcom 0x6348 CPU revision b0
[ 0.000000] CPU frequency is 256 MHz
[ 0.000000] 16MB of RAM installed
[ 0.000000] registering 37 GPIOs
[ 0.000000] board_bcm963xx: Boot address 0xbfc00000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-6.8-39
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00029107 (Broadcom BMIPS3300)
[ 0.000000] board: board name: 96348A-122
[ 0.000000] MIPS: machine is Comtrend CT-5365
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x00ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x00ffffff]
[ 0.000000] On node 0 totalpages: 4096
[ 0.000000] free_area_init_node: node 0, pgdat 80358690, node_mem_map 804e206 0
[ 0.000000] Normal zone: 32 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 4096 pages, LIFO batch:0
[ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 byte s
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pa ges: 4064
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jff s2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Memory: 11184K/16384K available (2686K kernel code, 142K rwdata, 636K rodata, 1264K init, 188K bss, 5200K reserved)
[ 0.000000] NR_IRQS:256
[ 0.036000] Calibrating delay loop... 254.46 BogoMIPS (lpj=508928)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060000] NET: Registered protocol family 16
[ 0.092000] registering PCI controller with io_map_base unset
[ 0.096000] registering PCI controller with io_map_base unset
[ 0.132000] bio: create slab <bio-0> at 0
[ 0.148000] PCI host bridge to bus 0000:00
[ 0.152000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.156000] pci_bus 0000:00: root bus resource [io 0x8000000-0x8007fff]
[ 0.160000] pci_bus 0000:00: No busn resource found for root bus, will use [b us 00-ff]
[ 0.164000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.164000] PCI host bridge to bus 0000:01
[ 0.168000] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[ 0.172000] pci_bus 0000:01: root bus resource [io 0x8008000-0x800ffff]
[ 0.176000] pci_bus 0000:01: No busn resource found for root bus, will use [b us 01-ff]
[ 0.180000] pci 0000:01:1e.0: [14e4:6348] type 02 class 0x060700
[ 0.180000] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), rec onfiguring
[ 0.184000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[ 0.184000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[ 0.184000] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[ 0.188000] pci 0000:01:1e.0: BAR 7: assigned [io 0x8008000-0x80080ff]
[ 0.192000] pci 0000:01:1e.0: BAR 8: assigned [io 0x8008400-0x80084ff]
[ 0.196000] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[ 0.200000] pci 0000:01:1e.0: bridge window [io 0x8008000-0x80080ff]
[ 0.204000] pci 0000:01:1e.0: bridge window [io 0x8008400-0x80084ff]
[ 0.208000] pci 0000:01:1e.0: bridge window [mem 0x38000000-0x3fffffff]
[ 0.216000] Switched to clocksource MIPS
[ 0.240000] NET: Registered protocol family 2
[ 0.248000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.256000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.264000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.272000] TCP: reno registered
[ 0.276000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.288000] NET: Registered protocol family 1
[ 0.292000] PCI: CLS 0 bytes, default 16
[ 0.304000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.312000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.320000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 0.328000] msgmni has been set to 21
[ 0.336000] io scheduler noop registered
[ 0.340000] io scheduler deadline registered (default)
[ 0.352000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10, base_baud = 1 562500) is a bcm63xx_uart
[ 0.360000] console [ttyS0] enabled
[ 0.368000] bootconsole [early0] disabled
[ 0.388000] 1fc00000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufact urer ID 0x0000c2 Chip ID 0x0022a8
[ 0.400000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.404000] Amd/Fujitsu Extended Query version 1.1.
[ 0.408000] number of CFI chips: 1
[ 0.412000] bcm63xxpart: CFE boot tag found with version 6 and board type 963 48A-122
[ 0.420000] 5 bcm63xxpart partitions found on MTD device 1fc00000.nor
[ 0.428000] Creating 5 MTD partitions on "1fc00000.nor":
[ 0.432000] 0x000000000000-0x000000010000 : "CFE"
[ 0.444000] 0x000000010100-0x000000140000 : "kernel"
[ 0.452000] mtd: partition "kernel" must either start or end on erase block b oundary or be smaller than an erase block -- forcing read-only
[ 0.472000] 0x000000140000-0x0000003f0000 : "rootfs"
[ 0.484000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.488000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.496000] 0x000000310000-0x0000003f0000 : "rootfs_data"
[ 0.508000] 0x000000010000-0x0000003f0000 : "linux"
[ 0.520000] 0x0000003f0000-0x000000400000 : "nvram"
[ 0.536000] bcm63xx-spi bcm63xx-spi: at 0xfffe0c00 (irq 9, FIFOs size 63)
[ 0.564000] libphy: bcm63xx_enet MII bus: probed
[ 0.636000] b53_common: found switch: BCM5325, rev 0
[ 0.644000] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0 [Broadcom B53 (1)]
[ 0.660000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.676000] TCP: cubic registered
[ 0.680000] NET: Registered protocol family 17
[ 0.684000] Bridge firewalling registered
[ 0.688000] 8021q: 802.1Q VLAN Support v1.8
[ 0.712000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.740000] Freeing unused kernel memory: 1264K (80374000 - 804b0000)
[ 5.120000] Button Hotplug driver version 0.4.1
[ 5.136000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/i nput/input0
[ 7.168000] random: mktemp urandom read with 102 bits of entropy available
[ 13.704000] random: nonblocking pool is initialized
[ 15.976000] NET: Registered protocol family 10
[ 16.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 16.036000] Loading modules backported from Linux version master-2014-11-04-0 -gf3660a2
[ 16.044000] Backport generated by backports.git backports-20141023-2-g4ff890b
[ 16.060000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 16.104000] nf_conntrack version 0.5.0 (194 buckets, 776 max)
[ 16.216000] xt_time: kernel timezone is -0000
[ 16.332000] cfg80211: Calling CRDA to update world regulatory domain
[ 16.348000] cfg80211: World regulatory domain updated:
[ 16.352000] cfg80211: DFS Master region: unset
[ 16.356000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
[ 16.368000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.376000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.384000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.392000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.400000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (0 s)
[ 16.408000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 16.420000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.428000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 17.444000] PPP generic driver version 2.4.2
[ 17.456000] NET: Registered protocol family 24
[ 17.896000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 27.800000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 29.996000] eth0: link UP - 100/full - flow control off
[ 30.008000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 35.552000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 35.568000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 35.572000] jffs2_build_filesystem(): erasing all blocks after the end marker ...
[ 41.864000] device eth0 entered promiscuous mode
[ 41.880000] br-lan: port 1(eth0) entered forwarding state
[ 41.884000] br-lan: port 1(eth0) entered forwarding state
[ 43.528000] done.
[ 43.528000] jffs2: notice: (650) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 43.888000] br-lan: port 1(eth0) entered forwarding state
[ 44.884000] eth0: link UP - 100/full - flow control off
 

hamdzuii

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Trời wơi, ko post cái config network lên lại post cái dmesg làm gì trời, có file network zin của nó tớ mới giúp đc.
firmware openwrt khi đã đặt password rồi thì nó tự disable telnet là đúng rồi còn gì nữa, người ta khuyến khích xài ssh nhiều chức năng hơn mà.
 

hoatienii

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Bác giúp em phân thành 2 vlan cho FTTH(1210) và MYTV (2402) giúp em với để em lấy con WR740 ra chạy vì con CT5621 này bị khóa loader hay sao ấy, firmware chính gốc của nó khi cài xong openwrt không telnet được.
bác xem giúp em, em cám ơn bác.
BusyBox v1.22.1 (2014-12-06 19:35:05 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Bleeding Edge, r43530)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.14.25 (openwrt@gb-11) (gcc version 4.8.3 (OpenWrt /Linaro GCC 4.8-2014.04 r43530) ) #1 Sat Dec 6 19:51:00 UTC 2014
[ 0.000000] Detected Broadcom 0x6348 CPU revision b0
[ 0.000000] CPU frequency is 256 MHz
[ 0.000000] 16MB of RAM installed
[ 0.000000] registering 37 GPIOs
[ 0.000000] board_bcm963xx: Boot address 0xbfc00000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-6.8-39
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00029107 (Broadcom BMIPS3300)
[ 0.000000] board: board name: 96348A-122
[ 0.000000] MIPS: machine is Comtrend CT-5365
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 01000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x00ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x00ffffff]
[ 0.000000] On node 0 totalpages: 4096
[ 0.000000] free_area_init_node: node 0, pgdat 80358690, node_mem_map 804e206 0
[ 0.000000] Normal zone: 32 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 4096 pages, LIFO batch:0
[ 0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 byte s
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pa ges: 4064
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jff s2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Memory: 11184K/16384K available (2686K kernel code, 142K rwdata, 636K rodata, 1264K init, 188K bss, 5200K reserved)
[ 0.000000] NR_IRQS:256
[ 0.036000] Calibrating delay loop... 254.46 BogoMIPS (lpj=508928)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.044000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060000] NET: Registered protocol family 16
[ 0.092000] registering PCI controller with io_map_base unset
[ 0.096000] registering PCI controller with io_map_base unset
[ 0.132000] bio: create slab <bio-0> at 0
[ 0.148000] PCI host bridge to bus 0000:00
[ 0.152000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.156000] pci_bus 0000:00: root bus resource [io 0x8000000-0x8007fff]
[ 0.160000] pci_bus 0000:00: No busn resource found for root bus, will use [b us 00-ff]
[ 0.164000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.164000] PCI host bridge to bus 0000:01
[ 0.168000] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[ 0.172000] pci_bus 0000:01: root bus resource [io 0x8008000-0x800ffff]
[ 0.176000] pci_bus 0000:01: No busn resource found for root bus, will use [b us 01-ff]
[ 0.180000] pci 0000:01:1e.0: [14e4:6348] type 02 class 0x060700
[ 0.180000] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), rec onfiguring
[ 0.184000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[ 0.184000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[ 0.184000] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[ 0.188000] pci 0000:01:1e.0: BAR 7: assigned [io 0x8008000-0x80080ff]
[ 0.192000] pci 0000:01:1e.0: BAR 8: assigned [io 0x8008400-0x80084ff]
[ 0.196000] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[ 0.200000] pci 0000:01:1e.0: bridge window [io 0x8008000-0x80080ff]
[ 0.204000] pci 0000:01:1e.0: bridge window [io 0x8008400-0x80084ff]
[ 0.208000] pci 0000:01:1e.0: bridge window [mem 0x38000000-0x3fffffff]
[ 0.216000] Switched to clocksource MIPS
[ 0.240000] NET: Registered protocol family 2
[ 0.248000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.256000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.264000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.272000] TCP: reno registered
[ 0.276000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.288000] NET: Registered protocol family 1
[ 0.292000] PCI: CLS 0 bytes, default 16
[ 0.304000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.312000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.320000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
[ 0.328000] msgmni has been set to 21
[ 0.336000] io scheduler noop registered
[ 0.340000] io scheduler deadline registered (default)
[ 0.352000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10, base_baud = 1 562500) is a bcm63xx_uart
[ 0.360000] console [ttyS0] enabled
[ 0.368000] bootconsole [early0] disabled
[ 0.388000] 1fc00000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufact urer ID 0x0000c2 Chip ID 0x0022a8
[ 0.400000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.404000] Amd/Fujitsu Extended Query version 1.1.
[ 0.408000] number of CFI chips: 1
[ 0.412000] bcm63xxpart: CFE boot tag found with version 6 and board type 963 48A-122
[ 0.420000] 5 bcm63xxpart partitions found on MTD device 1fc00000.nor
[ 0.428000] Creating 5 MTD partitions on "1fc00000.nor":
[ 0.432000] 0x000000000000-0x000000010000 : "CFE"
[ 0.444000] 0x000000010100-0x000000140000 : "kernel"
[ 0.452000] mtd: partition "kernel" must either start or end on erase block b oundary or be smaller than an erase block -- forcing read-only
[ 0.472000] 0x000000140000-0x0000003f0000 : "rootfs"
[ 0.484000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.488000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.496000] 0x000000310000-0x0000003f0000 : "rootfs_data"
[ 0.508000] 0x000000010000-0x0000003f0000 : "linux"
[ 0.520000] 0x0000003f0000-0x000000400000 : "nvram"
[ 0.536000] bcm63xx-spi bcm63xx-spi: at 0xfffe0c00 (irq 9, FIFOs size 63)
[ 0.564000] libphy: bcm63xx_enet MII bus: probed
[ 0.636000] b53_common: found switch: BCM5325, rev 0
[ 0.644000] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0 [Broadcom B53 (1)]
[ 0.660000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.676000] TCP: cubic registered
[ 0.680000] NET: Registered protocol family 17
[ 0.684000] Bridge firewalling registered
[ 0.688000] 8021q: 802.1Q VLAN Support v1.8
[ 0.712000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.740000] Freeing unused kernel memory: 1264K (80374000 - 804b0000)
[ 5.120000] Button Hotplug driver version 0.4.1
[ 5.136000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled.0/i nput/input0
[ 7.168000] random: mktemp urandom read with 102 bits of entropy available
[ 13.704000] random: nonblocking pool is initialized
[ 15.976000] NET: Registered protocol family 10
[ 16.000000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 16.036000] Loading modules backported from Linux version master-2014-11-04-0 -gf3660a2
[ 16.044000] Backport generated by backports.git backports-20141023-2-g4ff890b
[ 16.060000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 16.104000] nf_conntrack version 0.5.0 (194 buckets, 776 max)
[ 16.216000] xt_time: kernel timezone is -0000
[ 16.332000] cfg80211: Calling CRDA to update world regulatory domain
[ 16.348000] cfg80211: World regulatory domain updated:
[ 16.352000] cfg80211: DFS Master region: unset
[ 16.356000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
[ 16.368000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.376000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.384000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.392000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.400000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (0 s)
[ 16.408000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 16.420000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
[ 16.428000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 17.444000] PPP generic driver version 2.4.2
[ 17.456000] NET: Registered protocol family 24
[ 17.896000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 27.800000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 29.996000] eth0: link UP - 100/full - flow control off
[ 30.008000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 35.552000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 35.568000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 35.572000] jffs2_build_filesystem(): erasing all blocks after the end marker ...
[ 41.864000] device eth0 entered promiscuous mode
[ 41.880000] br-lan: port 1(eth0) entered forwarding state
[ 41.884000] br-lan: port 1(eth0) entered forwarding state
[ 43.528000] done.
[ 43.528000] jffs2: notice: (650) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 43.888000] br-lan: port 1(eth0) entered forwarding state
[ 44.884000] eth0: link UP - 100/full - flow control off

Chắc tới nhà bác làm mới đc quá.
 

hamdzuii

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Đề nghị bạn hoatienii đừng quote nguyên con như thế đọc đau mắt lém. 8-}
 

dktn

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

#port1/wan la 0
#Port2 la 1
#Port3 la 2
#Port4 la 3
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
 
Chỉnh sửa lần cuối:

dktn

Member
Ðề: Hướng dẫn cấu hình Router chạy OpenWRT để xem IPTV bằng các thiết bị hỗ trợ uPnP, DLNA

Trời wơi, ko post cái config network lên lại post cái dmesg làm gì trời, có file network zin của nó tớ mới giúp đc.
firmware openwrt khi đã đặt password rồi thì nó tự disable telnet là đúng rồi còn gì nữa, người ta khuyến khích xài ssh nhiều chức năng hơn mà.

con CT5621 la con modem ADSL firmware phai la openwrt-CT536_CT5621-squashfs-cfe.bin nhung khi up len thi khong the telnet duoc(telnet 192.168.1.1 bao loi mo cong 23), em up firmware openwrt-CT-5365-squashfs-cfe.bin thi telnet duoc moi lay file/etc/config/network nhu tren. em khong ro tai sao nua.(Xin loi may em chay win8 em khong biet cach go tieng viet)
 
Bên trên