linux mania

জুলাই 28, 2006

Installing fedora 4 on your x86 : some Tips

যার অধীনে আছে: Linux — pipasharto @ 7:05 am

Installing linux is very easy now a days, but after installing we may face a lot of problems. Here i solved some problems for normal users.

I use fedora distros, use the link : http://stanton-finley.net/fedora_core_4_installation_notes.html

to configure ur linux after installing. means enabling mp3 support, java, flash, etc..

Problems and Solutions:

1)XMMS and Rhythmbox sometimes say that check output plugin when u open them and click on a song, second time clicking on the same song works just fine.

sol: install alsa-oss and select oss as output plugin in both xmms->pref and gstreamer-config (if u have

alsa mixer installed for ur sound card)

2)in fedora 4, java plugin dont work, theres lot of solutions over net, but nothing will work on a default fedora 4, bcoz of the ugly selinux. i recommend u have a tar.gz version of firefox, and run it from a shell

and see what error it gives if u try to run a applet. rpm versions turn off the verbose mood.

sol: update selinux-policy-targeted. all will be fine. (some other problem will automatically fix as a bonus, best thing is to disable selinux and use only firewall for personal use )
3)to install amule or some other, u need to update ur libstdc++, never try a rpm solution, u will have to install a total of 10 other packages to update that.

sol: use yum to update.

4)new users have a lot of problems using the samba server. here i put a short step by step guide for fedora 4 .

sol:

1)install three packages : samba, samba-common, samba-client. u need to enable some port (netbios ports) if u have installed firewall. do this:

/sbin/iptables -I INPUT -i eth0 -p udp -m multiport –dports 137,138 -j ACCEPT
/sbin/iptables -I INPUT -i eth0 -p tcp -m multiport –dports 139,445 -j ACCEPT
/etc/init.d/iptables save

also, go to selinux setting and allow smb, that is disable selinux protection on smbd(samba daemon)

2)use Desktop->system setting->server->samba to add share

3)now we need samba user, here is the critical part if u dont want to have any of the messages like

NT_STATUS_LOGON_FAILURE

who is samba user: any unix user

so to add samba user, add a unix user first

#useradd

#passwd

now remember u will use this username to access samba server, but not this password, u have to setup samba password for every samba user, so..

#smbpasswd -a unixuser

now we have a samba user

4) try something like this smbclient -L LOCALHOST -U%

u will see:

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.14a-2]

Sharename Type Comment
——— —- ——-
anyfilmhind Disk
IPC$ IPC IPC Service (Shahrear’s Samba Server)
ADMIN$ IPC IPC Service (Shahrear’s Samba Server)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.14a-2]

Server Comment
——— ——-
DOMINATE Tansirul’s Computer
I-R-I-S
KRIPTON
LOCALHOST Shahrear’s Samba Server
SADIK
SAMYCON farid
SHABU
ZAKARIA

Workgroup Master
——— ——-
HOME ARIF-COMPUTER1
WORKGROUP LOCALHOST
something like this.

5) to access a share, say anyfilmhind do this

#smbclient //<netbiosname>//anyfilmhind -U<unix user on this machine>

password:<samba pass for that unix user>

smb:> :) done

Hope this will help.

shahrear

Blog at WordPress.com.