Page 64 of 64 FirstFirst ... 1454626364
Results 946 to 958 of 958

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

  1. #946
    This shows that swap is activated?
    Code:
    [admin@WL-0022156817F1 root]$ free
                 total       used       free     shared    buffers     cached
    Mem:         29056      25232       3824          0       3048       9384
    -/+ buffers/cache:      12800      16256
    Swap:      4120632          0    4120632
    Thank you for your help,can we try to solve this without flashing again?
    Thanks in advance.
    Code:
    [admin@WL-0022156817F1 root]$ fdisk -l
    
    Disk /dev/sda: 250.0 GB, 250059292672 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks  Id System
    /dev/sda1               1         513     4120641  82 Linux swap
    /dev/sda2             514         638     1004062+ 83 Linux
    /dev/sda3             639       30401   239071297+ 83 Linux
    Code:
    [admin@WL-0022156817F1 root]$ df -l
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                    4608      4608         0 100% /
    /dev/root                 4608      4608         0 100% /
    devfs                      100         4        96   4% /dev
    tmpfs                    14528       212     14316   2% /tmp
    /dev/discs/disca/part2
                            988244    362332    575712  39% /opt
    /dev/discs/disca/part3
                         235320192    165736 223200892   1% /tmp/mnt/disca_3

  2. #947
    I've had your problem one month ago...after a firmware upgrade transmission was not working any more, i coudn't access to web page . Not only transmission was not running but also ipkg was not working and i supposed that something was corrupted in the opt disc. So i formatted everything and started again the wengi tutorial from the beginning (not working as well...). After i've noticed that was changed the name of the shared disc from disc0 to discA and WPTE said that the new firmware is based on Kernel 2.6 that changes the name of the disc. But at that point i had already formatted everything so i made again the tutorial changing all the parts with disc_0 to disc_a and all worked properly except the fact that i couldn't get samba working...i had transmission working, access to web page, loading torrent, but i coudn't access to the shared folder from my PC (i tried samba from firmware, samba 2 and samba 3...nothing worked). So my solution has been that of installing the firmware with kernel 2.4, factory reset, formatting the HD again with the difference of mounting the 3th partition on /mnt instead of /tmp/harddisk and installed the Headstart II following the tutorial posted in this forum...after that i prevent the start of unnecessary (for me) services from /opt/etc/init.d/ renaming them (that's why my wl500 gp has not enough memory to run all of them) and finally i have got my transmission working and samba working too. BUT i think that this solution is much complicated and came from my unexperience on linux systems. that's why i suggested you to flash again your firmware to the version with kernel 2.4 and change only fstab again from disc_a to disk_0, leaving all the other settings and scripts as they where before...hope this can help you and sorry for too long post!
    P.S. The only thing i don't understand in your df -l is the last line. In my system the last line is this:
    [admin@hd asus root]$ df -l
    Filesystem Size Used Avail Use% Mounted on
    rootfs 3.0M 3.0M 0 100% /
    /dev/root 3.0M 3.0M 0 100% /
    tmpfs 15M 164K 15M 2% /tmp
    /dev/discs/disc0/part2
    16G 381M 15G 3% /opt
    /dev/discs/disc0/part3
    443G 16G 428G 4% /mnt
    Only /mnt. I'm not sure if disca_3 is correct there, but people more expert then me can give you more information on that
    Last edited by tex; 26-11-2011 at 08:34.

  3. #948
    Well,I found another solution.
    I just placed
    Code:
    #!/bin/sh
    chmod 755 /opt/etc/init.d/S90transmission-daemon
    /opt/etc/init.d/S90transmission-daemon start
    in
    Code:
    /usr/local/sbin/post-mount
    and executed
    Code:
    chmod +x /usr/local/sbin/*
    ,just be shore.
    Transmission works now!
    I guess that first line with chmod 775 was not necessary,but I dont want to experiment more.
    I placed in post-mount to be shore that transmission will pick up settings and whatever needs to work.
    Now I got newest firmware and transmission working just as before.
    Hope this will be useful for somebody else.
    Thanks for helping people!

  4. #949
    Hy guys,

    Can you please help me with mount an iso file. My current filesystem is:

    [admin@home_router root]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 3.0M 3.0M 0 100% /
    /dev/root 3.0M 3.0M 0 100% /
    /dev/discs/disc0/part2
    16G 500M 15G 4% /opt
    /dev/discs/disc0/part3
    263G 46G 218G 18% /tmp/mnt/disc0_3
    /dev/discs/disc0/part2
    16G 500M 15G 4% /mnt

    I want to do mount in /mnt/disk, something like this:

    mount -o loop=/dev/loop/0 -t iso9660 myiso.iso /mnt/disk

    and I get

    mount: Mounting /dev/loop/0 on /mnt/disk failed: No such device

    What do you think?

  5. #950
    Hi wengi,

    I have upgraded my wl-500gp to 1.9.2.7-rtn-r4645 firmware and I found out some strange things/behavior on my router. Please, could you explain. (I'm not a supper user, so sorry ahead if my questions are stupid)

    When I check my mountpoints I get the following:
    Code:
    $ df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                    4608      4608         0 100% /
    /dev/root                 4608      4608         0 100% /
    devfs                      100         4        96   4% /dev
    tmpfs                    14544       476     14068   3% /tmp
    /dev/discs/disca/part3
                            740096    330020    372480  47% /tmp/mnt/disca_3
    /dev/discs/disca/part2
                            986136    146768    789272  16% /tmp/mnt/disca_2
    But when I want to view my fstab I get:
    Code:
    $ cat /etc/fstab
    cat: can't open '/etc/fstab': No such file or directory
    What is wrong? does the new FW store the mount commands somewhere else?
    What are devfs and tmpfs?

    I have also noticed that I lost all me scripts from folder
    Code:
    /usr/local/sbin
    But my dropbear runs after every reboot.
    How come?

    Should I start over with setting up my router? How it is done?

    Thanks for your help and support

  6. #951

    Lightbulb

    if you switched from d-branch or older oleg-FW you should create a new fstab (remember new mountpoints!).
    Your /usr/local/sbin scripts are lost too ^

    dropbear and many other nice stuff is already included in FW - it can be disabled via WebIF, don't mind

    in general, as you are now using a modern FW with recent kernel you should also switch from optware to entware

    http://code.google.com/p/wl500g-repo/wiki/Goal

    if you miss some packages just inform us here


    just rm -rf your /opt - but make backups of your conf-files as you may need them afterwards...

    hf

    btw. wengi is not using his wl500w anymore
    Last edited by !gm; 08-10-2012 at 01:44.
    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

  7. #952
    Quote Originally Posted by !gm View Post
    if you switched from d-branch or older oleg-FW you should create a new fstab (remember new mountpoints!).
    Your /usr/local/sbin scripts are lost too ^

    dropbear and many other nice stuff is already included in FW - it can be disabled via WebIF, don't mind

    in general, as you are now using a modern FW with recent kernel you should also switch from optware to entware

    http://code.google.com/p/wl500g-repo/wiki/Goal

    if you miss some packages just inform us here


    just rm -rf your /opt - but make backups of your conf-files as you may need them afterwards...

    hf

    btw. wengi is not using his wl500w anymore
    Hi !gm,

    Thanks for your fast respond.
    I'm still not so sure about one thing - How come my flashdisk gets mounted after reboot when my fstab is empty? How does the new FW do this trick? :-)

    Thanks,
    Tarik

  8. #953
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    Quote Originally Posted by trymyluck View Post
    I'm still not so sure about one thing - How come my flashdisk gets mounted after reboot when my fstab is empty? How does the new FW do this trick? :-)
    I'm sure you have to read this forum carefully.
    First of all - it is possible to backup flashfs (of course, before firmware upgrade). Second, automount under /tmp/ works for years.

    Moreover, fstab for 2.4 & 2.6 slightly differs.

  9. #954

    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!

  10. #955
    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

  11. #956
    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

  12. #957

    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

  13. #958
    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

Page 64 of 64 FirstFirst ... 1454626364

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
  •