How to change the default ip address of the external Wi-Fi adapter?

Good evening, everyone. There is an external wifi adapter connected to the PC, the computer is connected to wi-fi router to your network card and adapter gives Internet with this PC. Everything works, but there is one thing. How to change the address issued when connected to this adapter other devices? Team 192.169.2.1 ip addr add/24 dev wlxc04a002f9202 where wlxc04a002f9202 - external adapter changes only the address in ifcconfig and there are times when does not heard of the Internet. Default address which is distributed to devices is 10.42.0.1 and with exactly the same address dnsmasq hanging in netstat-e, therefore, dnsmasq determines what address will the adapter and a client connected to it. How can I change it? Dnsmasq runs only when the distribution of wi-fi with this adapter, up to this point it is off. In /etc/dnsmasq.conf nothing but commented out lines of no, Yes and never settings have not been changed to not used it. Here is what netstat
tcp 0 0 10.42.0.1:53 0.0.0.0:* LISTEN 5596/dnsmasq 
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1013/cupsd 
tcp6 0 0 ::1:631 :::* LISTEN 1013/cupsd 
udp 0 0 0.0.0.0:5353 0.0.0.0:* 981/avahi-daemon: r
udp 0 0 0.0.0.0:48729 0.0.0.0:* 981/avahi-daemon: r
udp 0 0 10.42.0.1:53 0.0.0.0:* 5596/dnsmasq 
udp 0 0 0.0.0.0:67 0.0.0.0:* 5596/dnsmasq 
udp 0 0 0.0.0.0:68 0.0.0.0:* 1540/dhclient 
udp 0 0 10.42.0.1:123 0.0.0.0:* 1359/ntpd 
udp 0 0 192.168.1.24:123 0.0.0.0:* 1359/ntpd 
udp 0 0 127.0.0.1:123 0.0.0.0:* 1359/ntpd 
udp 0 0 0.0.0.0:123 0.0.0.0:* 1359/ntpd 
udp 0 0 0.0.0.0:631 0.0.0.0:* 1069/cups-browsed
udp6 0 0 :::5353 :::* 981/avahi-daemon: r
udp6 0 0 :::36367 :::* 981/avahi-daemon: r
udp6 0 0 fe80::c24a:ff:fe2f::123 :::* 1359/ntpd 
udp6 0 0 fe80::2f48:7caa:3f7:123 :::* 1359/ntpd 
udp6 0 0 ::1:123 :::* 1359/ntpd 
udp6 0 0 :::123 :::* 1359/ntpd 
raw6 0 0 :::58 :::* 7 971/NetworkManager

What do you say? Where to look to change my address?
June 27th 19 at 14:55
1 answer
June 27th 19 at 14:57
it is not entirely clear.
what is the address of the adapter?
all the devices should not be handed out one address 10.42.0.1, everyone should be your.
for the distribution network setting the customer service is dhcpd.
10.42.0.1 is the address of the adapter in ifconfig and the address issued to the device when connected to this adapter, but I can't deny that all have different address, for connect only one device. If the distribution meets dhcpd, dnsmasq that can perform this function instead(if I'm not mistaken), again come to the conclusion that it is not clear where to change the settings for it. What do you say? - Demario.Wel commented on June 27th 19 at 15:00
I'm hard to understand, but still did not work, could you help me? Once you have attempted to answer this question, then engaged the dialogue, and somehow not tactful to get. If you are not hard of course, and then you went missing for an indefinite period, and has not responded to my message, but I did the following things. In the file /etc/dnsmasq.conf I added the following lines
interface=wlxc04a002f8201
dhcp-range=192.168.2.1,192.168.2.10,24 h
dhcp-option=2,255.255.255.0
dhcp-option=3,192.168.2.1

Nothing has changed, then I installed isc-dhcp-server, configured it as /etc/dhcp/dhcp.conf file add this
subnet 192.168.2.0 netmask 255.255.255.0 {
 range 192.168.2.2 192.168.2.10;
 option domain-name-servers 192.168.1.1;
 option domain-name "workgroup";
 option routers 192.168.2.1;
 option broadcast-address 192.168.2.255;
 default-lease-time 604800;
 max-lease-time 604800;
}

and in /etc/default/isc-dhcp-server pointed to your interface
INTERFACES="wlxc04a002f9202"
And still nothing has changed. Address 10.42.0.1 as was and remained, however hard you try. You have no ideas about this? - Demario.Wel commented on June 27th 19 at 15:03

Find more questions by tags System administration* nix-like systemsLinuxWi-Fi