1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you had a PIAF Forum account in the vBulletin days, log in with your old credentials. Otherwise, sign up again and we'll get you back in business as soon as we can.
  3. A serious FreePBX vulnerability has been reported. Update your Framework Module immediately. Click here for details.
  4. Critical FreePBX vulnerability! Update your server immediately. Details here.

TomS - Fixed IP Address (netconfig)

Discussion in 'Bug Reporting and Fixes' started by TomS, Feb 28, 2012.

  1. TomS Guru

    I loaded the Purple and FreePBX 2.9 and I could not find the netconfig command or the option under help-pbx to download it 'install-netconfig'.

    Is there a different script to set up a fixed IP address for a server once you have it loaded, etc.
    or do you have to go in and edit the files?

    I may have missed something on the forums as I have been off of them for a month or so.

    I appreciate any guidance!
  2. The Deacon Guru

    Try using /usr/sbin/system-config-network

  3. darmock PIAF Developer

    it is no longer in the 206x distro. We removed it because it was causing problems with certain parts of the centos 6.2 networking.

  4. rossiv Guru

    You could set it in Webmin but be sure that you also reset your default gateway and DNS servers as well.
  5. mvoip New Member

    If you're sure your NIC is on eth0, you can manually set your static IP address. Create /etc/sysconfig/network-scripts/ifcfg-eth0 with the following entries.

    NETWORK= <-- your private LAN subnet
    IPADDR= <-- the desired static IP
    NETMASK= <-- your private LAN subnet mask
    GATEWAY= <-- your private gateway IP

    The next job is to edit /etc/resolv.conf and add nameservers. For example,

  6. TomS Guru


    Thanks for the quick response and answer to the problem - as always!

    I did not know about the command: system-config-network
    That is what I was looking for.
    I have been editing the files as in the last post.

    I am building 2 systems on Dell 1950 servers to replace older PiaF systems on a Dell 1850 and a Dell P4 desktop. The information is just in time.

    Thanks Again,

Share This Page