Page 18 of 64 FirstFirst ... 8161718192028 ... LastLast
Results 256 to 270 of 958

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

  1. #256
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    after the disc check in pre-boot I have now 2 mkdirs to create both ftp dirs
    then I have in fstab the mountpoints and it works

    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/root 3072 3072 0 100% /
    /dev/discs/disc0/part2 3850320 541052 3113680 15% /opt
    /dev/discs/disc0/part3 476331024 118551016 333583712 26% /mnt
    /dev/discs/disc0/part2 3850320 541052 3113680 15% /tmp/mnt/disc0_2
    /dev/discs/disc0/part3 476331024 118551016 333583712 26% /tmp/mnt/disc0_3
    a bit stupid that I couldn''t figure the mkidir myself out
    well, it totally works now
    I do think it scans the drives double now, but hey, then you''re sure no errors are left

  2. #257
    I have a problem deleting what i download with transmission..
    I need admin rights to do it.. How do i get this??

  3. #258
    Hi,

    I just finished setting up WL500gP V2 + HDD using Wengi's tutorial, great job.
    It was the first time i was working with linux, but following this tutorial, i'm starting to understand how linux works, so thanks for that too.

    Firmware: Oleg 1.9.2.7-10
    Followed steps: 1, 2, 3, 4a, 4b, 5

    on this step i got this:
    admin@WL-500gP root]$ wget http://ipkg.nslu2-linux.org/feeds/op...3-9_mipsel.ipk
    Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
    wget: server returned error 404: HTTP/1.1 404 Not Found
    [admin@WL-500gP root]$ ipkg.sh install ipkg-opt_0.99.163-9_mipsel.ipk
    File not found ipkg-opt_0.99.163-9_mipsel.ipk
    don't know if it can cause any problems

    when running ipkg list_installed, i get:
    [admin@blechbuechse ipkg]$ ipkg list_installed
    ipkg-opt - 0.99.149-2 - The Itsy Package Manager
    uclibc-opt - 0.9.28-13
    on this step it was the only error

    next steps: 8, 9, 10a - no errors

    Now, i select the torrent for download, i have it in "source" dir, "Push" in transmission, i have it as ACTIVE, but nothing happens

    Whan the torrent is active, the window looks like this:

    THE MENU
    /opt/share/www/cgi-bin/transmission.cgi: kill: 9: (4000) - No such process
    OOo_2.4.1rc1_20080523_SolarisSparc_install_en-US.tar.gz started Start: 29 May 00:12 Active status

    Unable to find recent transfer stats in syslog

    00:12:23 up 41 min, load average: 0.24, 0.13, 0.08



    If I select "Info" i get:
    Not a regular file (/tmp/harddisk/torrent/work/OOo_2.4.1rc1_20080523_SolarisSparc_install_en-US.tar.gz/OOo_2.4.1rc1_20080523_SolarisSparc_install_en-US.tar.gz.torrent)
    Transmission 0.82 (r) - http://transmission.m0k.org/

    Failed opening torrent file `/tmp/harddisk/torrent/work/OOo_2.4.1rc1_20080523_SolarisSparc_install_en-US.tar.gz/OOo_2.4.1rc1_20080523_SolarisSparc_install_en-US.tar.gz.torrent'

    Not a regular file (/tmp/harddisk/torrent/work/OOo_2.4.1rc1_20080523_SolarisSparc_install_en-US.tar.gz/OOo_2.4.1rc1_20080523_SolarisSparc_install_en-US.tar.gz.torrent)
    Maybe i did something wrong, the torrent is: OOo_2.4.1rc1_20080523_SolarisSparc_install_en-US.tar.gz.torrent, and it' working.

    Thank you in advance!

    PS: english is not my native language, so sorry for my writting mistakes
    Last edited by bogd_A; 28-05-2008 at 22:20. Reason: adding more info

  4. #259
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by nunbaggi View Post
    I have a problem deleting what i download with transmission..
    I need admin rights to do it.. How do i get this??
    what kind of windows do you use?
    do you have guest account activated?


    @bogd_A
    if you get a wget error, try it again, if you get it again, wait an hour, the server might be offline.
    I don''t know if you continued to install everything, that''s why transmission might be acting weird.
    note that due to some recent updates on transmission some strange behaviour happens to some ppl

  5. #260
    Quote Originally Posted by wpte View Post
    what kind of windows do you use?
    do you have guest account activated?


    @bogd_A
    if you get a wget error, try it again, if you get it again, wait an hour, the server might be offline.
    I don''t know if you continued to install everything, that''s why transmission might be acting weird.
    note that due to some recent updates on transmission some strange behaviour happens to some ppl
    still doesn't work - the server is ok
    what do you mean by installing everything? as i said after step step 10a everything showld be ok, meaninig i should have a working system.

    PS I started the tutorial from scratch ... and the same result

  6. #261
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    ipkg-opt was updated on 24.05.2008:
    http://nslu2-linux.dyoung-mirror.net...-10_mipsel.ipk

    I will update the HowTo.

    wengi

    Edit:
    @bogd_A:
    You are on an very old ipkg-opt installation now. Do again the wget and install stuff of ipkg-opt. Do a "ipkg update && ipkg upgrade" after this.
    I hope this will switch you to the new repositories. This will also update your transmission to 1.21.
    Last edited by wengi; 29-05-2008 at 07:58.
    Ü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. #262
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Quote Originally Posted by nunbaggi View Post
    I have a problem deleting what i download with transmission..
    I need admin rights to do it.. How do i get this??
    Could you please give us a bit less information...?!?
    You try to delete on which way? Samba, ftp, shell, webinterface?
    If samba:
    Would be nice to know which samba you are using, your config aso.



    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)

  8. #263
    Edit:
    @bogd_A:
    You are on an very old ipkg-opt installation now. Do again the wget and install stuff of ipkg-opt. Do a "ipkg update && ipkg upgrade" after this.
    I hope this will switch you to the new repositories. This will also update your transmission to 1.21
    That was the problem, now everything works as it should, thank you for your support.

    But there is one small issue: as said by nunbaggi, when trying to remove from the webinterface, a downloaded torrent, I get "Can only remove suspended torrents! Edit transmission.conf to FORCE_REMOVE. "

    In transmission.conf - Force_remove is set to "YES"
    The status of downloadet torrent is "DONE"

    As for SAMBA it's enabled from the router's webinterface.
    Firmware: 1.9.2.7-10
    Regarding samba I have another issue, I can acces souce, targhet, work from a Vista OS, but when trying to acces it from XP OS, i get a logon box with user: WL-500/guest, and password

  9. #264
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    I am not using the Force_remove. I use ssh or samba.
    And i do not have a torrent to test this atm.

    But read the help (Help button in WIf).
    I think you have to press purge and remove. But maybe i am wrong....

    wengi

    PS: http://www.nslu2-linux.org/wiki/Optware/Transmission
    Ü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. #265
    Hi.

    I have a big prolem now.
    Everything works fine until last evening.
    Part2 become full. . This was for /otp...
    Every process gives input/output error.
    After restart this was in the log:
    Jan 1 01:00:18 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    Jan 1 01:00:18 kernel: Current sd08:01: sns = 70 4
    Jan 1 01:00:18 kernel: ASC=4b ASCQ= 0
    Jan 1 01:00:18 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    Jan 1 01:00:18 kernel: I/O error: dev 08:01, sector 0
    Jan 1 01:00:18 kernel: Adding Swap: 506008k swap-space (priority -1)
    May 31 09:57:19 e2fsck: e2fsck: while trying to open /dev/discs/disc0/part2
    May 31 09:57:19 e2fsck: /dev/discs/disc0/part2:
    May 31 09:57:19 e2fsck: The superblock could not be read or does not describe a correct ext2
    May 31 09:57:19 e2fsck: filesystem. If the device is valid and it really contains an ext2
    May 31 09:57:19 e2fsck: filesystem (and not swap or ufs or something else), then the superblock
    May 31 09:57:19 e2fsck: is corrupt, and you might try running e2fsck with an alternate superblock:
    May 31 09:57:19 e2fsck: e2fsck -b 8193 <device>
    May 31 09:57:19 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    May 31 09:57:19 kernel: Current sd08:03: sns = 70 4
    May 31 09:57:19 kernel: ASC=4b ASCQ= 0
    May 31 09:57:19 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    May 31 09:57:19 kernel: I/O error: dev 08:03, sector 0
    May 31 09:57:19 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    May 31 09:57:19 kernel: Current sd08:03: sns = 70 4
    May 31 09:57:19 kernel: ASC=4b ASCQ= 0
    May 31 09:57:19 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    May 31 09:57:19 kernel: I/O error: dev 08:03, sector 2
    May 31 09:57:19 e2fsck: e2fsck: while trying to open /dev/discs/disc0/part3
    May 31 09:57:19 e2fsck: Could this be a zero-length partition?
    May 31 09:57:19 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    May 31 09:57:19 kernel: Current sd08:01: sns = 70 4
    May 31 09:57:19 kernel: ASC=4b ASCQ= 0
    May 31 09:57:19 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    May 31 09:57:19 kernel: I/O error: dev 08:01, sector 0
    May 31 09:57:19 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    May 31 09:57:19 kernel: Current sd08:01: sns = 70 4
    May 31 09:57:19 kernel: ASC=4b ASCQ= 0
    May 31 09:57:19 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    May 31 09:57:19 kernel: I/O error: dev 08:01, sector 8
    May 31 09:57:19 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    May 31 09:57:19 kernel: Current sd08:02: sns = 70 4
    May 31 09:57:19 kernel: ASC=4b ASCQ= 0
    May 31 09:57:19 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    May 31 09:57:19 kernel: I/O error: dev 08:02, sector 0
    May 31 09:57:19 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    May 31 09:57:19 kernel: Current sd08:03: sns = 70 4
    May 31 09:57:19 kernel: ASC=4b ASCQ= 0
    May 31 09:57:19 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    May 31 09:57:19 kernel: I/O error: dev 08:03, sector 2
    May 31 09:57:19 kernel: EXT3-fs: unable to read superblock


    What shuld I do now?
    Thanks for your help in advance.

    MrPeeth

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

    is /opt really full? Didnt think this is possible with ipkg packages. Or did you copy other stuff to /opt?

    The other possibility is that the hdd has a prob. (e.g. bad sectors).
    Did you try to use the alternative superblock?

    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)

  12. #267
    Quote Originally Posted by wengi View Post
    I am not using the Force_remove. I use ssh or samba.
    And i do not have a torrent to test this atm.

    But read the help (Help button in WIf).
    I think you have to press purge and remove. But maybe i am wrong....

    wengi

    PS: http://www.nslu2-linux.org/wiki/Optware/Transmission
    The Torrents are in target dir, Remove (mark a torrent for removal) and Purge (delete the torrent and its file), can be used only for unfinished (suspended) torrents only, and that's why it didn't worked.

    When I try to remove from samba I get: "You need permission to perform this action" - in VISTA OS
    Can you tell me the command for delete using ssh?

    And anothet issue:
    I can't acces the torrent dir from a XP OS, only from Vista OS, can you help me?
    In XP shows an logon window with use: WL-500gp\Guest, and password, nothing like this in Vista
    Last edited by bogd_A; 31-05-2008 at 14:22.

  13. #268
    For dropbear I needed to satisfy the following requirements.

    Disable password access for remote connections
    Open port 443 and 2222 for remote connections (443 for when 2222 is blocked)
    Allow password access on local connections
    Don't open up port 22 for remote connections

    I found that you can run multiple dropbear servers and they will co-exist. Here is how I set it up.

    Code:
    [shinji@WL-001E8C3E002C sbin]$ cat post-boot
    #! /bin/sh
    dropbear -P /var/run/dropbear-local.pid
    
    [shinji@WL-001E8C3E002C sbin]$ cat post-mount
    #! /bin/sh
    dropbear -b /opt/etc/motd -g -p 2222 -P /var/run/dropbear-remote.pid
    /opt/etc/init.d/rc.unslung start
    The first is for post-boot. The only additional parameter here is -P which defines the pid file location. I renamed it otherwise the second one will overwrite the first rather than appending to it.

    The second is post-mount. Note that it could of been put in post-boot as well but I put something into the command line that needs a file from the external device. I will explain each part.

    -b defines a banner file to present before login finishes. It will be shown after the username is sent and before the password is requested. It is set to /opt/etc/motd right now so it is on the mounted device. This switch is optional and can be left out. If it is removed then it is save to move the whole remaining command-line to post-boot instead.

    -g disables password logins for the "root" user
    -s disables password logins globally (all users)

    -p defines a port to listen to. You can use this parameter up to 10 times.

    Note that the password-less login bit only affects that server. The one running on port 22 still accepts a password so I can still access it locally even if I lose my key.

    EDIT: I should add that I recently added a user for the purpose of sftp access by a remote website. I change the original -s to -g. It will still prompt for a password but it will flat out deny it. My sftp user has /opt/libexec/sftp-server setup as the shell so right now ssh brings up a blank screen that they can do nothing at. You can change the -g (in bold above) to -s and it will deny all password logins for that server process.

    EDIT: Here is an alternative to the above setup. This is one I have been using lately. The advantage here is that both servers are running immediately and you don't have to wait for the drive to mount for the external one to be usable.

    Code:
    [shinji@WL-001E8C3DFF31 sbin]$ cat post-boot
    #! /bin/sh
    dropbear -P /var/run/dropbear-local.pid
    dropbear -s -p 2222 -P /var/run/dropbear-remote.pid -b /etc/banner
    Note I used a banner that is in the /etc folder. To keep it persistent between reboots you have to make sure to save it as part of your flashfs (instructions in the main post) by adding it to your /usr/local/.files file.

    Now the firewall...
    Code:
    [shinji@WL-001E8C3E002C sbin]$ cat post-firewall
    #! /bin/sh
    iptables -D INPUT -j DROP
    iptables -t nat -A PREROUTING -i vlan1 -p tcp --dport 443 -j DNAT --to-destination 192.168.1.1:2222
    iptables -t nat -A PREROUTING -i vlan1 -p tcp --dport 2222 -j DNAT --to-destination 192.168.1.1:2222
    iptables -A INPUT -p tcp -m tcp -d 192.168.1.1 --dport 2222 -j ACCEPT
    iptables -A INPUT -j DROP
    I set it up so that ports 443 and 2222 would be externally accessable. Note that they both route to the same server running on port 2222. 443 is only there for cases where I need to route through a strict firewall that only allows http, https, and standard ssh connections. If you changed the port number in the command for the second server then replace 2222 with your port number. If you don't want port 443 open then remove the line in bold.

    If you setup everything right then you will see the following when you run ps axf (if you installed procps)
    Code:
    [shinji@WL-001E8C3E002C root]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        SN     1:07 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       58 ?        S      0:00 telnetd
       64 ?        S      0:00 httpd vlan1
       70 ?        S      0:00 klogd
       71 ?        S      0:03 [dnsmasq]
       73 ?        Ss     0:00 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
       76 ?        S      0:00 [khubd]
       88 ?        S      0:01 [usb-storage-0]
       90 ?        S      0:00 [scsi_eh_0]
      114 ?        Ss     0:00 watchdog
      117 ?        Ss     0:00  \_ ntp
      116 ?        S      0:00 radvd
      124 ?        S      0:00 dropbear -P /var/run/dropbear-local.pid
      146 ?        S      0:00 [kjournald]
      147 ?        S      0:00 [kjournald]
      149 ?        Ss     0:04 /usr/sbin/nmbd -D
      151 ?        Ss     0:00 /usr/sbin/smbd -D
      155 ?        S      0:00 dropbear -b /opt/etc/motd -s -p 2222 -P /var/run/dropbear-remote.pid
     4238 ?        Ss     0:00  \_ dropbear -b /opt/etc/motd -s -p 2222 -P /var/run/dropbear-remote.pid
     4239 pts/0    Ss     0:00      \_ -sh
     4242 pts/0    R+     0:00          \_ ps axf
      180 ?        S      0:00 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7 -s 0
      186 ?        Ss     0:00 /opt/sbin/cron
     4176 ?        S      0:00 upnp -D -L br0 -W vlan1
    Note the 2 dropbear servers running.

    Right now if someone accesses the router remotely then they will get the following.
    Code:
    compton:/home/shinji257> ssh -o Port=2222 shinji@xx.xx.xx.xx
    ..:: Elite Systems Remote SSH Access ::..
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This is a restricted server.
    Unauthorized access is strictly prohibited.
    ALL CONNECTIONS ARE LOGGED.
    Permission denied (publickey).
    This would make it kinda fruitless to try to gain access that way unless there was an exploit for the dropbear server.
    Last edited by shinji257; 09-10-2008 at 05:42. Reason: Changed second process command line and added information about -g parameter.

  14. #269
    Hi Wengi!

    Thx, 4 your answer.

    "df" said that te part2is full.
    I have discovered that transmission put temp datas there in /share/www dir.
    the part3 seems to be working after 1 day OFF.
    I turned on the hdd while router was was working.
    Here is the log:
    Jun 1 10:36:50 e2fsck: e2fsck: while trying to open /dev/discs/disc0/part2
    Jun 1 10:36:50 e2fsck: /dev/discs/disc0/part2:
    Jun 1 10:36:50 e2fsck: The superblock could not be read or does not describe a correct ext2
    Jun 1 10:36:50 e2fsck: filesystem. If the device is valid and it really contains an ext2
    Jun 1 10:36:50 e2fsck: filesystem (and not swap or ufs or something else), then the superblock
    Jun 1 10:36:50 e2fsck: is corrupt, and you might try running e2fsck with an alternate superblock:
    Jun 1 10:36:50 e2fsck: e2fsck -b 8193 <device>
    Jun 1 10:36:50 e2fsck: /dev/discs/disc0/part3: recovering journal
    Jun 1 10:37:33 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    Jun 1 10:37:33 kernel: Current sd08:03: sns = 70 4
    Jun 1 10:37:33 kernel: ASC=4b ASCQ= 0
    Jun 1 10:37:33 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    Jun 1 10:37:33 kernel: I/O error: dev 08:03, sector 8650752
    Jun 1 10:37:34 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    Jun 1 10:37:34 kernel: Current sd08:03: sns = 70 4
    Jun 1 10:37:34 kernel: ASC=4b ASCQ= 0
    Jun 1 10:37:34 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    Jun 1 10:37:34 kernel: I/O error: dev 08:03, sector 24232
    Jun 1 10:37:34 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    Jun 1 10:37:34 kernel: Current sd08:03: sns = 70 4
    Jun 1 10:37:34 kernel: ASC=4b ASCQ= 0
    Jun 1 10:37:34 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    Jun 1 10:37:34 kernel: I/O error: dev 08:03, sector 24234
    Jun 1 10:37:34 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 8000002
    Jun 1 10:37:34 kernel: Current sd08:03: sns = 70 4
    Jun 1 10:37:34 kernel: ASC=4b ASCQ= 0
    Jun 1 10:37:34 kernel: Raw sense data:0x70 0x00 0x04 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x4b 0x00 0x00 0x00 0x00 0x00
    Jun 1 10:37:34 kernel: I/O error: dev 08:03, sector 24236
    Jun 1 10:37:34 e2fsck: e2fsck: while reading block 3029
    Jun 1 10:37:34 e2fsck: JBD: Failed to read block at offset 2495
    Jun 1 10:37:34 e2fsck: JBD: IO error -5 recovering block 2495 in log
    Jun 1 10:37:40 e2fsck: e2fsck: while recovering ext3 journal of /dev/discs/disc0/part3
    Jun 1 10:37:40 kernel: kjournald starting. Commit interval 5 seconds
    Jun 1 10:37:40 kernel: EXT3-fs warning: checktime reached, running e2fsck is recommended
    Jun 1 10:37:40 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
    Jun 1 10:37:40 kernel: EXT3-fs: recovery complete.
    Jun 1 10:37:40 kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Jun 1 10:37:40 USB storage: ext3 fs at /dev/discs/disc0/part3 mounted to /tmp/mnt/disc0_3
    Here is the info about the hdd now.
    [admin@PSQ10 root]$ df
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/root 3072 3072 0 100% /
    /dev/discs/disc0/part3 152349444 133157204 11453328 92% /tmp/mnt/disc0_3
    [admin@PSQ10 root]$ fdisk -l

    Disk /dev/scsi/host0/bus0/target0/lun0/disc: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/scsi/host0/bus0/target0/lun0/part1 1 63 506016 82 Linux swap
    /dev/scsi/host0/bus0/target0/lun0/part2 64 188 1004062+ 83 Linux
    /dev/scsi/host0/bus0/target0/lun0/part3 189 19457 154778242+ 83 Linux
    Now I have no access to part2, so I cannot check which dir is full.

    [admin@PSQ10 root]$ vi /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
    Part3 didn't mounted to where fstab describe.

    I started my Linux with your tutorial, so can you help me in the alt. superblock or bad sector check?

    FW vers.: 1.9.2.7-10

    Thank:
    MrPeeth

  15. #270
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hello everyone

    @MrPeeth:
    transmission should not put temp data to /opt !!! Please check your transmission.conf. What is your work-directory?
    Regarding the superblock you should read your own post
    Code:
    May 31 09:57:19 e2fsck: is corrupt, and you might try running e2fsck with an alternate superblock:
    May 31 09:57:19 e2fsck: e2fsck -b 8193 <device>
    You should try
    Code:
    e2fsck -b 8193 /dev/discs/disc0/part2
    BUT: If you can access your data atm: Do a backup! I think your hdd has a prob!

    @shinji257:
    Thanks for these tips. I will link it in the howto. I am NOT able to test it....

    @bogd_A:
    You can e.g. use the rm command in the shell:
    Code:
    rm -rf /tmp/harddisk/torrent/target/nameofyourtorrentdir
    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 18 of 64 FirstFirst ... 8161718192028 ... 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
  •