1

(10 odpowiedzi, napisanych Oprogramowanie / Software)

Dzięki za pomoc. Pododaję co trzeba.

2

(10 odpowiedzi, napisanych Oprogramowanie / Software)

Chyba tak, okazało się ze miałem zablokowany ruch przychodzący. Tylko nie kojarzę żebym to zmieniał. Mogło to się przestawić przy konfiguracji qos ?

Czy takie ustawienie firewalla jest w porządku? Oczywiście są też wyjątki dla poszczególnych protów.

config defaults
    option force_router_dns '1'
    option syn_flood '1'
    option input 'ACCEPT'
    option output 'ACCEPT'
    option forward 'REJECT'

config zone
    option name 'lan'
    option output 'ACCEPT'
    option network 'lan'
    option input 'ACCEPT'
    option forward 'REJECT'

config zone
    option name 'wan'
    option masq '1'
    option mtu_fix '1'
    option output 'ACCEPT'
    option network 'wan wan2'
    option forward 'REJECT'
    option input 'ACCEPT'

config include
    option path '/etc/firewall.user'

Firewall na routerze

3

(10 odpowiedzi, napisanych Oprogramowanie / Software)

Nie, to samo.

root@OpenWrt:~# wget -O - http://eko.one.pl/host.php
Connecting to eko.one.pl (185.23.21.123:80)
wget: can't connect to remote host (185.23.21.123): Network is unreachable
root@OpenWrt:~#

Moze to coś z firewallem ?

4

(10 odpowiedzi, napisanych Oprogramowanie / Software)

ping google.com
PING google.com (216.58.209.78): 56 data bytes
64 bytes from 216.58.209.78: seq=0 ttl=57 time=25.780 ms
64 bytes from 216.58.209.78: seq=1 ttl=57 time=26.106 ms
64 bytes from 216.58.209.78: seq=2 ttl=57 time=25.874 ms
64 bytes from 216.58.209.78: seq=3 ttl=57 time=25.740 ms
64 bytes from 216.58.209.78: seq=4 ttl=57 time=25.215 ms
64 bytes from 216.58.209.78: seq=5 ttl=57 time=25.609 ms
64 bytes from 216.58.209.78: seq=6 ttl=57 time=25.768 ms
64 bytes from 216.58.209.78: seq=7 ttl=57 time=25.740 ms
64 bytes from 216.58.209.78: seq=8 ttl=57 time=26.201 ms
64 bytes from 216.58.209.78: seq=9 ttl=57 time=25.465 ms
^C
--- google.com ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 25.215/25.749/26.201 ms
root@OpenWrt:~#

5

(10 odpowiedzi, napisanych Oprogramowanie / Software)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.2     0.0.0.0         UG    0      0        0 br-lan
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan

Brama domyślna to u mnie właśnie 192.168.1.2

6

(10 odpowiedzi, napisanych Oprogramowanie / Software)

Mam dziwny problem z NASem NSA310. Mianowicie na nie mogę pobierać żadnych plików przez wget. Czy to po wpisaniu adresu ip czy domeny. W związku z tym o instalacji z opkg mogę zapomnieć. Co może być przyczyną  takiego stanu rzeczy?

root@OpenWrt:~# opkg update
Downloading http://bartekk.pdg.pl/openwrt/kirkwood/packages/Packages.gz.
wget: can't connect to remote host (91.205.75.118): Network is unreachable
Downloading http://dl.eko.one.pl/attitude_adjustment/kirkwood/packages/Packages.                                                                                        gz.
wget: can't connect to remote host (178.235.241.16): Network is unreachable
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/kirkwood/gene                                                                                        ric/packages/Packages.gz.
wget: can't connect to remote host (78.24.191.177): Network is unreachable
Collected errors:
 * opkg_download: Failed to download http://bartekk.pdg.pl/openwrt/kirkwood/pack                                                                                        ages/Packages.gz, wget returned 1.
 * opkg_download: Failed to download http://dl.eko.one.pl/attitude_adjustment/ki                                                                                        rkwood/packages/Packages.gz, wget returned 1.
 * opkg_download: Failed to download http://downloads.openwrt.org/attitude_adjus                                                                                        tment/12.09/kirkwood/generic/packages/Packages.gz, wget returned 1.
root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=48 time=46.870 ms
64 bytes from 8.8.8.8: seq=1 ttl=48 time=46.605 ms
64 bytes from 8.8.8.8: seq=2 ttl=48 time=54.836 ms
64 bytes from 8.8.8.8: seq=3 ttl=48 time=93.488 ms
64 bytes from 8.8.8.8: seq=4 ttl=48 time=47.992 ms
64 bytes from 8.8.8.8: seq=5 ttl=48 time=60.679 ms
64 bytes from 8.8.8.8: seq=6 ttl=48 time=55.410 ms
^C
--- 8.8.8.8 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 46.605/57.982/93.488 ms
root@OpenWrt:~# ping onet.pl
PING onet.pl (213.180.141.140): 56 data bytes
64 bytes from 213.180.141.140: seq=0 ttl=57 time=29.507 ms
64 bytes from 213.180.141.140: seq=1 ttl=57 time=29.942 ms
64 bytes from 213.180.141.140: seq=2 ttl=57 time=29.525 ms
64 bytes from 213.180.141.140: seq=3 ttl=57 time=29.623 ms
^C
--- onet.pl ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 29.507/29.649/29.942 ms
root@OpenWrt:~# root@OpenWrt:~# opkg update
-ash: root@OpenWrt:~#: not found
root@OpenWrt:~# Downloading http://bartekk.pdg.pl/openwrt/kirkwood/packages/Packages.gz.
-ash: Downloading: not found
root@OpenWrt:~# wget: can't connect to remote host (91.205.75.118): Network is unreachable
> Downloading http://dl.eko.one.pl/attitude_adjustment/kirkwood/packages/Packages.
  gz.
