Close

Results 1 to 9 of 9
  1. #1
    DF VIP Member
    tronads's Avatar
    Join Date
    Aug 2008
    Location
    Blackpool
    Posts
    2,483
    Thanks
    75
    Thanked:        244
    Karma Level
    328

    Help UNIX help required...

    Can anyone help me with this.
    I am working on a Kodibuntu box, but I do not have root access. I do however have superuser access with the built in kodi account.

    What I am needing to do is modify the dns settings in the /etc/resolv.conf file.

    So, I am logging in as the kodi user, then I am typing sudo su, or sudo -i and getting root level access.
    I am then modifying the /etc/resolv.conf file by using vi, and saving the file.

    I can then look in Kodi and view the network settings, and can see that they have changed. Also the plugin I needed to change the settings for is working.

    Unfortunately, the problem I have is that when I reboot the machine, the /etcresolv.conf file reverts back to its original format, minus the changes I have made. How is it doing this ?????

    If I type ls -ltr /etc/resolv.conf after I have made the changes, but before a reboot, I see the following :
    lrwxrwxrwx 1 root root 29 Dec 26 13:06 resolv.conf -> ../run/resolvconf/resolv.conf

    I have tried chmod'ing the file to 555 to prevent write access, but it makes no difference.

    Anyone know whats going on, and how I can stop it ?

  2. #2
    DF VIP Member BertRoot's Avatar
    Join Date
    Sep 2004
    Location
    Poppy Fields
    Posts
    23,955
    Thanks
    1,038
    Thanked:        2,059
    Karma Level
    2512

    Default Re: UNIX help required...



  3. #3
    DF VIP Member
    tronads's Avatar
    Join Date
    Aug 2008
    Location
    Blackpool
    Posts
    2,483
    Thanks
    75
    Thanked:        244
    Karma Level
    328

    Default Re: UNIX help required...

    Yes, looks like this is the cause. I have done some edits, and will restart the machine after the Liverpool match to see if its worked :-)

  4. #4
    DF VIP Member BertRoot's Avatar
    Join Date
    Sep 2004
    Location
    Poppy Fields
    Posts
    23,955
    Thanks
    1,038
    Thanked:        2,059
    Karma Level
    2512

    Default Re: UNIX help required...

    Good luck sailor.


  5. #5
    DF VIP Member
    tronads's Avatar
    Join Date
    Aug 2008
    Location
    Blackpool
    Posts
    2,483
    Thanks
    75
    Thanked:        244
    Karma Level
    328

    Default Re: UNIX help required...

    Made changes to both prepend and supersede in /etc/dhcp/dhclient.conf and also added in 2 nameservers in /etc/resolvconf/resolv.conf.d/base .
    Rebooted machine, and back to the same 127.0.0.1 value.

    FFS

  6. #6
    DF VIP Member BertRoot's Avatar
    Join Date
    Sep 2004
    Location
    Poppy Fields
    Posts
    23,955
    Thanks
    1,038
    Thanked:        2,059
    Karma Level
    2512

    Default Re: UNIX help required...



  7. #7
    DF VIP Member
    tronads's Avatar
    Join Date
    Aug 2008
    Location
    Blackpool
    Posts
    2,483
    Thanks
    75
    Thanked:        244
    Karma Level
    328

    Default Re: UNIX help required...

    Thats pretty much what I have been trying. Apparantly major changes to this resolvconf package have been made since 12.03 and I am not alone with this problem.
    After nearly 2 hours on it, I am thoroughly pissed off.

  8. #8
    DF VIP Member BertRoot's Avatar
    Join Date
    Sep 2004
    Location
    Poppy Fields
    Posts
    23,955
    Thanks
    1,038
    Thanked:        2,059
    Karma Level
    2512

    Default Re: UNIX help required...

    What a pain in the ass.


  9. #9
    DF VIP Member blacksheep's Avatar
    Join Date
    Jun 2006
    Location
    Manchester
    Posts
    3,877
    Thanks
    87
    Thanked:        265
    Karma Level
    545

    Default Re: UNIX help required...

    Create another resolv.conf file somewhere, have a startup script that runs after the wiping/changing linking/copying to the one you want and refresh network settings. Not the ideal solution but should work.

Similar Threads

  1. Telepui codes required ?
    By DeltamdX in forum Digital Satellite TV
    Replies: 1
    Last Post: 2nd October 2002, 12:29 AM
  2. Me55i@h-X required
    By BFG in forum Microsoft Consoles
    Replies: 4
    Last Post: 28th September 2002, 02:20 AM
  3. IBM T23 – CD-R/RW – Front Panel required
    By afrokiwi in forum PC Hardware
    Replies: 0
    Last Post: 17th September 2002, 06:53 PM
  4. Problem: Help required (tv issue)
    By brumbino in forum Digital Satellite TV
    Replies: 0
    Last Post: 17th September 2002, 01:51 PM

Social Networking Bookmarks

Posting Permissions

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