change server ip

There are 4 replies in this Thread which was already clicked 568 times. The last Post () by musogeek.

  • my server has a static ip of 192.168.1.5 but my virgin isp router isp has a gateway of 192.168.0.1 and cant be changed to suit the server, but i also cant use putty ta access the server to change the ip? any ideas?

    VU Duo VIX OE3.0


    OSCAM 1.20-unstable_svn build #6059
    CCcam 2.1.3 server

    • Official Post

    Enable DHCP on the server so the router can assign a new ip address, then set static ip address in the router..


    Try these commands buddy..


    Code
    sudo dhclient -r


    Code
    sudo dhclient


    Code
    ifdown eth0


    Code
    ifup eth0


    Code
    /etc/init.d/network restart


    OR


    Code
    /etc/init.d/networking restart
  • Can't even access the server mate. The new router only recognises 192.168.0.2 - 192.168.0.254. Gonna have to install the old router ffs grrr!


    The only thing you need to do, is assign your windows pc in the range of your server.


    So.. Give your client PC a fixed ip of 192.168.1.200 / 255.255.255.0.
    This way you can access your server and change the IP.


    During the changed ip, you won't be able to access internet, because your router is in the 192.168.0/255.255.255.0 segment.


    So.. Change it back when finished.

  • you would need to access the server direct rather than over the network from remote computer and run a console and edit from there - if the router is 192.168.0.1 then the devices in your network will have to be 192.168.0.x - or you may be able to change the 0 to 1 on the virgin router - most routers let you do this (less likely if it is the stock router from your isp)

    If I take a while to respond, you can see why.....


    :red:

Your resource for Linux TV servers and smart card readers.

Find software downloads, drivers, and support for server setup and card-sharing configurations. Set up a Linux-based TV server. Access downloads and support for server software and USB card readers for advanced TV reception and management

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!