Ubuntu Linux
  • MerlinW
    #1806
    Sosem használtam a grafikus felületet. De így kell csinálni:

    ifconfig eth0 [új IP zárójelek nélkül] netmask 255.255.255.0 up
    ifconfig eth0

    Ha DHCP-d van és staticot szeretnél, akkor meg:

    /etc/network/interfaces:

    auto eth0
    iface eth0 inet static
    address 192.168.1.100 (egy a routerben megadott tartományon belüli IP)
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1 (router ip címe)

    /etc/resolv.conf
    router ip címe

    sudo apt-get remove dhcp-client
    sudo /etc/init.d/networking restart

    itt egy video is róla.