Results 1 to 13 of 13

Thread: [N4100+] Modules won't be enabled!

  1. #1
    Registered User
    Join Date
    Aug 2007
    Location
    St-vith
    Posts
    9
    Thanks
    0
    Thanked
    0 times in 0 posts

    Unhappy [N4100+] Modules won't be enabled!

    Hello,

    I just tried to install the SSH 4.0.0 module.

    I modified the install.rdf to cope with the thecus N4100+ repacked the files and installed it.
    But when i want to enable it, the module refused to start.
    When i tried to remove it, it refuses to be removed.

    Could someone help me on this ?

    Thanks,

    Dan.

  2. #2
    Registered+
    Join Date
    Aug 2007
    Location
    Ilmenau / Jena
    Posts
    73
    Thanks
    1
    Thanked
    0 times in 0 posts

    Re: [N4100+] Modules won't be enabled!

    While repacking mostly the error occurs...

    Have a look at: http://onbeat.dk/thecus/index.php/N2...ing_the_Module

    If you have a trailing slash behind the path it doesn't work - I had the same problem yesterday... When unpacking on a desktop machine evrything seems fine. I dunno what Thecus changed in the tar-source, but it happened to evryone who tried changing a module 8=(
    Hardware mods:
    # they void your warranty
    # they may seem to work, but kill your machine later on
    # they are mostly unneeded, because the engineers who built a machine knew what they were doing...

  3. #3
    Registered User
    Join Date
    Aug 2007
    Location
    St-vith
    Posts
    9
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: [N4100+] Modules won't be enabled!

    Thanks again for your help Stefan.
    I forgot the leading ./ when i packed the module.

    I can login into the box.

  4. #4
    Registered+
    Join Date
    Aug 2007
    Location
    Ilmenau / Jena
    Posts
    73
    Thanks
    1
    Thanked
    0 times in 0 posts

    Re: [N4100+] Modules won't be enabled!

    great

    Don't get too diappointed when finding out how small the abilities of the busybox inside are ... I just rewrote/changed a script for the third time because on my linux box @home it works, but not on a thecus...

    They didn't even compile "stat" in. Now it's workaround-time
    Hardware mods:
    # they void your warranty
    # they may seem to work, but kill your machine later on
    # they are mostly unneeded, because the engineers who built a machine knew what they were doing...

  5. #5
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: [N4100+] Modules won't be enabled!

    Even more worse Thecus is still using an outdated buggy version of BusyBox.

    I've told them to fix this about 10 month ago but without any success.....

    Andreas

  6. #6
    Registered+
    Join Date
    Aug 2007
    Location
    Ilmenau / Jena
    Posts
    73
    Thanks
    1
    Thanked
    0 times in 0 posts

    Re: [N4100+] Modules won't be enabled!

    has anyone actually tried to compile an own firmware version abusing the http frontend only?
    Hardware mods:
    # they void your warranty
    # they may seem to work, but kill your machine later on
    # they are mostly unneeded, because the engineers who built a machine knew what they were doing...

  7. #7
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: [N4100+] Modules won't be enabled!

    The compilation of a own new firmware version isn't the problem - the firmware files are encrypted and no one knows the key.

    I've already examined the code but I don't have enough time to crack it, although I've some ideas...

    Andreas

  8. #8
    Registered User
    Join Date
    Aug 2007
    Location
    St-vith
    Posts
    9
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: [N4100+] Modules won't be enabled!

    Quote Originally Posted by Stefan Huebner View Post
    great

    Don't get too diappointed when finding out how small the abilities of the busybox inside are ... I just rewrote/changed a script for the third time because on my linux box @home it works, but not on a thecus...

    They didn't even compile "stat" in. Now it's workaround-time
    As these devices were designed as file server and not as multi-purpose server, i expected what's inside the box.

  9. #9
    Registered+
    Join Date
    Aug 2007
    Location
    Ilmenau / Jena
    Posts
    73
    Thanks
    1
    Thanked
    0 times in 0 posts

    Re: [N4100+] Modules won't be enabled!

    Quote Originally Posted by Dr_Dan View Post
    As these devices were designed as file server and not as multi-purpose server, i expected what's inside the box.
    Well, but as a file server I'd at least expect a few features like "cp -u" (update a file), or that ash does this correctly:
    Code:
    for file in "${source}/*" ; do
        makesumthing $file
    done
    But if there are spaces in the path, it won't work correctly although enclosed in <">. My dash @ maincomputer does, tho... (gentoo doesn't offer ash from inside portage anymore...). But I guess I'm just expecting too much from shell scripts ...
    Hardware mods:
    # they void your warranty
    # they may seem to work, but kill your machine later on
    # they are mostly unneeded, because the engineers who built a machine knew what they were doing...

  10. #10
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: [N4100+] Modules won't be enabled!

    Hi Stefan,

    I think you're code is wrong. What's about this:

    Code:
    for file in ${source}/* ; do
        makesomething "$file"
    done
    Andreas

  11. Received thanks from:

    Stefan Huebner (31-08-2007)

  12. #11
    Registered+
    Join Date
    Aug 2007
    Location
    Ilmenau / Jena
    Posts
    73
    Thanks
    1
    Thanked
    0 times in 0 posts

    Re: [N4100+] Modules won't be enabled!

    ... also doesn't work, that's why I changed
    Code:
     for file in $source/* ; do
    to
    Code:
     for file in "${source}/*" ; do
    ... I wanted to make it perfectly secure by that, but it still didn't work. What needs to be done is: replace all spaces in $source to escaped spaces. Haven't had time to try it, yet, but I guess that'd work. BTW.: how would that be done?
    Code:
    newsource=`echo $source | sed -e 's/ /\ '`
    ???

    and I just saw a typo: the <makesumthing "$file"> was what I meant.
    Hardware mods:
    # they void your warranty
    # they may seem to work, but kill your machine later on
    # they are mostly unneeded, because the engineers who built a machine knew what they were doing...

  13. #12
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: [N4100+] Modules won't be enabled!

    Hi Stefan,

    this code
    Code:
    for file in "${source}/*" ; do
    will never work as the shell won't expand the start because it is inside double quotes. At least in every normal shell it will be like this.

    And your idea escaping spaces looks really weird.....

    What did you tell is the name of the crappy shell? ash? what version?

    Maybe I have a better idea:

    Code:
    for file in $(/bin/ls -1A "$source/") ; do
    Andreas

    P.S. I'm really happy the N5200 having at least a reasonable shell. What we're discussing about doesn't apply to the N5200 at all

  14. #13
    Registered+
    Join Date
    Aug 2007
    Location
    Ilmenau / Jena
    Posts
    73
    Thanks
    1
    Thanked
    0 times in 0 posts

    Re: [N4100+] Modules won't be enabled!

    great idea. Thanks for the hint. I'll look into it after the weekend.
    Hardware mods:
    # they void your warranty
    # they may seem to work, but kill your machine later on
    # they are mostly unneeded, because the engineers who built a machine knew what they were doing...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with choosing a U3 enabled flash drive
    By Workaholic in forum PC Hardware and Components
    Replies: 15
    Last Post: 23-08-2007, 12:03 AM
  2. BE originally enabled - come to sign up and not enabled ...
    By unrealrocks in forum Networking and Broadband
    Replies: 7
    Last Post: 21-08-2007, 02:41 PM
  3. Replies: 0
    Last Post: 19-12-2005, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •