Page 20 of 64 FirstFirst ... 10181920212230 ... LastLast
Results 286 to 300 of 958

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

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

    "Unable to find recent transfer stats in syslog" is normal if you didnt dl torrents before.

    It seems that transmission can not write to the WORK directory.
    Check permissions of the WORK directory and have a look at your syslog for errors.

    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. #287
    Quote Originally Posted by wengi View Post
    Hi,

    "Unable to find recent transfer stats in syslog" is normal if you didnt dl torrents before.

    It seems that transmission can not write to the WORK directory.
    Check permissions of the WORK directory and have a look at your syslog for errors.

    wengi
    Hi,

    Thanks for a tools you proposed me.

    First thing I haven't known before - OK than.
    Work is configured through chmod, I did it by collective command: chmod -R ugoa+w /tmp/harddisk/torrent

    In syslog (/opt/var/log/syslog.log) I have there errors:

    Jun 6 10:25:34 xinetd[201]: Error parsing attribute user - DISABLING SERVICE [file=/opt/etc/xinetd.d/swat] [line=7]

  3. #288
    But than I have no problem. At the end I've been posting log from last reboot after initializing DHCP server.

    Jan 1 01:00:06 dnsmasq[60]: bad name at /etc/hosts line 3
    Jan 1 01:00:06 dnsmasq[60]: read /etc/hosts - 7 addresses
    Jan 1 01:00:06 dnsmasq[60]: read /etc/ethers - 2 addresses
    Jan 1 01:00:06 dnsmasq[60]: reading /tmp/resolv.conf
    Jan 1 01:00:06 kernel: usb.c: registered new driver usbdevfs
    Jan 1 01:00:06 kernel: usb.c: registered new driver hub
    Jan 1 01:00:06 kernel: usb-uhci.c: $Revision: 1.275 $ time 23:51:07 Mar 30 2008
    Jan 1 01:00:06 kernel: usb-uhci.c: High bandwidth mode enabled
    Jan 1 01:00:06 kernel: PCI: Enabling device 01:03.0 (0000 -> 0001)
    Jan 1 01:00:06 kernel: ECHI PCI device 30381106 found.
    Jan 1 01:00:06 kernel: UCHI reg 0x41 = 10
    Jan 1 01:00:06 kernel: UCHI reg 0x41 changed to = 0
    Jan 1 01:00:06 kernel: usb-uhci.c: USB UHCI at I/O 0x100, IRQ 12
    Jan 1 01:00:06 kernel: usb-uhci.c: Detected 2 ports
    Jan 1 01:00:06 kernel: usb.c: new USB bus registered, assigned bus number 1
    Jan 1 01:00:06 kernel: Product: USB UHCI Root Hub
    Jan 1 01:00:06 kernel: SerialNumber: 100
    Jan 1 01:00:06 kernel: hub.c: USB hub found
    Jan 1 01:00:06 kernel: hub.c: 2 ports detected
    Jan 1 01:00:06 kernel: PCI: Enabling device 01:03.1 (0000 -> 0001)
    Jan 1 01:00:06 kernel: ECHI PCI device 30381106 found.
    Jan 1 01:00:06 kernel: UCHI reg 0x41 = 10
    Jan 1 01:00:06 kernel: UCHI reg 0x41 changed to = 0
    Jan 1 01:00:06 kernel: usb-uhci.c: USB UHCI at I/O 0x120, IRQ 12
    Jan 1 01:00:06 kernel: usb-uhci.c: Detected 2 ports
    Jan 1 01:00:07 kernel: usb.c: new USB bus registered, assigned bus number 2
    Jan 1 01:00:07 kernel: Product: USB UHCI Root Hub
    Jan 1 01:00:07 kernel: SerialNumber: 120
    Jan 1 01:00:07 kernel: hub.c: USB hub found
    Jan 1 01:00:07 kernel: hub.c: 2 ports detected
    Jan 1 01:00:07 kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
    Jan 1 01:00:07 kernel: PCI: Enabling device 01:03.2 (0000 -> 0002)
    Jan 1 01:00:07 kernel: ehci_hcd 01:03.2: PCI device 1106:3104
    Jan 1 01:00:07 kernel: ehci_hcd 01:03.2: irq 12, pci mem c0004000
    Jan 1 01:00:07 kernel: usb.c: new USB bus registered, assigned bus number 3
    Jan 1 01:00:07 kernel: ECHI PCI device 31041106 found.
    Jan 1 01:00:07 kernel: ECHI reg 0x49 = 80010f20
    Jan 1 01:00:07 kernel: ECHI reg 0x49 changed to = 80010f00
    Jan 1 01:00:07 kernel: ECHI reg 0x4b = 80010f09
    Jan 1 01:00:07 kernel: ECHI reg 0x4b changed to = 80010f29
    Jan 1 01:00:07 kernel: PCI: 01:03.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correcting to 32
    Jan 1 01:00:07 kernel: ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
    Jan 1 01:00:07 kernel: Manufacturer: Linux 2.4.20 ehci_hcd
    Jan 1 01:00:07 kernel: Product: PCI device 1106:3104
    Jan 1 01:00:07 kernel: SerialNumber: 01:03.2
    Jan 1 01:00:07 kernel: hub.c: USB hub found
    Jan 1 01:00:07 kernel: hub.c: 4 ports detected
    Jan 1 01:00:07 kernel: hub.c: connect-debounce failed, port 1 disabled
    Jan 1 01:00:08 dnsmasq[60]: DHCPREQUEST(br0) 10.10.10.4 00:1d:e0:9c:e4:1f
    Jan 1 01:00:08 dnsmasq[60]: DHCPACK(br0) 10.10.10.4 00:1d:e0:9c:e4:1f MCCK_Rybar
    Jan 1 01:00:08 kernel: hub.c: new USB device 01:03.2-1, assigned address 2
    Jan 1 01:00:08 kernel: Manufacturer: Western Digital
    Jan 1 01:00:08 kernel: Product: External HDD
    Jan 1 01:00:08 kernel: SerialNumber: 574341505A30363735393839
    Jan 1 01:00:08 kernel: usb.c: USB device 2 (vend/prod 0x1058/0x910) is not claimed by any active driver.
    Jan 1 01:00:08 kernel: Length = 18
    Jan 1 01:00:08 kernel: DescriptorType = 01
    Jan 1 01:00:08 kernel: USB version = 2.00
    Jan 1 01:00:08 kernel: Vendor:Product = 1058:0910
    Jan 1 01:00:08 kernel: MaxPacketSize0 = 64
    Jan 1 01:00:08 kernel: NumConfigurations = 1
    Jan 1 01:00:08 kernel: Device version = 1.06
    Jan 1 01:00:08 kernel: Device Class:SubClass:Protocol = 00:00:00
    Jan 1 01:00:08 kernel: Per-interface classes
    Jan 1 01:00:08 kernel: Configuration:
    Jan 1 01:00:08 kernel: bLength = 9
    Jan 1 01:00:08 kernel: bDescriptorType = 02
    Jan 1 01:00:08 kernel: wTotalLength = 0020
    Jan 1 01:00:08 kernel: bNumInterfaces = 01
    Jan 1 01:00:08 kernel: bConfigurationValue = 01
    Jan 1 01:00:08 kernel: iConfiguration = 00
    Jan 1 01:00:08 kernel: bmAttributes = c0
    Jan 1 01:00:08 kernel: MaxPower = 2mA
    Jan 1 01:00:08 kernel:
    Jan 1 01:00:08 kernel: Interface: 0
    Jan 1 01:00:08 kernel: Alternate Setting: 0
    Jan 1 01:00:08 kernel: bLength = 9
    Jan 1 01:00:08 kernel: bDescriptorType = 04
    Jan 1 01:00:08 kernel: bInterfaceNumber = 00
    Jan 1 01:00:08 kernel: bAlternateSetting = 00
    Jan 1 01:00:08 kernel: bNumEndpoints = 02
    Jan 1 01:00:08 kernel: bInterface Class:SubClass:Protocol = 08:06:50
    Jan 1 01:00:08 kernel: iInterface = 00
    Jan 1 01:00:08 kernel: Endpoint:
    Jan 1 01:00:08 kernel: bLength = 7
    Jan 1 01:00:08 kernel: bDescriptorType = 05
    Jan 1 01:00:08 kernel: bEndpointAddress = 81 (in)
    Jan 1 01:00:08 kernel: bmAttributes = 02 (Bulk)
    Jan 1 01:00:08 kernel: wMaxPacketSize = 0200
    Jan 1 01:00:08 kernel: bInterval = 00
    Jan 1 01:00:08 kernel: Endpoint:
    Jan 1 01:00:08 kernel: bLength = 7
    Jan 1 01:00:08 kernel: bDescriptorType = 05
    Jan 1 01:00:08 kernel: bEndpointAddress = 02 (out)
    Jan 1 01:00:08 kernel: bmAttributes = 02 (Bulk)
    Jan 1 01:00:08 kernel: wMaxPacketSize = 0200
    Jan 1 01:00:08 kernel: bInterval = 00
    Jan 1 01:00:09 kernel: usb.c: registered new driver usblp
    Jan 1 01:00:09 kernel: printer.c: v0.13: USB Printer Device Class driver
    Jan 1 01:00:10 kernel: usb.c: registered new driver audio
    Jan 1 01:00:10 kernel: audio.c: v1.0.0:USB Audio Class driver
    Jan 1 01:00:11 kernel: Linux video capture interface: v1.00
    Jan 1 01:00:11 kernel: SCSI subsystem driver Revision: 1.00
    Jan 1 01:00:11 kernel: Initializing USB Mass Storage driver...
    Jan 1 01:00:11 kernel: usb.c: registered new driver usb-storage
    Jan 1 01:00:11 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
    Jan 1 01:00:11 kernel: Vendor: WD Model: 3200AAJ External Rev: 1.06
    Jan 1 01:00:11 kernel: Type: Direct-Access ANSI SCSI revision: 02
    Jan 1 01:00:11 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    Jan 1 01:00:11 kernel: SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
    Jan 1 01:00:11 kernel: Partition check:
    Jan 1 01:00:13 dnsmasq[60]: DHCPINFORM(br0) 10.10.10.4 00:1d:e0:9c:e4:1f
    Jan 1 01:00:13 dnsmasq[60]: DHCPACK(br0) 10.10.10.4 00:1d:e0:9c:e4:1f MCCK_Rybar
    Jan 1 01:00:17 kernel: p1 p2 p3
    Jan 1 01:00:17 kernel: USB Mass Storage support registered.
    Jan 1 01:00:17 udhcpc[97]: udhcpc (v0.9.9-pre) started
    Jan 1 01:00:18 dnsmasq[60]: bad name at /etc/hosts line 3
    Jan 1 01:00:18 dnsmasq[60]: read /etc/hosts - 7 addresses
    Jan 1 01:00:18 dnsmasq[60]: read /etc/ethers - 2 addresses
    Jan 1 01:00:18 dnsmasq[60]: reading /tmp/resolv.conf
    Jan 1 01:00:18 dhcp client: deconfig: lease is lost
    Jan 1 01:00:18 kernel: usb.c: deregistering driver usblp
    Jan 1 01:00:18 kernel: usb.c: deregistering driver audio
    Jan 1 01:00:18 dropbear[114]: Running in background
    Jan 1 01:00:20 udhcpc[97]: Lease of 172.20.1.8 obtained, lease time 86400
    Jan 1 01:00:20 dnsmasq[60]: bad name at /etc/hosts line 3
    Jan 1 01:00:20 dnsmasq[60]: read /etc/hosts - 7 addresses
    Jan 1 01:00:20 dnsmasq[60]: read /etc/ethers - 2 addresses
    Jan 1 01:00:20 dnsmasq[60]: reading /tmp/resolv.conf
    Jan 1 01:00:20 dnsmasq[60]: using nameserver 172.20.1.1#53
    Jan 1 01:00:22 dhcp client: bound IP : 172.20.1.8 from 172.20.1.1
    Jan 1 01:00:28 kernel: Adding Swap: 506008k swap-space (priority -1)
    Jun 6 15:53:21 e2fsck: /dev/discs/disc0/part2: recovering journal
    Jun 6 15:53:21 e2fsck: /dev/discs/disc0/part2: clean, 9090/125696 files, 43390/251015 blocks
    Jun 6 15:53:21 e2fsck: /dev/discs/disc0/part3: clean, 109/38895616 files, 5026592/77764640 blocks
    Jun 6 15:53:21 kernel: kjournald starting. Commit interval 5 seconds
    Jun 6 15:53:21 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
    Jun 6 15:53:21 kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 6 15:53:22 kernel: kjournald starting. Commit interval 5 seconds
    Jun 6 15:53:22 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
    Jun 6 15:53:22 kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 6 15:53:22 USB storage: ext3 fs at /dev/discs/disc0/part3 mounted to /tmp/mnt/disc0_3
    Jun 6 15:53:22 rc.unslung: start service /opt/etc/init.d/S05syslogd
    Jun 6 15:53:22 System log daemon exiting.
    Jun 6 15:53:24 syslogd started: BusyBox v1.1.3
    Jun 6 15:53:24 syslogd: started.
    Jun 6 15:53:24 rc.unslung: start service /opt/etc/init.d/S08samba
    Jun 6 15:53:27 rc.unslung: start service /opt/etc/init.d/S10cron
    Jun 6 15:53:27 /opt/sbin/cron[193]: (CRON) STARTUP (V5.0)
    Jun 6 15:53:28 rc.unslung: start service /opt/etc/init.d/S10xinetd
    Jun 6 15:53:28 rc.unslung: start service /opt/etc/init.d/S80busybox_httpd
    Jun 6 15:53:28 xinetd[203]: xinetd Version 2.3.14 started with no options compiled in.
    Jun 6 15:53:28 xinetd[203]: Started working: 1 available service
    Jun 6 15:53:37 ntp client: Synchronizing time with time.nist.gov ...
    Jun 6 15:57:58 dropbear[222]: password auth succeeded for 'kubicz' from 10.10.10.4:52442
    Jun 6 16:00:01 /opt/sbin/cron[230]: (kubicz) CMD (nice transmission_watchdog)
    Jun 6 16:00:07 transmission_watchdog: Transmission daemon restarted!
    Last edited by Kubicz; 06-06-2008 at 15:34.

  4. #289
    Another thing, if I click within the webinterface to log, it shows me:

    sed: Empty filename

    Creating graph...

    /opt/share/www/cgi-bin/transmission.cgi: /opt/share/www/cgi-bin/transmission.cgi: 788: cannot create : Directory nonexistent
    16:30:43 up 7 min, load average: 0.03, 0.05, 0.03


    In bookmark "URL", there is a no box for filling a link.

    I found an article on http://www.nslu2-linux.org/wiki/Optware/Transmission and problem might be cause because my root account is not "admin/root", but "kubicz". I was trying to find to change something in "transmission.cgi" but without result!
    Last edited by Kubicz; 06-06-2008 at 15:57.

  5. #290
    Hi,

    The download speed is very low on my wl 500gp V2 with 1.9.2.7-10 firmware. I followed wengi's guide for setting up my sistem (asus + HDD).

    the same torrent: on pc I get 137 - 152kb/s and 34 peers dl from 11 (using uTorrent) and on asus I get 9 - 15kb/s and 5 peers dl from 2.
    another torrent: on PC 1,3 - 2Mb/s 1194 peers dl from 36, and on asus .... 11 peers dl from 1 at 6.6 kb/s


    What am I missing?
    Last edited by bogd_A; 08-06-2008 at 16:30.

  6. #291
    Quote Originally Posted by Kubicz View Post
    Another thing, if I click within the webinterface to log, it shows me:

    sed: Empty filename

    Creating graph...

    /opt/share/www/cgi-bin/transmission.cgi: /opt/share/www/cgi-bin/transmission.cgi: 788: cannot create : Directory nonexistent
    16:30:43 up 7 min, load average: 0.03, 0.05, 0.03


    In bookmark "URL", there is a no box for filling a link.

    I found an article on http://www.nslu2-linux.org/wiki/Optware/Transmission and problem might be cause because my root account is not "admin/root", but "kubicz". I was trying to find to change something in "transmission.cgi" but without result!
    I have transmission setup without using admin for the username. Make sure to check the transmission_watchdog entry in the crontab file and change admin to your username. I also have transmission in a non-standard folder from the server so it doesn't appear to have anything hardcoded. It also worked fine downloading at 50KB/sec (I set that limit). The major thing I was concerned about is how the router would handle it. In the past I had issue with too many things running and torrents now so I didn't know how it would handle but it appears to have done fine last night.

    Configuration:

    IPv6 enabled (radvd is running)
    Lighttpd server w/ php FCGI (eaccelerator enabled, 8080 external, 8081 internal)
    2 SSH servers w/ SFTP (one internal -- one external)
    Cron jobs
    Transmission torrent client using Lighttpd for interface

    A crap load of additional stuff including a, hopefully working, build environment. Memory is pretty much full but the system has been going over to swap as I had hoped.

    The attached file is how I got cgi working in lighttpd (I know some had questions about it). Note that it only defines the .cgi extension. I assume that if you want to do .pl files as well you would install perl and add it to my file since it already enables mod_cgi. If you need additional information then you can always check the lighttpd docs @ http://trac.lighttpd.net/trac/wiki/Docs
    Attached Files Attached Files
    Last edited by shinji257; 08-06-2008 at 17:50.

  7. #292
    Quote Originally Posted by shinji257 View Post
    I have transmission setup without using admin for the username. Make sure to check the transmission_watchdog entry in the crontab file and change admin to your username. I also have transmission in a non-standard folder from the server so it doesn't appear to have anything hardcoded. It also worked fine downloading at 50KB/sec (I set that limit). The major thing I was concerned about is how the router would handle it. In the past I had issue with too many things running and torrents now so I didn't know how it would handle but it appears to have done fine last night.

    Configuration:

    IPv6 enabled (radvd is running)
    Lighttpd server w/ php FCGI (eaccelerator enabled, 8080 external, 8081 internal)
    2 SSH servers w/ SFTP (one internal -- one external)
    Cron jobs
    Transmission torrent client using Lighttpd for interface

    A crap load of additional stuff including a, hopefully working, build environment. Memory is pretty much full but the system has been going over to swap as I had hoped.

    The attached file is how I got cgi working in lighttpd (I know some had questions about it). Note that it only defines the .cgi extension. I assume that if you want to do .pl files as well you would install perl and add it to my file since it already enables mod_cgi. If you need additional information then you can always check the lighttpd docs @ http://trac.lighttpd.net/trac/wiki/Docs
    This was probably not a reply to my post, because I can't use anything you written down there.

    My crontab contains raw:

    */30 * * * * kubicz nice transmission_watchdog, but by "ps" command I see no transmission process running.

    Will not change my admin account from "kubicz" to "admin", because I had to change settings in many apps I have on my ASUS.

    I am using default busybox_httpd instead of an additional lighthttpd.

  8. #293
    Your right. I must of been out of it that night. Anyways your crontab looks fine. It is working ok using a username other than admin for me as well. I actually run it in low priority too ( I won't go into detail). Here is the contents of the section of code that controls the log list.

    Code:
    # Show transfer log from log file
    # Replace "transmissiond" with "transmission" if all logs are preferred
    _log ()
    {
    
    if [ ! -r ${SYSLOG} ]; then
      echo "<p>${SYSLOG} not readable. Properly configure syslogd at "
      echo "system startup.</p>"
      return
    fi
        
    echo "<pre>"
    sed  -n -e "/ transmission.*:/{s/.*: \([0-9]\{1,10\}\) [0-9]\{1,\} dl \([0-9.]\{1,\}\) ul \([0-9.]\{1,\}\) ld \([0-9.]\{1,\}\)/\1 \2 -\3 \4/;t data;p;b;:data w ${GNUPLOT_DATA}" -e "}" ${SYSLOG} 
    echo "</pre>"
    
    if [ ! -x ${GNUPLOT} ]; then
      echo "<p>gnuplot: ${GNUPLOT} not found. Properly configure paths "
      echo "in transmission.conf for transfer graphing!</p>"
      return
    fi
    
    echo "<p>Creating graph...</p>"
    TZO=${TIMEZONE_OFFSET:-0}
    cat > ${GNUPLOT_COMMAND} << __EOF__
    set terminal png small size 800,320
    set output '${GNUPLOT_OUTPUT}'
    set xdata time
    set timefmt "%s"
    set format x "%H:%M\n%m/%d"
    set ytics nomirror
    set y2tics nomirror
    set y2range [0:]
    set ylabel "Transmission transfer rate [kB/s]"
    set y2label "System load (5 min average)"
    set y2tics 1
    set xlabel "Time [UTC ${TZO} seconds]"
    plot '${GNUPLOT_DATA}' using (\$1+86400+${TZO}):2 title 'download' axis x1y1 with impulses, \
         '${GNUPLOT_DATA}' using (\$1+86400+${TZO}):3 title 'upload' with impulses, \
         '${GNUPLOT_DATA}' using (\$1+86400+${TZO}):4 axis x1y2 title 'load' with lines
    quit 
    __EOF__
    
    ${GNUPLOT} ${GNUPLOT_COMMAND}
    
    echo "<img src=\"${HTTP_IMG_LOCATION}\">"
    
    }
    Note the lines in bold.

    The first one calls sed and parses the system log. Looks like GNUPLOT_DATA may not be set. Also the same goes for the second one but instead referring to GNUPLOT_COMMAND. Give me a sec and I'll rig up the function with some debug lines to see what those settings are being recorded as. Maybe even show us the command lines that are being attempted.

    EDIT: I've rigged up the _log() function with echo lines that will output the current value of the variables used in this function as well as the command lines as they are being executed. I did not bother to echo back the contents of the file that was being created yet. I can always add that. I did check and the file works fine even with these lines added.

    Anyways backup your current copy of transmission.cgi and use the one that is attached instead. Try checking the Log area then copy and paste in the bolded lines in the file. These are the ones that I need to see what might be wrong.

    P.S. - I could probably do this all over the place if I really wanted to. I kinda got used to the way the script is coded and can get around pretty easily now. Oleg did a good job organizing it.
    Attached Files Attached Files
    Last edited by shinji257; 12-06-2008 at 06:36. Reason: Attachment

  9. #294
    Ok guys. I am going to setup a secure openssh configuration similar to the dropbear one and I'll post the details here. Right off the bat you would want the following packages installed (plus dependencies).

    openssh
    openssh-sftp-server
    scponly

    I'll also cover doing a chroot configuration for scponly using scponlyc. I think I have the chroot environment already however it doesn't appear to work with dropbear. It drops the connection when it tries to chroot.

    This is a directory listing of my chroot environment. In includes the vital items including their current working location. It was generated from my current tar archive that I will use to recreate it every time the router reboots. Currently it has dropbear instead of openssh in it. This will change once I have openssh working. The nice thing with openssh is that I should be able to re-create my current setup (2 ports -- 2 different configurations) with one sshd server and one sshd_config file. Hopefully.
    Code:
    drwxr-xr-x shinji/root       0 2008-06-12 20:43 bin/
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/rmdir -> busybox
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/rm -> busybox
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/mv -> busybox
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/mkdir -> busybox
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/ls -> busybox
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/ln -> busybox
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/chown -> busybox
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/chmod -> busybox
    lrwxrwxrwx shinji/root       0 2008-06-12 20:44 bin/chgrp -> busybox
    -rwxr-xr-x shinji/root 1291000 2008-06-12 20:43 bin/busybox
    drwxr-xr-x shinji/root       0 2008-06-12 20:46 etc/
    -rw-r--r-- shinji/root      33 2008-06-12 20:47 etc/group
    -rw-r--r-- shinji/root     113 2008-06-12 20:47 etc/passwd
    -rw-r--r-- shinji/root      23 2008-06-12 20:46 etc/ld.so.conf
    -rw-r--r-- shinji/root    1097 2008-06-12 20:46 etc/ld.so.cache
    drwxr-xr-x shinji/root       0 2008-06-12 20:51 lib/
    -rwxr-xr-x shinji/root    5816 2008-06-12 21:02 lib/libutil.so.0
    -rwxr-xr-x shinji/root   27108 2008-06-12 20:56 lib/ld-uClibc.so.0
    -rwxr-xr-x shinji/root  501260 2008-06-12 20:56 lib/libc.so.0
    -rwxr-xr-x shinji/root   84212 2008-06-12 20:56 lib/libm.so.0
    -rwxr-xr-x shinji/root   14756 2008-06-12 20:56 lib/libcrypt.so.0
    drwxr-xr-x shinji/root       0 2008-06-12 20:50 opt/
    drwxr-xr-x shinji/root       0 2008-06-12 20:58 opt/lib/
    -rwxr-xr-x shinji/root   27104 2008-06-12 21:01 opt/lib/ld-uClibc.so.0
    -rw-r--r-- shinji/root  698368 2008-06-12 21:00 opt/lib/libc.so.0
    -rw-r--r-- shinji/root   68368 2008-06-12 21:00 opt/lib/libgcc_s.so.1
    -rw-r--r-- shinji/root    1628 2008-06-12 20:59 opt/lib/libresolv.so.0
    -rw-r--r-- shinji/root   11552 2008-06-12 20:59 opt/lib/libcrypt.so.0
    -rw-r--r-- shinji/root   76300 2008-06-12 20:59 opt/lib/libz.so
    -rw-r--r-- shinji/root    4832 2008-06-12 20:59 opt/lib/libutil.so.0
    -rw-r--r-- shinji/root 1386308 2008-06-12 20:58 opt/lib/libcrypto.so.0.9.7
    drwxr-xr-x shinji/root       0 2008-06-12 20:50 opt/libexec/
    -rwxr-xr-x shinji/root   60920 2008-06-12 20:50 opt/libexec/sftp-server
    drwxr-xr-x shinji/root       0 2008-06-12 20:48 usr/
    drwxr-xr-x shinji/root       0 2008-06-12 20:49 usr/sbin/
    -rwxr-xr-x shinji/root  368448 2008-06-12 20:49 usr/sbin/dropbear
    drwxr-xr-x shinji/root       0 2008-06-12 20:48 usr/bin/
    lrwxrwxrwx shinji/root       0 2008-06-12 20:49 usr/bin/scp -> ../sbin/dropbear
    There are alot of links there because of dropbear and busybox.
    Last edited by shinji257; 13-06-2008 at 05:07.

  10. #295
    Quote Originally Posted by wengi View Post
    Hi,

    transmission is not started directly after restart. It normaly depends on the cron entry. E.g. if the watchdog is started hourly, transmission will be started the next full hour after thr reboot.

    If you want to start it directly after the reboot: Add transmission_watchdog to your post-boot.

    Hi,
    I have transmission_watchdog in post-boot, but it doesn't start after reboot

    And some questions:
    - If i have a power loss, when the power comes back againt, transmission won't start automaticaly, it is normal?
    - Has Samba 2 (ipkg) has issues with VISTA?
    - It is possible to have instead of "listening_port" somethink like "port_range", in transmission? I hope that in this way the download speed could increase, by accesing not only one defined port.
    - What is the best way, and first the safest, for accesing files, stored on my hdd, attached on wl 500 gp, from wan?

    Thank you
    Last edited by bogd_A; 15-06-2008 at 19:17.

  11. Error during firmware upgrade

    Hi Everybody,


    I was tried to install Oleg custom firmware v1.9.2.7-10 on my WL-700gE, but I could not, always appears this error message:

    "An error was detecting during the upgrade.
    The firmware has NOT been succesfully changed."

    What can cause this error?
    Attached Images Attached Images  
    Last edited by metamorphose; 15-06-2008 at 20:23.

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

    @metamorphose:
    Never had this before. Make sure you have the right firmware and try the asus recovery tool.

    @bogd_A:
    - if watchdog is in post-boot and transmission is not paused: It should be started on reboot.
    - As far as i know the newest samba2 works with vista. But i don't have vista.. But you could use the samba integrated with olegs -10 and up. He fixed the vista issues in the orig firm. see changelog.
    - transmission uses only one port. As far as i know this is by design. oleo is your man for further questions.
    - the most secure way is ssh/scp. Also sftp is secure. I use ssh and winscp from wan.

    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)

  13. #298
    Quote Originally Posted by wengi View Post
    Hi,

    @metamorphose:
    Never had this before. Make sure you have the right firmware and try the asus recovery tool.

    @bogd_A:
    - if watchdog is in post-boot and transmission is not paused: It should be started on reboot.
    - As far as i know the newest samba2 works with vista. But i don't have vista.. But you could use the samba integrated with olegs -10 and up. He fixed the vista issues in the orig firm. see changelog.
    - transmission uses only one port. As far as i know this is by design. oleo is your man for further questions.
    - the most secure way is ssh/scp. Also sftp is secure. I use ssh and winscp from wan.

    wengi
    I have watchdog in post-boot, it is not paused but won't start on reboot, I'll recheck when i'll get back home -
    It will not start at reboot

    As for samba, I like in samba 2 the feature of password protected folders, and this is what it is not working with VISTA, if i don't password protect folders it works, but on XP I can't acces shared folders, not with integrated samba or samba 2 - i get a logon window, with user: name_of_ASUS\guest - not editable and password: and nothing works.
    It is a way of pasword protect folders using samba integrated in oleg's firmware, and do you have a solution for the XP acces?

    About transmission, it is normal to do:
    Jun 16 20:49:27 transmission_watchdog: Transmission daemon restarted!
    Jun 16 20:00:10 transmission_watchdog: Transmission daemon restarted!
    Jun 16 18:00:10 transmission_watchdog: Transmission daemon restarted!
    Jun 16 14:00:10 transmission_watchdog: Transmission daemon restarted!
    Jun 16 10:30:15 transmission_watchdog: Transmission daemon restarted!
    but the roter wasn't restarted, and it wasn't the case of a power loss, after restart of transmission_watcdog i get Checking files ... and it takes a long time to do this.

    And finaly about the speed in transmission, at upload I have speeds of 120 - 400kb/s (after setting UPLOAD_SPEED=41 I get 41kb/s - max for upload), but on download ... best was 40 - 50 kb/s (total) from 2 downloading torrents ... I don't know what to check any ideea?

    in transmission.conf I have:
    DOWNLOAD_SPEED=-1
    UPLOAD_SPEED=41
    ENCRIPTION=-e

    my /usr/local/sbin/post-firewall looks like:
    #!/bin/sh
    ## FIREWALL
    ## set default policy
    iptables -P INPUT DROP
    ## deny ftp access from WAN
    iptables -I INPUT 1 -p tcp -i "$1" --syn --dport 21 -j DROP
    ## Allow access to various router services from WAN
    for P in 65534; do
    iptables -I INPUT 1 -p tcp --syn -i "$1" --dport $P -j ACCEPT
    done

    And on ASUS web page, under NAT Setting - Virtual Server, I have at Virtual server list:
    Port Range: 65534
    Local IP: IP of ASUS
    Local Port: 65534
    Protocol: BOTH

    Is anything wrong with this set-up, and what else should I do?


    What the numbers of "20:30:26 up 21:28, load average: 3.56, 3.04, 2.55" means, what is cpu, mem ... load?

    Can you help me with a how to, step by step config of ssh and winscp, if you have the time



    Thank you
    Last edited by bogd_A; 17-06-2008 at 08:05.

  14. Hi wengi,


    to tell the truth I must tell that kfurge custom firmware was on my router (I love it, however I am curious, that's why I would like to try Oleg's version). I had downgraded kfurge 1.0.4.6 to official 1.0.4.6, then I restarted router and tried to install Oleg's firmware. I am sure I downloaded it from right place: http://oleg.wl500g.info/1.9.2.7-10/W...1.9.2.7-10.zip

    On the other hand, I do not understand where is the relationship between firmware upgrade and post boot file, because error message appears almost directly after upgrade process starts (about 2-3 seconds).

  15. #300
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    @bogd_A:
    Your transmission is fine. Checking files takes hours if you have big torrent files on the hdd. My transmission speed is always about 40k. never had it faster except "official" downloads.

    I will not write a step-by-step howto. This is linux basics. You have to read and learn....

    @all
    ALWAYS REMEMBER: Your Asus is a Router and NOT a Pentium Core II Duo with 3GHz. THIS MACHINES ARE SLOW!!!

    @metamorphose
    Did you extract the zip?

    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 20 of 64 FirstFirst ... 10181920212230 ... 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
  •