Category Archives: Linux

install igos linux through xp sp2 – edit grub

Published by:

i thought i could install slackware on the laptop but something wrong with the cd so i tried igos linux and it worked. i read in the booting log and it written the linux based on red hat nash version 5.0.32.
well dont really care about that, i continue installing the os. then i want to configure the grub, since the os using grub for boot manager (bm).
so quite easy to edit them coz it really looks like debian linux. i just edit the grub then automatically install into the boot loader. different with lilo, that needs to re-start to load in to the boot loader.
so what i want is to change the name of XP os that written Other and use the default boot to it. instead of igos as default.
here what i do :
i try to find the grub configuration in /boot/grub and yes there is.
i copy the menu.lst file into menu.lst.old

#cp menu.lst menu.lst.old #just in case something happen i still have the original file

then i m using nano to edit it.

#nano /etc/grub/menu.lst

i change the title i want and the default to numer = 1 or 2 depends on how many your os are.

and i save it by pressing ^O and the ^X to exit.

then init 6 to restart the linux. and there the boot loader change.

manually install samba on slackware 12.1

Published by:

well this is my first use on samba actually. So there’s a lot of things that i dont know about this OS. One of them is connecting my slack to windows OS. I read the articles made by other that Slack needs to activate samba first so the linux OS appears on Windows Network.
But Slack, not like windows, need to activate the samba manually. Here are what i ve got from the guys from the net.
check first just in case samba is already defined during booting:

less /var/log/packages/samba*

if any, try to download the samba first from anyplace that you can find by google. there are plenty of those. then install them. i found the samba version 3.0.23c-i486 in tgz format. here is to install it:

# installpkg samba-3.0.23c-i486-1.tgz

then remenmber you have login as root here.
then edit the samba.conf in /etc/samba

if you cant find the samba.conf , create one

# touch /etc/samba/samba.conf #this is for defining the time format for file (if i m not mistaken)
# nano /etc/samba/samba.conf #this is to write the file with simple editor text

write inside this code:

[global]
workgroup = WORKGROUP
server string = foo
security = user
load printers = yes
log file = /var/log/samba.%m
max log size = 50
socket options = TCP_NODELAY

[home]
comment = My Home Directory
path = /home/someuser
valid users = someuser
writable = yes

Directives explanation:
[global]
workgroup – Enter here the NT Domain Name or Workgroup Name currently set for your network.
server string – Used for showing a description related to the Linux server.
security – Sets the Authentication Mode to user. You will gain access to Linux shares only when using a username and password. (We’ll set these later).
load printers – Set this to No if there are no printers connected to the Linux server.
log files – Defines the file that will store Samba events, alerts and errors.
max log size – Sets the maximum size for the log file, in Kb.
socket options – Specifies the options set on the client socket. The TCP_NODELAY option was reported as the option that makes the biggest difference in performance for most networks.
[home]
comment – Used for showing a description related to the user share.
path – Defines the shared directory.
valid users – Sets the users (see /etc/passwd for a valid user list) allowed to access this share.
writable – Allows valid users to write to this shared directory.

then reboot your samba by typing this:

# /etc/rc.d/rc.samba start

then you have your samba now.

install igos linux through xp sp2 – edit grub

Published by:

i thought i could install slackware on the laptop but something wrong with the cd so i tried igos linux and it worked. i read in the booting log and it written the linux based on red hat nash version 5.0.32.
well dont really care about that, i continue installing the os. then i want to configure the grub, since the os using grub for boot manager (bm).
so quite easy to edit them coz it really looks like debian linux. i just edit the grub then automatically install into the boot loader. different with lilo, that needs to re-start to load in to the boot loader.
so what i want is to change the name of XP os that written Other and use the default boot to it. instead of igos as default.
here what i do :
i try to find the grub configuration in /boot/grub and yes there is.
i copy the menu.lst file into menu.lst.old

#cp menu.lst menu.lst.old #just in case something happen i still have the original file

then i m using nano to edit it.

#nano /etc/grub/menu.lst

i change the title i want and the default to numer = 1 or 2 depends on how many your os are.

and i save it by pressing ^O and the ^X to exit.

then init 6 to restart the linux. and there the boot loader change.

ubuntu appears in windows network – samba

Published by:

well for the couple week i try ubuntu in my compie, nice installation, very easy like winni. when its complete i try to find out how this ubuntu can be shared into the network. one article in ubuntu-forum said that i should activate samba. so i did. not very hard thou. type this to edit samba configuration:

sudo nano /etc/samba/smb.conf

then search (‘Strg+W’ in nano) for this line:security “user” and change it into security “share”

then add the following line to the [global] section

client NTLMv2 auth = yes

then restart your samba

sudo /etc/init.d/smb.conf restart

try it, now your ubuntu appears in windows network. ow yeas dont forget. u must enter to administration setting – network and set the group network thru GUI into your desire network.
it works for me

Computer port’s

Published by:

well i try to create a firewall or a simple filter upon the D-Link DI-704P.
so i try to block all the port except that i list below, accesing internet.
this is a normal port
1. port 80 , 8080, 3128 ( web, proxy)
2. Port 21 port Ftp
3. Port 23 Port Telnet
4. Port 22 Port ssh
5. port 6667 port Chat Mirc
6. port 5050 port Yahooo mesengger

ports other than the list above could be use by viruses or softwares.

but these are the complete list that i got from www.iana.org