New Router, Small Problem

Collapse
X
Collapse
+ More Options
Posts
 
  • Time
  • Show
Clear All
new posts
  • mmartell
    Badcaps Legend
    • Oct 2013
    • 3189
    • Canada

    #1

    New Router, Small Problem

    I upgraded to a wireless AC router and everything seems to work fine except, well, I'm sure there's proper nomenclature to describe it but it's over my head so I'll do my best.

    I can no longer login to RDP (Remmina on Ubuntu) using the Windows pc hostnames - using the IP address works fine. I reinstalled the old router briefly to prove to myself I wasn't imagining things and it worked as expected.

    I know there are workarounds for this but am more curious as to WHY this stopped working with the new router as I would have expected Name Resolution on all routers.

    I don't see any setting in the router (Tenda AC15) that would affect this, am I missing something ?
  • jondoe
    Badcaps Veteran
    • Nov 2016
    • 547
    • UK

    #2
    Re: New Router, Small Problem

    Hostnames require a DNS entry, some where, your old router might have assigned them somehow, which is why hostname lookups not longer work but direct IP's do.

    Comment

    • jiroy
      Badcaps Legend
      • Jun 2016
      • 2416
      • Lebanon

      #3
      Re: New Router, Small Problem

      One easy way to bypass such problems is , to erase references to previous networks , meaning , open "Network and sharing center" , then ===> "Manage wireless networks" , then right click and remove all Networks existing , including the new ones , then add the New one ...

      Comment

      • mmartell
        Badcaps Legend
        • Oct 2013
        • 3189
        • Canada

        #4
        Re: New Router, Small Problem

        Originally posted by jondoe
        Hostnames require a DNS entry, some where, your old router might have assigned them somehow, which is why hostname lookups not longer work but direct IP's do.
        These DNS entries were stored on the router itself ?

        Comment

        • mmartell
          Badcaps Legend
          • Oct 2013
          • 3189
          • Canada

          #5
          Re: New Router, Small Problem

          Originally posted by jiroy
          One easy way to bypass such problems is , to erase references to previous networks , meaning , open "Network and sharing center" , then ===> "Manage wireless networks" , then right click and remove all Networks existing , including the new ones , then add the New one ...
          The computer I'm trying to connect to is on Win7 and I don't see "Manage Networks" (It's on a lan).

          Comment

          • jiroy
            Badcaps Legend
            • Jun 2016
            • 2416
            • Lebanon

            #6
            Re: New Router, Small Problem

            Originally posted by mmartell
            The computer I'm trying to connect to is on Win7 and I don't see "Manage Networks" (It's on a lan).
            (It's on a lan) knocks off my method . It's good for a direct wireless to wireless access points .

            I don't remember other methods for your Lan , but i think opening a "new connection 2" might solve the problem .

            Comment

            • retiredcaps
              Badcaps Legend
              • Apr 2010
              • 9271

              #7
              Re: New Router, Small Problem

              Originally posted by mmartell
              These DNS entries were stored on the router itself ?
              Yes, you or someone else might have manually entered this into the old router.

              It would look something like

              192.168.1.45 Ubuntu_PC

              It is likely that your PC's DNS server is pointing to 192.168.1.1 (the new router). If the new router can't resolve it locally, it sends to the ISP DNS server.
              --- begin sig file ---

              If you are new to this forum, we can help a lot more if you please post clear focused pictures (max resolution 2000x2000 and 2MB) of your boards using the manage attachments button so they are hosted here. Information and picture clarity compositions should look like this post.

              We respectfully ask that you make some time and effort to read some of the guides available for basic troubleshooting. After you have read through them, then ask clarification questions or report your findings.

              Please do not post inline and offsite as they slow down the loading of pages.

              --- end sig file ---

              Comment

              • mmartell
                Badcaps Legend
                • Oct 2013
                • 3189
                • Canada

                #8
                Re: New Router, Small Problem

                Originally posted by retiredcaps
                It is likely that your PC's DNS server is pointing to 192.168.1.1 (the new router). If the new router can't resolve it locally, it sends to the ISP DNS server.
                THIS

                Where is that information stored in Ubuntu ? My new router points to a different address, yes.

                Maybe I should change it manually to the old address and see if that solves it...

                Comment

                • retiredcaps
                  Badcaps Legend
                  • Apr 2010
                  • 9271

                  #9
                  Re: New Router, Small Problem

                  @mmartell, what is the old router make and model?

                  On your new router, I can't see anything in the documentation, from a brief glance, that allows you to do any manual entries of hostname to IP address mapping.

                  I use lede 17.01.1 sw (open source) on my routers that support it and it has a feature to allow me to add manual entries of hostname to IP address mapping.

                  https://lede-project.org/

                  I use lede or openwrt because eventually the consumer router vendor will stop updating its software and will have some exploit in the future.

                  With openwrt or lede, it does get updates about every 4 to 6 months.
                  --- begin sig file ---

                  If you are new to this forum, we can help a lot more if you please post clear focused pictures (max resolution 2000x2000 and 2MB) of your boards using the manage attachments button so they are hosted here. Information and picture clarity compositions should look like this post.

                  We respectfully ask that you make some time and effort to read some of the guides available for basic troubleshooting. After you have read through them, then ask clarification questions or report your findings.

                  Please do not post inline and offsite as they slow down the loading of pages.

                  --- end sig file ---

                  Comment

                  • retiredcaps
                    Badcaps Legend
                    • Apr 2010
                    • 9271

                    #10
                    Re: New Router, Small Problem

                    Originally posted by mmartell
                    Where is that information stored in Ubuntu ?
                    On mine Lubuntu system

                    $ cat /etc/resolv.conf
                    # Generated by resolvconf
                    nameserver 192.168.1.1

                    This tells me that this PC (1) uses the router (2), 192.168.1.1, for name resolution. In my case, the router's DNS entry is my local ISP (3).

                    Alternatively, I can make the PC or my router use another DNS server like Google (3) (8.8.8.8) or OpenDNS (3).

                    However, neither Google (3), the local ISP (3) or OpenDNS (3) will know about your local hosts naming convention. It is up to you to input this information locally either into your local router (2) or each PC's local hosts file (1).

                    edit: added a picture and numbering to hopefully make this clearer for you.
                    Attached Files
                    Last edited by retiredcaps; 05-14-2017, 12:21 PM.
                    --- begin sig file ---

                    If you are new to this forum, we can help a lot more if you please post clear focused pictures (max resolution 2000x2000 and 2MB) of your boards using the manage attachments button so they are hosted here. Information and picture clarity compositions should look like this post.

                    We respectfully ask that you make some time and effort to read some of the guides available for basic troubleshooting. After you have read through them, then ask clarification questions or report your findings.

                    Please do not post inline and offsite as they slow down the loading of pages.

                    --- end sig file ---

                    Comment

                    • retiredcaps
                      Badcaps Legend
                      • Apr 2010
                      • 9271

                      #11
                      Re: New Router, Small Problem

                      BTW, the latest firmware is

                      AC15 Firmware V15.03.1.17_EN

                      As a rule, I always run the latest firmware for bug fixes and possible patched security vulnerabilities.
                      --- begin sig file ---

                      If you are new to this forum, we can help a lot more if you please post clear focused pictures (max resolution 2000x2000 and 2MB) of your boards using the manage attachments button so they are hosted here. Information and picture clarity compositions should look like this post.

                      We respectfully ask that you make some time and effort to read some of the guides available for basic troubleshooting. After you have read through them, then ask clarification questions or report your findings.

                      Please do not post inline and offsite as they slow down the loading of pages.

                      --- end sig file ---

                      Comment

                      • mmartell
                        Badcaps Legend
                        • Oct 2013
                        • 3189
                        • Canada

                        #12
                        Re: New Router, Small Problem

                        Originally posted by retiredcaps
                        @mmartell, what is the old router make and model?

                        On your new router, I can't see anything in the documentation, from a brief glance, that allows you to do any manual entries of hostname to IP address mapping.

                        I use lede 17.01.1 sw (open source) on my routers that support it and it has a feature to allow me to add manual entries of hostname to IP address mapping.

                        https://lede-project.org/

                        I use lede or openwrt because eventually the consumer router vendor will stop updating its software and will have some exploit in the future.

                        With openwrt or lede, it does get updates about every 4 to 6 months.
                        Old router was Asus RT-N56u Before that was a Cisco E4200v2 (can't use dd-wrt on it)

                        Comment

                        • mmartell
                          Badcaps Legend
                          • Oct 2013
                          • 3189
                          • Canada

                          #13
                          Re: New Router, Small Problem

                          Originally posted by retiredcaps
                          On mine Lubuntu system

                          $ cat /etc/resolv.conf
                          # Generated by resolvconf
                          nameserver 192.168.1.1

                          This tells me that this PC (1) uses the router (2), 192.168.1.1, for name resolution. In my case, the router's DNS entry is my local ISP (3).

                          Alternatively, I can make the PC or my router use another DNS server like Google (3) (8.8.8.8) or OpenDNS (3).

                          However, neither Google (3), the local ISP (3) or OpenDNS (3) will know about your local hosts naming convention. It is up to you to input this information locally either into your local router (2) or each PC's local hosts file (1).

                          edit: added a picture and numbering to hopefully make this clearer for you.
                          Nothing applicable at that location in Ubuntu 16.04

                          I understand how DNS works for internet traffic but not really how it's implemented for local machines (for which an external DNS server will have no knowledge) I have never input addresses manually into a dns cache either on the pc or on the router before so not sure how they got cached in the first place ?

                          Also, If I RDP from another windows machine TO another windows machine on my lan it works fine.

                          So how do these get cached without user input ?

                          Comment

                          • mmartell
                            Badcaps Legend
                            • Oct 2013
                            • 3189
                            • Canada

                            #14
                            Re: New Router, Small Problem

                            Originally posted by retiredcaps
                            BTW, the latest firmware is

                            AC15 Firmware V15.03.1.17_EN

                            As a rule, I always run the latest firmware for bug fixes and possible patched security vulnerabilities.
                            Ran the online upgrade via the router after unboxing and current version moved to V15.03.05.07_multi. Current version as reported by the router today.

                            Comment

                            • jondoe
                              Badcaps Veteran
                              • Nov 2016
                              • 547
                              • UK

                              #15
                              Re: New Router, Small Problem

                              Some routers are DNS servers and DHCP servers combined, when a PC/device does a DNS lookup at the router, the router responds and the IP is resolved to the hostname via the routers DNS records. Many routers do this so if the internet connection goes down, it routes back to a help page/setup page, etc, on the router itself .

                              When your PC/device has external DNS servers configured, it won't know the hostnames for your local devices.

                              Comment

                              • mmartell
                                Badcaps Legend
                                • Oct 2013
                                • 3189
                                • Canada

                                #16
                                Re: New Router, Small Problem

                                It's bizarre because every entry in the DHCP list has a name associated with it and an IP address underneath the name - like the feature just needs to be enabled.

                                Comment

                                • eccerr0r
                                  Solder Sloth
                                  • Nov 2012
                                  • 8682
                                  • USA

                                  #17
                                  Re: New Router, Small Problem

                                  Type 1: Some router firmware accepts the DHCP hostname as a hostname and uses its internal DNS cache to point hostname lookups to this LAN host.

                                  Type 2: Some router firmware allows you to do MAC address static IP hosts which you have to configure through the web pages.

                                  Type 3: Some router firmware does neither, and you'll never be able to refer to LAN computers by name.

                                  I'd imagine the cheaper routers go to type 3 like the Tenda. I've only recalled one router (actually it's a modem-router, Actiontec for FIOS) that's type 1, and of course you could make your own type 1 if you can write your own firmware. I've only worked with the older DD-WRT's and they only support type 2 hostnames but can't see why they wouldn't add type 1 support - except that it would require local storage...

                                  I'd rather type 2 anyway...

                                  Comment

                                  • eccerr0r
                                    Solder Sloth
                                    • Nov 2012
                                    • 8682
                                    • USA

                                    #18
                                    Re: New Router, Small Problem

                                    BTW, DNSMASQ, which is used on GPL firmware http://www.thekelleys.org.uk/dnsmasq/doc.html supports "Type 1" so I suspect later versions of DD-WRT support this. The "importing names from the DHCP subsystem" is the feature that's wanted though how you configure this through the GUI is implementation specific...

                                    And yes this runs on your router. So if you can't hack your router, no point in proceeding further with this...

                                    Comment

                                    • retiredcaps
                                      Badcaps Legend
                                      • Apr 2010
                                      • 9271

                                      #19
                                      Re: New Router, Small Problem

                                      Originally posted by mmartell
                                      Old router was Asus RT-N56u Before that was a Cisco E4200v2 (can't use dd-wrt on it)
                                      A quick search shows that both the above routers can run openwrt and possibly lede. openwrt -> lede, but now rumors they are going to merge back again later this year.

                                      I normally go retrieve "old" routers if the person discarding is within 10 minutes of me and load openwrt/lede. I use them at home and give them away to friends and family to replace their old outdated router software.
                                      --- begin sig file ---

                                      If you are new to this forum, we can help a lot more if you please post clear focused pictures (max resolution 2000x2000 and 2MB) of your boards using the manage attachments button so they are hosted here. Information and picture clarity compositions should look like this post.

                                      We respectfully ask that you make some time and effort to read some of the guides available for basic troubleshooting. After you have read through them, then ask clarification questions or report your findings.

                                      Please do not post inline and offsite as they slow down the loading of pages.

                                      --- end sig file ---

                                      Comment

                                      • eccerr0r
                                        Solder Sloth
                                        • Nov 2012
                                        • 8682
                                        • USA

                                        #20
                                        Re: New Router, Small Problem

                                        Has Tenda router support gotten better? Last I heard it was very spotty.

                                        Comment

                                        Related Topics

                                        Collapse

                                        • Document Archive
                                          HP 280 G2 Small Form Factor PC i3-6100 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP 280 G2 Small Form Factor PC can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the 280 G2 Small Form Factor PC boardview and 280 G2 Small Form Factor PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification,...
                                          09-12-2024, 03:44 PM
                                        • Document Archive
                                          HP ProDesk ProDesk 600 G2 Small Form Factor PC ProDesk 600 i5-6500 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP ProDesk ProDesk 600 G2 Small Form Factor PC can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the ProDesk ProDesk 600 G2 Small Form Factor PC boardview and ProDesk ProDesk 600 G2 Small Form Factor PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please...
                                          09-12-2024, 03:36 PM
                                        • Document Archive
                                          HP ProDesk ProDesk 600 G2 Small Form Factor PC ProDesk 600 i5-6500 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP ProDesk ProDesk 600 G2 Small Form Factor PC can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the ProDesk ProDesk 600 G2 Small Form Factor PC boardview and ProDesk ProDesk 600 G2 Small Form Factor PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please...
                                          09-12-2024, 03:36 PM
                                        • Document Archive
                                          HP ProDesk ProDesk 400 G1 Small Form Factor PC (ENERGY STAR) ProDesk 400 i5-4570 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP ProDesk ProDesk 400 G1 Small Form Factor PC (ENERGY STAR) can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the ProDesk ProDesk 400 G1 Small Form Factor PC (ENERGY STAR) boardview and ProDesk ProDesk 400 G1 Small Form Factor PC (ENERGY STAR) schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly...
                                          09-12-2024, 03:28 PM
                                        • Document Archive
                                          HP ProDesk ProDesk 400 G1 Small Form Factor PC (ENERGY STAR) ProDesk 400 i3-4130 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP ProDesk ProDesk 400 G1 Small Form Factor PC (ENERGY STAR) can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the ProDesk ProDesk 400 G1 Small Form Factor PC (ENERGY STAR) boardview and ProDesk ProDesk 400 G1 Small Form Factor PC (ENERGY STAR) schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly...
                                          09-12-2024, 03:28 PM
                                        • Loading...
                                        • No more items.
                                        Working...