Solved IP address change on debian

Discussion in '3CX Phone System - General' started by belikecopper, Dec 20, 2016.

Tags:
Thread Status:
Not open for further replies.
  1. belikecopper

    Joined:
    Dec 20, 2016
    Messages:
    14
    Likes Received:
    1
    I installed the Debian instance of 3CX, however it assigned its IP address using DHCP. So I manually updated the /etc/interface/networking config file with a static IP.

    The IP address has changed and 3CX is accessible via the new IP address. However, when 3CX generates an IP phone provisioning URL the address is wrong.

    Screenshot attached.

    Is there a way to fix this?
     

    Attached Files:

    demel42 likes this.
  2. George_3cx

    George_3cx Guest

    Dear belikecopper,

    In order to change the local ip address of your pbx you have to uninstall it, then change the ip address and reinstall it with the static ip address.
     
  3. belikecopper

    Joined:
    Dec 20, 2016
    Messages:
    14
    Likes Received:
    1
  4. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    5,486
    Likes Received:
    357
    Hi there,
    You can take a backup without including license and FQDN un-install and re-install using the correct internal IP address. It's not silly if you want your PBX running smoothly. Besides the whole process takes 15 minutes when using a backup.
     
  5. belikecopper

    Joined:
    Dec 20, 2016
    Messages:
    14
    Likes Received:
    1
    i just meant it is silly that the debian ISO instance only assigns an IP by DHCP.

    i ended up installing a fresh debian. setting manual IP address then manually downloading and installing 3cx on top.
     
  6. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,111
    Likes Received:
    143
    Actually we are going to add the question. Enter ip or DHCP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. max999

    Joined:
    Jan 10, 2016
    Messages:
    11
    Likes Received:
    0
    To set a fixed IP addresse would be great, because with DHCP in different Networks it is not working. When did the new Version will be deployed?
     
  8. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,111
    Likes Received:
    143
    Since we use a preseed file network install, debian changes it's reasoning and starts to reason in a very blunt and straight forward way:
    Reasoning is like this.

    Since this is a network install and a file needs to be downloaded from the internet, I will set my network settings to automatic and do what is best for this install.
    This is why the static ip dialog does not come up.

    However I will upload a video now - and at second 0:22 you can see that if you press escape, (before the link local screen) you will be allowed to enter the network settings.
    http://downloads.3cx.com/downloads/support/net-conf-debian-installer.mp4

    So Debian is quite graceful - it does what it thinks is safe to do (because to be fair we at 3CX made a NETWORK ISO INSTALLATION) until it gets the files it needs. But then you have the option to put your settings if you like.

    hope this helps..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    agp likes this.
Thread Status:
Not open for further replies.