301

(34 odpowiedzi, napisanych Oprogramowanie / Software)

tak zgadza się, ustawieniami można troche odciążyć router

302

(34 odpowiedzi, napisanych Oprogramowanie / Software)

u mnie też ten problem występował. Darkicie strasznie zamulało 1043. Nie doszedłem do tego dlaczego tak się działo, ale może to być poprostu wina za słabego sprzętu smile ja nie potrzebowałem przesyłania audio cały czas, tylko wtedy gdy wchodziłem na stronke, więc wykonałem sobie zdalne uruchamianie podsłuchu przez www. Tutaj jest coś na ten temat http://eko.one.pl/forum/viewtopic.php?id=2631. Dodatkowo proces ten uruchamiam i ubijam za pomocą przycisku routera, co już masz opisane w poradnikach jak to zrobić.

303

(45 odpowiedzi, napisanych Termometr)

a nie lepiej byłoby Ci użyć do tego OWFS + RRDTOOL. Tutaj masz gotowe skrypty z min, max odczytami, z przesuwną bazą danych która sobie ustalasz na jaki okres chcesz archiwizować dane. http://openrouter.info/index.php?option … ;Itemid=61
Chyba ze wolisz powalczyć z gnuplptem smile

304

(7 odpowiedzi, napisanych Oprogramowanie / Software)

coś niedobrego się dzieje. Przywróciłem domyślna wartość crontaba i ustawiłem sobie od nowa regułki. Po restarcie ciężko miał wstać ale tak po 5min się obudził. W crontab ukazały się kolejne głupoty

root:$1$ILXOuJNn$F9sXhS.mh0LR1Fyw/INxS0:0:0:root:/root:/bin/ash
netw

305

(7 odpowiedzi, napisanych Oprogramowanie / Software)

no właśnie że coś jest nie tak bo mój /etc/corntab/root wygląda tak:

root:$1$ILXOuJNn$F9sXhS.mh0LR1Fyw/INxS0:0:0:root:/root:/bin/ash
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
daemon:*:65534:65534:daemon:/var:/bin/false

natomiast etc/passwd tak:

root:$1$ILXOuJNn$F9sXhS.mh0LR1Fyw/INxS0:0:0:root:/root:/bin/ash
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
daemon:*:65534:65534:daemon:/var:/bin/false

czyli dokładnie tak samo smile jak inaczej sprawdzić zawartość crona lub przywrócić ją? Przez VI? bo co ciekawe część skryptów mi leci mimo zwalonego crona więc gdzieś te polecenia siedzą...

306

(7 odpowiedzi, napisanych Oprogramowanie / Software)

Witam
Mam troche dziwne problemy z crontab. Wykonałem sobie jakis czas temu kilka skryptów i wrzuciłem do crona. Po dłuższej przerwie dziś uruchomiłem urządzenie (1043) i okazało się ze jakbym nie wszystkie skrypty się wykonują. Mój crontab tak jakby się wyczyścił do domyślnej wersji, ale o dziwo część skryptów nadal sie wykonuje zgodnie z ustawionymi kiedyś czasami. Tak wygląda cron:

root:$1$ILXOuJNn$F9sXhS.mh0LR1Fyw/INxS0:0:0:root:/root:/bin/ash
network:*:101:101:network:/var:/bin/false
nobody:*:65534:65534:nobody:/var:/bin/false
daemon:*:65534:65534:daemon:/var:/bin/false

chyba ze nie tego otwarłem.
Gdzie standardowo znajduje się plik z crona?
Czy da się zaktualizować crona, tak żeby sam wykrył te polecenia które gdzieś tam mi sie teraz wykonują? Jak to zrobić?

307

(229 odpowiedzi, napisanych Oprogramowanie / Software)

szupek napisał/a:

2. Wersja 12.09 nie chce mi wystartować zastrzymuje sie na starting kernel....

Zapewne nie ustawiłeś machid

hmm myślałem właśnie ze ma być zresetowana wartość machid, albo źle zrozumiałem to co pisał ten gosciu na blogu

To switch to booting OpenWRT you need to clear machine id, update the bootcmd and then save and reset.

