Urgent: How to fix this FreePBX Repo Access Issue?
-
@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
-
@scottalanmiller I connected with both
-
@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?
-
@dbeato I am still able to ping those DNS
-
@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.
-
@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.
-
@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-eth0DEVICE="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?
-
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
-
@scottalanmiller it is the same thing. The error is still there
-
@jimmy_k now the message as
" Server: 127.0.0.1
Address: 127.0.0.1#53Server can't find mirror1.freepbx.org: REFUSED
-
@jimmy_k Well, I just fixed it
I modified etc/resolv.conf by putting thisnameserver same as DNS1
nameserver same as DNS2 -
@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 thisnameserver same as DNS1
nameserver same as DNS2That'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.