Change Primary DNS  [Solved]

Message
Author
User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Change Primary DNS

#1 Post by smilliken »

For some reason, and I don't have a clue why, but my connection to my network has changed. I have an IP Address for both my ISP and the network and it is consistent with my network. The Network manager shows that I have Wi-Fi and very strong signal to boot. But when I try to go any where the browser advise there is no connection to the network. When I check the Network Manger Connection Information, I see the Primary DNS is showing 192.168.1.XX which is different than the rest of the computers on the network, not the proper gateway.

I followed a post https://unix.stackexchange.com/question ... -debian-11 and it did fix things for a while, but it has reverted back to the same as shown above.

Is there a simple way to get the proper gateway back?

Thanks
Scott
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
CharlesV
Global Moderator
Posts: 7104
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#2 Post by CharlesV »

Please post your QSI
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Re: Change Primary DNS

#3 Post by smilliken »

CharlesV wrote: Wed Jun 07, 2023 11:46 am Please post your QSI

Code: Select all

System:    Kernel: 6.1.0-2mx-rt-amd64 [6.1.7-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-2mx-rt-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower August 28  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop Mobo: ASUSTeK model: P8Z68-V PRO v: Rev 1.xx serial: <filter> 
           BIOS: American Megatrends v: 3603 date: 11/09/2012 
CPU:       Info: Quad Core model: Intel Core i5-2500 bits: 64 type: MCP arch: Sandy Bridge 
           family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 6 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 26484 
           Speed: 1700 MHz min/max: 1600/5900 MHz Core speeds (MHz): 1: 1700 2: 1600 3: 1605 
           4: 1605 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, 
           RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
           vendor: ASUSTeK driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0102 
           class-ID: 0300 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2") 
           s-diag: 1055mm (41.5") 
           Monitor-1: HDMI-1 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2") 
           diag: 686mm (27") 
           Monitor-2: HDMI-3 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2") 
           diag: 686mm (27") 
           OpenGL: renderer: Mesa Intel HD Graphics 2000 (SNB GT1) v: 3.3 Mesa 22.0.5 
           compat-v: 3.1 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403 
           Sound Server-1: ALSA v: k6.1.0-2mx-rt-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel 82579V Gigabit Network vendor: ASUSTeK P8P67 Deluxe driver: e1000e 
           v: kernel port: f080 bus-ID: 00:19.0 chip-ID: 8086:1503 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR2413/AR2414 Wireless Network Adapter [AR5005G 802.11bg] 
           vendor: D-Link System WDA-1320 driver: ath5k v: kernel port: e000 bus-ID: 07:01.0 
           chip-ID: 168c:001a class-ID: 0200 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: ASUSTek Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 2-1.7:7 
           chip-ID: 0b05:179c class-ID: e001 
           Report: hciconfig ID: hci1 rfk-id: 2 state: up address: <filter> bt-v: 2.0 lmp-v: 3.0 
           sub-v: 9999 hci-v: 3.0 rev: 9999 
           Info: acl-mtu: 1022:8 sco-mtu: 121:3 link-policy: rswitch hold sniff 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
           Device-2: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb 
           v: 0.8 bus-ID: 5-1:2 chip-ID: 0a12:0001 class-ID: e001 
           Report: ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 1.2 lmp-v: 2.1 sub-v: 149c 
           hci-v: 2.1 rev: 149c 
           Info: acl-mtu: 310:10 sco-mtu: 64:8 link-policy: rswitch hold sniff park 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 1.16 TiB used: 340.41 GiB (28.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD6400AAKS-00A7B0 
           size: 596.17 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A 
           serial: <filter> rev: 3B01 scheme: MBR 
           ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD6400AAKS-22A7B0 
           size: 596.17 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A 
           serial: <filter> rev: 3B01 scheme: MBR 
Partition: ID-1: / raw-size: 50.08 GiB size: 48.99 GiB (97.83%) used: 13.76 GiB (28.1%) fs: ext4 
           dev: /dev/sda1 maj-min: 8:1 
           ID-2: /home raw-size: 543.91 GiB size: 534.3 GiB (98.23%) used: 150.47 GiB (28.2%) 
           fs: ext4 dev: /dev/sda3 maj-min: 8:3 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 2.18 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda2 maj-min: 8:2 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 28.0 C 
           Fan Speeds (RPM): cpu: 1258 fan-1: 0 fan-3: 1605 fan-4: 1163 fan-5: 1367 
           Power: 12v: N/A 5v: N/A 3.3v: 3.31 vbat: 3.38 
Repos:     Packages: note: see --pkg apt: 2067 lib: 1020 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb http://mxrepo.com/mx/testrepo/ bullseye test
           Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
           1: deb https://deb.opera.com/opera-stable/ stable non-free
           No active apt repos in: /etc/apt/sources.list.d/opera.list 
           Active apt repos in: /etc/apt/sources.list.d/virtualbox.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/virtualbox.gpg] http://download.virtualbox.org/virtualbox/debian/ bullseye contrib
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 279 Uptime: 2d 4h 57m wakeups: 3 Memory: 15.53 GiB used: 1.37 GiB (8.8%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)
You do not have the required permissions to view the files attached to this post.
Last edited by smilliken on Wed Jun 07, 2023 8:12 pm, edited 1 time in total.
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
CharlesV
Global Moderator
Posts: 7104
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#4 Post by CharlesV »

Properly posted. ( using the code buttons above.)

Code: Select all

System:    Kernel: 6.1.0-2mx-rt-amd64 [6.1.7-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-2mx-rt-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower August 28  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop Mobo: ASUSTeK model: P8Z68-V PRO v: Rev 1.xx serial: <filter> 
           BIOS: American Megatrends v: 3603 date: 11/09/2012 
CPU:       Info: Quad Core model: Intel Core i5-2500 bits: 64 type: MCP arch: Sandy Bridge 
           family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 6 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 26484 
           Speed: 1700 MHz min/max: 1600/5900 MHz Core speeds (MHz): 1: 1700 2: 1600 3: 1605 
           4: 1605 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, 
           RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
           vendor: ASUSTeK driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0102 
           class-ID: 0300 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2") 
           s-diag: 1055mm (41.5") 
           Monitor-1: HDMI-1 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2") 
           diag: 686mm (27") 
           Monitor-2: HDMI-3 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2") 
           diag: 686mm (27") 
           OpenGL: renderer: Mesa Intel HD Graphics 2000 (SNB GT1) v: 3.3 Mesa 22.0.5 
           compat-v: 3.1 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: ASUSTeK 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403 
           Sound Server-1: ALSA v: k6.1.0-2mx-rt-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel 82579V Gigabit Network vendor: ASUSTeK P8P67 Deluxe driver: e1000e 
           v: kernel port: f080 bus-ID: 00:19.0 chip-ID: 8086:1503 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR2413/AR2414 Wireless Network Adapter [AR5005G 802.11bg] 
           vendor: D-Link System WDA-1320 driver: ath5k v: kernel port: e000 bus-ID: 07:01.0 
           chip-ID: 168c:001a class-ID: 0200 
           IF: wlan0 state: up mac: <filter> 
Bluetooth: Device-1: ASUSTek Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 2-1.7:7 
           chip-ID: 0b05:179c class-ID: e001 
           Report: hciconfig ID: hci1 rfk-id: 2 state: up address: <filter> bt-v: 2.0 lmp-v: 3.0 
           sub-v: 9999 hci-v: 3.0 rev: 9999 
           Info: acl-mtu: 1022:8 sco-mtu: 121:3 link-policy: rswitch hold sniff 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
           Device-2: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb 
           v: 0.8 bus-ID: 5-1:2 chip-ID: 0a12:0001 class-ID: e001 
           Report: ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 1.2 lmp-v: 2.1 sub-v: 149c 
           hci-v: 2.1 rev: 149c 
           Info: acl-mtu: 310:10 sco-mtu: 64:8 link-policy: rswitch hold sniff park 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 1.16 TiB used: 340.41 GiB (28.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD6400AAKS-00A7B0 
           size: 596.17 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A 
           serial: <filter> rev: 3B01 scheme: MBR 
           ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD6400AAKS-22A7B0 
           size: 596.17 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A 
           serial: <filter> rev: 3B01 scheme: MBR 
Partition: ID-1: / raw-size: 50.08 GiB size: 48.99 GiB (97.83%) used: 13.76 GiB (28.1%) fs: ext4 
           dev: /dev/sda1 maj-min: 8:1 
           ID-2: /home raw-size: 543.91 GiB size: 534.3 GiB (98.23%) used: 150.47 GiB (28.2%) 
           fs: ext4 dev: /dev/sda3 maj-min: 8:3 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 2.18 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda2 maj-min: 8:2 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 28.0 C 
           Fan Speeds (RPM): cpu: 1258 fan-1: 0 fan-3: 1605 fan-4: 1163 fan-5: 1367 
           Power: 12v: N/A 5v: N/A 3.3v: 3.31 vbat: 3.38 
Repos:     Packages: note: see --pkg apt: 2067 lib: 1020 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ bullseye-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security/ bullseye-security non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
           2: deb http://mxrepo.com/mx/testrepo/ bullseye test
           Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
           1: deb https://deb.opera.com/opera-stable/ stable non-free
           No active apt repos in: /etc/apt/sources.list.d/opera.list 
           Active apt repos in: /etc/apt/sources.list.d/virtualbox.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/virtualbox.gpg] http://download.virtualbox.org/virtualbox/debian/ bullseye contrib
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 279 Uptime: 2d 4h 57m wakeups: 3 Memory: 15.53 GiB used: 1.37 GiB (8.8%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
CharlesV
Global Moderator
Posts: 7104
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#5 Post by CharlesV »

I am assuming you dont have any kind of proxy or VPN software on board ?


Open Advanced Network Connections

Double click on your current Wi-Fi connection and go to the IPv4 Settings tab.
For a correct DHCP setting the Method should Automatic (DHCP) and all other fields should be empty. (Unless you *want* to define other DNS servers, and then you would put those entries into the Additional DNS Servers field.

Also verify that the proxy tab, Method is st to none.

Save it and either restart networking or reboot.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Re: Change Primary DNS

#6 Post by smilliken »

CharlesV wrote: Wed Jun 07, 2023 8:15 pm I am assuming you dont have any kind of proxy or VPN software on board ?


Open Advanced Network Connections

Double click on your current Wi-Fi connection and go to the IPv4 Settings tab.
For a correct DHCP setting the Method should Automatic (DHCP) and all other fields should be empty. (Unless you *want* to define other DNS servers, and then you would put those entries into the Additional DNS Servers field.

Also verify that the proxy tab, Method is st to none.

Save it and either restart networking or reboot.
No proxy nor VPN being used.

All settings in the Network Connections are set as you stated above.

The file /etc/resolv.conf has a line in it stating it was generated by NetworkManager, states nameserver 192.168.1.XXX which is the IP Address that shows up in the connection information and is not my router.

I changed the IP Address to match my router and the other computers on the network and rebooted.

The file reverted back to the originating IP Address.
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Re: Change Primary DNS

#7 Post by smilliken »

CharlesV wrote: Wed Jun 07, 2023 8:15 pm I am assuming you dont have any kind of proxy or VPN software on board ?


Open Advanced Network Connections

Double click on your current Wi-Fi connection and go to the IPv4 Settings tab.
For a correct DHCP setting the Method should Automatic (DHCP) and all other fields should be empty. (Unless you *want* to define other DNS servers, and then you would put those entries into the Additional DNS Servers field.

Also verify that the proxy tab, Method is st to none.

Save it and either restart networking or reboot.
No proxy nor VPN being used.

All settings in the Network Connections are set as you stated above.

The file /etc/resolv.conf has a line in it stating it was generated by NetworkManager, states nameserver 192.168.1.XXX which is the IP Address that shows up in the connection information and is not my router.

I changed the IP Address to match my router and the other computers on the network and rebooted.

The file reverted back to the originating IP Address.

I commented the line out of the file, saved it and reboot, only to find the file changed back to its original and the line was uncommented.
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
CharlesV
Global Moderator
Posts: 7104
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#8 Post by CharlesV »

So, some software is changing that - usually it is your dhcp doing it. if your router is not 192.168.1.x then make sure you have no other dhcp server on your network. Defaulting 192.168.1.1 routers or devices can wreak havoc on a router that is set to 192.168.1.1 and and if yours is.. then you can avoid much grief by moving that .1 to something else!

As a work around, you could set static IP until you find out whats going on. That same Advanced Network Connections, IPv4 tab, change to static and fill in the info from your other machine, but make sure your IP is one that either NOT be handed out by you router or one that is VERY high up in the ip schema. (example: I *always* set my router to hand out dhcp with the last octoids being .101 ~ 250 .. this way I can always 'duck under' 101.. so set a static of .99 if I need to. )

Most network guys have an IP schema they use for "knowing" where things MIGHT be on their network - if your router is set to .1 and starts handing out dhcp at .2 and goes up to .250 like so many... then your going to have to just plug in someplace where it 'normally wont assign addresses" and test it there. Higher IP's are usually better.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
smilliken
Posts: 207
Joined: Tue Feb 06, 2007 10:47 pm

Re: Change Primary DNS

#9 Post by smilliken »

CharlesV wrote: Wed Jun 07, 2023 9:02 pm So, some software is changing that - usually it is your dhcp doing it. if your router is not 192.168.1.x then make sure you have no other dhcp server on your network. Defaulting 192.168.1.1 routers or devices can wreak havoc on a router that is set to 192.168.1.1 and and if yours is.. then you can avoid much grief by moving that .1 to something else!

As a work around, you could set static IP until you find out whats going on. That same Advanced Network Connections, IPv4 tab, change to static and fill in the info from your other machine, but make sure your IP is one that either NOT be handed out by you router or one that is VERY high up in the ip schema. (example: I *always* set my router to hand out dhcp with the last octoids being .101 ~ 250 .. this way I can always 'duck under' 101.. so set a static of .99 if I need to. )

Most network guys have an IP schema they use for "knowing" where things MIGHT be on their network - if your router is set to .1 and starts handing out dhcp at .2 and goes up to .250 like so many... then your going to have to just plug in someplace where it 'normally wont assign addresses" and test it there. Higher IP's are usually better.
Only 1 router on the network and the gateway is at the other end of the .1 spectrum. I have made changes to the adapter for the Static IP and added the Gateway which is my router. I've rebooted several times and the Network Connections show the Primary Router as correct, but there is no entry for the Primart DNS and have no access to the internet.

Is there some package that could be uninstalled and then reinstalled that would possible correct this?
There is no "Ctrl+Z" in life!
Asus X570, Rysen 3600, 32 GB RAM MX-21
Acer 7551G MX-21 & Win 10
Asus i5, 16 GB RAM MX-21 & Win 10
Brother DCP-7065DN/HL-L3270CDW
Linux User# 4523410

User avatar
CharlesV
Global Moderator
Posts: 7104
Joined: Sun Jul 07, 2019 5:11 pm

Re: Change Primary DNS

#10 Post by CharlesV »

Try adding a DNS - either your router or 1.1.1.1 or some other dns server.

This is the third time I have heard someone tell of this type of thing, I will look around and see if I can find anything more about it.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “Hardware /Configuration”