1

Temat: Gargoyle > System > Usługi - pusta zakładka

Witam!

Jak w temacie. Po instalacji pluginu plugin-gargoyle-initd owszem zakładka się pojawiła ale nie widnieją na niej żadne usługi. Są przyciski "Zapisz zmiany" i "Anuluj" ale lista usług jest pusta. W tle mam odpalony serwer FTP, minidlna, ekg..

W czym może być problem?
Pozdrawiam

2

Odp: Gargoyle > System > Usługi - pusta zakładka

Te dodatkowe usługi pojawią się tylko jeżeli w /etc/init.d/ jest jakiś dodatkowy plik.  A są one wyciągane poleceniem

ls /etc/init.d/ | awk '{print "allInitScripts.push(\""$0"\");" ;}'

Z tego są później filtrowane usługi "systemowe".

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

3

Odp: Gargoyle > System > Usługi - pusta zakładka

I co tu nie ma żadnej usługi z pozasystemowej?

root@byrrt-router:~$ ls /etc/init.d/ | awk '{print "allInitScripts.push(\""$0"\"
);" ;}'
allInitScripts.push("3ginfo");
allInitScripts.push("boot");
allInitScripts.push("bwmon_gargoyle");
allInitScripts.push("cron");
allInitScripts.push("ddns_gargoyle");
allInitScripts.push("defconfig");
allInitScripts.push("dnsmasq");
allInitScripts.push("done");
allInitScripts.push("dropbear");
allInitScripts.push("firewall");
allInitScripts.push("fstab");
allInitScripts.push("gargoyle_themes");
allInitScripts.push("httpd_gargoyle");
allInitScripts.push("led");
allInitScripts.push("minidlna");
allInitScripts.push("miniupnpd");
allInitScripts.push("network");
allInitScripts.push("plugins");
allInitScripts.push("qos_gargoyle");
allInitScripts.push("rcS");
allInitScripts.push("set_kernel_timezone");
allInitScripts.push("sysctl");
allInitScripts.push("sysntpd");
allInitScripts.push("telnet");
allInitScripts.push("time_backup");
allInitScripts.push("uhttpd");
allInitScripts.push("umount");
allInitScripts.push("usb");
allInitScripts.push("vsftpd");
allInitScripts.push("watchdog");
allInitScripts.push("webmon_gargoyle");
allInitScripts.push("wol");
root@byrrt-router:~$

4

Odp: Gargoyle > System > Usługi - pusta zakładka

Jest. Kliknij prawym przyciskiem myszy na źródło strony i zobacz czy nie ma jakiś błędów.

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

5

Odp: Gargoyle > System > Usługi - pusta zakładka

Cezary mógłbyś zerknąć?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "[url]http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd[/url]">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Gargoyle Router Management Utility</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="/themes/default/common.css?1.5.6--r33081-" type="text/css" />
    <link rel="stylesheet" href="/themes/default/internal.css?1.5.6--r33081-" type="text/css" />
    <script language="javascript" type="text/javascript" src="/js/common.js?1.5.6--r33081-"></script>
    <script language="javascript" type="text/javascript" src="/js/table.js?1.5.6--r33081-"></script>
    <script language="javascript" type="text/javascript" src="/js/initd.js?1.5.6--r33081-"></script>
</head>
<body>
    <div id="darken" ><iframe id="d_iframe" class="select_free"></iframe></div>
    <div id="wait_msg">
        <div id="wait_txt">
            Proszę czekać na wprowadzenie zmian
        </div>
        <div id="wait_icon">
            <img src="/themes/default/images/wait_icon.gif" />
        </div>
        <iframe id="m_iframe" class="select_free"></iframe>
    </div>
    <div id="outer_logo">
        <div id="inner_logo">
            <div id="garg_title">Gargoyle</div>
            <div id="garg_desc">Router<br />Management<br />Utility</div>
            <div id="garg_host">Nazwa: byrrt-router</div>
        </div>
    </div>
    <div id="outer_header"></div>
    <div id="outer_container">
        <div id="main_external_container">
            <div id="main_top"></div>
            <div id="main_internal_container">


