76

(1 odpowiedzi, napisanych Oprogramowanie / Software)

Witam. Chciałbym zrobić rammoda w MR3020 z zainstalowanym openWRT CC. Mam kości HY5DU121622CTP-J, czy nadaje sie do MR3020??
Pozdr

Witam. Posiadam MR3020 ver 1.7. Nadeszła potrzeba powrotu do oryginału. Mam kilka wersji oryginalnych bez boot i niestety na żadnej nie działa jak powinien. Po kablu przydziela adres DHCP prawidłowy jak dla oryginalu ale brak strony www pod 192.168.0.254 i nie uruchamia się WIFI jak to jest w oryginale i problem chyba dotyczy własnie tego. Czy sektor ART albo inaczej mtd4 można skopiować z innego mr3020 gdyż prawdopodobnie zamiast 0x3c0000 poprzedni właściciel wyczyścił 0x3e0000 i od tego zaczęły sie problemy.

Da się go jeszcze ożywić??


Pozdrawiam

78

(8 odpowiedzi, napisanych Oprogramowanie / Software)

Obeszłem problem trochę inaczej tongue Luci zainstalowane. Mam teraz inną kwestię czy jest możliwość ustawienia tak by jeden port LAN miał działanie portu WAN a pozostałe 3 były zwykłymi lanami i dostawały adres z DHCP z Easybox-a. Bardzo proszę o wskazówki co dalej

79

(8 odpowiedzi, napisanych Oprogramowanie / Software)

Pierwszy raz modyfikuję router na opisie z openwrt i bez luci i dlatego moje laickie pytania. Jeżeli ktoś przerabiał ten temat może poprawiłby pliki konfiguracyjne by router po lan-ie łączył się z internetem bo ten router nie ma typowego wan-u. Aktualne plik etc/config/network
config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

config adsl-device 'adsl'
        option fwannex 'b'
        option annex 'b2p'

config atm-bridge 'atm'
        option unit '0'
        option vpi '1'
        option vci '32'
        option encaps 'llc'
        option payload 'bridged'

config interface 'wan'
        option ifname 'nas0'
        option proto 'pppoe'
        option username 'foo'
        option password 'bar'

wireless

config wifi-device  radio0
        option type     mac80211
        option channel  11
        option macaddr  0c:00:28:43:00:60
        option hwmode   11ng
        option htmode   HT20
        list ht_capab   GF
        list ht_capab   SHORT-GI-20
        list ht_capab   SHORT-GI-40
        list ht_capab   RX-STBC1
        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

config wifi-iface
        option device   radio0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option encryption none

Proszę o pomoc

80

(8 odpowiedzi, napisanych Oprogramowanie / Software)

Szczerze to nawet nie wiem czy ma zintegorwane luci. Korzystałem z tego: http://wiki.openwrt.org/toh/arcadyan/arv752dpw   opisu.

81

(8 odpowiedzi, napisanych Oprogramowanie / Software)

Witam. Udało mi się wrzucić u-boot-a alternatywnego oraz 12.09 zgodnie z instrukcją z wiki openwrt lecz strona konfiguracyjna po http nie działa. Telnet failsafe działa, co jeszcze trzeba poprawić. Log i bootowania:
ROM VER: 1.0.3
CFG 01
Readü
ROM VER: 1.0.3
CFG 01
Read EEPROMX
X


U-Boot 2010.03 (Apr 09 2012 - 01:10:47)

Board: ARV752DPW
SoC: Danube/Twinpass/Vinax-VE V1.5, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  64 MB
Flash:  8 MB
*** Warning - bad CRC, using default environment

Net:
searching for rtl8306 switch ... found
Reset Hard
Done
Reset Soft
Success