> wget: can't connect to remote host (178.235.241.16): Network is unreachable
-ash: syntax error: unexpected "("root@OpenWrt:~# ping onet.pl

root@OpenWrt:~# Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/kirkwood/gene
                ric/packages/Packages.gz.
-ash: Downloading: not found
root@OpenWrt:~# wget: can't connect to remote host (78.24.191.177): Network is unreachable
> Collected errors:
>  * opkg_download: Failed to download http://bartekk.pdg.pl/openwrt/kirkwood/pack
  ages/Packages.gz, wget returned 1.
>  * opkg_download: Failed to download http://dl.eko.one.pl/attitude_adjustment/ki
  rkwood/packages/Packages.gz, wget returned 1.
>  * opkg_download: Failed to download http://downloads.openwrt.org/attitude_adjus
  tment/12.09/kirkwood/generic/packages/Packages.gz, wget returned 1.
> root@OpenWrt:~# ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8): 56 data bytes
> 64 bytes from 8.8.8.8: seq=0 ttl=48 time=46.870 ms
> 64 bytes from 8.8.8.8: seq=1 ttl=48 time=46.605 ms
> 64 bytes from 8.8.8.8: seq=2 ttl=48 time=54.836 ms
> 64 bytes from 8.8.8.8: seq=3 ttl=48 time=93.488 ms
> 64 bytes from 8.8.8.8: seq=4 ttl=48 time=47.992 ms
> 64 bytes from 8.8.8.8: seq=5 ttl=48 time=60.679 ms
> 64 bytes from 8.8.8.8: seq=6 ttl=48 time=55.410 ms
> ^C
> --- 8.8.8.8 ping statistics ---
> 7 packets transmitted, 7 packets received, 0% packet loss
> round-trip min/avg/max = 46.605/57.982/93.488 ms
> root@OpenWrt:~# ping onet.pl
> PING onet.pl (213.180.141.140): 56 data bytes
> 64 bytes from 213.180.141.140: seq=0 ttl=57 time=29.507 ms
> 64 bytes from 213.180.141.140: seq=1 ttl=57 time=29.942 ms
> 64 bytes from 213.180.141.140: seq=2 ttl=57 time=29.525 ms
> 64 bytes from 213.180.141.140: seq=3 ttl=57 time=29.623 ms
> ^C
> --- onet.pl ping statistics ---
> 4 packets transmitted, 4 packets received, 0% packet loss
> round-trip min/avg/max = 29.507/29.649/29.942 ms
> root@OpenWrt:~#
root@OpenWrt:~# opkg list-installed
alsa-lib - 1.0.24.1-1
alsa-utils - 1.0.24.2-2
aria2 - 1.15.1-1
base-files - 118.2-r40431
blkid - 2.21.2-1
block-mount - 0.2.0-9
busybox - 1.19.4-6
cups - 1.4.4-3
ddns-scripts - 1.0.0-21
dropbear - 2011.54-2
ethtool - 3.4.1-1
firewall - 2013-06-29
glib2 - 2.26.1-3
hdparm - 9.39-1
hotplug2 - 1.0-beta-4
iptables - 1.4.10-5
jshn - 2013-10-19-734d28eb1a46358743cf8837c91e5d46695c3b91
kernel - 3.3.8-1-bc9b88a351a28b383f285611067dd1ba
kmod-ata-core - 3.3.8-1
kmod-ata-marvell-sata - 3.3.8-1
kmod-crypto-aes - 3.3.8-1
kmod-crypto-core - 3.3.8-1
kmod-crypto-hash - 3.3.8-1
kmod-crypto-manager - 3.3.8-1
kmod-crypto-mv-cesa - 3.3.8-1
kmod-fs-ext4 - 3.3.8-1
kmod-fs-vfat - 3.3.8-1
kmod-fuse - 3.3.8-1
kmod-hwmon-core - 3.3.8-1
kmod-hwmon-lm85 - 3.3.8-1
kmod-hwmon-vid - 3.3.8-1
kmod-i2c-core - 3.3.8-1
kmod-i2c-mv64xxx - 3.3.8-1
kmod-input-core - 3.3.8-1
kmod-input-evdev - 3.3.8-1
kmod-input-gpio-keys - 3.3.8-1
kmod-ipt-conntrack - 3.3.8-1
kmod-ipt-core - 3.3.8-1
kmod-ipt-nat - 3.3.8-1
kmod-ipt-nathelper - 3.3.8-1
kmod-leds-gpio - 3.3.8-1
kmod-ledtrig-default-on - 3.3.8-1
kmod-ledtrig-heartbeat - 3.3.8-1
kmod-ledtrig-netdev - 3.3.8-1
kmod-ledtrig-timer - 3.3.8-1
kmod-ledtrig-usbdev - 3.3.8-1
kmod-lib-crc-ccitt - 3.3.8-1
kmod-lib-crc16 - 3.3.8-1
kmod-nls-base - 3.3.8-1
kmod-nls-cp437 - 3.3.8-1
kmod-nls-iso8859-1 - 3.3.8-1
kmod-r8169 - 3.3.8-1
kmod-rtc-marvell - 3.3.8-1
kmod-scsi-core - 3.3.8-1
kmod-sound-core - 3.3.8-1
kmod-usb-audio - 3.3.8-1
kmod-usb-core - 3.3.8-1
kmod-usb-printer - 3.3.8-1
kmod-usb-storage - 3.3.8-1
kmod-usb2 - 3.3.8-1
libapr - 1.4.5-2
libaprutil - 1.3.12-2
libblkid - 2.21.2-1
libblobmsg-json - 2013-10-19-734d28eb1a46358743cf8837c91e5d46695c3b91
libbz2 - 1.0.6-1
libc - 0.9.33.2-1
libcurl - 7.29.0-1
libevent2 - 2.0.19-1
libexif - 0.6.19-1
libexpat - 2.0.1-1
libffmpeg-mini - 0.8.7-2
libflac - 1.2.1-1
libfuse - 2.9.0-2
libgcc - 4.6-linaro-1
libiconv - 7
libid3tag - 0.15.1b-3
libip4tc - 1.4.10-5
libip6tc - 1.4.10-5
libiwinfo - 44
libiwinfo-lua - 44
libjpeg - 6b-1
libjson - 0.11-2
libjson-c - 0.11-2
libltdl - 2.4-1
liblua - 5.1.4-8
libmagic - 5.11-1
libmcrypt - 2.5.8-2
libminiupnpc - 1.8-1
libmysqlclient - 5.1.53-7
libncurses - 5.7-5
libncursesw - 5.7-5
libnl-tiny - 0.1-3
libogg - 1.1.4-2
libopenssl - 1.0.1h-1
libpcap - 1.1.1-2
libpcre - 8.11-2
libpng - 1.2.46-2
libpthread - 0.9.33.2-1
libreadline - 5.2-2
librpc - 0.9.32-rc2-0a2179bbc0844928f2a0ec01dba93d9b5d6d41a7
librt - 0.9.33.2-1
libsensors - 3.3.2-1
libsqlite2 - 2.8.17-2
libsqlite3 - 3071201-1
libstdcpp - 4.6-linaro-1
libsysfs - 2.1.0-2
libubox - 2013-10-19-734d28eb1a46358743cf8837c91e5d46695c3b91
libubus - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
libubus-lua - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
libuci - 2013-06-11.1-1
libuci-lua - 2013-06-11.1-1
libusb - 0.1.12-3
libusb-1.0 - 1.0.9-1
libuuid - 2.21.2-1
libvorbis - 1.2.3-1
libwrap - 7.6-1
libxml2 - 2.7.8-2
libxtables - 1.4.10-5
lighttpd - 1.4.30-2
lighttpd-mod-cgi - 1.4.30-2
lm-sensors - 3.3.2-1
lua - 5.1.4-8
luci - 0.11.1-1
luci-app-firewall - 0.11.1-1
luci-app-minidlna - 0.11.1-1
luci-app-p910nd - 0.11.1-1
luci-app-samba - 0.11.1-1
luci-i18n-english - 0.11+svn9974-1
luci-i18n-polish - 0.11.1-1
luci-lib-core - 0.11.1-1
luci-lib-ipkg - 0.11.1-1
luci-lib-nixio - 0.11.1-1
luci-lib-sys - 0.11.1-1
luci-lib-web - 0.11.1-1
luci-mod-admin-core - 0.11.1-1
luci-mod-admin-full - 0.11.1-1
luci-proto-core - 0.11.1-1
luci-proto-ppp - 0.11.1-1
luci-sgi-cgi - 0.11.1-1
luci-theme-base - 0.11.1-1
luci-theme-bootstrap - 0.11.1-1
luci-theme-openwrt - 0.11.1-1
mc - 4.7.5.3-2
minidlna - 1.0.24-1
mtd - 18.1
mysql-server - 5.1.53-7
nano - 2.2.6-1
netifd - 2013-07-16-2674941b06c1ec67f1aff1bff9212e1372106641
nmap - 6.01-4
ntfs-3g - 2011.4.12-1-fuseext
ntpclient - 2007_365-4
openssl-util - 1.0.1e-1
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-3
p910nd - 0.95-2
php5 - 5.4.5-3
php5-cgi - 5.4.5-3
php5-cli - 5.4.5-3
php5-mod-ctype - 5.4.5-3
php5-mod-dom - 5.4.5-3
php5-mod-exif - 5.4.5-3
php5-mod-fileinfo - 5.4.5-3
php5-mod-ftp - 5.4.5-3
php5-mod-gd - 5.4.5-3
php5-mod-hash - 5.4.5-3
php5-mod-iconv - 5.4.5-3
php5-mod-json - 5.4.5-3
php5-mod-mbstring - 5.4.5-3
php5-mod-mcrypt - 5.4.5-3
php5-mod-mysql - 5.4.5-3
php5-mod-mysqli - 5.4.5-3
php5-mod-openssl - 5.4.5-3
php5-mod-pdo - 5.4.5-3
php5-mod-pdo-mysql - 5.4.5-3
php5-mod-pdo-sqlite - 5.4.5-3
php5-mod-session - 5.4.5-3
php5-mod-simplexml - 5.4.5-3
php5-mod-sqlite - 5.4.5-3
php5-mod-sqlite3 - 5.4.5-3
php5-mod-xml - 5.4.5-3
php5-mod-zip - 5.4.5-3
proftpd - 1.3.4b-1
samba36-client - 3.6.5-3
samba36-server - 3.6.5-3
swap-utils - 2.21.2-1
sysfsutils - 2.1.0-2
terminfo - 5.7-5
transmission-daemon - 2.71-1
transmission-web - 2.71-1
uboot-envtools - 2012.04.01-1
ubus - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
ubusd - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
uci - 2013-06-11.1-1
uclibcxx - 0.2.4-1
uhttpd - 2012-10-30-e57bf6d8bfa465a50eea2c30269acdfe751a46fd
unixodbc - 2.3.1-1
wput - 0.6.2-1
zlib - 1.2.7-1
zoneinfo-core - 2011n-1
zoneinfo-europe - 2011n-1
root@OpenWrt:~#