<script>
<!--
    var gargoyleBinRoot = "/www/.";

    setBrowserTimeCookie();

    var testAjax = getRequestObj();
    if(!testAjax) { window.location = "no_ajax.sh"; }
//-->
</script>




<script>
<!--
allInitScripts = new Array();
allInitScripts.push("3ginfo");
allInitScripts.push("boot");
allInitScripts.push("bwmon_gargoyle");
allInitScripts.push("cron");
allInitScripts.push("ddns_gargoyle");
allInitScripts.push("defconfig");
allInitScripts.push("dnsmasq");
allInitScripts.push("done");
allInitScripts.push("dropbear");
allInitScripts.push("firewall");
allInitScripts.push("fstab");
allInitScripts.push("gargoyle_themes");
allInitScripts.push("httpd_gargoyle");
allInitScripts.push("led");
allInitScripts.push("minidlna");
allInitScripts.push("miniupnpd");
allInitScripts.push("network");
allInitScripts.push("plugins");
allInitScripts.push("qos_gargoyle");
allInitScripts.push("rcS");
allInitScripts.push("set_kernel_timezone");
allInitScripts.push("sysctl");
allInitScripts.push("sysntpd");
allInitScripts.push("telnet");
allInitScripts.push("time_backup");
allInitScripts.push("uhttpd");
allInitScripts.push("umount");
allInitScripts.push("usb");
allInitScripts.push("vsftpd");
allInitScripts.push("watchdog");
allInitScripts.push("webmon_gargoyle");
allInitScripts.push("wol");
enabledScripts = new Array();
ls: /etc/rc.d/S50cron: Input/output error
enabledScripts.push("defconfig");
enabledScripts.push("boot");
enabledScripts.push("fstab");
enabledScripts.push("time_backup");
enabledScripts.push("set_kernel_timezone");
enabledScripts.push("usb");
enabledScripts.push("network");
enabledScripts.push("sysntpd");
enabledScripts.push("firewall");
enabledScripts.push("gargoyle_themes");
enabledScripts.push("plugins");
enabledScripts.push("dropbear");
enabledScripts.push("minidlna");
enabledScripts.push("telnet");
enabledScripts.push("vsftpd");
enabledScripts.push("httpd_gargoyle");
enabledScripts.push("bwmon_gargoyle");
enabledScripts.push("dnsmasq");
enabledScripts.push("wol");
enabledScripts.push("webmon_gargoyle");
enabledScripts.push("ddns_gargoyle");
enabledScripts.push("done");
enabledScripts.push("led");
enabledScripts.push("watchdog");
enabledScripts.push("sysctl");

//-->
</script>

<form>
    <fieldset>
        <legend class="sectionheader">Menadżer usług</legend>
        <div class='indent'>
            <div id="initd_table_container"></div>
        </div>
    </fieldset>

    <div id="bottom_button_container">
        <input type='button' value='Zapisz zmiany' id="save_button" class="bottom_button" onclick='saveChanges()' />
        <input type='button' value='Anuluj' id="reset_button" class="bottom_button" onclick='resetData()'/>
    </div>

</form>

<script>
<!--
    resetData();
//-->
</script>

            </div>
            <div id="main_bottom"></div>
        </div>
        <div id="nav_external_container">
            <div id="nav_top"></div>
            <div id="nav_internal_container1">
                <div id="nav_internal_container2">
                    <div class="nav_internal_end1"></div>
                    <div class="nav_unselected_divider_end1"></div>
                    <div class="nav_unselected_end1">
                        <a href="/overview.sh">Status</a>
                    </div>
                    <div class="nav_unselected_divider"></div>
                    <div class="nav_unselected">
                        <a href="/basic.sh">Konfiguracja</a>
                    </div>
                    <div class="nav_unselected_divider"></div>
                    <div class="nav_unselected">
                        <a href="/port_forwarding.sh">Firewall</a>
                    </div>
                    <div class="nav_selected_divider1"></div>
                    <div class="nav_selected">
                        <div class="nav_selected_container">
                            <div class="selected_header">System</div>
                            <div id="submenu_container">
                                <a href="/access.sh">Dostęp do routera</a>
                                <a href="/identification.sh">Identyfikacja</a>
                                <a href="/time.sh">Czas</a>
                                <div class="submenu_selected">Usługi</div>
                                <a href="/logread.sh">Logi systemowe</a>
                                <a href="/webshell.sh">Webshell</a>
                                <a href="/plugins.sh">Dodatki</a>
                                <a href="/smsbox.sh">SMS</a>
                                <a href="/ftp.sh">Serwer FTP</a>
                                <a href="/backup.sh">Kopia konfiguracji</a>
                                <a href="/update.sh">Aktualizacja</a>
                                <a href="/reboot.sh">Restart</a>
                                <a href="/about.sh">O systemie</a>
                            </div>
                        </div>
                    </div>
                    <div class="nav_selected_divider2"></div>
                    <div class="nav_unselected">
                        <a href="/logout.sh">Wylogowanie</a>
                    </div>
                    <div class="nav_unselected_divider_end2"></div>
                    <div class="nav_internal_end2"></div>
                </div>
            </div>
            <div id="nav_bottom"></div>
        </div>
    </div>
    <div id="outer_footer"></div>
