Results 1 to 15 of 958

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    startup scripts not working

    Hi,
    I had 1.9.2.7-10 installed and today I've decided to update to 1.9.2.7-rtn-r4667. When my router restarted it didn't mount my pen drive as usually in /opt.
    I didn't remember how I configured my router to auto mount it so I followed this tutorial but it is not working. I don't think my startup scripts are being called because it doesn't mount swap and /opt but I can do it manually.
    Sorry my bad english

    Cumps!

  2. #2
    please read, what we posted above
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  3. #3
    sorry, it was a stupid error.. I forgot replacing a "disc0" with "disca" in fstab...

    But now I'm having a new problem... here is the log:

    Code:
    Jan  1 00:00:20 e2fsck: /dev/discs/disca/part3: 
    Jan  1 00:00:20 e2fsck: The superblock could not be read or does not describe a correct ext2
    Jan  1 00:00:20 e2fsck: filesystem.  If the device is valid and it really contains an ext2
    Jan  1 00:00:20 e2fsck: filesystem (and not swap or ufs or something else), then the superblock
    Jan  1 00:00:20 e2fsck: is corrupt, and you might try running e2fsck with an alternate superblock:
    Jan  1 00:00:20 e2fsck:     e2fsck -b 8193 <device>
    fstab:
    Code:
    #device                 Mountpoint      FStype  Options         Dump    Pass#
    /dev/discs/disca/part1  none            swap    sw              0       0
    /dev/discs/disca/part2  /opt            ext3    rw,noatime      1       1
    /dev/discs/disca/part3  /mnt            ext3    rw,noatime      1       1
    df:
    Code:
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                    4480      4480         0 100% /
    /dev/root                 4480      4480         0 100% /
    devfs                      100         4        96   4% /dev
    tmpfs                    14540       156     14384   1% /tmp
    /dev/discs/disca/part2
                            985700     17648    917980   2% /opt
    fdisk -l:
    Code:
    Disk /dev/sda: 2097 MB, 2097152000 bytes
    65 heads, 62 sectors/track, 1016 cylinders
    Units = cylinders of 4030 * 512 = 2063360 bytes
    
       Device Boot      Start         End      Blocks  Id System
    /dev/sda1               1         249      501704  82 Linux swap
    /dev/sda2             250         746     1001455  83 Linux
    /dev/sda3             747        1016      544050  83 Linux
    I've tried this http://linuxexpresso.wordpress.com/2...ock-in-ubuntu/ but it didn't work

    Thanks, cumps

  4. #4

    Smile

    run
    Code:
    mke2fs -n /dev/discs/disca/part3
    and use one of the superblocks in

    Code:
    e2fsck -b [superblock-here] /dev/discs/disca/part3
    The e2fsck will run a long time on the router. I suggest you repair the filesystem on an other machine, by attaching the pen-drive there. The procedure is the same, but the device number may differ as you may have connected several pen-drives.

    good luck
    gm
    RT-N66U TomatoUSB 1.28.0000 MIPSR2-135 K26AC USB AIO-64K running Entware-NG
    pyload 0.4.9
    minidlna 1.1.2
    samba 3.6.5
    openvpn 2.3.10
    ̶W̶L̶5̶0̶0̶g̶P̶ ̶1̶.̶9̶.̶2̶.̶7̶-̶r̶t̶n̶-̶r̶4̶7̶5̶0 retired

  5. #5
    hi,

    i have installed the latest firmware for wl500gp

    i know about changes with disca

    but i have a issue with opening a port

    with vi I edit /usr/local/sbin/post-firewall and insert

    iptables -I INPUT -m tcp -p tcp --dport 9091 -j ACCEPT

    save in vi

    flashfs save && flashfs commit && flashfs enable && reboot

    after reboot I check open port with canyouseeme.org and receive error

    what I do wrong?
    please advise

    10x

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
  •