[FW]Solution for /etc/resolv.conf must be a symlink

Viewing Error:

/etc/resolv.conf must be a symlink

Solutions

  1. Anonymous

    around 2 months ago...

    No votes yet

    It worked!!

    Thanks!
  2. Anonymous

    around 2 months ago...

    No votes yet

    I had to use ubuntu in virtualBox to connect to a cisco vpn network. It actually worked with vpnc in virtual PC by microsoft, but I could not change the resolution there. Anyway I couldn’t get it to work in virtualBox, vpnc that is. It comes up with this same symlink error and when I type this line in the console:
    sudo ln -s /etc/resolvconf/run/resolv.conf’
    and then run vpnc again I still get the error:
    /etc/resolv.conf must be a symlink

    This is just too much. I’m giving up on Ubuntu and Linux.

    Cheers.
  3. Anonymous

    around 6 months ago...

    No votes yet

    If I do step2 I get: No such file or directory. What to do?
  4. Anonymous

    around 6 months ago...

    No votes yet

    It means that /etc/resolv.conf must be a symlink :)

    Try this:
    1. Back up your existing resolv.conf file (just in case): ‘sudo mv /etc/resolv.conf /etc/resolv.conf.backup’
    2. Create a symlink to /etc/resolvconf/run/resolv.conf: ‘sudo ln -s /etc/resolvconf/run/resolv.conf’

    That should do it. If it doesn’t you can replace your old resolv.conf with ‘sudo mv /etc/resolv.conf.backup /etc/resolv.conf’

    Cheers,
    -Jason
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值