IP Connect says 'OFFLINE'

gcmartin3

Member
Joined
Mar 20, 2008
Messages
73
Reaction score
0
This is a new install and we've just brought a server to a datacenter for a static address. The status of IP Connect is 'OFFLINE'. We hadn't noticed what the status was before we brought it to the datacenter.

Just curious if it's needed and what is it for?

Thanks
Greg
 
yes, that is needed, it is monitoring how your box is going to connect to the rest of your network, if it is "OFFLINE" then some part of the network config (often the DNS server details) are missing. once the server is correctly plugged in to the network, use netconfig to check all your settings (IP address, subnet, gateway, DNS server) are good.

For some reason on my boxes I've always had to put the settings in a couple of times and reboot, then it works. ISTR some people saying this was a Centos quirk. But once the settings are "bedded in" it stays working.

You can use also webmin (accessing the box via dotted IP address) to correct the DNS server entries or edit /etc/resolv.conf if they are missing

then go to the shell and type something like

ping www.pbxinaflash.com (or any other known working server) to check that you have connectivity..
 
netconfig is added by us after it was removed by CentOS, presumably for the reasons that Alex described in his post, that it is not reliable.

I've had no problems with the following set of commands: -

system-config-network
service network restart
nano /etc/named.conf
;add nameserver 1.2.3.4 where 1.2.3.4 is your DNS server.
CTRL X Y

And just to add one more layer of redundancy, I also add bind (DNS Server), you need to do this once the PBX is talking to the outside world.

webmin - servers Bind, and enable bind, it will download some info from the internet, and enable itself

Then at the command line, type setup, arrow down to system services, enable "named" with the space bar to set bind to autostart on boot.

add nameserver 127.0.0.1 to named.conf

Joe
 
system-config-network
service network restart
nano /etc/named.conf
;add nameserver 1.2.3.4 where 1.2.3.4 is your DNS server.
CTRL X Y

-with the "add nameserver"? thanks!
 

Members online

Forum statistics

Threads
26,686
Messages
174,407
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top