rianto isaac's Weblog

rianto utomo isaac sahala utomo

linux, ubuntu server

leave a comment »

Configuring Static IP address for your network card

If you want to configure Static IP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card

sudo vi /etc/network/interfaces

Note :- Use vi editor if you don’t have GUI installed

If you have GUI use the following command

gksudo gedit /etc/network/interfaces

# The primary network interface

auto eth0
iface eth0 inet static
address 192.168.3.90
gateway 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255

After entering all the details you need to restart networking services using the following command

sudo /etc/init.d/networking restart

rianto utomo bole nyontek dari http://www.ubuntugeek.com/ubuntu-networking-configuration-using-command-line.html

Open up a terminal window and run the following command:
$ sudo fdisk -l

rianto utomo bole nyontek dari http://www.smorgasbord.net/how-to-install-second-hard-drive-in-ubuntu-linux/

catatan:
edit file pake vi atai nano

nambah user:
– useradd
– passwd
– smbpasswd

samba:
– valid users

daftar user ada di:
/etc/passwd

daftar group ketik:
groups

Written by isaaconi

Mei 23, 2011 pada 11:51 am

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: