Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Solved] Configure ssh and Unison; ssh not working
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
dpeirce



Joined: Wed Sep 13, 2006 12:26 am
Posts: 31
Location: Central Texas

PostPosted: Sat Apr 13, 2013 7:57 pm    Post subject: Reply with quote

I first tried entering my ISP's DNS server number directly into Network manager on both machines. That pretty well took care of the speed problem. It also removed the spurious IP #s Smile; now I can take those extra entries out from my hosts file. Dig now shows this on both machines:

Code:

dave@tower-host-mepis:~$ dig

; <<>> DiG 9.7.3 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21976
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;.                              IN      NS

;; ANSWER SECTION:
.                       471024  IN      NS      i.root-servers.net.
.                       471024  IN      NS      l.root-servers.net.
.                       471024  IN      NS      d.root-servers.net.
.                       471024  IN      NS      m.root-servers.net.
.                       471024  IN      NS      a.root-servers.net.
.                       471024  IN      NS      k.root-servers.net.
.                       471024  IN      NS      g.root-servers.net.
.                       471024  IN      NS      e.root-servers.net.
.                       471024  IN      NS      b.root-servers.net.
.                       471024  IN      NS      h.root-servers.net.
.                       471024  IN      NS      f.root-servers.net.
.                       471024  IN      NS      c.root-servers.net.
.                       471024  IN      NS      j.root-servers.net.

;; Query time: 74 msec
;; SERVER: 207.14.235.234#53(207.14.235.234)
;; WHEN: Sat Apr 13 13:48:30 2013
;; MSG SIZE  rcvd: 228

dave@tower-host-mepis:~$


Dutch Master, I entered your ISP's number in Network Manager. It's working but extremely slowly (almost 3 minutes to download this forum page). Whatever is wrong in my modem, it doesn't like your ISP's number. Thanks anyway.

Nelz, I tried the OpenDNS number (208.67.222.222) but it wasn't as fast as my ISP.

Putting my ISP's DNS server number directly into the Network Managers has "solved" the speed problem at least temporarily. I also tried putting the numbers into my router and pointing Network Manager at the router, but that's slow again. My friend dropped off the loaner modem but I wasn't able to get it going, so he will be back. It's better to have everything in the router and the modem.

In faith, Dave
Viva Texas

Take the Pepsi challenge -- choose Linux.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8449
Location: Warrington, UK

PostPosted: Sat Apr 13, 2013 9:43 pm    Post subject: Reply with quote

It sounds like a problem with the DNS cache on the router, as bypassing it gets the speed back.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
dpeirce



Joined: Wed Sep 13, 2006 12:26 am
Posts: 31
Location: Central Texas

PostPosted: Sat Apr 13, 2013 10:02 pm    Post subject: Reply with quote

That sounds like what my friend said, only he thinks it's the modem. We just hadn't realized the fix for that problem would also fix the problem with those spurious IP numbers in dig. I'll mention your suggestion to him and post back when I know something.

In faith, Dave
Viva Texas

By golly, I'm beginning to think Linux really *is* the best thing since sliced bread.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8449
Location: Warrington, UK

PostPosted: Sat Apr 13, 2013 10:14 pm    Post subject: Reply with quote

Traffic between the local computers doesn't use the modem. Ignoring the DNS setting in the router (by overriding it in NM) fixes at least some of your problems. I'd look at the router first.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
dpeirce



Joined: Wed Sep 13, 2006 12:26 am
Posts: 31
Location: Central Texas

PostPosted: Mon Apr 15, 2013 12:02 am    Post subject: Reply with quote

