edit x11 for vga savage driver – if not your X cannot shutdown/ restart

Published by:

#nano /etc/X11/xorg.conf
u have to change some line only especially in monitor section.
Section “Device”
Identifier “S3 Graphic Prosavage”
Driver “savage”
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection

that’t line for change the Driver from vesa to savage. Linux 2.6.24-5 already has savage driver. Then
Section “Screen”
# Identifier “Screen 1”
Identifier “Screen 0”
Device “S3 Graphic Prosavage”
# Device “VESA Framebuffer”
Monitor “My Monitor”

see the change i made? u can still use identifier screen 1 if you like so , these line wont change
Section “ServerLayout”
Screen “Screen 0”

see screen 0? if you dont want to change from screen 1 that’s ok.

enabling mouse scroll in kde 3.5

Published by:


edit xorg.conf
#nano /etc/X11/xorg.conf

add these line
Section “InputDevice”
Identifier “USB Mouse”
Driver “mouse”
Option “Device” “/dev/input/mice”
Option “SendCoreEvents” “true”
Option “Protocol” “IMPS/2”
Option “ZAxisMapping” “4 5”
Option “Buttons” “5”
EndSection

that’s for using usb mouse
change the line in serverLayout to USB Mouse

but if you use PS/2, use these:
Section “InputDevice”
Identifier “PS/2 Mouse”
Driver “mouse”
Option “Protocol” “auto”
Option “ZAxisMapping” “4 5”
Option “Device” “/dev/psaux”
Option “Emulate3Buttons” “true”
Option “Emulate3Timeout” “70”
Option “SendCoreEvents” “true”
EndSection

change the line in ServerLayout to PS/2 Mouse

that’s all

fix the grub damage

Published by:

my server computer had jendela reinstalled by my teacher so the grub that already there was missing. but linux still there in the different partition. but i got confuse about adding linux line in boot.ini file. so after browsing i found out that grub can reinstall by the help of linux cd installation. we use ubuntu as the OS.
so here are the step
1. boot from ubuntu linux cd
2. after enter the gui, run the console or press ctrl+f1 to change to console mode
3. enter the grub command
#grub
4. then the prompt will change to
grub>

5. find the booting partition of the linux
grub > find /boot/grub/stage1
6. it will give u a result like this
grub > (hd0,3)
that’s mean that the linux located in partition number 4 harddisk one.
7. set the target of the grub of the linux
grub > root (hd0,3)
8. setup the grub to master boot record
grub > setup (hd0)
9. grub > quit

that’s it… ussually it will succed. then reboot your ubuntu without the cd installation.
edit your grub menu.lst to add jendela in your boot menu.

links

Published by:

Mengkonfigurasi samba server di Ubuntu 7.04

http://www.howtoforge.com/ubuntu_pxe_install_server_p3 ini untuk instalasi (boot from network)

http://tldp.org/HOWTO/NFS-HOWTO/server.html ini untuk booting biasa dari server bukan instalasi dan bisa disimpan di fstab

samba ubuntu again
http://belajar.rajaklik.org/2007/12/19/konfigurasi-samba-di-ubuntu/

share internet in ubuntu

Published by:

Sharing Internet di Ubuntu – bahan dari pojokpradna.wordpress.com
1) Komputer Gateway pake Ubuntu 7.10 dengan 2 Ethernet card
Ethernet Card:
– eth0 tersambung ke swicth / LAN
IP 192.168.0.1 netmask 255.255.255.0
– eth1 tersambung ke ISP
IP dhcp
2) Klien dengan OS Ubuntu Desktop 7.04 (dan sebagian Xubuntu 7.10 dan UBuntu 7.10) dengan aturan IP:
– IP mulai 192.168.0.2 s/d 192.168.0.254
netmask 255.255.255.0
gateway 192.168.0.1
3) Setting Server:
– Eth0
Di menu System => Network => Wired Connection (eth0) => Properties => Hilangkan tanda check di”Enable Roaming” => Configuration diisi dengan “Static IP Addres” => IP Address 192.168.0.1 => Subnet Mask => 255.255.255.0 => Gateway Addres 192.168.1.1
– Eth1
Di menu System => Network => Wired Connection (eth1) => Properties => Hilangkan tanda check di”Enable Roaming” => Configuration diisi dengan “Automatic Configuration (DHCP)”
– Di Tab DNS => DNS Server di”Add” dengan 192.168.1.1
4) Kemudian mengaktifkan ip_forward, dengan perintah di Terminal:
$echo 1 > /proc/sys/net/ipv4/ip_forward
5) Mengaktifkan NAT dengan iptables
$iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
6) Memasang IPMASQ dan DNSMASQ untuk caching NS:

$sudo apt-get install dnsmasq ipmasq
Untuk mengkonfigurasi IPMASQ:
$dpkg-reconfigure ipmasq
8) DNSMASQ dijalankan:
$/etc/init.d/dnsmasq start
9) Restart network:
$/etc/init.d/networking restart
10) Setting for Client:
-Eth0
Di menu System => Network => Wired Connection (eth0) => Properties => Hilangkan tanda check di”Enable Roaming” => Configuration diisi dengan “Static IP Addres” => IP Address 192.168.0.2 (dan seterusnya untuk masing2 Client) => Subnet Mask => 255.255.255.0 => Gateway Addres 192.168.0.1
– Di Tab DNS => DNS Server di”Add” dengan 192.168.1.1
the end.

ubuntu 7.04 n 8.04 $home dmrc error

Published by:

i dont know about this bug before. so i try to force it but resulting in grub error.
but this is the solution i found in rudikismo.wordpress.com
it’s about 7.04
Windows pop up “$HOME/.dmrc Error Message“ appear when Ubuntu 7.04 restarted. To solve the problem, you should open a terminal ( Application -> Accessories -> Terminal), then type:
sudo chown –R [username] /home/[username]
sudo chmod –R 755 /home/[username]
sudo chown [username] $HOME/.dmrc
sudo chmod 644 $home/.dmrc
Restart machine, the error popup will be disappear.

but now i fount out happening to 8.04 too, this is what i do according to someone’s else blog
sudo chown -R [username] /home/[username]
sudo chgrp -R [username] /home/[username]
sudo chown -R 700 /home/[username]
sudo chown [username] $HOME/.dmrc
sudo chmod 644 $HOME/.dmrc

restart and works fine

edgy eft add in repository setting

Published by:

open the sources.list
#sudo nano /etc/apt/sources.list

or if you want to use find and replace command in gnome text editor use this
#sudo gedit /etc/apt/sources.list

and change all the link to archives.ubuntu.com to old-releases.ubuntu.com
that’s all … all of them including the security link

open office 2.4.1 reads docx

Published by:

sources : http://www.sigmundvoid.com/?p=81

sudo apt-get install alien

Grab yourself the Odf converter from http://download.go-oo.org/red-carpet/ooo-680/sled-10-sp-i586/
~odf-converter-1.1-7.i586.rpm

Now lets convert it like this:

alien -ct odf-converter-1.0.0-5.i586.rpm

You will end up with a .tgz version

Extract it to a directory, then go into it.

Now its time to copy a few files to allow us to open up our .docx file./

sudo cp usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/

sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/

sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/

static ip and dhcp ip

Published by:

here’s what to do when setting up the network in ubuntu. u know when everything dont set up automaticly like ‘jendela’.
i m using the attansic lan card, onboard, i have read it that the lan have the atheros chipset. slackware cant read it. u should find the driver (that i lost it) and install it to your module.
but this is in ubuntu. the lan read as attansic. but no connection yet.

#sudo su (always log in as root)
#nano /etc/network/interfaces
write these down :

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.20
network 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.255.255
gateway 192.168.1.1

the ip address above is for example. see my post about broadcast and netmask if you dont know what are they.

then
#nano /etc/network/option

write these down

ip_forward=no
spoofprotect=yes
syncookies=no

save them.
then restart the network

#/etc/init.d/networking restart

wait for a moment then connected.

this is what u should do if you are using dhcp. write these down inside the interfaces file

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

that’s it try it.

broadcast

Published by:

we use broadcast to determine in which ip the packet will send to another computer in a network
here is what to do when determining the broadcast ip.
if u use 192.168.1.10 as your ip
and your 255.255.255.0 as your mask then your broadcast is 192.168.255.255
that’s what i read in en.wikipedia.org.