</body>
</html>

6

Odp: Gargoyle > System > Usługi - pusta zakładka

ls: /etc/rc.d/S50cron: Input/output error

Masz błąd w systemie plików.

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

7

Odp: Gargoyle > System > Usługi - pusta zakładka

Zatem restert bez modemu, wpinam mode, sprawdzam czy nie podmontował dysku, instaluje narzędzie i wydaje stosowne polecenie:

root@Gargoyle:~$ opkg update
Downloading http://ecco.selfip.net/gargoyle-pl/ar71xx/packages/Packages.gz.
Inflating http://ecco.selfip.net/gargoyle-pl/ar71xx/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/gargoylepl.
Downloading http://ecco.selfip.net/backfire/ar71xx/packages/Packages.gz.
Inflating http://ecco.selfip.net/backfire/ar71xx/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/eko1.
Downloading http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages/Packages.gz.
Inflating http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/packages.
root@Gargoyle:~$ opkg install -d ram e2fsprogs
Installing e2fsprogs (1.41.11-1cj) to ram...
Downloading http://ecco.selfip.net/backfire/ar71xx/packages/e2fsprogs_1.41.11-1cj_ar71xx.ipk.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (librt and librt) providing same name marked HOLD or PREFER. Using latest.
Installing libblkid (1.41.11-1cj) to ram...
Downloading http://ecco.selfip.net/backfire/ar71xx/packages/libblkid_1.41.11-1cj_ar71xx.ipk.
Installing libuuid (1.41.11-1cj) to ram...
Downloading http://ecco.selfip.net/backfire/ar71xx/packages/libuuid_1.41.11-1cj_ar71xx.ipk.
Installing libext2fs (1.41.11-1cj) to ram...
Downloading http://ecco.selfip.net/backfire/ar71xx/packages/libext2fs_1.41.11-1cj_ar71xx.ipk.
Installing libpthread (0.9.30.1-43.35) to ram...
Downloading http://ecco.selfip.net/backfire/ar71xx/packages/libpthread_0.9.30.1-43.35_ar71xx.ipk.
Installing librt (0.9.30.1-43.35) to ram...
Downloading http://ecco.selfip.net/backfire/ar71xx/packages/librt_0.9.30.1-43.35_ar71xx.ipk.
Configuring librt.
Configuring libpthread.
Configuring libblkid.
Configuring libuuid.
Configuring libext2fs.
Configuring e2fsprogs.
root@Gargoyle:~$ ln -s /tmp/usr/lib/lib* /usr/lib
root@Gargoyle:~$ ln -s /tmp/lib* /lib/
root@Gargoyle:~$ mount | grep /dev/sd
root@Gargoyle:~$ /tmp/usr/sbin/e2fsck -y /dev/sda2
/tmp/usr/sbin/e2fsck: can't load library 'libpthread.so.0'
root@Gargoyle:~$

Zaraz sprawdzę modem na linuxie w kompie może, choć błędów systemy plików w logach nie widziałem hmm

8

Odp: Gargoyle > System > Usługi - pusta zakładka

Jak zwykle Czarku miałeś rację - było parę błędów na karcie - po naprawie podstrona wyświetla się prawidłowo wink Dzięki!