I figured out how to get the loaner modem working (I had to get its ip# from the router - 10.0.0.1); but it worked right off the bat and it looks like my speed is completely restored. Also, the 'Dig' output looks better (I think):

Code:

dave@tower-salineos-base:~$ dig tower

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> tower
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48791
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;tower.                         IN      A

;; AUTHORITY SECTION:
.                       10800   IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2013041401 1800 900 604800 86400

;; Query time: 112 msec
;; SERVER: 207.14.235.234#53(207.14.235.234)
;; WHEN: Sun Apr 14 17:41:53 2013
;; MSG SIZE  rcvd: 98

dave@tower-salineos-base:~$


At least the dig output is simpler now. My friend won't be able to get back until Monday or maybe Tuesday, but I'll post what he finds out. He wants to do a firmware update on the router, but he wanted to wait until the speed problem was solved.

In faith, Dave
Viva Texas
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8449
Location: Warrington, UK

PostPosted: Mon Apr 15, 2013 12:57 am    Post subject: Reply with quote

Dig is failing - "ANSWER: 0" - because your ISP's DNS server doesn't know about your local addresses. That's why you should have the ISP's DNS server in the modem or router and let the router answer all your queries.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
dpeirce



Joined: Wed Sep 13, 2006 12:26 am
Posts: 31
Location: Central Texas

PostPosted: Mon Apr 15, 2013 2:50 am    Post subject: Reply with quote

OK, I'll try removing the fixed dns numbers in the Network Manager and go back to dhcp; that, I'm guessing, will throw the lookup back to the router. Be back in a few minutes.

In faith, Dave
Viva Texas
Back to top
View user's profile Send private message
dpeirce



Joined: Wed Sep 13, 2006 12:26 am
Posts: 31
Location: Central Texas

PostPosted: Mon Apr 15, 2013 3:02 am    Post subject: Reply with quote

OK, I'm out of my depth again. Here's Dig's output, one for $ dig tower, and the second for plain $ dig . I got the same results on the laptop after changing its Network manager to dhcp.

Code:

dave@tower-salineos-base:~$ dig tower

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> tower
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 16145
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;tower.                         IN      A

;; AUTHORITY SECTION:
.                       10800   IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2013041401 1800 900 604800 86400

;; Query time: 92 msec
;; SERVER: 207.14.235.234#53(207.14.235.234)
;; WHEN: Sun Apr 14 20:51:22 2013
;; MSG SIZE  rcvd: 98

dave@tower-salineos-base:~$ dig

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56338
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;.                              IN      NS

;; ANSWER SECTION:
.                       445647  IN      NS      d.root-servers.net.
.                       445647  IN      NS      f.root-servers.net.
.                       445647  IN      NS      a.root-servers.net.
.                       445647  IN      NS      c.root-servers.net.
.                       445647  IN      NS      j.root-servers.net.
.                       445647  IN      NS      h.root-servers.net.
.                       445647  IN      NS      l.root-servers.net.
.                       445647  IN      NS      g.root-servers.net.
.                       445647  IN      NS      b.root-servers.net.
.                       445647  IN      NS      i.root-servers.net.
.                       445647  IN      NS      e.root-servers.net.
.                       445647  IN      NS      m.root-servers.net.
.                       445647  IN      NS      k.root-servers.net.

;; Query time: 70 msec
;; SERVER: 207.14.235.234#53(207.14.235.234)
;; WHEN: Sun Apr 14 20:51:28 2013
;; MSG SIZE  rcvd: 228

dave@tower-salineos-base:~$


????

In faith, Dave
Viva Texas
Back to top
View user's profile Send private message
Dutch_Master
LXF regular


Joined: Tue Mar 27, 2007 2:49 am
Posts: 2430

PostPosted: Mon Apr 15, 2013 5:24 am    Post subject: Reply with quote

I think you're digging in to deep (s'cuse the pun Razz). Have your friend update the firmware using the fixed DNS first, then try working with the DHCP server in the router again. It'll be a PITA on your normal network use, but at least your internet is working.

PS: DNS changes need time to propagate. How much depends on the TTL: time to live. It's a value for how long a specific set of data can be trusted to be up-to-date and when that time (from a marked time) has passed, the recipient needs to request another, valid data packet. A common value is 1,500 (measured in seconds), or 25 minutes. So if the recipient has received a valid data set at 16.43h, it'll request a new set at 17.08h, but in the interim, it'll consider the 16.43h data set valid and correspond accordingly.
Back to top
View user's profile Send private message
dpeirce



Joined: Wed Sep 13, 2006 12:26 am
Posts: 31
Location: Central Texas

PostPosted: Mon Apr 15, 2013 5:29 am    Post subject: Reply with quote

OK, I'll wait til he comes. Thanks!

In faith, Dave
Viva Texas
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast