Why does DNS stop working for my Linux laptop?

rtcoder
Posts: 51
Joined: Tue May 10, 2016 8:13 pm

Why does DNS stop working for my Linux laptop?

Postby rtcoder » Tue Jun 07, 2016 11:19 pm

After about a minute has passed after connecting to the network, I cannot get to my HDA dash from my Linux Mint 17.2 Cinnamon laptop with http://hda. It works fine on all other devices but my Linux laptop. And only the local DNS doesn't work - I can still go to Google and all. So why is this happening? How can I troubleshoot this problem? It is frustrating to have to disable and re-enable my WiFi every time I want to access my server.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Why does DNS stop working for my Linux laptop?

Postby bigfoot65 » Wed Jun 08, 2016 6:05 am

Sounds like a problem with your client not receiving it's DHCP lease from the HDA.

Recommend you check that the Linux machine has DHCP and DNS from the HDA.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rtcoder
Posts: 51
Joined: Tue May 10, 2016 8:13 pm

Re: Why does DNS stop working for my Linux laptop?

Postby rtcoder » Wed Jun 08, 2016 1:11 pm

DNS is my Amahi HDA.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Why does DNS stop working for my Linux laptop?

Postby bigfoot65 » Wed Jun 08, 2016 3:47 pm

So the Linux client reflects DHCP and DNS of the HDA.

If so then there should be no issue unless there is something on the client causing the problem.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rtcoder
Posts: 51
Joined: Tue May 10, 2016 8:13 pm

Re: Why does DNS stop working for my Linux laptop?

Postby rtcoder » Wed Jun 08, 2016 5:12 pm

I cannot figure out how to view the DHCP server address on my Linux machine. According to a terminal method I found to view DNS, my DNS server is 127.0.1.1, localhost, which obviously cannot be. According to the network info popup that I can view via my desktop, my DNS is the address of my HDA. I see nothing for address of DHCP server.

If it helps to know, there is no option to disable DHCP on my router except for putting it in complete bridge mode and disabling wireless. So, I used the workaround to set the available DHCP range for leasing to include only the reserved IP of my HDA, allowing my HDA to give out DHCP leases.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Why does DNS stop working for my Linux laptop?

Postby bigfoot65 » Wed Jun 08, 2016 5:28 pm

Using command line you can view IP address:

Code: Select all

ip address
Verify that matches what the HDA is handing out.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rtcoder
Posts: 51
Joined: Tue May 10, 2016 8:13 pm

Re: Why does DNS stop working for my Linux laptop?

Postby rtcoder » Wed Jun 08, 2016 5:28 pm

That does not show DNS or DHCP.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Why does DNS stop working for my Linux laptop?

Postby bigfoot65 » Wed Jun 08, 2016 6:07 pm

That works on most Linux clients. What was the output?

Also you can try:

Code: Select all

ifconfig
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rtcoder
Posts: 51
Joined: Tue May 10, 2016 8:13 pm

Re: Why does DNS stop working for my Linux laptop?

Postby rtcoder » Wed Jun 08, 2016 6:41 pm

Output of ifconfig:

Link encap:Ethernet HWaddr ac:7b:a1:ae:f5:e2
inet addr:10.0.0.191 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: 2601:646:9680:ea26::ffda/128 Scope:Global
inet6 addr: 2601:646:9680:ea26:9556:365e:9b46:96e2/64 Scope:Global
inet6 addr: fe80::ae7b:a1ff:feae:f5e2/64 Scope:Link
inet6 addr: 2601:646:9680:ea26:ae7b:a1ff:feae:f5e2/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:198282 errors:0 dropped:0 overruns:0 frame:0
TX packets:148294 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:159123340 (159.1 MB) TX bytes:67082924 (67.0 MB)

Although it says Ethernet at top, it is the wlan0 interface. I don't see DNS or DHCP.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Why does DNS stop working for my Linux laptop?

Postby bigfoot65 » Wed Jun 08, 2016 6:48 pm

net addr:10.0.0.191 Bcast:10.0.0.255 Mask:255.255.255.0
This appears to be your DHCP address. Is that from your HDA?

If not, then that is your issue.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 16 guests