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.

linux command

Published by:

su = super user
yum / apt-get = for update repository
vi / nano / pico = editing in text mode

/etc/samba/smb.conf = edit samba configuration
/etc/rc.d/init.d/smb restart = restart new samba configuration

ipconfig = display the ip list
netstat = display the network work in the memory
dmesg = display all hardware info

lspci = display the facilities connected to your computer
lsmod = i think it will display everything in your memory
/etc/network/interfaces = defining the ip for the static and dhcp client to the server
/etc/network/option = related to interfaces
/etc/init.d/networking = restart stop start the network command in the interfaces definition

ifup = turn the lan on
ifdown = turn the lan off

vol_id -u = find out the uid’s partition or volume or label with different parameter

df = to know the size of your partitionz

ubuntu kernel compilation

Published by:

i got the info from http://howtoforge.com about ubuntu compilation kernel
here are the step : (log in as root by sudo su first)

#rm -f /bin/sh
#ln -s /bin/bash /bin/sh
#apt-get update
#apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
then download the kernel source from www.kernel.org
if you already defined it then type this
#cd /usr/src
#wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.1.tar.bz2
#tar xjf linux-2.6.18.1.tar.bz2
#ln -s linux-2.6.18.1 linux
#cd /usr/src/linux
if you have to compile a patch here’re what to do
#cd /usr/src
#wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.19-rc4.bz2
#cd /usr/src/linux
#bzip2 -dc /usr/src/patch-2.6.19-rc4.bz2 | patch -p1 –dry-run
#bzip2 -dc /usr/src/patch-2.6.19-rc4.bz2 | patch -p1

#cp /boot/config-`uname -r` ./.config
#make menuconfig

after finished setting the way you want do these
#make-kpkg clean
#fakeroot make-kpkg –initrd –append-to-version=-custom kernel_image kernel_headers

then you will find two deb packages
for example
#dpkg -i linux-image-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb
#dpkg -i linux-headers-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb

then restart you comp and find out your new kernel by
#uname -a

i did this for fixing my vga actually.

remote desktop ubuntu and windows

Published by:

wow i think i m making good improvement now. i dont have to switch my monitor again into the 2nd cpu you know. after successing with the remote desktop between windows that i found out quite easy.. now i tried to do it with ubuntu and windows.
or ubuntu to ubuntu.

the easiest one is between ubuntu to ubuntu.
first you have to set the remote desktop menu in System > Preference menu in your ubuntu into accessible. put the password if necessary.

and in the host cpu type this
#vncviewer 192.168.0.XXX:0

well i have not try it yet cos i dont have other ubuntu machine running at this moment.

now from windows to ubuntu
first download the free realvnc program version 4.1.1, install it.
run the vnc viewer program
type the ip address of your remote ubuntu then fill the password if any
then you will have your ubuntu inside your windows.
you will get full control if you defined it under ubuntu in the remote desktop menu.

well i would like to try ubuntu to windows with the vnc server running on windows but i will try it tomorrow.

connect from windows to ubuntu share

Published by:

after weeks of confusions.. finally i understand how to setup the network access from windows to ubuntu.
first u have to understand that the ubuntu define with the uniqe username.
after you have the username, one or two it doesnt matter, u have to create a samba password.
ah yeah, this command would only work if you install the samba first. and also the smbfs to change the cifs if necessary.

#useradd budi
then fill in the unix password to access it later and also other information stuff

#smbpasswd -a budi
enter the password

this samba password will be use by other system to log in to. well i have tried it with my vista and its working.
that’s all what all the things do.

smbfs mount network drive

Published by:

hmh finnally i can browse vista direktori with my ubuntu.
i failed on my first attempt. i thought i would give up on that and said that i will use my flash instead to move files.
but after installing smbfs from the repo… i did it weeks ago thoug..
i wrote the command in fstab with lack of written command.

here is what i wrote before manually
mount -t cifs -o username=nama,password=pass //192.168.xxx.xxx/dir /mnt/dir

but that was wrong, here what i should write
mount -t smbfs -o username=nama,password=pass,UID=ubuntuusername //xxx-pc/dir /mnt/dir

and finally it’s work.
pay attention to the line UID that what i missed before
after i use smbfs i dont have to use 192.xxx.xxx.xxx address on identifyng the net drive. enough with the pc name.
but remember the drive that the vista will easily accessed is the one that already shared.

finally if i want to mount them automatically during start up.. this what i wrote in the fstab
//xxxx-pc/dir /mnt/dir smbfs credentials=/home/userdir/.passfile,UID=ubuntuuser,g 0 0

look to .passfile … that is mean i created .passfile file contain the following
username=user
password=pass

i put the dot in front of the file means the file is hidden
then dont forget to change the mod of the file to root executable only with
#chmod 600 .passfile

you can create a static link so it will be easy to access it in another dir
for example you already inside the home dir
home@pc/home/pc#ln -s /mnt/dir name

there you go will have a name link. if you do cd or ls it will work.

thanks to zdnet.blogs.com that i got this info