Page 10 of 64 FirstFirst ... 891011122060 ... LastLast
Results 136 to 150 of 958

Thread: [HowTo] Install and configure Oleg's firmware

  1. #136
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    Hostname is ok. No changes necessary. Only a reboot.

    There sould be a line with xinetd if you do a "ps":
    Code:
      152 ?        Ss     0:00 /opt/sbin/xinetd
    So your xinetd is NOT running.

    Have a look at this:
    Code:
    [admin@blechbuechse root]$ ls -la /opt/etc/init.d/
    total 28
    drwxr-xr-x  2 admin root 4096 Feb 20 18:57 .
    drwxr-xr-x 14 admin root 4096 Feb 20 18:57 ..
    -rwxr-xr-x  1 admin root  508 Jan  6 11:30 S05syslogd
    -rwxr-xr-x  1 admin root  153 Oct 27 06:26 S10cron
    -rwxr-xr-x  1 admin root  246 Oct 27 19:35 S10xinetd
    -rwxr-xr-x  1 admin root 3127 Feb 17 12:24 S80busybox_httpd
    -rwxr-xr-x  1 admin root  386 May 27  2007 rc.unslung
    There must be execute rights for the S10xinetd file. (-rwxr-xr-x).

    Simply type "/opt/etc/init.d/S10xinetd". what happens? is it in ps now?
    Post result of "cat /opt/etc/init.d/S10xinetd".

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  2. #137

    here it is

    this is what i get:

    Code:
    [admin@wl500w root]$ cat /opt/etc/init.d/S10xinetd
    #!/bin/sh
    OPTWARE_TARGET=oleg
    #
    # Startup script for xinetd
    #
    # Stop myself if running
    killall xinetd 2>/dev/null
    
    # Stop other inetd processes if running
    if [ ${OPTWARE_TARGET} = "nslu2" ] ; then
      killall inetd 2>/dev/null
    fi
    
    /opt/sbin/xinetd
    [admin@wl500w root]$ ps
      PID  Uid     VmSize Stat Command
        1 admin       688 S   /sbin/init
        2 admin           SW  [keventd]
        3 admin           RWN [ksoftirqd_CPU0]
        4 admin           SW  [kswapd]
        5 admin           SW  [bdflush]
        6 admin           SW  [kupdated]
        7 admin           SW  [mtdblockd]
       43 admin       308 S   telnetd
       48 admin       380 S   httpd eth1
       55 nobody      488 S   [dnsmasq]
       56 admin       368 S   klogd
       61 admin           SW  [khubd]
       70 admin       276 S   lpd
       72 admin       260 S   p9100d -f /dev/usb/lp0 0
       75 admin       344 S   waveservermain
       77 admin       348 S   rcamdmain
       81 admin           SW  [usb-storage-0]
       82 admin           SW  [scsi_eh_0]
       89 1           364 S   [portmap]
       91 admin       472 S   /usr/sbin/statd
       93 admin           SW  [nfsd]
       95 admin           SW  [lockd]
       96 admin           SW  [rpciod]
       97 admin       456 S   /usr/sbin/mountd
      102 admin       320 S   infosvr br0
      103 admin       500 S   watchdog
      107 admin       352 S   ntp
      113 admin       480 S   dropbear
      116 admin           SW  [kjournald]
      118 admin           SW  [kjournald]
      132 admin       400 S   /sbin/syslogd -m 0 -O /opt/var/log/messages -S -l 7
      135 admin       416 S   /opt/sbin/cron
      150 admin       420 S   /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 800
      156 admin      1296 S   /opt/sbin/smbd -D
      158 admin      1196 S   /opt/sbin/nmbd -D
      173 admin       432 S   udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
      179 admin       412 S   stupid-ftpd
      181 admin      1004 S   /usr/sbin/nmbd -D
      190 admin       480 S   upnp -D -L br0 -W eth1
      192 admin       748 S   dropbear
      193 admin       556 S   -sh
      316 admin       952 S N transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
      319 admin       952 S N transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
      320 admin       952 S N transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/var
      323 admin       748 S   dropbear
      324 admin       560 S   -sh
      329 admin       404 R   ps
    [admin@wl500w root]$
    wl-500w

  3. #138
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Three more (in this order!):

    Results of "cat /opt/etc/xinetd.d/swat"
    and
    "/opt/sbin/xinetd"
    and
    "ps"

    wengi
    What is the (LAN-) IP of the asus?
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  4. #139
    Code:
    [admin@wl500w root]$ cat /opt/etc/xinetd.d/swat
    service swat
    {
            port    = 901
            socket_type     = stream
            wait    = no
            only_from = localhost 192.168.1.0/24
            user    = root
            server  = /opt/sbin/swat
            log_on_failure  += USERID
            disable =  No
    }
    [admin@wl500w root]$
    my asus wl500w ip is 192.168.1.1
    wl-500w

  5. #140

    oops

    here it is
    Code:
    [admin@wl500w root]$ cat /opt/etc/xinetd.d/swat
    service swat
    {
            port    = 901
            socket_type     = stream
            wait    = no
            only_from = localhost 192.168.1.0/24
            user    = root
            server  = /opt/sbin/swat
            log_on_failure  += USERID
            disable =  No
    }
    [admin@wl500w root]$ /opt/sbin/xinetd
    [admin@wl500w root]$ ps
      PID  Uid     VmSize Stat Command
        1 admin       688 S   /sbin/init
        2 admin           SW  [keventd]
        3 admin           RWN [ksoftirqd_CPU0]
        4 admin           SW  [kswapd]
        5 admin           SW  [bdflush]
        6 admin           SW  [kupdated]
        7 admin           SW  [mtdblockd]
       43 admin       308 S   telnetd
       48 admin       380 S   httpd eth1
       55 nobody      488 S   [dnsmasq]
       56 admin       368 S   klogd
       61 admin           SW  [khubd]
       70 admin       276 S   lpd
       72 admin       260 S   p9100d -f /dev/usb/lp0 0
       75 admin       344 S   waveservermain
       77 admin       348 S   rcamdmain
       81 admin           SW  [usb-storage-0]
       82 admin           SW  [scsi_eh_0]
       89 1           364 S   [portmap]
       91 admin       472 S   /usr/sbin/statd
       93 admin           SW  [nfsd]
       95 admin           SW  [lockd]
       96 admin           SW  [rpciod]
       97 admin       456 S   /usr/sbin/mountd
      102 admin       320 S   infosvr br0
      103 admin       500 S   watchdog
      107 admin       352 S   ntp
      113 admin       484 S   dropbear
      116 admin           SW  [kjournald]
      118 admin           SW  [kjournald]
      132 admin       400 S   /sbin/syslogd -m 0 -O /opt/var/log/messages -S -l 7
      135 admin       408 S   /opt/sbin/cron
      150 admin       332 S   /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 80
      156 admin       808 S   /opt/sbin/smbd -D
      158 admin       844 S   /opt/sbin/nmbd -D
      173 admin       432 S   udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
      179 admin       412 S   stupid-ftpd
      181 admin      1008 S   /usr/sbin/nmbd -D
      192 admin       748 S   dropbear
      193 admin       556 S   -sh
      316 admin       876 S N transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/va
      319 admin       876 S N transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/va
      320 admin       876 R N transmissiond -p 65534 -w 300 -u -1 -d -1 -i /opt/va
      323 admin       748 S   dropbear
      324 admin       560 S   -sh
     1007 admin       748 S   dropbear
     1010 admin       556 S   -sh
     1090 admin       456 S   upnp -D -L br0 -W eth1
     1779 admin       748 S   dropbear
     1780 admin       556 S   -sh
     1785 admin       540 S   /opt/sbin/xinetd
     1786 admin       404 R   ps
    [admin@wl500w root]$
    the asus ip is 192.168.1.1
    wl-500w

  6. #141
    Quote Originally Posted by dvirt View Post
    Code:
            user    = root
    Hi,

    is the user you use to login onto the asus root ?
    In my setup.. swat uses user admin (the standard login of the asus, and also uses it's password for the swat login.

    HTH

  7. #142
    how can i edit the file ?
    i'm a new linux user ,sorry
    wl-500w

  8. #143
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Problem found, i hope. Its the username. maybe xinetd ist starting and stopping some time later because no service is accespted.

    to edit the file:
    The hard way is vi (<- a text editor)

    the better way for you:
    "ipkg install nano"

    nano Path/filename

    wengi
    Last edited by wengi; 26-02-2008 at 12:44.
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  9. #144
    so it will be something like this ?
    Code:
    service swat
    {
            port    = 901
            socket_type     = stream
            wait    = no
            only_from = localhost 192.168.1.0/24
            user    = admin
            server  = /opt/sbin/swat
            log_on_failure  += USERID
            disable =  No
    }
    wl-500w

  10. #145
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    yes.

    This is mine:
    Code:
    [admin@blechbuechse root]$ cat /opt/etc/xinetd.d/swat
    service swat
    {
            port    = 901
            socket_type     = stream
            wait    = no
            only_from = localhost 192.168.201.0/24
            user    = admin
            server  = /opt/sbin/swat
            log_on_failure  += USERID
            disable =  No
    }
    [admin@blechbuechse root]$
    Only difference is th IP net.
    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  11. #146

    U R THE KING !!!!!!!!!!!!!!!!!!!!!!

    You r the KING man
    wl-500w

  12. #147

    next qustions

    1. what do i have to configure in the samba to use transmision.

    2. the transmision is working but i cant see any torrent activity

    3. can i see the transmision from the WAN (at my work)

    4. can i putty from wan ?

    tnx
    wl-500w

  13. #148
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Answer is simple: READ

    All four questions are answered in my howto.

    1) Chapter 10a in the middle
    2) Did you try to download a widely distributed torrent? Chapter 9b end.
    3) you could do that but i do not recommend it for security issues. Use ssh and lynx. Chapter 11
    4) Yes. Ok, this is not _directly_ in the HowTo and depends on your setup. If the asus is your router you have to open port 22 in the firewall.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  14. #149

    Problem in creating directory under root

    many thx. to raas & wengi...finally i set up samba2 succesfully!!

    I could see the router HDD from winXP..but a problem comes out.

    That's I can't create any directory in the root directory from the HDD becus error msg. showed that the root directory was write-protected & read only!!!

    So what can I do so that I could use window explorer to freely create directory under root?

    thx for your help!!

  15. #150
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Check the following in swat:
    Goto "Globals":
    - Change "workgroup" to your workgroup.
    - "netbios name" is the name of your asus (for me again blechbuechse).
    - "hosts allow" should be your subnet e.g. "192.168.1." (leave out the last number)
    - "guest account" is 'admin'.
    Commit changes with "Commit Changes". (You never would have known this )
    Changes in globas need a restart to take effect!

    goto "Shares":
    - Insert "torrent" beside "create share" and press "create share".
    - "comment": "torrent files"
    - "path": "/tmp/harddisk/torrent"
    - "read only" NO
    - "guest ok" YES
    - "browseable" YES
    - Press "commit changes".

    The settings take effect immediately. No reboot necessary.
    You should see your asus in the windows network now.
    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

Page 10 of 64 FirstFirst ... 891011122060 ... LastLast

Similar Threads

  1. [Howto] Install DLNA media servers for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 18
    Last Post: 06-06-2017, 07:40
  2. Replies: 24
    Last Post: 05-05-2015, 07:42
  3. Replies: 28
    Last Post: 02-06-2013, 20:58
  4. Replies: 6
    Last Post: 21-09-2012, 17:06
  5. [Howto] Install kernel modules for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 0
    Last Post: 05-12-2011, 16:18

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •