Page 29 of 64 FirstFirst ... 19272829303139 ... LastLast
Results 421 to 435 of 958

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

  1. #421

    Help Needed - mini_sendmail

    @wengi and all

    I have been able to get the mini_sendmail working - for all, like me, that did not know here are the commands -
    Code:
    printf 'Subject: The subject of the email \r\nThis is the body text of the email' |mini_sendmail -t -ftest@test.com -ssmtp.mail.com -v email@test.com
    printf 'Subject: The subject of the email \r\nThis is the body text of the email'

    This just creates the email, echo won't work because we need to use the "\r\n" to make a newline and return so that the Subject: and body text are separate.

    -t (Im not sure why this is needed)
    -f (the "from" email *note no space -f)
    -s (your isps smtp server *note no space after -s)
    -v (the recipient's email * note the space after -v)

    Now what I would like to do is

    Write a script that runs from cron that will send me an email when an event happens.

    The event would be the completion of a torrent or a dropbear logon etc.

    How would I do this - I am thinking that the script should check the syslog.log ever hour and extract the log messages that are of interest and send them on .....

    Can someone (wengi ) give me some help on how to get this done.

    Thanks

    Velcrow

  2. #422

    /.watchdog: Read-only file system

    I have transmission running using transmissioncli, but cannot get it to run correctly via the web interface. The web page comes up, but it does not trigger watchdog correctly, I think.

    When I run transmission_watchdog at the telnet prompt, I get this message:

    touch /.watchdog: Read-only file system

    in the WEB page, I get the following when running watchdog:

    touch: /.watchdog: Read-only file system BusyBox v1.1.3 (2008.03.17-18:24+0000) multi-call binary Usage: rm [OPTION]... FILE... /opt/sbin/transmission_watchdog: kill: 304: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or kill -l [exitstatus] transmissiond: option requires an argument -- i Usage: transmissiond [options] active-torrents.txt [options] Options: -h, --help Print this help and exit -v, --verbose Verbose level implies foreground (0 to 2, default = 0) -p, --port Port we should listen on (default = 51413) -u, --upload Maximum upload rate (-1 = no limit, default = 20) -d, --download Maximum download rate (-1 = no limit, default = -1) -f, --finish Command you wish to run on completion -n --nat-traversal Attempt NAT traversal using NAT-PMP or UPnP IGD -w, --watchdog Watchdog interval in seconds (default = 600) -i, --pidfile PID file path -e, --encryption Turns on encryption as preferred Signals: HUP reload active-torrents.txt and start/stop torrents USR1 write .status files into torrent directories USR2 list active torrents rm: cannot remove `/.watchdog': No such file or directory

    Any ideas what I did wrong? Is there somewhere that I need to configure where the .watchdog file is located?

    I am using 1.22-3 version of transmission.
    Last edited by blueman2; 17-11-2008 at 02:51.

  3. #423
    Well, I gave up on this, and downloaded the most recent version of Transmision (1.4) which integrates the web interface. It works perfectly! Just install via "ipkg install transmission", the launch with "transmission-daemon -w /path to where you want files"

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

    i have been away for some time.
    It seems that transmissiond does not exist any longer!?!
    I will figure this out when i have time for it...

    wengi

    EDIT: Howto will be updated in december.
    Last edited by wengi; 22-11-2008 at 00:42.
    Ü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)

  5. #425
    i can't do ipkg update.
    this is the error message.
    Code:
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
    sh: wget: Permission denied
    An error ocurred, return value: 1.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 127: `wget    -q -P /opt/ipkg-AjnUBd http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz'
    how to correct this?

    tq

  6. #426
    Why doesn't part3 mount correctly?

    Code:
    [admin@ASUS ipkg]$ df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                    3072      3072         0 100% /
    /dev/root                 3072      3072         0 100% /
    /dev/discs/disc0/part2
                            986104     73060    862952   8% /opt
    /dev/discs/disc0/part3
                         479240116    131228 454764872   1% /tmp/mnt/disc0_3
    [admin@ASUS ipkg]$ umount /tmp/mnt/disc0_3
    [admin@ASUS ipkg]$ mount /dev/discs/disc0/part3 /tmp/harddisk
    [admin@ASUS ipkg]$ df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                    3072      3072         0 100% /
    /dev/root                 3072      3072         0 100% /
    /dev/discs/disc0/part2
                            986104     73060    862952   8% /opt
    /dev/discs/disc0/part3
                         479240116    131228 454764872   1% /tmp/mnt/disc0_3

  7. #427
    Quote Originally Posted by lapcat View Post
    Why doesn't part3 mount correctly?
    All right, this should be so
    /tmp/harddisk link to /tmp/mnt/disc0_3

  8. #428
    I get an error message:
    Code:
    [admin@ASUS root]$ /tmp/harddisk link to /tmp/mnt/disc0_3
    -sh: /tmp/harddisk: Permission denied

  9. #429
    Quote Originally Posted by lapcat View Post
    I get an error message:
    Code:
    [admin@ASUS root]$ /tmp/harddisk link to /tmp/mnt/disc0_3
    -sh: /tmp/harddisk: Permission denied
    it does not need to enter )

    Important: The data partition is mounted to /tmp/hardisk as in fstab. This is handled different in the firmware because of compatibility issues: The Partition is mounted to /tmp/mnt/disc0_3 and a symlink is pointing from /tmp/hardisk to /tmp/mnt/disc0_3

  10. #430
    I did all the stepts before...
    Code:
    [admin@ASUS root]$ cat /etc/fstab
    #device                 Mountpoint      FStype  Options         Dump    Pass#
    /dev/discs/disc0/part1  none            swap    sw              0       0
    /dev/discs/disc0/part2  /opt            ext3    rw,noatime      1       1
    /dev/discs/disc0/part3  /tmp/harddisk   ext3    rw,noatime      1       1
    but the partition isn't mounted. And i can't mount it even if i try it manualy.

  11. #431

    Question Problem with Transmission!

    After my first installation of Oleg's FW I need some help with Transmission...

    When I enter command:
    Code:
    transmission_watchdog
    as it is explained in the manual, I get:
    Code:
    -sh: transmission_watchdog: not found
    When I enter command:
    Code:
    ps axf
    I get:
    Code:
    [admin@WL-001BFC58826B root]$ ps axf                                              PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        SN     0:00 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       59 ?        S      0:00 telnetd
       64 ?        S      0:01 httpd vlan1
       71 ?        S      0:00 klogd
       72 ?        S      0:00 [dnsmasq]
       77 ?        S      0:00 [khubd]
       86 ?        Ss     0:00 lpd
       88 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       91 ?        Ss     0:00 waveservermain
       93 ?        Ss     0:00 rcamdmain
       97 ?        S      0:00 [usb-storage-0]
       98 ?        S      0:00 [scsi_eh_0]
      105 ?        Ss     0:00 infosvr br0
      106 ?        Ss     0:00 watchdog
      110 ?        Ss     0:00  \_ ntp
      126 ?        S      0:00 udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
      129 ?        S      0:00 dropbear
      130 ?        Ss     0:01  \_ dropbear
      189 pts/0    Ss     0:00      \_ -sh
      200 pts/0    R+     0:00          \_ ps axf
      136 ?        S      0:00 upnp -D -L br0 -W vlan1
      152 ?        S      0:00 [kjournald]
      153 ?        S      0:00 [kjournald]
      156 ?        Ss     0:00 /usr/sbin/vsftpd
      183 ?        S      0:00 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7
      188 ?        Ss     0:00 /opt/sbin/cron
    The content of the following files is:
    transmission.conf
    Code:
    #Uncomment the following for UPNP NAT traversal
    #NAT_TRAVERSAL=--nat-traversal
    
    # If the following limit is reached watchdog will not enqueue new one
    MAX_ACTIVE_TORRENTS=5
    
    SYSLOG=/opt/var/log/syslog.log
    crontab
    Code:
    SHELL=/bin/sh
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin
    MAILTO=""
    HOME=/
    # ---------- ---------- Default is Empty ---------- ---------- #
    */30 * * * * admin nice transmission_watchdog
    0 0 * * * admin /opt/sbin/logrotate -f /opt/etc/logrotate.conf &>/dev/null
    logrotate.conf
    Code:
    ompress
    
    /opt/var/log/syslog.log {
    size 1024k
    weekly
    rotate 9
    postrotate
    killall -HUP syslogd
    endscript
    }
    
    include /opt/etc/logrotate.d
    Please, what should I do to make it working?
    I changed the FW just for the Torrents

  12. #432

    Transmission 1.4

    @ trymyluck

    remove transmissiond ( the one you are using ) and install transmission instead.

    the 1.4 version is stable using clutch

    http://wl500g.info/showthread.php?t=15562

  13. #433
    Quote Originally Posted by velcrow View Post
    @ trymyluck

    remove transmissiond ( the one you are using ) and install transmission instead.

    the 1.4 version is stable using clutch

    http://wl500g.info/showthread.php?t=15562
    Thank you for the information.

    Please, consider me a beginner, what version should I install and where I can find it? Do I have to make any special settings after installing the older version, or what I did according to the manual will enough?

    Another question I have, what is clutch in software terms?

  14. #434
    Hi,

    I used a guide here: http://wlhdd.co.uk/wiki/Adding_Users for adding users, but my share access doesn't work if I want to disable shell for this user. telnet says:
    PHP Code:
    WL500W loginshare
    Password
    :
    logincannot run /sbin/nologinNo such file or directory 
    what's wrong?

  15. #435
    Hi all,
    I know that being a newbie is annoying, but everyone of you was a newbie before turning into an expert :-)
    So, could you please help me with the Transmission?
    I need to install Transmission on my router. I'm using Oleg's FW 1.9.2.7-10, which I installed according to this manual.
    During the installation everything went great till Transmission installation, then I found out that the manual doesn't correspond with the latest version, that is on Oleg's repository.

    What should I do to get it working?

    I'm not able to find any older version, that would work according to this manual.

    One more question, is there anybody using TorrentFlux? It looks really nice.

Page 29 of 64 FirstFirst ... 19272829303139 ... 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
  •