Ga naar inhoud


eenreus1

Lid
  • Items

    12
  • Registratiedatum

  • Laatst bezocht

Berichten die geplaatst zijn door eenreus1

  1. ff copy paste andere site (ggogle op debian en cccam).

     

    Assigning static IP

    Log in as root with the right password

    then type in the following command

     

    Code:

    vim /etc/network/interfacesnow remove the following line

     

    Code:

    iface eth0 inet dhcpand replace it with

     

    Code:

    auto eth0

    iface eth0 inet static

    address 192.168.1.225

    netmask 255.255.255.0

    broadcast 192.168.1.255

    gateway 192.168.1.1These IP adresses might be different for you're situation.

    Remember to replace them with the numbers you need.

    You can save the file with the following commands

     

    Code:

    <esc>:wqOnce the file is saved, you can restart the network and check if you're linux server is running with it's new IP adress

     

    Code:

    /etc/init.d/networking restart

    ifconfig

×
×
  • Nieuwe aanmaken...