lq_cpe_eth
Hit any key to stop autoboot:  0
## Booting kernel from Legacy Image at b0020000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2013-04-03   8:57:45 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1017147 Bytes = 993.3 kB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc ve
rsion 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 11:36
:28 UTC 2013
[    0.000000] SoC: Danube rev 1.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 16256
[    0.000000] Kernel command line: console=ttyLTQ1,115200 rootfstype=squashfs,j
ffs2 machtype=ARV752DPW
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 byt
es
[    0.000000] Writing ErrCtl register=0007bfd8
[    0.000000] Readback ErrCtl register=0007bfd8
[    0.000000] Memory: 61704k/65536k available (2413k kernel code, 3832k reserve
d, 404k data, 176k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.056000] gpiochip_add: registered GPIOs 0 to 15 on device: ltq_gpio
[    0.060000] gpiochip_add: registered GPIOs 16 to 31 on device: ltq_gpio
[    0.064000] MIPS: machine is ARV752DPW - Arcor A802
[    0.068000] gpiochip_add: registered GPIOs 100 to 115 on device: ltq_ebu
[    0.104000] bio: create slab <bio-0> at 0
[    0.112000] PCI host bridge to bus 0000:00
[    0.116000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.120000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.124000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.128000] pci 0000:00:0e.0: SLOT:14 PIN:1 IRQ:135
[    0.132000] Switching to clocksource MIPS
[    0.140000] NET: Registered protocol family 2
[    0.148000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.152000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.160000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.168000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.172000] TCP reno registered
[    0.176000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.184000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.188000] NET: Registered protocol family 1
[    0.196000] gptu: totally 6 16-bit timers/counters
[    0.200000] gptu: misc_register on minor 63
[    0.204000] gptu: succeeded to request irq 126
[    0.208000] gptu: succeeded to request irq 127
[    0.212000] gptu: succeeded to request irq 128
[    0.216000] gptu: succeeded to request irq 129
[    0.224000] gptu: succeeded to request irq 130
[    0.228000] gptu: succeeded to request irq 131
[    0.236000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.240000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY
) (c) 2001-2006 Red Hat, Inc.
[    0.252000] msgmni has been set to 120
[    0.256000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
54)
[    0.264000] io scheduler noop registered
[    0.268000] io scheduler deadline registered (default)
[    0.272000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
[    0.280000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.280000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.296000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer
ID 0x0000c2 Chip ID 0x0022cb
[    0.304000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.308000]   Amd/Fujitsu Extended Query version 1.1.
[    0.312000] number of CFI chips: 1
[    0.316000] Creating 4 MTD partitions on "ltq_nor":
[    0.320000] 0x000000000000-0x000000010000 : "uboot"
[    0.328000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.336000] 0x000000020000-0x0000007f0000 : "linux"
[    0.344000] found squashfs behind kernel
[    0.344000] Creating 2 MTD partitions on "ltq_nor":
[    0.348000] 0x000000020000-0x00000011857b : "kernel"
[    0.356000] mtd: partition "kernel" must either start or end on erase block b
oundary or be smaller than an erase block -- forcing read-only
[    0.368000] 0x00000011857b-0x0000007f0000 : "rootfs"
[    0.372000] mtd: partition "rootfs" must either start or end on erase block b
oundary or be smaller than an erase block -- forcing read-only
[    0.388000] mtd: partition "rootfs" set to be root filesystem
[    0.392000] mtd: partition "rootfs_data" created automatically, ofs=2D0000, l
en=520000
[    0.400000] 0x0000002d0000-0x0000007f0000 : "rootfs_data"
[    0.408000] 0x0000007f0000-0x000000800000 : "board_config"
[    0.436000] ltq_mii: probed
[    0.464000] Registering RTL8306SDM switch with Chip ID: 0x5988, version: 0x00
00
[    0.472000] eth0: attached PHY [Realtek RTL8306S] (phy_addr=ltq_etop-fffffff:
00, irq=-1)
[    0.496000] TCP cubic registered
[    0.496000] NET: Registered protocol family 17
[    0.504000] Bridge firewalling registered
[    0.508000] 8021q: 802.1Q VLAN Support[    0.528000] VFS: Mounted root (squas
hfs filesystem) readonly on device 31:4.
[    0.536000] Freeing unused kernel memory: 176k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    7.472000] JFFS2 notice: (358) jffs2_build_xattr_subsystem: complete buildin
g xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 6 of xref (0 dead, 2
orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [    9.148000] Compat-drivers backp
ort release: compat-drivers-2012-09-04-2-gddac993
[    9.156000] Backport based on wireless-testing.git master-2012-09-07
[    9.160000] compat.git: wireless-testing.git
[    9.200000] cfg80211: Calling CRDA to update world regulatory domain
[    9.204000] cfg80211: World regulatory domain updated:
[    9.208000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gai
n, max_eirp)
[    9.216000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 20
00 mBm)
[    9.224000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 20
00 mBm)
[    9.232000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 20
00 mBm)
[    9.240000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 20
00 mBm)
[    9.244000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 20
00 mBm)
[   10.028000] usbcore: registered new interface driver usbfs
[   10.032000] usbcore: registered new interface driver hub
[   10.040000] usbcore: registered new device driver usb
[   10.616000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   10.956000] NET: Registered protocol family 8
[   10.960000] NET: Registered protocol family 20
[   11.124000] Button Hotplug driver version 0.4.1
[   11.264000] PPP generic driver version 2.4.2
[   11.732000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.032000] NET: Registered protocol family 24
[   12.188000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
[   12.640000] IFX MEI Version 5.00.00
[   12.804000]
[   12.804000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[   12.836000]     ATM (A1) firmware version 1.0.19
[   12.840000] ifxmips_atm: ATM init succeed
[   12.872000] dwc_otg: version 2.60a 22-NOV-2006
[   13.480000] DWC_otg: Using DMA mode
[   13.480000] dwc_otg dwc_otg.0: DWC OTG Controller
[   13.484000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[   13.492000] dwc_otg dwc_otg.0: irq 62, io mem 0xffffffffbe101000
[   13.500000] DWC_otg: Init: Port Power? op_state=1
[   13.504000] DWC_otg: Init: Power Port (0)
[   13.508000] hub 1-0:1.0: USB hub found
[   13.512000] hub 1-0:1.0: 1 port detected
[   13.536000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/inp
ut/input0
[   13.888000] usb 1-1: new high-speed USB device number 2 using dwc_otg
[   14.080000] hub 1-1:1.0: USB hub found
[   14.084000] hub 1-1:1.0: 4 ports detected
[   21.792000] device eth0 entered promiscuous mode
[   21.800000] br-lan: port 1(eth0) entered forwarding state
[   21.804000] br-lan: port 1(eth0) entered forwarding state
[   23.808000] br-lan: port 1(eth0) entered forwarding state
Jeszcze env:
bootcmd=run flash_flash
bootdelay=2
baudrate=115200
loads_echo=
ipaddr=192.168.1.1
serverip=192.168.1.101
rootpath="/export"
gatewayip=192.168.1.254
netmask=255.255.255.0
ram_addr=0x80500000
kernel_addr=0xb0020000
flashargs=setenv bootargs rootfstype=squashfs,jffs2
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmas
k}:${hostname}:${netdev}:off
addmisc=setenv bootargs ${bootargs} init=/etc/preinit console=ttyS1,115200 ethad
dr=${ethaddr} ${mtdparts}
flash_flash=run flashargs addip addmisc;bootm ${kernel_addr}
flash_nfs=run nfsargs addip addmisc;bootm ${kernel_addr}
net_flash=run load_kernel flashargs addip addmisc;bootm ${ram_addr}
net_nfs=run load_kernel nfsargs addip addmisc;bootm ${ram_addr}
load_kernel=tftp ${ram_addr} ${tftppath}openwrt-ifxmips-uImage
update_uboot=tftp 0x80500000 ${tftppath}u-boot-ARV752DPW.bin;era 0xb0000000 +${f
ilesize};cp.b 0x80500000 0xb0000000 ${filesize}
update_openwrt=tftp ${ram_addr} ${tftppath}ARV752DPW-squashfs.image;era ${kernel
_addr} +${filesize};cp.b ${ram_addr} ${kernel_addr} ${filesize}
stdin=serial
stdout=serial
stderr=serial
ethaddr=ff:ff:ff:ff:ff:ff
ethact=lq_cpe_eth
ver=U-Boot 2010.03 (Apr 09 2012 - 01:10:47)

Environment size: 1269/65532 bytes
ARV752DPW =>


Co trzeba jeszcze poprawić by działała konfiguracja po stronce http??
Pozdrawiam

82

(4 odpowiedzi, napisanych Oprogramowanie / Software)

A czy na jakimś routerze jest możliwość stabilnego odtwarzania ACC+??

83

(4 odpowiedzi, napisanych Oprogramowanie / Software)

4. Przy odtwarzaniu stream-ów w formacie ACC+ na początku chwilkę cisza, później gra z 5 sekund a później jest czkawka. Czy tylko ja tak mam??

84

(4 odpowiedzi, napisanych Oprogramowanie / Software)

Witam. Z góry przepraszam jeżeli było to już kiedyś poruszane lub jest zbyt banalne ale w OpenWRT dopiero się zagłębiam.
Jestem w trakcie tworzenia odtwarzacza multimedialnego (mp3, radio internetowe) na routerze MR3020. Aktualny stan jest taki:
Wgrane gargoyle najnowsze z extroot, zainstalowana karta dźwiękowa, zainstalowany mpd z mpc i dzwięk jest odtwarzany dobrze, obudowa do cudeńka w trakcie tworzenia. Jestem w trakcie tworzenia płytki LCD2USB i będę zamawiał w piątek wyświetlacz 4x20. Mam następujące pytania:
1. Czy da się skonfigurować tak ustawienia w routerze by gdy przełącznik np. w pozycji AP ciągnął internet z LAN-u a po przełączeniu na WISP czerpał przez WIFI (oczywiście dane routera źródłowego wpisane wcześniej w ustawienia)
2. Gdzie i co trzeba dopisać by mpd startowało przy starcie gargoyle i od razu odtwarzało pierwszą pozycję na liście??
3. W jakim formacie powinny być zapisane playlisty aby mpd je tolerował
4. Czy jest szansa na to że wyjdzie łatka do mpd poprawiająca problem z ACC+??
5. Czy jest możliwość skonfigurowania przycisku WPS by można nim było włączać i wyłączać Mpd??

Zapewne po zrobieniu LCD2USB pojawią się dodatkowe pytania lecz na razie to tyle smile

Pozdrawiam i liczę na pomoc