CommunityCube / debian-autoscript

GNU General Public License v2.0
20 stars 14 forks source link

unable to write /etc/resolv.conf #34

Open JOduMonT opened 8 years ago

JOduMonT commented 8 years ago

Hi;

I tried twice with the same result after executing autoscript-system and reboot

i'm unable to edit /etc/resolv.conf and my machine receive an IP and a gateway from my DHCP but it unable to communicate on the internet because my DNS is stock at 127.0.0.1

did anybody had this issue before ?

[UPDATE] if I follow the script manually and skip the HostAP part (I don't have wireless) even after a reboot I could communicate with the internet but the ISC-DHCP service is unable to start; it claim a miss configuration [UPDATE]

after executing autoscript-service and reboot I have the same result no dns communication, but I could PING 8.8.8.8

MikeBuzz commented 8 years ago

the last line in autoscript-service does the following

chattr +i /etc/resolv.conf

A file with the i attribute cannot be modified.

what i did was remove this line from the script and let it run reboot and it should then be ok, but have not looked at this for nearly 6months as the project is more or less dead

orwellencarnation commented 8 years ago

Not yet dead, but we are not using centralized github.

On 2015-11-19 12:08, MikeBuzz wrote:

the last line in autoscript-service does the following

chattr +i /etc/resolv.conf

A file with the i attribute cannot be modified.

what i did was remove this line from the script and let it run reboot and it should then be ok, but have not looked at this for nearly 6months as the project is more or less dead

Reply to this email directly or view it on GitHub [1].

Links:

[1] https://github.com/CommunityCube/debian-autoscript/issues/34#issuecomment-158024914