ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Urgent: How to fix this FreePBX Repo Access Issue?

    IT Discussion
    freepbx asterisk linux networking dns
    3
    22
    3.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jimmy_K @scottalanmiller
      last edited by

      @scottalanmiller and here is the result

      nameserver 127.0.0.1

      Generated by NetworkManager

      No nameservers found; try putting DNS servers into your

      ifcfg files in /etc/sysconfig/network-scripts like so:

      DNS1=8.8.8.8

      DNS2=8.8.4.4

      DOMAIN=lab.foo.com bar.foo.com

      D S 2 Replies Last reply Reply Quote 0
      • J
        Jimmy_K @scottalanmiller
        last edited by

        @scottalanmiller I connected with both

        1 Reply Last reply Reply Quote 0
        • D
          dbeato @Jimmy_K
          last edited by

          @jimmy_k said in Urgent: How to fix this issue " Warning: Cannot connect to online repository(s) (http://mirror1.freepbx.org,http://mirror2.freepbx.org). Online modules are not available. "?:

          @scottalanmiller and here is the result

          nameserver 127.0.0.1

          Generated by NetworkManager

          No nameservers found; try putting DNS servers into your

          ifcfg files in /etc/sysconfig/network-scripts like so:

          DNS1=8.8.8.8

          DNS2=8.8.4.4

          DOMAIN=lab.foo.com bar.foo.com

          Are the DNS on that domain working?

          J 1 Reply Last reply Reply Quote 0
          • J
            Jimmy_K @dbeato
            last edited by

            @dbeato I am still able to ping those DNS

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • S
              scottalanmiller @Jimmy_K
              last edited by

              @jimmy_k said in Urgent: How to fix this issue " Warning: Cannot connect to online repository(s) (http://mirror1.freepbx.org,http://mirror2.freepbx.org). Online modules are not available. "?:

              @scottalanmiller and here is the result

              nameserver 127.0.0.1

              Generated by NetworkManager

              No nameservers found; try putting DNS servers into your

              ifcfg files in /etc/sysconfig/network-scripts like so:

              DNS1=8.8.8.8

              DNS2=8.8.4.4

              DOMAIN=lab.foo.com bar.foo.com

              It says right there in that file that it won't work. No Nameservers Found. So you have to modify /etc/sysconfig/network-scripts to put them in. Until then, the system won't have working DNS.

              1 Reply Last reply Reply Quote 2
              • scottalanmillerS
                scottalanmiller @Jimmy_K
                last edited by

                @jimmy_k said in Urgent: How to fix this issue " Warning: Cannot connect to online repository(s) (http://mirror1.freepbx.org,http://mirror2.freepbx.org). Online modules are not available. "?:

                @dbeato I am still able to ping those DNS

                So your network is working, but without DNS entries, it can't find servers.

                J 1 Reply Last reply Reply Quote 2
                • J
                  Jimmy_K @scottalanmiller
                  last edited by scottalanmiller

                  @scottalanmiller I have tried to modify "etc/resolv.conf" as below

                  nameserver 192.168.1.221
                  # Generated by NetworkManager
                  
                  
                  # No nameservers found; try putting DNS servers into your
                  # ifcfg files in /etc/sysconfig/network-scripts like so:
                  #
                  # DNS1=8.8.8.8
                  # DNS2=8.8.4.4
                  # DOMAIN=lab.foo.com bar.foo.com
                  

                  & modify this as well
                  " etc/sysconfig/network-scripts/ifcfg-eth0

                  DEVICE="eth0"
                  BOOTPROTO="static"
                  BROADCAST="192.168.1.255"
                  GATEWAY="192.168.1.1"
                  HWADDR="00:E0:4C:86:40:9A"
                  IPADDR="192.168.1.221"
                  NETMASK="255.255.255.0"
                  # DNS1=8.8.8.8
                  # DNS2=8.8.4.4
                  NM_CONTROLLED="yes"
                  ONBOOT="yes"
                  TYPE="Ethernet"
                  UUID="30ddc6a1-0719-4729-b7cf-cc65fa10a038"
                  

                  then after that I checked
                  " nslookup mirror 1.freepbx.org "
                  the result as
                  "connection time out; try next origin
                  connection time out; no servers could be reached"

                  How to solve this?

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Well in both cases, your DNS is commented out. So it is not working, exactly as it is defined. You need to have DNS entries. Uncomment them in your ifcfg-eth0 so that it can put them into resolv.conf. Don't modify resolv.conf itself, let the script do it.

                    So...

                    # DNS1=8.8.8.8
                    # DNS2=8.8.4.4
                    

                    Needs to be...

                    DNS1=8.8.8.8
                    DNS2=8.8.4.4
                    
                    J 1 Reply Last reply Reply Quote 1
                    • J
                      Jimmy_K @scottalanmiller
                      last edited by

                      @scottalanmiller it is the same thing. The error is still there

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jimmy_K @Jimmy_K
                        last edited by

                        @jimmy_k now the message as

                        " Server: 127.0.0.1
                        Address: 127.0.0.1#53

                        Server can't find mirror1.freepbx.org: REFUSED

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jimmy_K @Jimmy_K
                          last edited by

                          @jimmy_k Well, I just fixed it
                          I modified etc/resolv.conf by putting this

                          nameserver same as DNS1
                          nameserver same as DNS2

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Jimmy_K
                            last edited by

                            @jimmy_k said in Urgent: How to fix this FreePBX Repo Access Issue?:

                            @jimmy_k Well, I just fixed it
                            I modified etc/resolv.conf by putting this

                            nameserver same as DNS1
                            nameserver same as DNS2

                            That's what that script is supposed to do. If you did this, it means either you never activated the script or it is broken and will stop working again.

                            1 Reply Last reply Reply Quote 2
                            • 1
                            • 2
                            • 2 / 2
                            • First post
                              Last post