Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #248197
| From | Richmond <richmond@criptext.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Editing the DNS with Network Manager Non Root |
| Date | 2022-05-14 12:20 +0200 |
| Message-ID | <EmX2p-foWo-3@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <Emi8V-eZFE-19@gated-at.bofh.it> <Emqg9-f4Eg-3@gated-at.bofh.it> <EmGkV-ff26-1@gated-at.bofh.it> <EmIG5-fggz-1@gated-at.bofh.it> <EmJst-fgLy-1@gated-at.bofh.it> |
| Organization | Frantic |
Richmond <richmond@criptext.com> writes: > David Christensen <dpchrist@holgerdanske.com> writes: > >> On 5/13/22 09:02, Richmond wrote: >>> David Christensen writes: >>>> On 5/12/22 07:17, Richmond wrote: >>>>> David Christensen writes: >>>>>> On 5/11/22 06:55, Richmond wrote: >>>>>>> I have a network manager applet on my xfce4 desktop. I am logged >>>>>>> in as a non root user, and I can select edit connections and >>>>>>> change the IPv4 settings to DHCP address only and then put in a >>>>>>> DNS, then save. If I look at /etc/resolv.conf though nothing has >>>>>>> changed. Restarting networking or rebooting makes no >>>>>>> difference. Perhaps this menu option should only appear for >>>>>>> root, or should cause an error message for non root users? >> >>>> If I choose "Automatic (DHCP) addresses only", the labels for the >>>> second and third settings change. Putting in some test data: >>>> >>>> Additional static addresses -> Add: Address -> 192.168.123.45 >>>> Netmask -> 255.255.255.0 Gateway -> 192.168.5.1 >>>> >>>> DNS servers -> 192.168.123.45,192.168.123.67 >>>> >>>> Search domains -> frunobulax.org >>>> >>>> DHCP client ID -> empty >>>> >>>> Require IPv4 addressing for this connection to complete -> >>>> unchecked >>>> >>>> >>>> I then click "Save". >>>> >>>> >>>> I then enter the root password in the pop-up that opens. >>>> >>>> >>>> I then close the "Network Connections" window and reboot. >>>> >>>> 2022-05-12 16:10:25 dpchrist@laalaa ~ $ ls -l /etc/resolv.conf >>>> -rw-r--r-- 1 root root 104 May 12 16:09 /etc/resolv.conf >>>> >>>> 2022-05-12 16:10:34 dpchrist@laalaa ~ $ cat /etc/resolv.conf # >>>> Generated by NetworkManager search frunobulax.org nameserver >>>> 192.168.123.45 nameserver 192.168.123.67 >>>> >>>> >>>> Is this the results you expect? >> >>> I didn't put in a search domain, netmask, or gateway. >> >> >> Put them in and try again. Without crawling the code, we have no >> idea what actually matters. >> >> >>> I didn't get prompted for root access. Perhaps that is the problem? >> >> >> I would suspect it indicates that Network Manager does not think your >> network settings changed. >> >> >>> stat /etc/resolv.conf shows that the file has been updated but its >>> content doesn't change. >> >> >> My /etc/resolv.conf did not change after running Network Manager; it >> changed after rebooting. (Is the former a bug or a feature?) >> >> >> What happens if you create a new connection and use the Manual >> method? >> >> >> If all else fails -- backup, pull the OS disk, insert a blank disk, >> do a fresh install, and restore. Keep meticulous records. Use a >> version control system. Learn a scripting language and automate >> sysadmin chores. >> >> >> David > > I switched to the mate desktop, and the procedure works, i.e. it > prompts for a root password and updates resolv.conf, after > disconnecting and reconnecting the network. > > I expect there is some component of xfce4 which is supposed to prompt > for the root password. Perhaps it is not installed. I don't know what > it is called. Is there a debian package for this? : https://aur.archlinux.org/packages/xfce-polkit "A simple PolicyKit authentication agent for XFCE"
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Editing the DNS with Network Manager Non Root Richmond <richmond@criptext.com> - 2022-05-11 16:20 +0200
Re: Editing the DNS with Network Manager Non Root David Christensen <dpchrist@holgerdanske.com> - 2022-05-11 22:50 +0200
Re: Editing the DNS with Network Manager Non Root Richmond <richmond@criptext.com> - 2022-05-12 16:40 +0200
Re: Editing the DNS with Network Manager Non Root David Christensen <dpchrist@holgerdanske.com> - 2022-05-13 01:20 +0200
Re: Editing the DNS with Network Manager Non Root Richmond <richmond@criptext.com> - 2022-05-13 18:30 +0200
Re: Editing the DNS with Network Manager Non Root David Christensen <dpchrist@holgerdanske.com> - 2022-05-13 21:00 +0200
Re: Editing the DNS with Network Manager Non Root Greg Wooledge <greg@wooledge.org> - 2022-05-13 21:10 +0200
Re: Editing the DNS with Network Manager Non Root David Wright <deblis@lionunicorn.co.uk> - 2022-05-13 22:50 +0200
Re: Editing the DNS with Network Manager Non Root Greg Wooledge <greg@wooledge.org> - 2022-05-13 23:30 +0200
Re: Editing the DNS with Network Manager Non Root Greg Wooledge <greg@wooledge.org> - 2022-05-14 02:50 +0200
Re: Editing the DNS with Network Manager Non Root David Wright <deblis@lionunicorn.co.uk> - 2022-05-14 06:40 +0200
Re: Editing the DNS with Network Manager Non Root David Wright <deblis@lionunicorn.co.uk> - 2022-05-16 05:50 +0200
Re: Editing the DNS with Network Manager Non Root Greg Wooledge <greg@wooledge.org> - 2022-05-16 13:20 +0200
Re: Editing the DNS with Network Manager Non Root David Wright <deblis@lionunicorn.co.uk> - 2022-05-16 17:50 +0200
Re: Editing the DNS with Network Manager Non Root David Wright <deblis@lionunicorn.co.uk> - 2022-05-14 06:40 +0200
Re: Editing the DNS with Network Manager Non Root Vincent Lefevre <vincent@vinc17.net> - 2022-05-16 01:40 +0200
Re: Editing the DNS with Network Manager Non Root David Wright <deblis@lionunicorn.co.uk> - 2022-05-16 17:50 +0200
Re: Editing the DNS with Network Manager Non Root <tomas@tuxteam.de> - 2022-05-14 07:20 +0200
Re: Editing the DNS with Network Manager Non Root David Christensen <dpchrist@holgerdanske.com> - 2022-05-14 00:10 +0200
Re: Editing the DNS with Network Manager Non Root Richmond <richmond@criptext.com> - 2022-05-13 21:50 +0200
Re: Editing the DNS with Network Manager Non Root Richmond <richmond@criptext.com> - 2022-05-14 12:20 +0200
Re: Editing the DNS with Network Manager Non Root <tomas@tuxteam.de> - 2022-05-14 13:30 +0200
Re: Editing the DNS with Network Manager Non Root Richmond <richmond@criptext.com> - 2022-05-14 15:20 +0200
Re: Editing the DNS with Network Manager Non Root David Christensen <dpchrist@holgerdanske.com> - 2022-05-15 00:20 +0200
Re: Editing the DNS with Network Manager Non Root Richmond <richmond@criptext.com> - 2022-05-15 16:20 +0200
Re: Editing the DNS with Network Manager Non Root David Christensen <dpchrist@holgerdanske.com> - 2022-05-16 02:30 +0200
Re: Editing the DNS with Network Manager Non Root Richmond <richmond@criptext.com> - 2022-05-16 11:40 +0200
csiph-web