Page 27 of 64 FirstFirst ... 17252627282937 ... LastLast
Results 391 to 405 of 958

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

  1. #391
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Quote Originally Posted by mataanjin View Post
    if i want to turnoff the hdd, is there any step i must do? and when i turn it on again?
    Do a forum search for hdd spindown.

    Quote Originally Posted by mataanjin View Post
    how to download from a direct link?
    with wget. 'wget http://www......'

    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. #392
    Quote Originally Posted by mataanjin View Post
    if i want to turnoff the hdd, is there any step i must do? and when i turn it on again?
    how to download from a direct link?
    tq
    Hi, I believe this is option is standard available. But, if you use the hdd for swap and/or have cron installed (which accesses the hdd every minute) the hdd doesn't have any 'inactive' time so it won't spin down. Also, from what I read from the forum is that the WiFi WLAN function causes hdd-access so it won't spin down when WLAN is enabled.

    anyway, the following link should provide information: http://wlhdd.co.uk/wiki/HDD_Standby

    code: (for spindown after 10 minutes)
    Code:
    hdparm -S 120 /dev/discs/disc0/disc
    (info taken from thread: http://www.wl500g.info/showthread.ph...highlight=spin)

    HTH

  3. #393
    Join Date
    Sep 2008
    Location
    Poland
    Posts
    3

    Question problem with permissions when installing ipkg

    Hi,
    I already installed Oleg, before I was using OpenWRT on my Asus wl500gp.
    All works fine for me,but I have problem with permissions to /opt dir.

    [root@WL-001BFC918B60 root]$ mkdir -p /opt/tmp
    mkdir: Cannot create directory `/opt/tmp': Read-only file system
    the same or similar when I trying:
    • mkdir -p /opt/tmp
    • ipkg.sh install ipkg-opt
    • mkdir /opt/tmp


    I searched the web with google and I can't find any solution when I'm not using an external usb-hdd. I want to install ipkg, mc, nano, iptraf and maybe 4 apps more - I don't need usb-hdd.... I think

    [root@WL-001BFC918B60 root]$ mount
    /dev/root on / type squashfs (ro)
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    usbfs on /proc/bus/usb type usbfs (rw)
    [root@WL-001BFC918B60 root]$ df -h
    Filesystem Size Used Available Use% Mounted on
    /dev/root 2.9M 2.9M 0 100% /
    thanks for your time

    ps
    sorry for my gramma (if there are some mistakes ), english isn't my native language, but I'm trying
    when I'm looking for same solution
    Last edited by r3ap3rpl; 16-09-2008 at 01:14. Reason: added errors, mount

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

    no need to browse the web.

    Simply rtfm:
    Quote Originally Posted by the fucking manual
    Remark: If you get a "mkdir: Cannot create directory `/opt/etc': Read-only file system" your HDD (here the IPKG pertition) is NOT mounted.


    Check your /etc/fstab and /usr/local/.files.
    wengi
    Last edited by wengi; 16-09-2008 at 07:30.
    Ü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. #395
    Join Date
    Sep 2008
    Location
    Poland
    Posts
    3
    yes yes I know, RTFM

    I wrote, without usb-hdd, internal flash only

    there's no fstab :/
    in /usr/local: etc, root, sbin adn no files
    In etc dir it's only dropbear dir, root is empty,
    [root@WL-001BFC918B60 root]$ ls /usr/local/sbin/
    post-boot post-firewall post-mount pre-mount pre-shutdown
    all of this files are empty, only in post-boot is dropbear
    Last edited by r3ap3rpl; 16-09-2008 at 07:42. Reason: added dirs, listings

  6. #396
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Quote Originally Posted by r3ap3rpl View Post
    there's no fstab :/
    what version of oleg did you flash?
    Quote Originally Posted by the fucking manual
    This howto is for version 1.9.2.7-9 and newer.
    And by the way: No USB HDD/Stick -> No /opt !!!

    No woman -> No cry
    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)

  7. #397
    Join Date
    Sep 2008
    Location
    Poland
    Posts
    3
    thanks a lot wengi
    I installed ver 1.9.2.7-9 (BCM47XX)

    no usb-hdd no /opt, so I can't use ipkg and many other features...
    It's the way to buy a usb-hdd

    ok, thx

    r3ap3rpl

  8. #398

    Cant get cron started automaticaly

    Cant get cron to auto start at boot been following the guide but too much of a newb with linux please help. Will start it manualy so I can continue for now.

    My PS axf results
    Code:
    [admin@(none) 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]
       47 ?        S      0:00 telnetd
       48 ?        S      0:00 httpd eth1
       54 ?        S      0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7
       55 ?        S      0:00 klogd
       56 ?        S      0:00 [dnsmasq]
       58 ?        Ss     0:01 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
       61 ?        S      0:00 [khubd]
       70 ?        Ss     0:00 lpd
       72 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       75 ?        Ss     0:00 waveservermain
       77 ?        Ss     0:00 rcamdmain
       81 ?        S      0:00 [usb-storage-0]
       82 ?        S      0:00 [scsi_eh_0]
       86 ?        Ss     0:00 infosvr br0
       87 ?        Ss     0:02 watchdog
       91 ?        Ss     0:00  \_ ntp
      100 ?        S      0:00 dropbear
      107 ?        Ss     0:01  \_ dropbear
      113 pts/0    Rs     0:00      \_ -sh
      129 pts/0    R+     0:00          \_ ps axf
      106 ?        S      0:00 udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
      116 ?        S      0:00 [kjournald]
      117 ?        S      0:00 [kjournald]
      120 ?        S      0:00 stupid-ftpd
      127 ?        S      0:00 upnp -D -L br0 -W eth1
    My unslung
    Code:
    [admin@(none) root]$ vi /opt/etc/init.d/rc.unslung
    # starting them in numerical order and
    # stopping them in reverse numerical order
    #
    if [ $# -ne 1 ]; then
    printf "Usage: $0 {start|stop}\n" >&2
    exit 1
    fi
    
    daemons=`echo $(/usr/bin/dirname $0)/S??*`
    [ $1 = "stop" ] && daemons=`echo $daemons | /usr/bin/tr " " "\n" | /usr/bin/sort
    
    for i in $daemons; do
    
    # Ignore dangling symlinks (if any).
    [ ! -f "$i" ] && continue
    
    # Write to syslog
    logger -t rc.unslung "$1 service $i"
    
    case "$i" in
    *.sh)
    # Source shell script for speed.
    (
    - /opt/etc/init.d/rc.unslung 1/34 2%
    tarting them in numerical order and
    # stopping them in reverse numerical order
    #
    if [ $# -ne 1 ]; then
    printf "Usage: $0 {start|stop}\n" >&2
    exit 1
    fi
    
    daemons=`echo $(/usr/bin/dirname $0)/S??*`
    [ $1 = "stop" ] && daemons=`echo $daemons | /usr/bin/tr " " "\n" | /usr/bin/sort -r`
    
    for i in $daemons; do
    
    # Ignore dangling symlinks (if any).
    [ ! -f "$i" ] && continue
    
    # Write to syslog
    logger -t rc.unslung "$1 service $i"
    
    case "$i" in
    *.sh)
    # Source shell script for speed.
    (
    trap - INT QUIT TSTP
    set $1
    . $i
    )
    ;;
    *)
    # No sh extension, so fork subprocess.
    $i $1
    ;;
    esac
    done
    My Post-boot only had the top 2 lines so I copied the rest from a post on the forum.
    Code:
    [admin@(none) root]$ vi /usr/local/sbin/post-boot
    #!/bin/sh
    dropbear
    
    # test if USB disc has been attached
    # if not - then insert needed modules
    #
    # uncoment the following 4 lines if using an USB HDD.
    if [ ! -d /dev/discs ]
    then
    insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s
    fi
    
    #Wait for /opt to mount
    mount /dev/discs/disc0/part2 /opt
    i=0
    while [ $i -le 30 ]
    do
    if [ -d /opt/etc ]
    then
    break
    fi
    sleep 1
    i=`expr $i + 1`
    - /usr/local/sbin/post-boot 1/27 3%
    #!/bin/sh
    dropbear
    
    # test if USB disc has been attached
    # if not - then insert needed modules
    #
    # uncoment the following 4 lines if using an USB HDD.
    if [ ! -d /dev/discs ]
    then
    insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s
    fi
    
    #Wait for /opt to mount
    mount /dev/discs/disc0/part2 /opt
    i=0
    while [ $i -le 30 ]
    do
    if [ -d /opt/etc ]
    then
    break
    fi
    sleep 1
    i=`expr $i + 1`
    done

  9. #399
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Your original post-boot with the two lines is ok. Delete the rest again.
    This was changed with firmewares -9 and newer.

    Can you start cron manually?
    Compare the content of /opt/etc/init.d/S10cron with the Howto.

    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)

  10. #400
    Update solved cron problem dont know how but ps axf shows
    129 ? Ss 0:00 /opt/sbin/cron
    Im on a wl-500w if that makes a difference. Thanks for your quick reply wengi, cron can be started manually. PS axf confirms it

    Pre-manual start
    Code:
    [admin@(none) 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]
       47 ?        S      0:00 telnetd
       48 ?        S      0:00 httpd eth1
       54 ?        S      0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7
       55 ?        S      0:00 klogd
       56 ?        S      0:00 [dnsmasq]
       58 ?        Ss     0:00 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
       61 ?        S      0:00 [khubd]
       70 ?        Ss     0:00 lpd
       72 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       75 ?        Ss     0:00 waveservermain
       77 ?        Ss     0:00 rcamdmain
       81 ?        S      0:00 [usb-storage-0]
       82 ?        S      0:00 [scsi_eh_0]
       86 ?        Ss     0:00 infosvr br0
       87 ?        Ss     0:02 watchdog
       91 ?        Ss     0:00  \_ ntp
      100 ?        S      0:00 dropbear
      120 ?        Rs     0:00  \_ dropbear
      126 pts/0    Ss     0:00      \_ -sh
      131 pts/0    R+     0:00          \_ ps axf
      108 ?        S      0:00 udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
      115 ?        S      0:00 upnp -D -L br0 -W eth1
      121 ?        S      0:00 [kjournald]
      122 ?        S      0:00 [kjournald]
      124 ?        S      0:00 stupid-ftpd
    Post manual Start this line is added directly after 124
    133 ? Ss 0:00 cron

    Post boot edited too read
    Code:
    #!/bin/sh
    dropbear
    S10cron reads
    Code:
    #!/bin/sh
    #
    # Startup script for cron
    
    PIDFILE=/opt/var/run/cron.pid
    
    case $1 in
     start)
        /opt/sbin/cron
           ;;
            stop)
               [ -f ${PIDFILE} ] && kill `cat ${PIDFILE}`  ;;
                  *)
                     echo "usage: $0 (start|stop)"
                        exit 1
                        esac
    Last edited by biohazarduk; 18-09-2008 at 22:06.

  11. #401

    Also got these problems

    Also solved but again dont know how
    [admin@(none) torrent]$ mkdir /tmp/harddisk/torrent
    cannot create directory `/tmp/harddisk/torrent': File exists
    [admin@(none) torrent]$ mkdir /tmp/harddisk/torrent/source
    cannot create directory `/tmp/harddisk/torrent/source': Read-only file system
    [admin@(none) torrent]$ mkdir /tmp/harddisk/torrent/work
    cannot create directory `/tmp/harddisk/torrent/work': Read-only file system
    [admin@(none) torrent]$ mkdir /tmp/harddisk/torrent/target
    cannot create directory `/tmp/harddisk/torrent/target': Read-only file system
    [admin@(none) torrent]$ chmod -R ugoa+w /tmp/harddisk/torrent
    changing permissions of `/tmp/harddisk/torrent': Read-only file system

    Infomation from mount

    [admin@(none) torrent]$ mount
    /dev/root on / type squashfs (ro)
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/discs/disc0/part2 on /opt type ext3 (rw,noatime)
    /dev/discs/disc0/part3 on /tmp/harddisk type ext3 (rw,noatime)
    /dev/discs/disc0/part1 on /tmp/harddisk type vfat (ro,noatime)
    [admin@(none) torrent]$
    Last edited by biohazarduk; 18-09-2008 at 22:12.

  12. #402
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Quote Originally Posted by biohazarduk View Post
    /dev/discs/disc0/part3 on /tmp/harddisk type ext3 (rw,noatime)
    /dev/discs/disc0/part1 on /tmp/harddisk type vfat (ro,noatime)
    This is strange!!
    your part1 should be swap and not data partition. And it must not be vfat if it is swap!
    Did you setup the hdd different from the howto?

    What is the output of 'free'?

    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. #403
    how to change my listening port?
    my isp blok some of my port(80 , 22 , 23)

    when i use wget i can't get it download automatically.
    how to get it work?
    Last edited by mataanjin; 03-10-2008 at 09:49.

  14. #404

    Not running xinetd process & no access on port 901

    Hi,

    Have a problem with accessing my router's Samba 2 settings on a port 901. Have installed Samba by wengi's tutorial, but than when typing "ps axf", don't see there line with "xinetd". When xinetd is not running, than I can't access 901, right?

    Can anyone try to help me?

    My output from "ps axf" is:

    PID TTY STAT TIME COMMAND
    1 ? S 0:01 /sbin/init
    2 ? S 0:00 [keventd]
    3 ? RN 0:00 [ksoftirqd_CPU0]
    4 ? S 0:00 [kswapd]
    5 ? S 0:00 [bdflush]
    6 ? S 0:00 [kupdated]
    7 ? S 0:00 [mtdblockd]
    45 ? S 0:00 telnetd
    50 ? S 0:01 httpd eth1
    54 ? S 0:00 klogd
    55 ? S 0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7
    58 ? S 0:00 [dnsmasq]
    60 ? Ss 0:01 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
    63 ? S 0:00 [khubd]
    73 ? Ss 0:00 lpd
    75 ? Ss 0:00 p9100d -f /dev/usb/lp0 0
    79 ? S 0:00 [usb-storage-0]
    80 ? S 0:00 [scsi_eh_0]
    81 ? S 0:00 [usb-storage-1]
    82 ? S 0:00 [scsi_eh_1]
    95 ? Ss 0:00 infosvr br0
    96 ? Ss 0:00 watchdog
    100 ? Ss 0:00 \_ ntp
    109 ? S 0:00 dropbear
    191 ? Ss 0:00 \_ dropbear
    199 pts/0 Ss 0:00 \_ -sh
    208 pts/0 R+ 0:00 \_ ps axf
    117 ? S 0:00 udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
    139 ? S 0:00 [kjournald]
    140 ? S 0:00 [kjournald]
    141 ? S 0:00 [kjournald]
    144 ? Ss 0:00 /usr/sbin/vsftpd
    155 ? Ss 0:00 /opt/sbin/cron
    174 ? Ss 0:00 /opt/sbin/smbd -D
    176 ? Ss 0:00 /opt/sbin/nmbd -D
    197 ? S 0:00 upnp -D -L br0 -W eth1

  15. #405
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Quote Originally Posted by mataanjin View Post
    how to change my listening port?
    my isp blok some of my port(80 , 22 , 23)

    when i use wget i can't get it download automatically.
    how to get it work?
    Hi,

    which service?
    Generally have a look at the conf files in /opt/etc

    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 27 of 64 FirstFirst ... 17252627282937 ... 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
  •