setenv machid
setenv bootcmd 'run openwrt_bootcmd; setenv bootargs $(mtdparts) $(bootargs_console) $(openwrt_root); bootm 0x6400000; reset'
saveenv
reset

A Ty jaką mu wartość przypisałeś?

308

(229 odpowiedzi, napisanych Oprogramowanie / Software)

naprawa zmiennych pomogła smile wgrałem wszystko od nowa i wnioski takie:
1. Wersja OpenWrt od Cezarego bezbłędnie nic nie wyrzuca z błędami CRC
2. Wersja 12.09 nie chce mi wystartować zastrzymuje sie na starting kernel....
3. Wersja z snaphost/trunk/kirkwood wystartowała ale pełno błędów CRC sad
Jakieś pomysły skąd sie tego tyle bierze?

Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.088962] mtd->read(0x44 bytes fr                                                                             om 0x1ef9d4) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.146301] mtd->read(0x4bc bytes f                                                                             rom 0x1efb44) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.152711] mtd->read(0x44 bytes fr                                                                             om 0x1efb44) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.202512] mtd->read(0x3d4 bytes f                                                                             rom 0x1efc2c) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.208874] mtd->read(0x44 bytes fr                                                                             om 0x1efc2c) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.262514] mtd->read(0x240 bytes f                                                                             rom 0x1efdc0) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.268889] mtd->read(0x44 bytes fr                                                                             om 0x1efdc0) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.322489] mtd->read(0x1b8 bytes f                                                                             rom 0x1efe48) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.328853] mtd->read(0x44 bytes fr                                                                             om 0x1efe48) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.382484] mtd->read(0x34 bytes fr                                                                             om 0x1effcc) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.388845] mtd->read(0x800 bytes f                                                                             rom 0x1f0000) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.395261] mtd->read(0x44 bytes fr                                                                             om 0x1effcc) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.447422] mtd->read(0x79c bytes f                                                                             rom 0x1f0064) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.502553] mtd->read(0x620 bytes f                                                                             rom 0x1f01e0) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.508927] mtd->read(0x44 bytes fr                                                                             om 0x1f01e0) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.562527] mtd->read(0x258 bytes f                                                                             rom 0x1f25a8) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.568897] mtd->read(0x44 bytes fr                                                                             om 0x1f25a8) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.622484] mtd->read(0x1d0 bytes f                                                                             rom 0x1f2630) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.628838] mtd->read(0x44 bytes fr                                                                             om 0x1f2630) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.682500] mtd->read(0x148 bytes f                                                                             rom 0x1f26b8) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.688866] mtd->read(0x44 bytes fr                                                                             om 0x1f26b8) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.748551] mtd->read(0x480 bytes f                                                                             rom 0x225b80) returned ECC error
Jan  1 00:01:01 OpenWrt kern.warn kernel: [   66.754965] mtd->read(0x44 bytes fr                                                                             om 0x225b80) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.802512] mtd->read(0x3fc bytes f                                                                             rom 0x225c04) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.808872] mtd->read(0x44 bytes fr                                                                             om 0x225c04) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.862536] mtd->read(0x32c bytes f                                                                             rom 0x2414d4) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.868886] mtd->read(0xb0 bytes fr                                                                             om 0x240f50) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.875256] mtd->read(0x44 bytes fr                                                                             om 0x240f50) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.922497] mtd->read(0x2f4 bytes f                                                                             rom 0x24150c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.928863] mtd->read(0x44 bytes fr                                                                             om 0x24150c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.957436] mtd->read(0x6c0 bytes f                                                                             rom 0x14e140) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.964075] mtd->read(0xd0 bytes fr                                                                             om 0x14df30) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.970347] mtd->read(0x124 bytes f                                                                             rom 0x14dedc) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.977132] mtd->read(0x3f0 bytes f                                                                             rom 0x14dc10) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.983784] mtd->read(0x7ec bytes f                                                                             rom 0x14d814) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.990173] mtd->read(0x3ac bytes f                                                                             rom 0x14d454) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   66.996905] mtd->read(0x764 bytes f                                                                             rom 0x14d09c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.003491] mtd->read(0x330 bytes f                                                                             rom 0x14ccd0) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.009935] mtd->read(0x704 bytes f                                                                             rom 0x14c8fc) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.016592] mtd->read(0x2e0 bytes f                                                                             rom 0x14c520) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.023222] mtd->read(0x6c0 bytes f                                                                             rom 0x14c140) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.029592] mtd->read(0x2ac bytes f                                                                             rom 0x14bd54) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.036312] mtd->read(0x684 bytes f                                                                             rom 0x14b97c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.043808] mtd->read(0x28c bytes f                                                                             rom 0x14b574) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.050252] mtd->read(0x7a0 bytes f                                                                             rom 0x14b060) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.065819] mtd->read(0x418 bytes f                                                                             rom 0x14abe8) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.072180] mtd->read(0xec bytes fr                                                                             om 0x14a714) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.078972] mtd->read(0x5cc bytes f                                                                             rom 0x14a234) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.085572] mtd->read(0x274 bytes f                                                                             rom 0x149d8c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.092006] mtd->read(0x664 bytes f                                                                             rom 0x14999c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.098672] mtd->read(0x294 bytes f                                                                             rom 0x14956c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.105221] mtd->read(0x5c bytes fr                                                                             om 0x148fa4) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.111538] mtd->read(0x4a0 bytes f                                                                             rom 0x148b60) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.118183] mtd->read(0x1f8 bytes f                                                                             rom 0x148608) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.124809] mtd->read(0x6f8 bytes f                                                                             rom 0x148108) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.131193] mtd->read(0x3f8 bytes f                                                                             rom 0x147c08) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.137823] mtd->read(0xc0 bytes fr                                                                             om 0x147740) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.145252] mtd->read(0x518 bytes f                                                                             rom 0x1472e8) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.151631] mtd->read(0x238 bytes f                                                                             rom 0x146dc8) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.167349] mtd->read(0x718 bytes f                                                                             rom 0x1468e8) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.174125] mtd->read(0x424 bytes f                                                                             rom 0x1463dc) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.180489] mtd->read(0x138 bytes f                                                                             rom 0x145ec8) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.187226] mtd->read(0x628 bytes f                                                                             rom 0x1459d8) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.193818] mtd->read(0x35c bytes f                                                                             rom 0x1454a4) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.200258] mtd->read(0x790 bytes f                                                                             rom 0x145070) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.206932] mtd->read(0x3a8 bytes f                                                                             rom 0x144c58) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.213477] mtd->read(0x3c bytes fr                                                                             om 0x1447c4) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.219832] mtd->read(0x800 bytes f                                                                             rom 0x144800) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.226524] mtd->read(0x4c8 bytes f                                                                             rom 0x144338) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.233086] mtd->read(0x1e4 bytes f                                                                             rom 0x143e1c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.239514] mtd->read(0x660 bytes f                                                                             rom 0x1439a0) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.247139] mtd->read(0x374 bytes f                                                                             rom 0x14348c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.262491] mtd->read(0x7c bytes fr                                                                             om 0x142f84) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.268836] mtd->read(0x594 bytes f                                                                             rom 0x142a6c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.275659] mtd->read(0x2a0 bytes f                                                                             rom 0x142560) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.282109] mtd->read(0x7a0 bytes f                                                                             rom 0x142060) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.288820] mtd->read(0x4e4 bytes f                                                                             rom 0x141b1c) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.295388] mtd->read(0x1c8 bytes f                                                                             rom 0x141638) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.301819] mtd->read(0x6a8 bytes f                                                                             rom 0x141158) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.308492] mtd->read(0x3ac bytes f                                                                             rom 0x140c54) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.315042] mtd->read(0x88 bytes fr                                                                             om 0x140778) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.321372] mtd->read(0x5ac bytes f                                                                             rom 0x140254) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.328107] mtd->read(0x800 bytes f                                                                             rom 0x140000) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.334692] mtd->read(0x3a0 bytes f                                                                             rom 0x13fc60) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.341102] mtd->read(0x5d0 bytes f                                                                             rom 0x13fa30) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.348630] mtd->read(0x104 bytes f                                                                             rom 0x13f6fc) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.362554] mtd->read(0x3d8 bytes f                                                                             rom 0x13f428) returned ECC error
Jan  1 00:01:02 OpenWrt auth.info passwd: Password for root changed by root
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.368993] mtd->read(0x640 bytes f                                                                             rom 0x13f1c0) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.375553] mtd->read(0x44 bytes fr                                                                             om 0x14e140) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.381831] mtd->read(0x44 bytes fr                                                                             om 0x13fc60) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.388147] mtd->read(0x35c bytes f                                                                             rom 0x13fca4) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.394584] mtd->read(0x20d bytes f                                                                             rom 0x140044) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.401287] mtd->read(0x44 bytes fr                                                                             om 0x140254) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.407630] mtd->read(0x4de bytes f                                                                             rom 0x140298) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.429025] mtd->read(0x44 bytes fr                                                                             om 0x140778) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.435429] mtd->read(0x495 bytes f                                                                             rom 0x1407bc) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.442311] mtd->read(0x44 bytes fr                                                                             om 0x140c54) returned ECC error
Jan  1 00:01:02 OpenWrt kern.warn kernel: [   67.448692] mtd->read(0x4bf bytes f                                                                             rom 0x140c98) returned ECC error
Jan  1 00:01:06 OpenWrt kern.warn kernel: [   70.872590] mtd->read(0x44 bytes fr                                                                             om 0x141158) returned ECC error
Jan  1 00:01:06 OpenWrt kern.warn kernel: [   70.878932] mtd->read(0x49c bytes f                                                                             rom 0x14119c) returned ECC error
Jan  1 00:01:06 OpenWrt kern.warn kernel: [   70.885847] mtd->read(0x44 bytes fr                                                                             om 0x141638) returned ECC error
Jan  1 00:01:06 OpenWrt kern.warn kernel: [   70.892203] mtd->read(0x49d bytes f                                                                             rom 0x14167c) returned ECC error
Jan  1 00:01:12 OpenWrt authpriv.info dropbear[2227]: Child connection from 192.                                                                             168.1.100:3870
Jan  1 00:01:19 OpenWrt kern.warn kernel: [   83.974544] mtd->read(0x4c bytes fr                                                                             om 0x151fb4) returned ECC error
Jan  1 00:01:19 OpenWrt kern.warn kernel: [   83.980827] mtd->read(0x44 bytes fr                                                                             om 0x151fb4) returned ECC error
Jan  1 00:01:19 OpenWrt kern.warn kernel: [   83.987541] mtd->read(0x44 bytes fr                                                                             om 0x151fb4) returned ECC error
Jan  1 00:01:19 OpenWrt authpriv.notice dropbear[2227]: Password auth succeeded                                                                              for 'root' from 192.168.1.100:3870
Jan  1 00:01:19 OpenWrt kern.warn kernel: [   83.993870] mtd->read(0x9 bytes fro                                                                             m 0x151ff8) returned ECC error
Jan  1 00:01:19 OpenWrt kern.warn kernel: [   84.010097] mtd->read(0x450 bytes f                                                                             rom 0x1003b0) returned ECC error
Jan  1 00:01:19 OpenWrt kern.warn kernel: [   84.016496] mtd->read(0x44 bytes fr                                                                             om 0x1003b0) returned ECC error
Jan  1 00:01:25 OpenWrt kern.warn kernel: [   89.937570] mtd->read(0x54 bytes fr                                                                             om 0x1cdfac) returned ECC error
root@OpenWrt:~#