7

(2 odpowiedzi, napisanych Oprogramowanie / Software)

Hmm rozumiem, w tej chwili nawet automat nie działa. Mam ustawione na loadbalance, a i tak za każdym razem wychodzi przez Netię. A w takim razie może jakiś tunel lub vpn który pozwoli korzystać z uploadu Playa przy dostępie z zewnątrz?

Witam, posiadam skonfigurowany mwan3 na dwa łącza. Jedno to internet Netii z otwartym dostępem z zewnątrz, a drugi to internet LTE w Play. Jak wiadomo Play blokuje dostęp z zewnątrz, a chciałbym żeby ruch wychodzący był kierowany przez łącze Playa. Czy da się jakoś skonfigurować mwan3 tak żeby zapytania do routera wchodziły przez Netię(tak mam teraz), a wychodziły przez Playa. Mogą być tylko pojedyncze porty ponieważ zależy mi jedynie na streamingu i ftp.

Z tego co czytałem rusza jak się skompiluje nowy kernel od seagate goflex home. Przynajmniej tak pewien niemiec napisał przy ticket'cie

Probuje wgrać generic ze strony openwrt ale nie działa. Tzn staje przy botowaniu kernela.

Z twojego serwera pobrane, attitude adjustment. Paczki z oficjalnego repo.

