[ubuntu-it] assegnare un ip fisso al mio pc
Fabio Farnesi
ffarnesi a edmaster.it
Mer 5 Apr 2006 14:49:33 BST
sudo vi /etc/network/interfaces
e lo modifichi come vuoi, questo è il mio
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
auto eth0
# The primary network interface
iface wlan0 inet static
# wireless-* options are implemented by the wireless-tools package
wireless-mode managed
wireless-essid XXXXX
wireless-key1 s:XXXXXXXXXXXXXXXXX
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1
iface eth0 inet static
address 172.16.0.25
netmask 255.255.0.0
gateway 172.16.0.1
in questo caso ho due interfacce attive, la eth0 parte in automatico al boot,
se ho bisogno della wireless, do un
sudo ifup wlan0
nel primo terminale disponibile
Alle 15:36, mercoledì 5 aprile 2006, alessandro ha scritto:
> Uso amule e mi collego tramite un router ad internet.Il programma mi chiede
> di abilitare due porte,cosa che ho fatto collegandomi con firefox al
> router,ma devo assegnare un ip fisso al mio computer,tuttavia non trovo
> un'interfaccia grafica che mi permetta di farlo su xfce,ero abituato a
> gnome.Come dovrei procedere, da terminale? Ciao,
> Alessandro
More information about the ubuntu-it
mailing list