309

(229 odpowiedzi, napisanych Oprogramowanie / Software)

a jest jakaś komenda którą będe mógł wszystkie zmienne na raz sprawdzić?? tak żebym nie musiał po kolei wpisywać np. printenv arcNumber, printenv itd...

310

(229 odpowiedzi, napisanych Oprogramowanie / Software)

jakoś sporo mam tych różnic w zmiennych w porównaniu z oryginałem, niektórych w ogóle brak.
Np. tej części:

make_bootsetenv=make_boot_args setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:;
setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),; setenv bootargs $(bootargs)$(env_size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootargs $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs

Mam taki problem z tym bo jak chce te zmienne zapisać to przypisuje mi tylko fragment a reszty nie. co jest nie tak?

Marvell>> setenv make_bootsetenv make_boot_args setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:;
Marvell>> setenv bootargs $(bootargs)$(uboot_size)@$(uboot_start)(uboot),; setenv bootargs $(bootargs)$(env                      _size)@$(env_start)(env),;setenv bootargs $(bootargs)$(kernel_size)@$(kernel_start)(zImage),;setenv bootarg                      s $(bootargs)$(initrd_size)@$(initrd_start)(initrd),;setenv bootargs
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>> printenv make_bootsetenv
make_bootsetenv=make_boot_args setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:

311

(229 odpowiedzi, napisanych Oprogramowanie / Software)

hmm resetenv musiałem zrobić przed wgrywaniem oryginału bo stawał w miejscu i nie chciał wgrać. Zrobiłem resetenv, później setenv arcNumber 1682, saveenv i reset. Dopiero wtedy wgrał orygniał. Zastanawia mnie dlaczego jeżeli zrobiłem resetenv to teraz ma za dużo zmiennych?

312

(229 odpowiedzi, napisanych Oprogramowanie / Software)

a jak moge sprawdzić jakie mam aktualnie ustawione zmienne i jaką komendą je usuwać?? w orygianale to chodzi o te które podałeś tutaj przy trybie diagnostycznym: http://openrouter.info/forum/viewtopic. … amp;t=1219 ??

313

(229 odpowiedzi, napisanych Oprogramowanie / Software)

wi-fi wystartowało, dzięki za pomoc smile jednak mimo wszystko system mi się sypał totalnie, tzn sam internet chodził ale jak już chciałem motion z kamerką to po 30s zwieszało Iconnecta. W logread same błędy z CRC. Postanowiłem spróbować wrócić do oryginału i tu niespodzianka. Udało się wgrać (przy okazji u mnie port obok przycisku OTB). Jednak oryginalny sytem nie chce wstać. Podłączyłem kabelek i w bootloaderze zatrzymuje sie w tym miejscu:

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x300000
 3145728 bytes read: OK
## Booting image at 06400000 ...
   Image Name:   Linux-2.6.30.9
   Created:      2010-01-25  19:00:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1990916 Bytes =  1.9 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................                                                                             .................................................................... done, booti                                                                             ng the kernel.
Linux version 2.6.30.9 (soho@bsoho084.lss.emc.com) (gcc version 4.3.2 (crosstool                                                                             -NG-1.3.1) ) #1 PREEMPT Mon Jan 25 13:57:26 EST 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell RD-88F6281 Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: nand_mtd:0xc0000@0(uboot)ro,0x1ff00000@0x100000(root) conso                                                                             le=ttyS0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2
NR_IRQS:114
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 254848KB available (3632K code, 901K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 992.87 BogoMIPS (lpj=4964352)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 520 bytes
NET: Registered protocol family 16
Kirkwood: MV88F6281-A0, TCLK=200000000.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
PCI: bus0: Fast back to back transfers disabled
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 498
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Driver 'sd' needs updating - please use bus_type methods
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:50:43:0f:25:15
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 526 at 0x0000041c0000
Bad eraseblock 3882 at 0x00001e540000
Creating 3 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000300000 : "uImage"
0x000000300000-0x000020000000 : "root"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
usbcore: registered new interface driver ums-usbat
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
Registered led device: led_level
Registered led device: power_blue_led
Registered led device: power_red_led
Registered led device: usb_1_led
Registered led device: usb_2_led
Registered led device: usb_3_led
Registered led device: usb_4_led
Registered led device: otb_led
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-mv rtc-mv: setting system clock to 2012-09-18 11:54:04 UTC (1347969244)
VFS: Cannot open root device "mtdblock2" or unknown-block(31,2)
Please append a correct "root=" boot option; here are the available partitions:
1f00            1024 mtdblock0 (driver?)
1f01            2048 mtdblock1 (driver?)
1f02          521216 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[<c002c834>] (unwind_backtrace+0x0/0xdc) from [<c02e493c>] (panic+0x48/0x12c)
[<c02e493c>] (panic+0x48/0x12c) from [<c0009050>] (mount_block_root+0x25c/0x2b4)
[<c0009050>] (mount_block_root+0x25c/0x2b4) from [<c0009278>] (prepare_namespace                                                                             +0x164/0x1c8)
[<c0009278>] (prepare_namespace+0x164/0x1c8) from [<c00085ac>] (kernel_init+0xbc                                                                             /0xec)
[<c00085ac>] (kernel_init+0xbc/0xec) from [<c003b730>] (do_exit+0x0/0x6e0)
[<c003b730>] (do_exit+0x0/0x6e0) from [<cf81a300>] (0xcf81a300)

314

(229 odpowiedzi, napisanych Oprogramowanie / Software)

jest już nieco lepiej bo znalazłem co za dużo zainstalowałem ->kmod-mac80211-hwsim_3.3.8+2012-07-16-1_kirkwood.ipk
w wireless pokazuje mi już tylko jedno radio tak jak powinno być, usunąłem linie przy której wifi powinno wstać ale nadal nic... ktoś wie o co mu chodzi z tym:

root@OpenWrt:~# wifi enable
/sbin/wifi: eval: line 1: hostapd_set_log_options: not found
/sbin/wifi: eval: line 1: hostapd_set_bss_options: not found
/sbin/wifi: eval: line 1: hostapd: not found
Failed to start hostapd for phy0

315

(229 odpowiedzi, napisanych Oprogramowanie / Software)

to nic nie dało, stworzył mi taki sam plik wireless z 3 radiami. Próbowałem go też usunąć i nie tworzyć to po reboot sam sie tworzy

316

(229 odpowiedzi, napisanych Oprogramowanie / Software)

nadal mam problemy z uruchomieniem wifi. Po zainstalowaniu wszystkiego o co prosił pojawiły mi się jakby 3 interfejsy radia smile mój ect/config/wireless wygląda tak:

config wifi-device  radio0
    option type     mac80211
    option channel  11
    option macaddr    00:0e:8e:2b:0d:98
    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:
    

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

config wifi-device  radio1
    option type     mac80211
    option channel  11
    option macaddr    02:00:00:00:00:00
    option hwmode    11ng
    option htmode    HT20
    list ht_capab    GF
    list ht_capab    SHORT-GI-40
    list ht_capab    DSSS_CCK-40
    # REMOVE THIS LINE TO ENABLE WIFI:
    

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

config wifi-device  radio2
    option type     mac80211
    option channel  11
    option macaddr    02:00:00:00:01:00
    option hwmode    11ng
    option htmode    HT20
    list ht_capab    GF
    list ht_capab    SHORT-GI-40
    list ht_capab    DSSS_CCK-40
    # REMOVE THIS LINE TO ENABLE WIFI:
    

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

pousuwałem wszędzie linie żeby aktywować wi-fi ale nadal lipa...

root@OpenWrt:~# wifi enable
/sbin/wifi: eval: line 1: hostapd_set_log_options: not found
/sbin/wifi: eval: line 1: hostapd_set_bss_options: not found
/sbin/wifi: eval: line 1: hostapd: not found
Failed to start hostapd for phy0
/sbin/wifi: eval: line 1: hostapd_set_log_options: not found
/sbin/wifi: eval: line 1: hostapd_set_bss_options: not found
/sbin/wifi: eval: line 1: hostapd: not found
Failed to start hostapd for phy1
/sbin/wifi: eval: line 1: hostapd_set_log_options: not found
/sbin/wifi: eval: line 1: hostapd_set_bss_options: not found
/sbin/wifi: eval: line 1: hostapd: not found
Failed to start hostapd for phy2

317

(229 odpowiedzi, napisanych Oprogramowanie / Software)

właśnie co jest ciekawe to obrazy sciągałem z tego katalogu co podałeś a jak później chciałem z niego instalować pakiety to wywala że nie ta wersja kernela, więc nie modyfikowałem opkg.conf i zostawiłem mu ta ścieżke do tych starszych pakietów

318

(229 odpowiedzi, napisanych Oprogramowanie / Software)

szupek napisał/a:

A czemu instalujesz w ten sposób? Z tymi sterownikami instalują się też inne pakiety
Pokaż zawartość /etc/opkg.conf.

Instaluje ręcznie bo nie mam jak podłączyć Iomegi do neta bo jest jeden port LAN którym teraz łącze się z kompem, a wi-fi nie działa.

src/gz attitude_adjustment http://downloads.openwrt.org/snapshots/trunk/kirkwood/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay

319

(229 odpowiedzi, napisanych Oprogramowanie / Software)

nie moge zainstalowac tych sterów ;/ o co chodzi bo nie kumam?

root@OpenWrt:~# opkg install /www/kmod-rt2800-pci_3.3.8+2012-07-16-1_kirkwood.ip
k
Installing kmod-rt2800-pci (3.3.8+2012-07-16-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-                               rt2800-pci:
 *      kmod-rt2x00-pci *       kmod-rt2800-lib *
 * opkg_install_cmd: Cannot install package kmod-rt2800-pci.

320

(229 odpowiedzi, napisanych Oprogramowanie / Software)

szupek napisał/a:

jak wracasz z openwrt do oryginalnego oprogramowania to musisz zrobić resetenv i chyba dodatkowo trzeba zmienić arcNumber na 1682 (nie pamiętam dokładnie czy taka wartość), bo inaczej będzie wisiał.

dzięki za info smile a u Ciebie po instalacji tej nowej wersji też nie było radia??

321

(229 odpowiedzi, napisanych Oprogramowanie / Software)

mam troche laiczne pytanie jak zainstalować poprawnie obsługę radia? jak nazywa sie paczka sterowników do radia bo widze ze w Twojej wersji Cezary radio było w standardzie a tutaj brak...

322

(229 odpowiedzi, napisanych Oprogramowanie / Software)

nie bootloader został oryginalny, jednak sie wstrzymałem ze zmianą bootloadera jak troche poczytałem o przygodach szupka smile
hmm kolejna niespodzianka bo wychodzi na to że jednak pomyślnie wgrała mi się nowa wersja OpenWrt

login as: root
root@192.168.1.1's password:


BusyBox v1.19.4 (2012-08-28 23:08:47 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
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r33288)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:~#


jednak mimo wszystko zastanawia mnie fakt dlaczego nie mogłem wrócić do oryginału...

323

(229 odpowiedzi, napisanych Oprogramowanie / Software)

hmm nic nie pomaga, dalej stoi w miejscu. Nie powinienem coś zmienić przed właczaniem trybu diagnostycznego? Zmienne środowiskowe?

324

(229 odpowiedzi, napisanych Oprogramowanie / Software)

chciałbym zrobić po kolei wszystko od nowa i na początek wrócić do orygilanlego firmware. Mam taki problem że po naciśnięciu reset iconnect wchodzi w tryb diagnostyczny i swieci sie dioda na czerwono, ale dalej nic sie nie dzieje. Stoi w miejscu nie zaczyna mi migać w ogóle dioda z USB ani OTB. Pendrive z systemem FAT, pliki wypakowane bezpośrednio. Dioda w pendrivie miga ale dioda od USB nie.
Jak długo trzeba oczekiwać na ładowanie firmware z nośnika i czy cały czas musze mieć wciśnięty reset czy tylko na początku aż włączy tryb diagnostyczny?

325

(30 odpowiedzi, napisanych Oprogramowanie / Software)

WAN cały czas działał mi ok aż do teraz... nie było żadnych burz czy czegoś podobnego. Sprawa wygląda tak że po restarcie urządzenia nie chce mi przypisać IP od dostawcy. Natomiast jeśli podłącze router do innego swojego urządzenia to przypisuje bez problemu IP, tylko zewnętrzne od dostawcy przestało mu się podobać ;/ jak zmieniłem jeden LAN na WAN to dostaje już normalnie IP. Jakieś pomysły na takie czary??? Wersję Gargoyle mam dosyć starą i cały czas mi działała bez zarzutu (1.5.4 (30752), by obsy )