rozumiem, ale jak mam walczyć, coś w ustawieniach czy problem z binarką z repozytorium?

Mam problem z phpmyadmin, po zainstalowaniu apache, php5 i mysql zgodnie ze how to ze strony głównej od razu po instalacji przy wpisaniu:

php-cgi -v  mam:

PHP 5.4.5 (cgi-fcgi) (built: Mar 16 2013 19:59:42)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Segmentation fault

w error_log moim zdaniem nic nadzyczajnego sie nie pokazuje:

[Fri Aug 29 18:07:50 2014] [notice] SIGHUP received.  Attempting to restart
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Fri Aug 29 18:07:50 2014] [info] Init: Seeding PRNG with 0 bytes of entropy
[Fri Aug 29 18:07:50 2014] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Fri Aug 29 18:07:51 2014] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Fri Aug 29 18:07:51 2014] [info] Init: Initializing (virtual) servers for SSL
[Fri Aug 29 18:07:51 2014] [info] mod_ssl/2.2.15 compiled against Server: Apache/2.2.15, Library: OpenSSL/1.0.1d
[Fri Aug 29 18:07:51 2014] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.1e configured -- resuming normal operations
[Fri Aug 29 18:07:51 2014] [info] Server built: Mar 16 2013 19:55:48
[Fri Aug 29 18:07:51 2014] [debug] prefork.c(1013): AcceptMutex: sysvsem (default: sysvsem)
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 65816044484750564 for worker 
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 2541486768462773 for ((null))
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 65816044484750564 for worker 
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 2541040091863989 for (proxy:reverse)
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 65816044484750564 for worker 
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 2541040091863989 for (proxy:reverse)
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 65816044484750564 for worker 
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 2541040091863989 for (proxy:reverse)
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 65816044484750564 for worker 
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri Aug 29 18:07:51 2014] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 2541040091863989 for (proxy:reverse)
[Fri Aug 29 18:07:58 2014] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 0 in child 65816044484750564 for worker 
[Fri Aug 29 18:07:58 2014] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized
[Fri Aug 29 18:07:58 2014] [debug] proxy_util.c(1934): proxy: initialized single connection worker 0 in child 2541040091863989 for (proxy:reverse)

php.ini

[PHP]

zend.ze1_compatibility_mode = Off

; Language Options

engine = On
;short_open_tag = Off
precision    =  12
y2k_compliance = On
output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_compression_level = -1
;zlib.output_handler =
implicit_flush = Off
unserialize_callback_func =
serialize_precision = 100

;open_basedir =
disable_functions =
disable_classes =

; Colors for Syntax Highlighting mode.  Anything that's acceptable in
; <span style="color: ???????"> would work.
;highlight.string  = #DD0000
;highlight.comment = #FF9900
;highlight.keyword = #007700
;highlight.bg      = #FFFFFF
;highlight.default = #0000BB
;highlight.html    = #000000

;ignore_user_abort = On
;realpath_cache_size = 16k
;realpath_cache_ttl = 120

; Miscellaneous

expose_php = On

; Resource Limits

max_execution_time = 30    ; Maximum execution time of each script, in seconds.
max_input_time = 60    ; Maximum amount of time each script may spend parsing request data.
;max_input_nesting_level = 64
memory_limit = 8M    ; Maximum amount of memory a script may consume.

; Error handling and logging

; Error Level Constants:
; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
; E_ERROR           - fatal run-time errors
; E_RECOVERABLE_ERROR  - almost fatal run-time errors
; E_WARNING         - run-time warnings (non-fatal errors)
; E_PARSE           - compile-time parse errors
; E_NOTICE          - run-time notices (these are warnings which often result
;                     from a bug in your code, but it's possible that it was
;                     intentional (e.g., using an uninitialized variable and
;                     relying on the fact it's automatically initialized to an
;                     empty string)
; E_STRICT            - run-time notices, enable to have PHP suggest changes
;                     to your code which will ensure the best interoperability
;                     and forward compatibility of your code
; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
;                     initial startup
; E_COMPILE_ERROR   - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR      - user-generated error message
; E_USER_WARNING    - user-generated warning message
; E_USER_NOTICE     - user-generated notice message
; E_DEPRECATED      - warn about code that will not work in future versions
;                     of PHP
; E_USER_DEPRECATED - user-generated deprecation warnings
;
; Common Values:
;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
; Default Value: E_ALL & ~E_NOTICE
error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT

display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
;report_zend_debug = 0
track_errors = Off
;html_errors = Off
;docref_root = "/phpmanual/"
;docref_ext = .html
;error_prepend_string = "<font color=#ff0000>"
;error_append_string = "</font>"
; Log errors to specified file.
error_log = /var/log/php_errors.log
; Log errors to syslog.
;error_log = syslog

; Data Handling

;arg_separator.output = "&amp;"
;arg_separator.input = ";&"
variables_order = "EGPCS"
request_order = "GP"
register_globals = Off
register_long_arrays = Off
register_argc_argv = On
auto_globals_jit = On
post_max_size = 8M
;magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
;default_charset = "iso-8859-1"
;always_populate_raw_post_data = On

; Paths and Directories

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
doc_root = "/www1"
user_dir =
extension_dir = "/usr/lib/php"
enable_dl = On
cgi.force_redirect = 0
;cgi.nph = 1
;cgi.redirect_status_env = ;
cgi.fix_pathinfo=1
;fastcgi.impersonate = 1;
;fastcgi.logging = 0
;cgi.rfc2616_headers = 0

; File Uploads

file_uploads = On
upload_tmp_dir = "/tmp"
upload_max_filesize = 2M
max_file_uploads = 20

; Fopen wrappers

allow_url_fopen = On
allow_url_include = Off
;from="john@doe.com"
;user_agent="PHP"
default_socket_timeout = 60
;auto_detect_line_endings = Off

; Dynamic Extensions

;extension=ctype.so
;extension=curl.so
;extension=dom.so
;extension=exif.so
;extension=ftp.so
extension=gd.so
;extension=gmp.so
;extension=hash.so
;extension=iconv.so
;extension=json.so
;extension=ldap.so
extension=mbstring.so
extension=mcrypt.so
extension=mysql.so
;extension=openssl.so
;extension=pcre.so
extension=pdo.so
;extension=pdo-mysql.so
;extension=pdo-pgsql.so
;extension=pdo_sqlite.so
;extension=pgsql.so
extension=session.so
;extension=soap.so
;extension=sockets.so
;extension=sqlite.so
;extension=sqlite3.so
extension=tokenizer.so
extension=xml.so
;extension=xmlreader.so
;extension=xmlwriter.so

; Module Settings

[APC]
apc.enabled = 1
apc.shm_segments = 1    ;The number of shared memory segments to allocate for the compiler cache.
apc.shm_size = 4M    ;The size of each shared memory segment.

[Date]
;date.timezone =
;date.default_latitude = 31.7667
;date.default_longitude = 35.2333
;date.sunrise_zenith = 90.583333
;date.sunset_zenith = 90.583333

[filter]
;filter.default = unsafe_raw
;filter.default_flags =

[iconv]
;iconv.input_encoding = ISO-8859-1
;iconv.internal_encoding = ISO-8859-1
;iconv.output_encoding = ISO-8859-1

[sqlite]
;sqlite.assoc_case = 0

[sqlite3]
;sqlite3.extension_dir =

[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket=

[MySQL]
mysql.allow_local_infile = On
mysql.allow_persistent = On
mysql.cache_size = 2000
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off

[PostgresSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0

[Session]
session.save_handler = files
session.save_path = "/tmp"
session.use_cookies = 1
;session.cookie_secure =
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = On
session.bug_compat_warn = On
session.referer_check =
session.entropy_length = 0
;session.entropy_file = /dev/urandom
session.entropy_file =
;session.entropy_length = 16
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 4
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[mbstring]
;mbstring.language = Japanese
;mbstring.internal_encoding = EUC-JP
;mbstring.http_input = auto
;mbstring.http_output = SJIS
;mbstring.encoding_translation = Off
;mbstring.detect_order = auto
;mbstring.substitute_character = none;
;mbstring.func_overload = 0
;mbstring.strict_detection = Off
;mbstring.http_output_conv_mimetype=
;mbstring.script_encoding=

[gd]
;gd.jpeg_ignore_warning = 0

[exif]
;exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel    = UCS-2LE
;exif.encode_jis =
;exif.decode_jis_motorola = JIS
;exif.decode_jis_intel    = JIS

[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5

[sysvshm]
;sysvshm.init_mem = 10000

[ldap]
ldap.max_links = -1

[mcrypt]
;mcrypt.algorithms_dir=
;mcrypt.modes_dir=

httpd.conf:

#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see 
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/foo_log"
# with ServerRoot set to "/usr" will be interpreted by the
# server as "/usr//var/log/foo_log".

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk.  If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot "/usr"

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to 
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#

<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.  
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User nobody
Group nogroup

</IfModule>
</IfModule>

# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition.  These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g. admin@your-domain.com
#
ServerAdmin you@example.com

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/www1"

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# features.  
#
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/www1">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all

</Directory>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>

#
# The following lines prevent .htaccess and .htpasswd files from being 
# viewed by Web clients. 
#
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog "/var/log/error_log"

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel debug

<IfModule log_config_module>
    #
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    #
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      # You need to enable mod_logio.c to use %I and %O
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>

    #
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here.  Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    #
    CustomLog "/var/log/access_log" common

    #
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #
    #CustomLog "/var/log/access_log" combined
</IfModule>

<IfModule alias_module>
    #
    # Redirect: Allows you to tell clients about documents that used to 
    # exist in your server's namespace, but do not anymore. The client 
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar

    #
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    #
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.

    #
    # ScriptAlias: This controls which directories contain server scripts. 
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client.  The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    #
   #ScriptAlias /cgi-bin/ "/usr/share/cgi-bin/"
  

</IfModule>

<IfModule cgid_module>
    #
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #
    #Scriptsock /var/log/cgisock
</IfModule>

#
# "/usr/share/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
#<Directory "/usr/share/cgi-bin">
#   AllowOverride None
#    Options None
#    Order allow,deny
#    Allow from all
#</Directory>

#
# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.  If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain

<IfModule mime_module>
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig /etc/apache/mime.types

    #
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #
    #AddType application/x-gzip .tgz
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    #
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

    #
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    #
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #
    #AddHandler cgi-script .cgi

    # For type maps (negotiated resources):
    #AddHandler type-map var

    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
</IfModule>

#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type.  The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
MIMEMagicFile /etc/apache/magic

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# EnableMMAP and EnableSendfile: On systems that support it, 
# memory-mapping or the sendfile syscall is used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted 
# filesystems or if support for these functions is otherwise
# broken on your system.
#
#EnableMMAP off
EnableSendfile off

# Supplemental configuration
#
# The configuration files in the /etc/apache/extra/ directory can be 
# included to add extra features or to modify the default configuration of 
# the server, or you may simply copy their contents here and change as 
# necessary.

# Server-pool management (MPM specific)
#Include /etc/apache/extra/httpd-mpm.conf

# Multi-language error messages
#Include /etc/apache/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
#Include /etc/apache/extra/httpd-autoindex.conf

# Language settings
#Include /etc/apache/extra/httpd-languages.conf

# User home directories
#Include /etc/apache/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include /etc/apache/extra/httpd-info.conf

# Virtual hosts
#Include /etc/apache/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include /etc/apache/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include /etc/apache/extra/httpd-dav.conf

# Various default settings
#Include /etc/apache/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include /etc/apache/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
#       starting without SSL on platforms with no /dev/random equivalent
#       but a statically compiled-in mod_ssl.
#
#<IfModule ssl_module>
#SSLRandomSeed startup builtin
#SSLRandomSeed connect builtin
#</IfModule>
 ScriptAlias /local-bin /usr/bin
AddHandler application/x-httpd-php5 php
    Action application/x-httpd-php5 /local-bin/php-cgi
    <Directory "/usr/bin">
        Order allow,deny
        Allow from all
    </Directory>

my.cnf

[client]
port        = 3306
socket        = /var/run/mysqld.sock

[mysqld]
user        = root
socket        = /var/run/mysqld.sock
port        = 3306
basedir        = /usr

############ Don't put this on the NAND #############
# Figure out where you are going to put the databases
# And run mysql_install_db --force
datadir        = /mysql/

######### This should also not go on the NAND #######
tmpdir        = /tmp/

skip-external-locking

bind-address        = 127.0.0.1

# Fine Tuning
key_buffer        = 2M
max_allowed_packet    = 2M
thread_stack        = 192K
thread_cache_size       = 8

# Here you can see queries with especially long duration
#log_slow_queries    = /var/log/mysql/mysql-slow.log
#long_query_time = 2
#log-queries-not-using-indexes

# The following can be used as easy to replay backup logs or for replication.
#server-id        = 1
#log_bin            = /var/log/mysql/mysql-bin.log
#expire_logs_days    = 10
#max_binlog_size         = 100M
#binlog_do_db        = include_database_name
#binlog_ignore_db    = include_database_name


[mysqldump]
quick
quote-names
max_allowed_packet    = 16M

[mysql]
#no-auto-rehash    # faster start of mysql but no tab completition

[isamchk]
key_buffer        = 16M

Urządzenie to Zyxel NSA310 z openwrt. Chce mu wgrać coś na kształt oryginalnej paczki phpmyadmin i mysql dzięki ktróej mogłem utworzyć bazę mysql dla xbmc. Niestety po przeczytaniu wszystkich wątków na temat phpmyadmin z tego forum nie udało mi się uruchomić nawet strony startowej. Ciągle mam tylko białą stronę. Liczę na pomoc, gdyby zaszła potrzeba umieszczenia innych plików to je zamieszcze.

14

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Rozwiązałem problem. Najpierw zresetowałem env, a później:

setenv mainlineLinux no

setenv bootargs 'console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/nfs rw init=/init'

setenv bootcmd 'nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000'
saveenv
reset

15

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Tak ten sam który wyjalem przed rozpoczęciem zabawy. Normalnie była na nim założony wolumin 1 TB. Czy brak dysku ma  w ogóle wpływ na start oryginalnego firmware?

16

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Witam, chciałem uruchomić na moim NSA310 OpenWrt niestety chyba nie posiadam odpowiedniego pena. Po zrestartowaniu env chciałem wrócić do oryginalnego firmware. Niestety Nas nie bootuje. Nie widzi mtdblock. W jaki sposób mogę przywrócić mu oryginalne oprogramowanie.

IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
Wake up disk0......
Wake up disk1......
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
scsi 0:0:0:0: Direct-Access     Seagate  ST31000524AS     JC45 PQ: 0 ANSI: 5
EnablePowerSaving
PowerSavingTime = 15
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
sd 0:0:0:0: [sda] 1953523055 512-byte logical blocks: (1.00 TB/931 GiB)
sd 0:0:0:0: [sda] 0-byte physical blocks
sd 0:0:0:0: Attached scsi generic sg0 type 0
Loading Marvell Ethernet Driver:
  o Cached descriptors in DRAM
  o DRAM SW cache-coherency
  o 0 Giga ports supported
  o Single RX Queue support - ETH_DEF_RXQ=0
  o Single TX Queue support - ETH_DEF_TXQ=0
  o TCP segmentation offload (TSO) supported
  o Large Receive offload (LRO) supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Network Fast Processing (Routing) supported - (Disabled)
  o Driver ERROR statistics enabled
  o Proc tool API enabled
  o SKB Reuse supported - (Disabled)
  o SKB Recycle supported - (Disabled)
  o Rx descripors: q0=128
  o Tx descripors: q0=532
  o Loading network interface(s):

mvFpRuleDb (c8cb2000): 2048 entries, 8192 bytes
Counter=0, opIdx=6, overhead=16
Counter=1, opIdx=2, overhead=0
Counter=2, opIdx=1, overhead=18
Counter=3, opIdx=2, overhead=0
sd 0:0:0:0: [sda] Write Protect is off
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bi             t)
Scanning device for bad blocks
Bad eraseblock 257 at 0x000002020000
Using static partition definition
Creating 3 MTD partitions on "nand_mtd":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000300000 : "uImage"
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FU             A
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
0x000000300000-0x000008000000 : "root"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
 sda: sda1 sda2
sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
sd 0:0:0:0: [sda] Attached SCSI disk
ehci_marvell ehci_marvell.70059: 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
usbcore: registered new interface driver usblp
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
i2c /dev entries driver
hwmon-vid: Unknown VRM version of your CPU
lm85 0-002e: Starting monitoring
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
Mobile IPv6
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip6tnl0: Disabled Privacy Extensions
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rtc mv_rtc: setting system clock to 2014-08-27 22:41:14 UTC (1409179274)
Freeing init memory: 2804K
Can't open /dev/mtd3: No such device
*** Stage 1: Setup system and device drivers ***
ifconfig: SIOCGIFFLAGS: No such device
usb 1-1: new high speed USB device using ehci_marvell and address 2
ifconfig: SIOCSIFHWADDR: No such device
ip: SIOCSIFNAME: No such device
ifconfig: SIOCSIFADDR: No such device
ip: can't find device 'egiga0'
Cannot set device generic segmentation offload settings: No such device
Can't open /dev/mtd3: No such device
Can't open /dev/mtd3: No such device
*** Stage 2: Prepare the root file system ***
In hub_port_init, and number is 0, retry 0, port 1 .....
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
Mount system partition...
mount: special device /dev/mtdblock does not exist
ls: /zyxel/mnt/nand/sysdisk.img.gz: No such file or directory
NAND Flash Corrupt...
Starting Pure-FTPd ...
/etc/init.d/rcS: line 212: /bin/pure-ftpd.official: not found
1 second...
2 second...
3 second...
4 second...
5 second...
6 second...
7 second...
8 second...
9 second...
10 second...
sda
checking sda
Trying to mount /dev/sda1
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Fail to mount /dev/sda1
the sys-root image /dev/mtdblock is currupt !!
Can't open /dev/mtd3: No such device
Can't open /dev/mtd3: No such device
Can't open /dev/mtd3: No such device
Can't open /dev/mtd3: No such device
change boot image and reboot !!
led_state_map_addr = 4e
Starting "/etc/init.d/zypkg_controller.sh".
Stopping all zypkgs via "/etc/init.d/zypkg_controller.sh" ...
- Failed: dependency file "/usr/local/zy-pkgs/etc/init.d/ZYPKG_DEPS" not exists.
Starting "/etc/init.d/zypkg_controller.sh".
Starting to release zy-pkgs environment ...
umount: /usr/local/apache/htdocs/adv,/pkg: not found
umount: /etc/zyxel/zy-pkgs: not mounted
umount: /usr/local/zy-pkgs: not found
Finish "/etc/init.d/zypkg_controller.sh".
Fail to disble power resume
/etc/init.d/rc.shutdown: line 20: /usr/bin/rtcAccess: not found
start kill.

sh: you need to specify whom to kill


BusyBox v1.17.2 (2014-04-15 09:24:22 CST) multi-call binary.

Usage: swapoff [-a] [DEVICE]

umount: /etc/zyxel: not mounted
rootfs / rootfs rw 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
none /proc/bus/usb usbfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
md: stopping all md devices.
sd 0:0:0:0: [sda] Synchronizing SCSI cache
Restarting system.
Reseting !!

printenv

NSA310>> printenv
bootcmd=nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000
bootdelay=2
baudrate=115200
loads_echo=0
eth1addr=00:19:CB:00:51:82
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
nandEcc=1bit
PRODUCT_NAME=NSA-310
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=ZyXEL Communications Corp.
run_diag=yes
ethaddr=50:67:F0:69:C3:60
MODEL_ID=A203
console=100000
=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root)
CASset=min
ethprime=egiga1
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
mainlm=0x800000
MALLOC_len=3
bootargs=console=ttyS0,115200 root=/dev/sda1 rootdelay=5
filesize=0
stdin=serial
stdout=serial
stderr=serial
nandEnvBase=100000
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=yes
kernel_addr=0x4640000
pcieTune=no
ethact=egiga1

Environment size: 1440/131068 bytes

Co mogłem zrobić nie tak, korzystałem tylko z poradnika ze strony głównej. Liczę na szybką pomoc.

Witam, mam taki problem. W swojej sieci posiadam HTPC na którym działa kilka aplikacji z których zdarza mi się korzystać poza siecią wewnętrzną. Założyłem domenę ponieważ mam zmienne ip. Dostęp z sieci zewnętrznej działa jak należy. Problem jest w tym, że wpisując adres domeny np. xxx.dyndns.com:9999 wewnątrz sieci firewall blokuje połączenie. Problem wystąpił po przesiadce z Gargoyle na  Attitude Adjustment 12.09.1 / LuCI 0.11 Branch (0.11+svn9971). Konfiguracja firewall standardowa, jedynie otworzyłem oraz przekierowałem porty. Do tego mam ustawiony mwan3. Czy są jakieś różnice w konfiguracji firewalla które za to odpowiadają ?

Dziękuje bardzo, działa.

Mógłbyś pokazać configi o których piszesz? Próbuje na kilka sposobów i nie działa. Tez chce się dostać do tplinka w trybie bridge. Na gargoyle działało od strzała po dodaniu trasy statycznej. Na luci nie chce.

Mógłby mi ktoś podpowiedzieć jak zablokować wszystkie połączenia przychodzące z danego ip?

21

(22 odpowiedzi, napisanych Oprogramowanie / Software)

Jeśli masz na myśli czy widzę router w otoczeniu sieciowym to go nie widzę, tak samo jak NASA. Mogę jedynie wejść na udostępnione zasoby za pomocą ip.

22

(22 odpowiedzi, napisanych Oprogramowanie / Software)

Nie chcę zakładać nowego tematu, ale mam dość upierdliwy problem z sambą po przesiadce z 1.5.5. Otóż przeglądarka sieci z windows 7 nie widzi routera. Na 1.5.5 nawet gdy nie miałem zamontowanych dysków wszystko pięknie chodziło, teraz musze montować dyski po ip. Po ip mam normalnie dostęp.

config

config 'samba'
        option 'workgroup' 'WORKGROUP'

    config 'sambashare'
        option 'name' 'Torrenty'
        option 'path' '/mnt/sda2'
        option 'read_only' 'no'
        option 'guest_ok' 'yes'
        option 'create_mask' '0777'
        option 'dir_mask' '0777'
       

    config 'sambashare'
        option 'name' 'Adata'
        option 'path' '/mnt/sda3'
        option 'read_only' 'no'
        option 'guest_ok' 'yes'
        option 'create_mask' '0777'
        option 'dir_mask' '0777'

W dodatku od czasu zmiany na AA mój NAS też przestał być widziany przez przeglądarkę.

23

(4 odpowiedzi, napisanych Oprogramowanie / Software)

musisz jeszcze ustawić trasę statyczną wan na adres 340

Może masz jakies wirusy, albo trojany?? Ewentualnie anonnymus wykorzystyuje Twój komp do ataków DDos:P

25

(12 odpowiedzi, napisanych Oprogramowanie / Software)

sorry pomyliłem wczoraj tematy smile