Witam.
Nie korzystałem nigdy z wirtualizacji i nie wiem co zainstalować. VirtualBox, VMWare czy może coś innego polecacie? Najlepiej darmowego oczywiście. Laptop z i7-4700MQ, 8GB ram i dyskiem SSD ( Windows 8.1 x64 ).
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez Gruberek
Witam.
Nie korzystałem nigdy z wirtualizacji i nie wiem co zainstalować. VirtualBox, VMWare czy może coś innego polecacie? Najlepiej darmowego oczywiście. Laptop z i7-4700MQ, 8GB ram i dyskiem SSD ( Windows 8.1 x64 ).
Rozumiem, że te mini mikro PC mają wszystko, łącznie z obudową i kosztują poniżej 300 zł, bo o takiej kwocie rozmawiamy. Tak ??
Rozmawiamy o kwocie 300-400 zł. Ja kupiłem używany i uszkodzony za 230 zł ale był jeszcze na gwarancji. Sklep wymienił płytę na nową.
No zdarzają się i zwyczajnie pomaga nadpisanie przez wgranie przez tftp całego - ale nie żadne upgrade - to jest istotne - i ta operacja najlepiej działa właśnie przez tftp.
Wgrałem dzisiaj oficjalny soft przez tftp ale nic się nie zmieniło.
Nie mierzyłem poboru energii ale pewnie porównywalnie do zwykłego NAS'a. W końcu atomy D2550 też do Synology wkładali. Jest jeszcze atom N2800. Wydajność trochę słabsza ale TDP tylko 7,5 W ![]()
Synology DS215j
Odczyt 111 MB/s
Zapis 87 MB/sZużycie prądu <15W
USB 3.0
Chyba nie doczytałeś... Założenie jest takie żeby zmieścić się w kwocie 300-400 zł, a DS215j kosztuje dwa razy tyle.
Skoro radio internetowe działa to może jakiś problem z DNS jest. Hilink domyślnie robi za serwer DNS. Spróbuj na routerze ustawić na sztywno inne dnsy (np. od google)
MiniITX z AD2550B (Atom 1.86GHz) robi za serwer DNS, serwer WWW, Samba, rtorrent (HDD3TB), plex, tvheadend z IPTV, pyload, pomiar temperatur, DLNA, FTP i wiele wiele innych wszystko z 4GB RAM DDR3 - działa pod systemem debian 8 - dodaj ze w tym roku RAZ! tylko był reboot - zabrakło zasilania w bloku. http://screenshotuploader.com/s/1412ltckg
U mnie może aż tylu usług nie ma ale dns, www, mysql, samba, rtorrent, dlna jest. Tak samo używam Debiana 8. Serwer stabilny, load znikomy. Uptime niestety nie za duży ( kilka dni temu power off mu synek zafundował, a wczoraj był reboot przy okazji aktualizacji kernela do 3.14.25-grsec ).
W tej kasie żadne gotowe rozwiązanie nie będzie miało takiej wydajności.
A ja polecam złożenie czegoś samemu. Osobiście posiadam płytę intel z atomem D2700, 4GB RAM, dysk 2TB. Wszystko zamknięte w małej obudowie z zasilaczem 150W. Całość ( z dyskiem ) kosztowała mnie 500 zł. Zamiast atoma polecam też jakąś płytkę pod celerona G1610 - w idle zużywa bardzo mało prądu, a jest dużo wydajniejszy od atoma.
Nie ruszałem nic. Ściągnąłem i dałem ./build.sh ar71xx
Ponów kompilację i kilka linii wyżej pokaż.
gcc extra/locale/gen_locale.c -o extra/locale/gen_locale -Os -Wall -D_GNU_SOURCE -I./extra/locale
extra/locale/gen_locale.c: In function 'do_locale_names':
extra/locale/gen_locale.c:204:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
i + (at_strings_end - at_strings));
^
extra/locale/gen_locale.c:206:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
i + (at_strings_end - at_strings));
^
extra/locale/gen_locale.c:238:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
pos[__LOCALE_DATA_CATEGORIES-1] + strlen(lc_names[__LOCALE_DATA_CATEGORIES-1]) + 1);
^
extra/locale/gen_locale.c:242:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
pos[__LOCALE_DATA_CATEGORIES-1] + strlen(lc_names[__LOCALE_DATA_CATEGORIES-1]) + 1);
^
extra/locale/gen_locale.c: In function 'read_locale_list':
extra/locale/gen_locale.c:434:8: warning: variable 'cs' set but not used [-Wunused-but-set-variable]
char *cs; /* codeset */
^
extra/locale/gen_locale.c:442:4: warning: typedef 'locale_entry' locally defined but not used [-Wunused-local-typedefs]
} locale_entry;
^
extra/locale/gen_locale.c: In function 'lc_monetary_C':
extra/locale/gen_locale.c:1083:2: warning: #warning fix the char entries for monetary... target signedness of char may be different! [-Wcpp]
#warning fix the char entries for monetary... target signedness of char may be different!
^
cat extra/locale/LOCALES > extra/locale/locales.txt
extra/locale/gen_locale -o extra/locale/locale_tables.h extra/locale/locales.txt
gcc extra/locale/gen_collate.c -o extra/locale/gen_collate -Os -Wall -D_GNU_SOURCE
extra/locale/gen_collate.c: In function 'new_section':
extra/locale/gen_collate.c:342:2: warning: #warning devel code [-Wcpp]
#warning devel code
^
extra/locale/gen_collate.c:353:2: warning: #warning devel code [-Wcpp]
#warning devel code
^
extra/locale/gen_collate.c: In function 'processfile':
extra/locale/gen_collate.c:728:2: warning: #warning devel code [-Wcpp]
#warning devel code
^
extra/locale/gen_collate.c: In function 'print_weight_node':
extra/locale/gen_collate.c:894:9: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat=]
printf("weight: (%d) ", p->num_weights);
^
extra/locale/gen_collate.c: In function 'old_main':
extra/locale/gen_collate.c:1292:2: warning: #warning mult by 2 for rule indecies [-Wcpp]
#warning mult by 2 for rule indecies
^
extra/locale/gen_collate.c: In function 'do_copy':
extra/locale/gen_collate.c:1518:2: warning: #warning need to update last in order and position or check [-Wcpp]
#warning need to update last in order and position or check
^
extra/locale/gen_collate.c: In function 'find_section_list_item':
extra/locale/gen_collate.c:1604:2: warning: #warning devel code [-Wcpp]
#warning devel code
^
extra/locale/gen_collate.c: In function 'add_colitem':
extra/locale/gen_collate.c:1747:2: warning: #warning devel code [-Wcpp]
#warning devel code
^
extra/locale/gen_collate.c: In function 'do_order_start':
extra/locale/gen_collate.c:1868:2: warning: #warning need to add section to weight list? [-Wcpp]
#warning need to add section to weight list?
^
extra/locale/gen_collate.c: In function 'do_reorder_after':
extra/locale/gen_collate.c:1948:2: warning: #warning have to use rule for current section!!! [-Wcpp]
#warning have to use rule for current section!!!
^
extra/locale/gen_collate.c:1999:2: warning: #warning devel code [-Wcpp]
#warning devel code
^
extra/locale/gen_collate.c:2002:2: warning: #warning hack to get around hu_HU reorder-after problem [-Wcpp]
#warning hack to get around hu_HU reorder-after problem
^
extra/locale/gen_collate.c:1934:18: warning: variable 'w' set but not used [-Wunused-but-set-variable]
const weight_t *w;
^
extra/locale/gen_collate.c: In function 'add_final_col_index':
extra/locale/gen_collate.c:2240:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
e.data = (void *)(final_index);
^
extra/locale/gen_collate.c: In function 'final_index_val0':
extra/locale/gen_collate.c:2310:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (int)(p->data);
^
extra/locale/gen_collate.c: In function 'final_index_val':
extra/locale/gen_collate.c:2323:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (int)(p->data);
^
extra/locale/gen_collate.c: In function 'init_comm_ptr':
extra/locale/gen_collate.c:2409:2: warning: #warning devel code [-Wcpp]
#warning devel code
^
extra/locale/gen_collate.c: In function 'dump_section':
extra/locale/gen_collate.c:2523:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
extra/locale/gen_collate.c:2522:12: warning: variable 'p' set but not used [-Wunused-but-set-variable]
weight_t *p;
^
extra/locale/gen_collate.c: In function 'finalize_base':
extra/locale/gen_collate.c:2675:2: warning: #warning fix the index2weight check!! [-Wcpp]
#warning fix the index2weight check!!
^
extra/locale/gen_collate.c:2712:2: warning: #warning check ko_kR and 9 [-Wcpp]
#warning check ko_kR and 9
^
extra/locale/gen_collate.c:2719:2: warning: #warning check ko_kR and 9 [-Wcpp]
#warning check ko_kR and 9
^
extra/locale/gen_collate.c:2743:2: warning: #warning check ko_kR and 9 [-Wcpp]
#warning check ko_kR and 9
^
extra/locale/gen_collate.c:2765:2: warning: #warning check [-Wcpp]
#warning check
^
extra/locale/gen_collate.c:2917:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
wcs2index[ i] = (int)(p->data);
^
extra/locale/gen_collate.c:3250:2: warning: #warning handle UNDEFINED idx specially? what if in only some of derived? [-Wcpp]
#warning handle UNDEFINED idx specially? what if in only some of derived?
^
extra/locale/gen_collate.c:2658:9: warning: unused variable 'n' [-Wunused-variable]
int i, n, mr, r, mi;
^
extra/locale/gen_collate.c:2657:12: warning: unused variable 'p' [-Wunused-variable]
weight_t *p;
^
extra/locale/gen_collate.c: In function 'print_starter_all_node':
extra/locale/gen_collate.c:3310:12: warning: unused variable 'x' [-Wunused-variable]
colitem_t x;
^
extra/locale/gen_collate.c:3309:6: warning: unused variable 'n' [-Wunused-variable]
int n;
^
extra/locale/gen_collate.c:3308:8: warning: unused variable 'p' [-Wunused-variable]
void *p;
^
extra/locale/gen_collate.c:3307:13: warning: unused variable 'ci' [-Wunused-variable]
colitem_t *ci;
^
extra/locale/gen_collate.c: In function 'newopt':
extra/locale/gen_collate.c:3588:4: warning: format '%i' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat=]
printf("bad sort %i!\n", i);
^
extra/locale/gen_collate.c: In function 'add_rule':
extra/locale/gen_collate.c:3695:9: warning: unused variable 'j' [-Wunused-variable]
int i, j, r, n;
^
extra/locale/gen_collate.c: In function 'add_range_rule':
extra/locale/gen_collate.c:3772:9: warning: unused variable 'j' [-Wunused-variable]
int i, j, r, n;
^
extra/locale/gen_collate.c: In function 'dump_collate':
extra/locale/gen_collate.c:3929:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
OUT_U16C(base_locale_len, "numbef of base locales");
^
extra/locale/gen_collate.c:3930:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
OUT_U16C(der_locale_len, "number of derived locales");
^
extra/locale/gen_collate.c:3932:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
OUT_U16C(index2weight_len, "number of index2{weight|ruleidx} elements");
^
extra/locale/gen_collate.c:3933:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
OUT_U16C(weightstr_len, "number of weightstr elements");
^
extra/locale/gen_collate.c:3934:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
OUT_U16C(multistart_len, "number of multistart elements");
^
extra/locale/gen_collate.c:3935:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
OUT_U16C(override_len, "number of override elements");
^
extra/locale/gen_collate.c:3936:2: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
OUT_U16C(ruletable_len, "number of ruletable elements");
^
extra/locale/gen_collate.c: At top level:
extra/locale/gen_collate.c:3848:13: warning: 'dump_base_locale' defined but not used [-Wunused-function]
static void dump_base_locale(int n)
^
extra/locale/gen_collate.c:3884:13: warning: 'dump_der_locale' defined but not used [-Wunused-function]
static void dump_der_locale(int n)
^
extra/locale/gen_collate.c:875:13: warning: 'print_colnode' defined but not used [-Wunused-function]
static void print_colnode(const void *ptr, VISIT order, int level)
^
extra/locale/gen_collate.c:2640:13: warning: 'print_starter_node' defined but not used [-Wunused-function]
static void print_starter_node(const void *ptr, VISIT order, int level)
^
extra/locale/gen_collate.c:3304:13: warning: 'print_starter_all_node' defined but not used [-Wunused-function]
static void print_starter_all_node(const void *ptr, VISIT order, int level)
^
grep COL_IDX_ extra/locale/locale_tables.h | \
sed -e "s/^.*COL_IDX_\([^, ]*\).*$/\1/" | sort | uniq | \
xargs extra/locale/gen_collate ./extra/locale/collation -o extra/locale/locale_collate.h
ignoring C locale
Warning: adding UNDEFINED entry for zh_TW
Warning: adding UNDEFINED entry for zh_SG
Warning: adding UNDEFINED entry for zh_HK
Warning: adding UNDEFINED entry for zh_CN
Warning: adding UNDEFINED entry for yi_US
Warning: adding UNDEFINED entry for wa_BE
Warning: adding UNDEFINED entry for vi_VN
Warning: adding UNDEFINED entry for uz_UZ
Warning: adding UNDEFINED entry for ur_PK
Warning: adding UNDEFINED entry for uk_UA
Warning: adding UNDEFINED entry for tt_RU
Warning: adding UNDEFINED entry for tl_PH
Warning: adding UNDEFINED entry for ti_ET
Warning: adding UNDEFINED entry for ti_ER
Warning: adding UNDEFINED entry for tg_TJ
Warning: adding UNDEFINED entry for te_IN
Warning: adding UNDEFINED entry for ta_IN
Warning: adding UNDEFINED entry for sv_SE
Warning: adding UNDEFINED entry for sr_YU
Warning: adding UNDEFINED entry for sq_AL
Warning: adding UNDEFINED entry for se_NO
Warning: adding UNDEFINED entry for ru_UA
Warning: adding UNDEFINED entry for ru_RU
Warning: adding UNDEFINED entry for ro_RO
Warning: adding UNDEFINED entry for pt_PT
Warning: adding UNDEFINED entry for pt_BR
Warning: adding UNDEFINED entry for oc_FR
Warning: adding UNDEFINED entry for nn_NO
Warning: adding UNDEFINED entry for nl_NL
Warning: adding UNDEFINED entry for nl_BE
Warning: adding UNDEFINED entry for mt_MT
Warning: adding UNDEFINED entry for ms_MY
Warning: adding UNDEFINED entry for mr_IN
Warning: adding UNDEFINED entry for mk_MK
Warning: adding UNDEFINED entry for mi_NZ
Warning: adding UNDEFINED entry for kw_GB
Warning: adding UNDEFINED entry for ka_GE
Warning: adding UNDEFINED entry for iw_IL
Warning: adding UNDEFINED entry for it_IT
Warning: adding UNDEFINED entry for it_CH
Warning: adding UNDEFINED entry for id_ID
Warning: adding UNDEFINED entry for hy_AM
Warning: adding UNDEFINED entry for hu_HU
Warning: adding UNDEFINED entry for hi_IN
Warning: adding UNDEFINED entry for he_IL
Warning: adding UNDEFINED entry for gv_GB
Warning: adding UNDEFINED entry for gd_GB
Warning: adding UNDEFINED entry for ga_IE
Warning: adding UNDEFINED entry for fr_LU
Warning: adding UNDEFINED entry for fr_FR
Warning: adding UNDEFINED entry for fr_CH
Warning: adding UNDEFINED entry for fr_BE
Warning: adding UNDEFINED entry for fa_IR
Warning: adding UNDEFINED entry for eu_ES
Warning: adding UNDEFINED entry for eo_EO
Warning: adding UNDEFINED entry for en_ZW
Warning: adding UNDEFINED entry for en_ZA
Warning: adding UNDEFINED entry for en_US
Warning: adding UNDEFINED entry for en_SG
Warning: adding UNDEFINED entry for en_PH
Warning: adding UNDEFINED entry for en_NZ
Warning: adding UNDEFINED entry for en_IN
Warning: adding UNDEFINED entry for en_IE
Warning: adding UNDEFINED entry for en_HK
Warning: adding UNDEFINED entry for en_GB
Warning: adding UNDEFINED entry for en_DK
Warning: adding UNDEFINED entry for en_BW
Warning: adding UNDEFINED entry for en_AU
Warning: adding UNDEFINED entry for el_GR
Warning: adding UNDEFINED entry for de_LU
Warning: adding UNDEFINED entry for de_DE
Warning: adding UNDEFINED entry for de_CH
Warning: adding UNDEFINED entry for de_BE
Warning: adding UNDEFINED entry for de_AT
Warning: adding UNDEFINED entry for cy_GB
Warning: adding UNDEFINED entry for bs_BA
Warning: adding UNDEFINED entry for br_FR
Warning: adding UNDEFINED entry for bn_IN
Warning: adding UNDEFINED entry for bn_BD
Warning: adding UNDEFINED entry for bg_BG
Warning: adding UNDEFINED entry for be_BY
Warning: adding UNDEFINED entry for az_AZ
Warning: adding UNDEFINED entry for ar_YE
Warning: adding UNDEFINED entry for ar_TN
Warning: adding UNDEFINED entry for ar_SY
Warning: adding UNDEFINED entry for ar_SD
Warning: adding UNDEFINED entry for ar_QA
Warning: adding UNDEFINED entry for ar_OM
Warning: adding UNDEFINED entry for ar_MA
Warning: adding UNDEFINED entry for ar_LY
Warning: adding UNDEFINED entry for ar_LB
Warning: adding UNDEFINED entry for ar_KW
Warning: adding UNDEFINED entry for ar_JO
Warning: adding UNDEFINED entry for ar_IQ
Warning: adding UNDEFINED entry for ar_IN
Warning: adding UNDEFINED entry for ar_EG
Warning: adding UNDEFINED entry for ar_DZ
Warning: adding UNDEFINED entry for ar_BH
Warning: adding UNDEFINED entry for ar_AE
Warning: adding UNDEFINED entry for am_ET
Warning: adding UNDEFINED entry for af_ZA
grep "^#define" extra/locale/locale_tables.h > extra/locale/lt_defines.h
grep "^#define __lc" extra/locale/locale_collate.h >> extra/locale/lt_defines.h
gcc extra/locale/gen_wctype.c -o extra/locale/gen_wctype -Os -Wall -D__UCLIBC_GEN_LOCALE -I./
extra/locale/gen_wctype.c: In function 'main':
extra/locale/gen_wctype.c:684:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so [-Wcpp]
#warning fix the upper bound on the upper/lower tables... save 200 bytes or so
^
for locale in en_US en_GB; do \
extra/locale/gen_wctype $locale > extra/locale/wctables.h || \
extra/locale/gen_wctype $locale.UTF-8 > extra/locale/wctables.h || \
extra/locale/gen_wctype $locale.iso8859-1 > extra/locale/wctables.h && break; \
done
extra/locale/Makefile.in:179: recipe for target 'extra/locale/wctables.h' failed
make[4]: *** [extra/locale/wctables.h] Error 1
make[4]: Leaving directory '/home/gruberek/gargoyle/ar71xx-src/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2'
Makefile:25: recipe for target '/home/gruberek/gargoyle/ar71xx-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.uclibc_headers_installed' failed
make[3]: *** [/home/gruberek/gargoyle/ar71xx-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.uclibc_headers_installed] Error 2
make[3]: Leaving directory '/home/gruberek/gargoyle/ar71xx-src/toolchain/uClibc/headers'
toolchain/Makefile:85: recipe for target 'toolchain/uClibc/headers/install' failed
make[2]: *** [toolchain/uClibc/headers/install] Error 2
make[2]: Leaving directory '/home/gruberek/gargoyle/ar71xx-src'
toolchain/Makefile:84: recipe for target '/home/gruberek/gargoyle/ar71xx-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.toolchain_install' failed
make[1]: *** [/home/gruberek/gargoyle/ar71xx-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/home/gruberek/gargoyle/ar71xx-src'
/home/gruberek/gargoyle/ar71xx-src/include/toplevel.mk:151: polecenia dla obiektu 'world' nie powiodły się
make: *** [world] Błąd 2
find: `bin': Nie ma takiego pliku ani katalogu
find: `bin': Nie ma takiego pliku ani katalogu
ls: nie ma dostępu do bin: Nie ma takiego pliku ani katalogu
No zdarzają się i zwyczajnie pomaga nadpisanie przez wgranie przez tftp całego - ale nie żadne upgrade - to jest istotne - i ta operacja najlepiej działa właśnie przez tftp.
Tak zrobię ale o wynikach dam znać w przyszłym tygodniu gdyż jestem poza domem ( taka praca ). Temat u-boot'a uważam prawie za wyczerpany. Jeżeli ktoś dysponuje tym przerobionym pod 128 MB ram to proszę żeby się nim podzielił ![]()
@Cezary: co do kompilacji Gargoyle to jutro wkleję, bo atom tego tak szybko nie zmieli ![]()
przez tftp wgraj oryginalny soft factory (OFW) i tym samym odzyskasz oryginalny u-boot - to chyba najprostsza metoda.
Jak to się robi ? - opisane dokładnie na openwrt.org.
Nie zamierzałem pytać jak to się robi
Mam oryginalny u-boot w routerze ale coś z nim nie tak. Cezary pisał, że zdarzają się takie anomalie.
Z osobistego doświadczenia z SDK-ami tej firmy podpowiem Ci, że aby chcieć coś skompilować w oparciu o nie to:
1) odległość danego ubuntu od proponowanej wersji może się zmieniać tylko o tyle, o ile jest ta sama wersja gcc
2) zdecydowanie rób to na 32 bitowych wersjach ubuntu
3) zainstaluj wszystko zgodnie z opisem na stronach openwrt + wszystko co dla debiana (szukając odpowiedników w ubuntu)
4) niektórych zależności nie da się spełnić - trzeba kompilować ręcznie niektóre pakiety - a już na pewno należy się z tym liczyć w tak starej wersji ubunciaka
No to mnie pocieszyłeś
Co prawda zaczynałem od Slackware 7.1 więc kompilację pakietów i spełnianie zależności przerabiałem nie raz ale chyba dla jednego u-boot'a nie ma sensu tego robić. Lepiej chyba poszukać gotowego.
PS. Oryginalne firmware zawiera u-boot'a? Jeżeli tak to będę wgrywał po kolei wersje i sprawdzał czy problem zniknął.
//EDIT: jak ktoś posiada u-boot potrzebny do rammoda to bardzo bym prosił o link gdyż planuję taki zabieg.
A masz używać ubuntu 8.10. Wiec postaw sobie maszynę wirtualną i kompiluj.
A dlaczego Gargoyle się nie kompiluje?
Maszynę wirtualną to dopiero w przyszłym tygodniu będę miał możliwość postawić, bo aktualnie nie posiadam szybkiego netu. Może to i lepiej, bo na i7 pójdzie szybciej niż na atomie ![]()
Chyba coś nie tak mam w systemie. Gargoyle też się nie kompiluje:
extra/locale/Makefile.in:179: recipe for target 'extra/locale/wctables.h' failed
make[4]: *** [extra/locale/wctables.h] Error 1
make[4]: Leaving directory '/home/gruberek/gargoyle/ar71xx-src/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/uClibc-0.9.33.2'
Makefile:25: recipe for target '/home/gruberek/gargoyle/ar71xx-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.uclibc_headers_installed' failed
make[3]: *** [/home/gruberek/gargoyle/ar71xx-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.uclibc_headers_installed] Error 2
make[3]: Leaving directory '/home/gruberek/gargoyle/ar71xx-src/toolchain/uClibc/headers'
toolchain/Makefile:85: recipe for target 'toolchain/uClibc/headers/install' failed
make[2]: *** [toolchain/uClibc/headers/install] Error 2
make[2]: Leaving directory '/home/gruberek/gargoyle/ar71xx-src'
toolchain/Makefile:84: recipe for target '/home/gruberek/gargoyle/ar71xx-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.toolchain_install' failed
make[1]: *** [/home/gruberek/gargoyle/ar71xx-src/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory '/home/gruberek/gargoyle/ar71xx-src'
/home/gruberek/gargoyle/ar71xx-src/include/toplevel.mk:151: polecenia dla obiektu 'world' nie powiodły się
make: *** [world] Błąd 2
find: `bin': Nie ma takiego pliku ani katalogu
find: `bin': Nie ma takiego pliku ani katalogu
ls: nie ma dostępu do bin: Nie ma takiego pliku ani katalogu
Co może być przyczyną? System to Debian Jessie x64
A czasami te źródełka nie wymagają określonego linuksa i określonej lokalizacji gdzie mają być?
W plikach README jest tylko:
Building your own firmware you need to have access to a Linux, BSD or MacOSX system.
Cygwin will not be supported because of the lack of case sensitiveness.
i
Note: 1) This package has been built successfully on ubuntu 8.10.
2) Compiling this package on platforms other than ubuntu 8.10
may have unexpected results.
Wszystkie pakiety, które są wymagane zainstalowałem.
Próbowałem na dwóch różnych wersjach SDK i jest tak samo.
Witam.
Jako, że z moim u-boot'em w WNDR3700v2 coś jest nie tak postanowiłem skompilować nowy. Pobrałem ostatnie SDK, ze strony Netgear'a i chciałem zacząć działać. Niestety kompilacja nie chce ruszyć. Wywala mi:
make[1]: Entering directory '/home/gruberek/WNDR3700v2-V1.0.1.14_GPL_SRC'
make -C tools install
make[2]: Entering directory '/home/gruberek/WNDR3700v2-V1.0.1.14_GPL_SRC/tools'
--: /home/gruberek/WNDR3700v2-V1.0.1.14_GPL_SRC/include/shell.sh;: No such file or directory
--: /home/gruberek/WNDR3700v2-V1.0.1.14_GPL_SRC/include/shell.sh;: No such file or directory
Makefile:38: recipe for target '/home/gruberek/WNDR3700v2-V1.0.1.14_GPL_SRC/staging_dir_/include-host/byteswap.h' failed
make[2]: *** [/home/gruberek/WNDR3700v2-V1.0.1.14_GPL_SRC/staging_dir_/include-host/byteswap.h] Error 1
make[2]: Leaving directory '/home/gruberek/WNDR3700v2-V1.0.1.14_GPL_SRC/tools'
Makefile:100: recipe for target 'tools/install' failed
make[1]: *** [tools/install] Error 2
make[1]: Leaving directory '/home/gruberek/WNDR3700v2-V1.0.1.14_GPL_SRC'
Makefile:130: polecenia dla obiektu 'world' nie powiodły się
make: *** [world] Błąd 2
Dodam, że plik shell.sh oczywiście jest na swoim miejscu. Co robię źle?
No faktycznie jest poprawka. W przyszłym tygodniu wrócę do domu to wgram mu innego u-boot'a. Zobaczymy czy coś się zmieni.
Nie wiem od czego to zależy. Może od wersji bootloadera czy coś, tak na oko to z 10% ma takie przesunięcie.
Czy wgranie innego bootloader'a rozwiąże problem? Generalnie jakoś szczególnie mi to nie przeszkadza ale np. z tego powodu ( tak mi się wydaje ) nie działa wysyłanie statystyk:
root@router:~# /sbin/stat.sh
wget: server returned error: HTTP/1.1 400 Bad Request
root@router:~#
Tak wygląda link generowany przez stat.sh
Minęły dwa lata więc podbijam ![]()
Jest szansa na obraz z oc? Tak na 760Mhz byłoby miło go podkręcić.
Bo niektóre wndry mają jakieś przesunięcie we flash gdzie to info jest zapisane.
Ale to coś z nim nie tak czy po prostu "ten typ tak ma" ? ( sorry za OT )
Przełączałem go kiedyś jak jeszcze używałem go pod Windows. Później nie grzebałem. Generalnie to w tej chwili nie ma to już znaczenia - właśnie zmieniłem router na WNDR3700v2. 16mb flash powinno mi wystarczyć i w końcu pozbędę się tego nieszczęsnego extroot'a ![]()
//edit
Swoją drogą to dlaczego wyświetla mi się Machine: NETGEAR NDR3700v2▒ zamiast WNDR? ![]()
Mam ten sam problem. Po każdym niezaplanowanym wyłączeniu ( ostatnio np. syn bawił się przyciskiem od listwy
) muszę dać "reboot" z konsoli
Ja mam extroot'a na e173.
DUID generuje Ci się na kliencie przy pierwszym połączeniu.
W Windows dajesz ipconfig /all i masz takie coś:

Mam tunel z henetu i 6to4. Ustawiałem to dosyć dawno i też miałem problem z rozgłoszeniem tego po sieci. Metodą prób i błędów jakoś to ustawiłem. Tak wygląda moja konfiguracja:
/etc/dhcp6s.conf
# The followings are a sample configuration to provide a DNS server address
# for every client as well as to delegate a permanent IPv6 prefix
# 2001:db8:1111::/48 to a client whose DUID is 00:01:00:01:aa:bb.option domain-name-servers 2001:4860:4860::8888;
option domain-name-servers 2001:4860:4860::8844;host serwer {
duid 00:01:00:01:1a:7f:aa:94:00:00:39:4a:5d:a3;
address 2001:470:71:53d:10::2 infinity;
};interface br-lan {
address-pool pool1 86400;
};pool pool1 {
range 2001:470:71:53d:10::1000 to 2001:470:71:53d:10::2000 ;
};
/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'
option ip6assign '64'
option ip6hint '10'
option ip6addr '2001:470:71:53d:10::1/64'
option dns '192.168.1.1'config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'config switch_vlan
option device 'eth0'
option vlan '1'
option ports '0 1 2 3 4 5'config interface 'wan6'
option proto '6to4'config interface 'henet'
option proto '6in4'
option peeraddr '216.66.80.162'
option ip6addr '2001:470:70:53d::2/64'
option ip6prefix '2001:470:71:53d::/64'
option tunnelid '123456'
option username 'xxxxxxxxxx'
option password 'xxxxxxxxxx'
/etc/config/firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'config zone
option name 'wan'
list network 'wan'
list network 'wan6'
list network 'henet'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'config forwarding
option src 'lan'
option dest 'wan'config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fe80::/10'
option src_port '547'
option dest_ip 'fe80::/10'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'config include
option path '/etc/firewall.user'
option reload '1'config include
option type 'script'
option path '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
option family 'IPv4'
option reload '1'config include 'miniupnpd'
option type 'script'
option path '/usr/share/miniupnpd/firewall.include'
option family 'IPv4'
option reload '1'config include 'openvpn_include_file'
option path '/etc/openvpn.firewall'
option reload '1'config zone
option name 'wan6'
option network 'wan6'
option family 'ipv6'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'config forwarding
option src 'wan6'
option dest 'lan'config forwarding
option src 'lan'
option dest 'wan6'config rule
option name 'Allow Multicast v6'
option src 'wan'
option src_ip 'ff00::/8'
option dest_ip 'ff00::/8'
option family 'ipv6'config zone
option name 'henet'
option network 'henet'
option family 'ipv6'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'config forwarding
option src 'henet'
option dest 'lan'config forwarding
option src 'lan'
option dest 'henet'config rule
option name 'Allow Multicast v6'
option src 'wan'
option src_ip 'ff00::/8'
option dest_ip 'ff00::/8'
option family 'ipv6'
option target 'ACCEPT'config rule
option name '6to4'
option src 'wan'
option proto '41'
option target 'ACCEPT'
/etc/sysctl.conf
kernel.panic=3
net.ipv4.conf.default.arp_ignore=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.ip_forward=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_sack=1
net.ipv4.tcp_dsack=1net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.forwarding=1net.netfilter.nf_conntrack_acct=1
net.netfilter.nf_conntrack_checksum=0
#net.netfilter.nf_conntrack_max=16384
#net.netfilter.nf_conntrack_tcp_timeout_established=3600
net.netfilter.nf_conntrack_udp_timeout=60
net.netfilter.nf_conntrack_udp_timeout_stream=180# disable bridge firewalling by default
net.bridge.bridge-nf-call-arptables=0
net.bridge.bridge-nf-call-ip6tables=0
net.bridge.bridge-nf-call-iptables=0net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_max_tw_buckets=8192
net.netfilter.nf_conntrack_max=4096
net.netfilter.nf_conntrack_tcp_timeout_established=600
eko.one.pl → Posty przez Gruberek
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc