Temat: Interfejs graficzny - dostęp przez przeglądarkę

Witam
Jakie pakiety należy zainstalować żeby była możliwość zmiany ustawień sieciowych z poziomu przeglądarki?
Wystarczy mi LUCI czy coś jeszcze muszę dodać ?

Czy jest możliwość dorobienia swoich podstron i uruchamiania z nich określonych skryptów ?

Jeśli mam działający adapter na wifi to będę w luci mógł mieć możliwość ustawiania szyfrowania, przydzielania mac adresów itp ?

2

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Życzył bym sobie żebyś w końcu przeczytał moje eko....

http://eko.one.pl/?p=openwrt-backfire#d … nfiguracja

Tak, możesz sam pisać strony i skrypty.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Spróbowałem wg Twojego tutoriala ale
nie znalazłem pakietu luci-admin-full. Był za to LUCI więc go zainstalowałem.
Po wpisaniu w przeglądarkę adresu IP mojego routera strona główna przełącza się na
http://moje_ip/cgi-bin/luci

i w przeglądarce jest tylko tekst "Not Found"
O co chodzi ?

4

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Bo czegoś nie zainstalowałeś. W backfire rc4 luci-admin-full jak najbardziej istnieje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Po restarcie poszło smile

6

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Na czystym najnowszym openwrt obsy, jestem na etapie wgrania luci według http://eko.one.pl/?p=openwrt-backfire#d … nfiguracja

ale coś się wysypało i pod http://moje_ip/cgi-bin/luci

This page contains the following errors:
error on line 53 at column 55: expected '>'
Below is a rendering of the page up to the first error.

i lipa

W czym problem?


terminal

root@OpenWrt:~$ opkg install uhttpd luci-admin-full luci-theme-openwrt px5g
Installing uhttpd (22) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//uhttpd_22_ar71xx.ipk.
Installing luci-admin-full (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-admin-full_0.9+svn6512-1_ar71xx.ipk.
Installing luci-core (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-core_0.9+svn6512-1_ar71xx.ipk.
Installing lua (5.1.4-7) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//lua_5.1.4-7_ar71xx.ipk.
Installing liblua (5.1.4-7) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//liblua_5.1.4-7_ar71xx.ipk.
Installing luci-nixio (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-nixio_0.9+svn6512-1_ar71xx.ipk.
Installing luci-admin-core (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-admin-core_0.9+svn6512-1_ar71xx.ipk.
Installing luci-web (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-web_0.9+svn6512-1_ar71xx.ipk.
Installing luci-http (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-http_0.9+svn6512-1_ar71xx.ipk.
Installing luci-sys (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-sys_0.9+svn6512-1_ar71xx.ipk.
Installing luci-uci (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-uci_0.9+svn6512-1_ar71xx.ipk.
Installing libuci-lua (12012009.6-3) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//libuci-lua_12012009.6-3_ar71xx.ipk.
Installing luci-sgi-cgi (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-sgi-cgi_0.10+svn7109-1_ar71xx.ipk.
Installing luci-lmo (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-lmo_0.9+svn6512-1_ar71xx.ipk.
Installing luci-cbi (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-cbi_0.9+svn6512-1_ar71xx.ipk.
Installing luci-uvl (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-uvl_0.9+svn6512-1_ar71xx.ipk.
Installing luci-i18n-english (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-i18n-english_0.10+svn7109-1_ar71xx.ipk.
Installing luci-ipkg (0.9+svn6512-1) to root...
Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/luci-ipkg_0.9+svn6512-1_ar71xx.ipk.
Installing luci-theme-openwrt (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-theme-openwrt_0.10+svn7109-1_ar71xx.ipk.
Installing luci-theme-base (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-theme-base_0.10+svn7109-1_ar71xx.ipk.
Installing luci-lib-web (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-lib-web_0.10+svn7109-1_ar71xx.ipk.
Installing px5g (1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//px5g_1_ar71xx.ipk.
Configuring liblua.
Configuring libuci-lua.
Configuring lua.
Configuring luci-nixio.
Configuring luci-core.
Configuring luci-uci.
Configuring luci-http.
Configuring luci-sys.
Configuring luci-sgi-cgi.
Configuring luci-lmo.
Configuring luci-web.
Configuring luci-theme-base.
Configuring luci-uvl.
Configuring luci-cbi.
Configuring luci-i18n-english.
Configuring luci-admin-core.
Configuring uhttpd.
Configuring px5g.
Configuring luci-ipkg.
Configuring luci-admin-full.
Collected errors:
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/link.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/key.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/user.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/add.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/fieldadd.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/arrow.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/remove.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/edit.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/reload.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/apply.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/help.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/find.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/save.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/download.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi/reset.gif
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /www/luci-static/resources/cbi.js
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/sauth.lua
    But that file is already provided by package  * luci-web
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/config.lua
    But that file is already provided by package  * luci-web
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http.lua
    But that file is already provided by package  * luci-web
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/dispatcher.lua
    But that file is already provided by package  * luci-web
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/cbi.lua
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/cacheloader.lua
    But that file is already provided by package  * luci-web
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/template.lua
    But that file is already provided by package  * luci-web
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/i18n.lua
    But that file is already provided by package  * luci-web
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http/protocol/conditionals.lua
    But that file is already provided by package  * luci-http
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http/protocol/date.lua
    But that file is already provided by package  * luci-http
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http/protocol/mime.lua
    But that file is already provided by package  * luci-http
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/http/protocol.lua
    But that file is already provided by package  * luci-http
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/template/parser.so
    But that file is already provided by package  * luci-web
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/lvalue.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/valueheader.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/delegator.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/nsection.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/browser.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/cell_valuefooter.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/mvalue.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tabcontainer.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/compound.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/dynlist.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/valuefooter.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/full_valuefooter.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/ucisection.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/fvalue.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tvalue.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tsection.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/map.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tabmenu.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/button.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/filebrowser.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/nullsection.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/header.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/value.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/dvalue.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/simpleform.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/full_valueheader.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/tblsection.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/upload.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/footer.htm
    But that file is already provided by package  * luci-cbi
 * check_data_file_clashes: Package luci-lib-web wants to install file /usr/lib/lua/luci/view/cbi/cell_valueheader.htm
    But that file is already provided by package  * luci-cbi
 * opkg_install_cmd: Cannot install package luci-theme-openwrt.
root@OpenWrt:~$ /etc/init.d/uhttpd enable
root@OpenWrt:~$ /etc/init.d/uhttpd start
Generating RSA private key, 1024 bit long modulus
Generating selfsigned certificate with subject 'C=DE;ST=Berlin;L=Berlin;CN=OpenWrt;' and validity 2001-09-09 01:46:40-2003-09-09 01:46:40
root@OpenWrt:~$ opkg install uhttpd luci-admin-full luci-theme-openwrt px5g
Package uhttpd (22) installed in root is up to date.
Package luci-admin-full (0.9+svn6512-1) installed in root is up to date.
Installing luci-theme-openwrt (0.10+svn7109-1) to root...
Downloading http://downloads.openwrt.org/snapshots/backfire/10.03.1-RC5-testing/ar71xx/packages//luci-theme-openwrt_0.10+svn7109-1_ar71xx.ipk.
Package px5g (1) installed in root is up to date.
Configuring luci-theme-openwrt.
TP-LINK TL-WR1043ND
OpenWrt Backfire 10.03.1-RC6 / LuCI 0.10 Branch (0.10+svn7852) uname -r > 2.6.32.27
+ hub 4xusb + pendrive > extroot + hdd2 320GB > samba, wget/aria2, rutorrent/transmission + usbrt73 > ap client + n6288 > gnokii 0.6.21 sendsms.
Do zrobienia: ownCloud, qos, kupić dobry aktywny hub 7xusb, lcd4linux, webcam, openvpn, multiwan/simplefailover, ups, porządki > cron, firewall, samba

7

Odp: Interfejs graficzny - dostęp przez przeglądarkę

To że interfejs luci jest cały czas rozwijany i zmienia się dość szybko.  Niektóre strony działają niektóre nie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Interfejs graficzny - dostęp przez przeglądarkę

A u mnie wifi widac, ustawiłem sobie kodowanie wpa2-psk i dałem odpowiednie hasło ale po połączeniu się komputera przez wifi nie mam internetu. Adres IP jest przydzielany jakiś bez sensu i maska zresztą też
W zakładce Network->Wifi mam coś takiego

Generic 802.11bg Wireless Controller (radio0)

                    Channel: 11 (2.462 GHz) | Bitrate: 1 Mb/s
               
               
                    Find and join network
                    Provide new network
               
           
           

           
           
               
               
                   
                     [Signal: -29 dBm / Noise: 0 dBm]
100%
                    SSID: Lasser | Mode: Master
BSSID: D8:5D:4C:98:F1:E8 | Encryption: WPA2 PSK (CCMP)
                   
                        Edit this network
                        Delete this network
                   
               
               
           
           
       
   
   
   


    Associated Stations

   
       
           
               
                SSID
                MAC
                Address
                Signal
                Noise
           
           
         [Signal: -29 dBm / Noise: 0 dBm] Lasser00:1E:65:D0:14:0C?-29 dBm0 dBm

Coś jeszcze muszę skonfigurować ? Z poziomu konsoli jak i również z diagnostyki poprzez luci pingi i trace'y chodzą ok

9

Odp: Interfejs graficzny - dostęp przez przeglądarkę

1. uci show wireless
2. Z komputera pingować router mozesz? z komputera pingować 8.8.8.8 możesz? z z komputera pingować eko.one.pl

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Co może być z moim routerem nie tak


Wysypał się częściowo. Nie wiem dlaczego od czasu do czasu resetuje mi się pendrive  o czym świadczyła by linia
root@OpenWrt:/# usb 1-1: reset full speed USB device using adm5120-hcd and address 2
usb 1-1: reset full speed USB device using adm5120-hcd and address 2

Pendrive już dożywa czy to jednak jakiś problem z pendrive'm a może jednak z pamięcią ?

root@OpenWrt:/# usb 1-1: reset full speed USB device using adm5120-hcd and address 2
usb 1-1: reset full speed USB device using adm5120-hcd and address 2
usb 1-1: device descriptor read/64, error 64
usb 1-1: device descriptor read/64, error 64
usb 1-1: reset full speed USB device using adm5120-hcd and address 2
usb 1-1: device descriptor read/64, error 64
usb 1-1: device descriptor read/64, error 64
usb 1-1: reset full speed USB device using adm5120-hcd and address 2
usb 1-1: device descriptor read/8, error -61
usb 1-1: device descriptor read/8, error -61
usb 1-1: reset full speed USB device using adm5120-hcd and address 2
usb 1-1: device descriptor read/8, error -61
usb 1-1: device descriptor read/8, error -61
usb 1-1: USB disconnect, address 2
sd 0:0:0:0: [sda] Unhandled error code
sd 0:0:0:0: [sda] Result: hostbyte=0x01 driverbyte=0x00
sd 0:0:0:0: [sda] CDB: cdb[0]=0x2a: 2a 00 00 07 6c ee 00 00 30 00
end_request: I/O error, dev sda, sector 486638
Aborting journal on device sda1.
EXT3-fs error (device sda1) in ext3_reserve_inode_write: Journal has aborted
EXT3-fs error (device sda1) in ext3_dirty_inode: Journal has aborted
journal commit I/O error
------------[ cut here ]------------
WARNING: at fs/buffer.c:1159 0x800a02b4()
Modules linked in: ledtrig_adm5120_switch nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc rt2800usb rt73usb rt2800lib rt2x00usb rt2x00lib mac80211 crc_itu_t crc_ccitt cfg80211 compat_firmware_class compat arc4 aes_generic deflate ecb cbc leds_gpio button_hotplug gpio_buttons input_polldev input_core
Call Trace:[<8001f0a4>] 0x8001f0a4
[<80008b1c>] 0x80008b1c
[<80008b1c>] 0x80008b1c
[<8001dd28>] 0x8001dd28
[<800a02b4>] 0x800a02b4
[<800a02b4>] 0x800a02b4
[<800d7570>] 0x800d7570
[<800d8a70>] 0x800d8a70
[<800d8b18>] 0x800d8b18
[<800da128>] 0x800da128
[<80001844>] 0x80001844
[<80099870>] 0x80099870
[<8008f034>] 0x8008f034
[<80055df8>] 0x80055df8
[<80059d70>] 0x80059d70
[<8007adc8>] 0x8007adc8
[<8005a230>] 0x8005a230
[<80034f64>] 0x80034f64
[<8006e730>] 0x8006e730
[<8006e880>] 0x8006e880
[<800132f0>] 0x800132f0
[<8007bb80>] 0x8007bb80
[<80080f34>] 0x80080f34
[<80081584>] 0x80081584
[<80084168>] 0x80084168
[<8000ee84>] 0x8000ee84
[<80003610>] 0x80003610

---[ end trace d5870ef634330cf3 ]---
EXT3-fs error (device sda1): ext3_find_entry: reading directory #2 offset 0
EXT3-fs error (device sda1): ext3_find_entry: reading directory #90721 offset 0
ext3_abort called.
EXT3-fs error (device sda1): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
EXT3-fs error (device sda1): ext3_find_entry: reading directory #84823 offset 0
usb 1-1: new full speed USB device using adm5120-hcd and address 7
usb 1-1: device descriptor read/64, error 64
usb 1-1: device descriptor read/64, error 64
usb 1-1: new full speed USB device using adm5120-hcd and address 8
usb 1-1: device descriptor read/64, error 64
usb 1-1: device descriptor read/64, error 64
usb 1-1: new full speed USB device using adm5120-hcd and address 9
usb 1-1: device descriptor read/8, error -61
usb 1-1: device descriptor read/8, error -61
usb 1-1: new full speed USB device using adm5120-hcd and address 10
usb 1-1: device descriptor read/8, error -61
usb 1-1: device descriptor read/8, error -61
hub 1-0:1.0: unable to enumerate USB device on port 1
EXT3-fs error (device sda1): ext3_find_entry: reading directory #90721 offset 0

EXT3-fs error (device sda1): ext3_find_entry: reading directory #18145 offset 0
@OpenWrt:/#

11

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Problem z usb, np. kabel za długi i resetuje magistralę co chwila.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Hmm Odpiąłem huba i mam po restarcie coś takiego

Tzn mam pod 1 portem podpiętego pendrive'a z systemem a pod 2 portem usb mam adapter wifi na usb
i przy bootowaniu jest coś takiego

Registered led device: rt2800usb-phy0::radio
Registered led device: rt2800usb-phy0::assoc
Registered led device: rt2800usb-phy0::quality
usbcore: registered new interface driver rt2800usb
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (209 buckets, 836 max)
hostapd: page allocation failure. order:1, mode:0x4020
Call Trace:[<80008b1c>] 0x80008b1c
[<80008b1c>] 0x80008b1c
[<8005a65c>] 0x8005a65c
[<80077bc4>] 0x80077bc4
[<80010e70>] 0x80010e70
[<800780fc>] 0x800780fc
[<80077ba0>] 0x80077ba0
[<801c3fbc>] 0x801c3fbc
[<801c2e20>] 0x801c2e20
[<801c3fbc>] 0x801c3fbc
[<80584210>] 0x80584210
[<80582c6c>] 0x80582c6c
[<80584388>] 0x80584388
[<805812dc>] 0x805812dc
[<80039e4c>] 0x80039e4c
[<80610e00>] 0x80610e00
[<801cd38c>] 0x801cd38c
[<801c8e54>] 0x801c8e54
[<801cc740>] 0x801cc740
[<801cd428>] 0x801cd428
[<8021bac4>] 0x8021bac4
[<801cdf4c>] 0x801cdf4c
[<801b9e78>] 0x801b9e78
[<80089034>] 0x80089034
[<80089734>] 0x80089734
[<801bb3cc>] 0x801bb3cc
[<8007c47c>] 0x8007c47c
[<800897d8>] 0x800897d8
[<801bbab8>] 0x801bbab8
[<80003610>] 0x80003610

Mem-Info:
Normal per-cpu:
CPU    0: hi:    0, btch:   1 usd:   0
active_anon:70 inactive_anon:194 isolated_anon:0
active_file:795 inactive_file:742 isolated_file:0
unevictable:0 dirty:21 writeback:0 unstable:0
free:48 slab_reclaimable:302 slab_unreclaimable:740
mapped:170 shmem:8 pagetables:39 bounce:0
Normal free:192kB min:508kB low:632kB high:760kB active_anon:280kB inactive_anon:776kB active_file:3180kB inactive_file:2968kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:16256kB mlocked:0kB dirty:84kB writeback:0kB mapped:680kB shmem:32kB slab_reclaimable:1208kB slab_unreclaimable:2960kB kernel_stack:280kB pagetables:156kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0
Normal: 0*4kB 0*8kB 2*16kB 1*32kB 0*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 192kB
1549 total pagecache pages
4096 pages RAM
751 pages reserved
1498 pages shared
2447 pages non-shared
SLUB: Unable to allocate memory on node -1 (gfp=0x20)
  cache: kmalloc-8192, object size: 8192, buffer size: 8192, default order: 3, min order: 1
  node 0: slabs: 0, objs: 0, free: 0
phy0 -> rt2x00queue_initialize: Error - Queue entries allocation failed.
adm5120_wdt: enabling watchdog timer

13

Odp: Interfejs graficzny - dostęp przez przeglądarkę

page allocation failure wraz  z Unable to allocate memory on node -1 (gfp=0x20 znaczy tylko tyle że pamięci mu brakuje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14 (edytowany przez viper_lasser 2011-06-27 21:58:24)

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Więc trzeba zrobić swapa ?

Przed instalacja LUCI nie wysypywało się...

15

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Ale teraz mu  brakuje smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Jak zrobić swapa ? Trochę już późno to może da rade jakoś na skróty w postaci linku z małym tutorialem ? Ile MB trzeba dać na swapa jak edimax ma 16MB ramu ?

17 (edytowany przez viper_lasser 2011-06-27 22:42:07)

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Lepszy jest ten sposób z eko.one.pl smile ?
http://eko.one.pl/?p=openwrt-externalroot#swap
czy ten ?
https://forum.openwrt.org/viewtopic.php?id=12419

18

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Mój. ten z pliku dodatkowo ma narzut w obsłudze systemu plików. Ale jak nie masz miejsca na partycję to to jest jedyny sposób.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Pobawiłem się wczoraj i zrobiłem swapa wg Twojego opisu i działa - tzn. przez noc się nic nie wysypało smile
Z tym że swapa zrobiłem na końcu pendrive'a - na sda2 a na sda1 jest normalnie system.

Jest to jakaś różnica gdzie jest swap ? Muszę jakieś specjalne komendy wpisywać żeby swap działał czy wystarczy tylko utworzenie swapa i już ? Ja przydzieliłem wg Twojego opisu 64MB na swapa.

20

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Nie ma żadnego znaczenia.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Swap'a się jakoś aktywuje czy jak jest to poprostu system z niego korzysta ?

22

Odp: Interfejs graficzny - dostęp przez przeglądarkę

przez swapon /dev/sdaX, chyba że zrobiłeś to przez fstaba to robi to automatycznie

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Cezary napisał/a:

To że interfejs luci jest cały czas rozwijany i zmienia się dość szybko.  Niektóre strony działają niektóre nie.

Przeinstalowałem (na siłę --force-overwrite) najnowsze pakiety LuCI z http://downloads.openwrt.org/snapshots/ … /packages/

i jest git wink

OpenWrt Backfire 10.03.1-RC5 / LuCI 0.10 Branch 0.10+svn7109

TP-LINK TL-WR1043ND
OpenWrt Backfire 10.03.1-RC6 / LuCI 0.10 Branch (0.10+svn7852) uname -r > 2.6.32.27
+ hub 4xusb + pendrive > extroot + hdd2 320GB > samba, wget/aria2, rutorrent/transmission + usbrt73 > ap client + n6288 > gnokii 0.6.21 sendsms.
Do zrobienia: ownCloud, qos, kupić dobry aktywny hub 7xusb, lcd4linux, webcam, openvpn, multiwan/simplefailover, ups, porządki > cron, firewall, samba

24 (edytowany przez viper_lasser 2011-06-28 20:31:37)

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Chyba jednak mi nie działa ten swap bo coś dziś mi router się wysypał
Próbowałem uaktywnić swapa ale coś jest nie tak


root@OpenWrt:/etc# swapon /dev/sda2
swapon: /dev/sda2: Function not implemented

root@OpenWrt:/etc# opkg update
Downloading http://downloads.openwrt.org/snapshots/ … ckages.gz.
Inflating http://downloads.openwrt.org/snapshots/ … ckages.gz.
Updated list of available packages in /var/opkg-lists/packages.
root@OpenWrt:/etc# opkg install swap-utils
Installing swap-utils (2.13.0.1-4) to root...
Downloading http://downloads.openwrt.org/snapshots/ … ipsel.ipk.
Installing libblkid (1.41.11-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … ipsel.ipk.
Installing libuuid (1.41.11-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … ipsel.ipk.
Configuring libblkid.
Configuring libuuid.
Collected errors:
* check_data_file_clashes: Package swap-utils wants to install file /sbin/swapoff
        But that file is already provided by package  * busybox
* check_data_file_clashes: Package swap-utils wants to install file /sbin/swapon
        But that file is already provided by package  * busybox
* check_data_file_clashes: Package swap-utils wants to install file /sbin/mkswap
        But that file is already provided by package  * busybox
* opkg_install_cmd: Cannot install package swap-utils.


Muszę pakiet swap-utils wkompilować w system ?

Co zrobić żeby swap bo restarcie automatycznie wstawał ?
W jaki sposób upewnić się że swap działa ?

25

Odp: Interfejs graficzny - dostęp przez przeglądarkę

Spróbowałem uaktywnić swapa z tego tutka
http://eko.one.pl/?p=openwrt-hdd
ale wyskakuje mi błąd dokładnie taki sam jak tutaj a swapa i tak nie ma
http://linux.omap.com/pipermail/davinci … 05018.html