Koozali.org: home of the SME Server

How do I change the IP address on my server...

ashpenaz

How do I change the IP address on my server...
« on: June 08, 2007, 03:02:05 AM »
I just upgraded to 7.1 from 6. I cannot get to the internet. I cannot get to the web interfaces of the server. I cannot get email.

I use dyndns.org. I have been using an account there for years. When I go there it shows my correct IP. When I do review configuration in server manager it shows the wrong IP.

How can I change the IP on the server gateway?

Thanks in advance.

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
How do I change the IP address on my server...
« Reply #1 on: June 08, 2007, 06:52:26 AM »
If there is no keyboard and monitor attached to the box, connect with putty, and log in as admin and use the root password. From there you can change the configuration.

You may want to check out the manual, there is a section on configuration.

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline StuC

  • ***
  • 46
  • +0/-0
How do I change the IP address on my server...
« Reply #2 on: June 08, 2007, 10:03:50 AM »
If you are seeing the server manager you should be able to "configure this server" and change the ip address or gateway etc. as required.

Offline mike_mattos

  • *
  • 313
  • +0/-0
How do I change the IP address on my server...
« Reply #3 on: June 08, 2007, 08:34:14 PM »
Are you sure the problem isn't the connection to your ISP?  Changing a network card may require a reset .
...

ashpenaz

How do I change the IP address on my server...
« Reply #4 on: June 08, 2007, 11:46:18 PM »
I appreciate the responses. Here is what happens:

I enter:
db configuration setprop ExternalIP xx.xx.xx.xx

I get:
/sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...

I enter:
/sbin/e-smith/db configuration setprop ExternalIP xx.xx.xx.xx

I get:
/sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...

I have not changed the NIC.

I have checked the manual and that is where I got the above steps. I have searched forums and I have not seen anything I can use.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How do I change the IP address on my server...
« Reply #5 on: June 09, 2007, 12:05:36 AM »
Quote from: "StuC"
If you are seeing the server manager you should be able to "configure this server" and change the ip address or gateway etc. as required.


That's not true. You need to access the console menu, not server manager, to change network configuration. You do that by logging in as admin, either directly on the console, or via ssh/putty.

ashpenaz should diagnose the problem before trying to change anything.

ashpenaz

How do I change the IP address on my server (Resolved)
« Reply #6 on: June 11, 2007, 12:44:44 AM »
After several attempts to resolve the issue (I did figure out how to change the IP) I decided to stop the agony and wipe out my server. The IP was only one of the issues I encountered after my upgrade...I had several HTTPD config errors, and no access to server-manager. The lesson I learned is to remove customizations before upgrading.

I have reinstalled and all is fine. Linux is interesting and the SME product is great. I would have loved to figure it out but this is my gateway to the world and a week of downtime was enough.

Thanks to all who responded and best wishes.