You are not logged in.
Pages: 1
where is this file located? As in kali linux we can found this in /etc/dhcp/dhclient..conf but i am unable to find this file in arch. and pacman -Ss dhcp shows that it is installed.
Last edited by CodieStrong (2019-08-18 17:58:14)
Offline
pacman -Ql dhcpOffline
Thanks but it doesn't show dhclient.conf however there are file named dhcpd.conf, i am clueless how to change dns server
Offline
I believe -Ss shows what is synced, not what is installed:
-s, --search <regexp>
This will search each package in the sync databases for names or descriptions that match regexp. When you include multiple search terms, only packages with descriptions matching ALL of those terms will be returned.Are you sure it is installed. One way would be to use the find command. Here is a simple search
sudo find / -name "dhclient.conf" man find for more information and how to refine the search.
Offline
when i run find command it returned nothing. Is there a possibility that there is no dhclient.conf file in my system?
Last edited by CodieStrong (2019-08-18 09:10:17)
Offline
That is probably the case, yes.
Offline
Do i have to create it by myself? or i have to install something
Last edited by CodieStrong (2019-08-18 09:30:24)
Offline
I would need to know more about what you want to do. From your other post, I would start with
man resolveconf to see if that helps you, but you can create one yourself. There are examples on the Web. I do not use one myself, and anyway without specific knowledge of your needs and desires, any examples I give would be meaningless.
Offline
I want to change the dns server in the dhcp.conf file. or more specific prepend domain name servers, i want to add some new servers there. When i type dhclient then RTNETLINK says file exists
Last edited by CodieStrong (2019-08-18 10:36:41)
Offline
There is a dhclient package in Extra, install that if you like, or search for:
man dhclient man dhclient.conf and create /etc/dhclient.conf if it is not there. Someone else might have other ideas, but keep in mind man pages are your friend. Everything you need is there.
Offline
Thanks bro its sorted, I just went to /usr/share/dhclient.conf.example and copy tht to my /etc/dhclient.conf here i created a file dhclient.conf and that's it
Offline
Please remember to mark your thread as solved by editing the first post and amending the topic title.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Pages: 1