Results 1 to 5 of 5

Thread: /etc/resolve.conf cant be modify

  1. #1

    Red face /etc/resolve.conf cant be modify

    I modify resolve.conf with vi to:

    nameserver 192.168.0.1

    After that:

    flashfs save
    flashfs commit
    flashfs enable

    After reboot resolve.conf has lost his new values.

    Why? May be a web modification?

    thanks all. And sorry with my english.

  2. #2
    you have to add an entry for this file in /usr/local/.files else this file will not be modified on the flash...

  3. #3

    Unhappy still the problem

    Quote Originally Posted by Tom_B
    you have to add an entry for this file in /usr/local/.files else this file will not be modified on the flash...
    Excuse me! the file was added to /usr/local/.files

    i'm using Oleg 1.9.2.7-5a and do:


    Code:
    [tase@asusjuan etc]$ cat /etc/resolv.conf 
    nameserver 192.168.0.1
    [tase@asusjuan etc]$ cat /usr/local/.files 
    /etc/smb.conf
    /etc/smbpasswd
    /etc/smb.conf
    /etc/smbpasswd
    /etc/profile
    /etc/resolv.conf
    /etc/smb.conf
    /etc/smbpasswd
    [tase@asusjuan etc]$ flashfs save
    tar: Removing leading '/' from member names
    etc/smbpasswd
    etc/smb.conf
    etc/resolv.conf
    etc/profile
    etc/smbpasswd
    etc/smb.conf
    etc/smbpasswd
    etc/smb.conf
    tmp/local/
    tmp/local/sbin/
    tmp/local/sbin/post-boot
    tmp/local/.files
    tmp/local/etc/
    tmp/local/etc/dropbear/
    tmp/local/etc/dropbear/dropbear_dss_host_key
    tmp/local/etc/dropbear/dropbear_rsa_host_key
    tmp/local/root/
    -rw-r--r--    1 tase     root         7711 Jan  1 06:31 /tmp/flash.tar.gz
    Check saved image and type "/sbin/flashfs commit" to commit changes
    [tase@asusjuan etc]$ flashfs commit
    Commited.
    [tase@asusjuan etc]$ flashfs enable
    [tase@asusjuan etc]$ reboot
    
    [After reboot]
    
    [tase@asusjuan root]$ cat /etc/resolv.conf 
    nameserver 192.168.1.1

    Why?

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Yes, file is automatically generated using web settings. So, use web interface to change DNS server address.

  5. #5

    That's right

    This were the problem. In spain we've a expresion to this: if were a dog it bites you.

    thanks Oleg.

Similar Threads

  1. pppoe.conf
    By Vertygo in forum WL-500g Q&A
    Replies: 2
    Last Post: 26-09-2005, 14:37
  2. httpd.conf
    By barsju in forum WL-500g Q&A
    Replies: 0
    Last Post: 10-03-2005, 08:24
  3. How to modify a firmware ?
    By jclaudej in forum WL-500g Q&A
    Replies: 4
    Last Post: 28-01-2005, 19:51
  4. edit smb.conf manually ?
    By martin700 in forum WL-HDD Q&A
    Replies: 4
    Last Post: 13-12-2004, 17:43

Posting Permissions

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