Kamis, 03 September 2009

Seting manual IP Addres pada kubuntu 9.04

Caranya :

1) Disable Network Manager:
sudo update-rc.d -f NetworkManager remove
sudo apt-get remove network-manage

2) Edit /etc/network/interfaces:
auto lo eth0
iface lo inet loopback

iface eth0 inet static
address 10.10.1.25
netmask 255.0.0.0
gateway 10.10.1.1

dns-domain 192.168.2.1

3) Edit /etc/resolv.conf:
domain test-kubuntu
nameserver 10.10.1.1

4) Restart networking:
sudo /etc/init.d/networking restart


JIka masih belum bisa coba cara berikut

http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-
static-ip-address/
Change Ubuntu Server from DHCP to a Static IP Address
If the Ubuntu Server installer has set your server to use DHCP, you will want
to change it to a static IP address so that people can actually use it.
Changing this setting without a GUI will require some text editing, but that’s
classic linux, right?
Let’s open up the /etc/network/interfaces file. I’m going to use vi, but you
can choose a different editor
sudo vi /etc/network/interfaces
For the primary interface, which is usually eth0, you will see these lines:
auto eth0
iface eth0 inet dhcp
As you can see, it’s using DHCP right now. We are going to change dhcp to
static, and then there are a number of options that should be added below it.
Obviously you’d customize this to your network.
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

Now we’ll need to add in the DNS settings by editing the resolv.conf file:
sudo vi /etc/resolv.conf
On the line ‘name server xxx.xxx.xxx.xxx’ replace the x with the IP of your
name server.
(You can do ifconfig /all to find out what they are)
You need to also remove the dhcp client for this to stick (thanks to Peter for
noticing).
You might need to remove dhcp-client3 instead.
sudo apt-get remove dhcp-client
Now we’ll just need to restart the networking components:
sudo /etc/init.d/networking restart
Ping www.google.com. If you get a response, name resolution is working(unless
of course if google is in your hosts file).
Really pretty simple.
Updated Thanks to Nickname007 in the comments for noting that I forgot the DNS
entries in the guide.


Test untuk "remove ip-automatic"

root@admexp:/home/admexp# apt-get remove dhcp-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dhcp-client is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 149 not upgraded.

root@admexp:/home/admexp# /etc/init.d/networking restart
* Reconfiguring network interfaces...Ignoring unknown interface eth0=eth0.
[ OK ]

failed..


test other again :

root@admexp:/home/admexp# apt-get remove network-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
network-manager plasma-widget-network-manager
0 upgraded, 0 newly installed, 2 to remove and 148 not upgraded.
After this operation, 3621kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 89637 files and directories currently installed.)
Removing plasma-widget-network-manager ...
Removing network-manager ...
* Stopping network connection manager NetworkManager
[ OK ]
Removing any system startup links for /etc/init.d/NetworkManager ...
/etc/rc2.d/S50NetworkManager
/etc/rc3.d/S50NetworkManager
/etc/rc4.d/S50NetworkManager
/etc/rc5.d/S50NetworkManager
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for man-db ...


admexp@admexp:~$ sudo vi /etc/network/interfaces
auto lo eth0
iface lo inet loopback

iface eth0 inet static
address 10.10.1.112
netmask 255.255.0.0
gateway 10.10.1.1

dns-domain 202.134.0.155
202.134.2.5

Edit /etc/resolv.conf:
domain Home
nameserver 192.168.2.1


4) Restart networking:
sudo /etc/init.d/networking restart


Demikian triks tambahan untuk kubuntu 9.04,
Semoga berhasil

mensetting XWindows di fedora8

Jika anda menginstall fedora8 dengan modus teks, pasti ada beberapa kasus yangtidak bisa langsung masuk ke xwindows setelah installasi,
cara manualnya :
setelah login jalankan : startx
jika mau di buat otomatis :
login sebagai super user (su)
edit /etc/inittab (vi /etc/inittab)
cari id:3:initdefault:
rubah menjadi
id:5:initdefault:
- save & exit (:qw)
reboot
Setelah reboot akan otomatis masuk ke Xwindows.

Pastikan vga card & monitor telah di set & saat test mau jalan di Xwindows
caranya :
login sebagai su
jalankan : setup
pilih : X configuration (akan mencoba untuk mengkonfigurasi Xwindows)
jika sukses akan dilakukan test untuk jalan di Xwindows, berarti sudah bisa.
Jika saat test gagal, berarti card vga-nya ada masalah.

Demikian triks nya.
Selamat mencoba