Results 1 to 9 of 9

Thread: Problem with save rc.local

  1. #1
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    35

    Problem with save rc.local

    Hi,
    i have a problem with "/opt/etc/rc.local".
    I edit it with "sudo vi rc.local". Then I changed the hdparm... lines to "hdparm -S 60 ....". But I cant save this file now. I use in the vi editor ":w", but it doesnt save my file. Can some one help me?

    Joe

  2. #2
    Join Date
    Jan 2007
    Location
    The Netherlands
    Posts
    244
    Quote Originally Posted by joe12345 View Post
    Hi,
    i have a problem with "/opt/etc/rc.local".
    I edit it with "sudo vi rc.local". Then I changed the hdparm... lines to "hdparm -S 60 ....". But I cant save this file now. I use in the vi editor ":w", but it doesnt save my file. Can some one help me?

    Joe
    Look here: http://wl700g.homelinux.net/drupal/?q=node/134

    There is also a FAQ in it. I guess it should say that, before you try to edit rc.local, you should have read http://wl700g.homelinux.net/drupal/?q=node/187

    Maybe Kfurge can add this to his neat FAQ list.
    Regards,
    Marc

  3. #3
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    35
    Thank You.
    It works very well!!!
    I have only one question:
    If I use "sudo bash -l" my system takes an error like "username is not in the sudoers file.....". Where can I found this file? Can I edit this sudoers file and how?

    I have found this: http://wl700g.homelinux.net/drupal/?q=node/84
    But I dont want to have my username with administrative functions, I want to make it like a normal user. How can I do that?

  4. #4
    Join Date
    Jan 2007
    Location
    The Netherlands
    Posts
    244
    Hi,

    Probably this contains the answer:
    http://wl500g.info/showthread.php?p=...file#post42997

    Regards,
    Marc

  5. #5
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    35
    Hi
    Thanks. I m a linux noob so i have this noob questions. But thanks for answer this.

    Best regards,
    Joe

  6. #6
    Quote Originally Posted by mumsoft View Post
    Maybe Kfurge can add this to his neat FAQ list.
    Sorry, add what? I couldn't follow.

    - K.C.

  7. #7
    Join Date
    Jan 2007
    Location
    The Netherlands
    Posts
    244
    Quote Originally Posted by kfurge View Post
    Sorry, add what? I couldn't follow.

    - K.C.
    Kfurge, I have answered so many questions like this (Goodness! I like to edit rc.local, and guess... it does not work! Verrry strange! How come?), that I think it would be nice to have this question (sort of) in your FAQ.
    I always answer with some variety of this:

    "before you try to edit rc.local, you should have read http://wl700g.homelinux.net/drupal/?q=node/187"

    I don't think that the questions will disappear, but at least I could link them to the FAQ.

    Thanks a lot,
    Regards,
    Marc

  8. #8
    Quote Originally Posted by mumsoft View Post
    Maybe Kfurge can add this to his neat FAQ list.
    How about this... Check out the latest revision of

    http://wl700g.homelinux.net/drupal/?q=node/187

    which now points you to the FAQ.

    FWIW, The FAQ already had this in it: Q. I've really messed up my rc.local and now my router won't boot. How can I fix it?


    - K.C.

  9. #9
    Join Date
    Jan 2007
    Location
    The Netherlands
    Posts
    244
    Quote Originally Posted by kfurge View Post
    How about this... Check out the latest revision of

    http://wl700g.homelinux.net/drupal/?q=node/187

    which now points you to the FAQ.

    FWIW, The FAQ already had this in it: Q. I've really messed up my rc.local and now my router won't boot. How can I fix it?


    - K.C.
    Dear KFurge, I really appreciate your effort. But, pointing to the FAQ at the very place where it is described what to do to get a writable /opt directory, and having a FAQ-entry about a messed up rc.local is, i.m.h.o., a step too far.

    The problem really is that some people like to mess up their rc.local, but can't update the rc.local, because they missed http://wl700g.homelinux.net/drupal/?q=node/187

    Rather I would like to see a FAQ-entry about this:
    "I can't edit my rc.local, how come?"
    Just installing the firmware gives you a read-only version of /opt. If you want to change anything, you should start here http://wl700g.homelinux.net/drupal/?q=node/187

    Or sort of.

    regards,
    Marc

Similar Threads

  1. Asus + Zadacom default gateway problem
    By Anttu in forum WL-500gP Q&A
    Replies: 5
    Last Post: 29-02-2008, 06:35
  2. Rc.local problem
    By ZZero in forum WL-700g Q&A
    Replies: 9
    Last Post: 07-08-2007, 13:12
  3. rc.local loading problem
    By batmanone in forum WL-700g Q&A
    Replies: 6
    Last Post: 25-05-2007, 02:48
  4. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 12:59

Posting Permissions

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