ciku 0 Report post Posted February 3, 2005 oshiri dan lain2 yg pakar.......kat sini pulak.aku dah run firestarter dan guidedog.apa yg aku perlu edit kat firestarter server? dekat add rule : ada allow connection from host,ip, comment rule.----> maknanya kalau aku ada 2 pc client, aku kena add ip/nama client semua ke kat situ? sbb laanih aku tinggalkan kosong jer (default).pastuh kat guidedog aku dah ikut ko punya instruction tuh dan dah ok.mkdir: Owner of /tmp/.ICE-unix should be set to rootQPixmap: Cannot create a QPixmap when no GUI is being usedQPixmap: Cannot create a QPixmap when no GUI is being usedQPixmap: Cannot create a QPixmap when no GUI is being usedQPixmap: Cannot create a QPixmap when no GUI is being usedkbuildsycoca running...KWrited - Listening on Device /dev/pts/4------>OK ke tuh?? atau ada error???Aku nak setup samba, bila aku run /etc/init.d/samba :root@server:/home/faizul# /etc/init.d/sambaUsage: /etc/init.d/samba {start|stop|reload|restart|force-reload------>maknanya samba dah aktifkan?TAPI bila aku run update.rc.d/samba default :root@server:/home/faizul# update.rc.d/samba defaultbash: update.rc.d/samba: No such file or directory----->napa? atau aku kena set share foldder dulu?atau aku kena d/load dan install dpkg -i ksambaplugin_0.5-1_i386.deb dan apt-get install smb4k dulu??SEBAB aku nampak dlm cc ada samba configuration tapi aku tak berani nak set apa2 lagi takut silap setting. ATAU boleh set terus di samba configuration tuh...kau bagi la cara yg paling mudah Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 (edited) apa yg aku perlu edit kat firestarter server? dekat add rule : ada allow connection from host,ip, comment rule.----> maknanya kalau aku ada 2 pc client, aku kena add ip/nama client semua ke kat situ? sbb laanih aku tinggalkan kosong jer (default).Aku rasa tak payah...........ko cuma perlu allow service yg kat bawah tu. Add rule apa yg patut, utk samba dah ada....ko add SMB, SSH....yg lain-lain tu bergantung la server apa ko buat.Guidedog..........okay la tu sebab ko run guna gksu guidedog.Ko set:Enable routingIp MasqueradeMasquerade ftpMasquerade ircAddress : 192.168.100.0/24 ...........sebab client guna 192.168.100.XCuba ko set client guna auto ip, dia boleh dapat ip tak?Yg samba tu ko silap....kenapa ada /?update-rc.d samba defaultsGuna ksambaplugin senang nak setup. Edited February 3, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 (edited) GUNA KSAMBAPLUGIN.......maknanyaaku kena download dulu la dan install?kena d/load kat link yg kau kasi dulu tuh??pastuh baru apt-get install smb4k ??JADI laanih aku d/load dulu lah kan??set auto ip tak leh ruh. Edited February 3, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 (edited) Sendiri tanya............sendiri jawab. Follow aje tutorial tu ...insyaallah berjaya. Edited February 3, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 satu lagi camna aku nak pastikan firewall aku tuh dah run.takkan kena run setiap kali login internet. tadak ikon kat sistem tray yg kuar pon. Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 Tengok dalam /etc/rc5.d.............ada tak link firestarter.Masa boot pun ko nampak message........firestarter start.... Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 (edited) root@server:/home/faizul# apt-get install smb4kReading Package Lists... DoneBuilding Dependency Tree... DoneRecommended packages: superThe following packages will be upgraded: smb4k1 upgraded, 0 newly installed, 0 to remove and 649 not upgraded.Need to get 369kB of archives.After unpacking 147kB of additional disk space will be used.Get:1 http://ftp.de.debian.org unstable/main smb4k 0.5.1-1 [369kB]Fetched 369kB in 6s (55.9kB/s)(Reading database ... 119847 files and directories currently installed.)Preparing to replace smb4k 0.4.1a-1 (using .../smb4k_0.5.1-1_i386.deb) ...Unpacking replacement smb4k ...Setting up smb4k (0.5.1-1) ...faizul@server:~$ update.rc.d samba defaultbash: update.rc.d: command not foundfaizul@server:~$ Edited February 3, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 (edited) update-rc.d samba defaults Edited February 3, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 root@server:/home/faizul# update-rc.d samba defaults Adding system startup for /etc/init.d/samba ... /etc/rc0.d/K20samba -> ../init.d/samba /etc/rc1.d/K20samba -> ../init.d/samba /etc/rc6.d/K20samba -> ../init.d/samba /etc/rc2.d/S20samba -> ../init.d/samba /etc/rc3.d/S20samba -> ../init.d/samba /etc/rc4.d/S20samba -> ../init.d/samba /etc/rc5.d/S20samba -> ../init.d/sambaOK pastuh...aku tak paham yg add user tuh ngan password??? sbb client aku mana aku ada set password tapi nama pc ada la. Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 OK pastuh...aku tak paham yg add user tuh ngan password??? sbb client aku mana aku ada set password tapi nama pc ada la.Takkan xp takde user/password.Takpa ko buat aje user dan password .....nanti masa nak bukak folder dia akan tanya. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 usage: update-rc.d [-n] [-f] <basename> remove update-rc.d [-n] <basename> defaults [NN | sNN kNN] update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] . -n: not really -f: forcejadi tinggal camtuh je? Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 #!/bin/sh## Init file for the Firestarter firewall## chkconfig: 2345 11 92## description: Starts, stops, and lock the firewall## Script Authors:# Tomas Junnonen <[email protected]># Paul Drain <[email protected]>## config: /etc/firestarter/configurationFS_CONTROL="/etc/firestarter/firestarter.sh"[ -x /usr/sbin/firestarter ] || exit 0[ -x $FS_CONTROL ] || exit 0[ -s /etc/firestarter/configuration ] || exit 0RETVAL=0start() { echo -n "Starting the Firestarter firewall: " $FS_CONTROL start > /dev/null RETVAL=$? if [ $RETVAL -eq 0 ]; then echo done. else echo failed. fi return $RETVAL}stop() { echo -n "Stopping the Firestarter firewall:" $FS_CONTROL stop > /dev/null RETVAL=$? if [ $RETVAL -eq 0 ]; then echo done. else echo failed. fi return $RETVAL}lock() { echo -n "Locking the Firestarter firewall:" $FS_CONTROL lock > /dev/null RETVAL=$? if [ $RETVAL -eq 0 ]; then echo done. else echo failed. fi return $RETVAL}# See how we were called.case "$1" in start) start RETVAL=$? ;; stop) stop RETVAL=$? ;; restart) stop start RETVAL=$? ;; force-reload) stop start RETVAL=$? ;; lock) lock RETVAL=$? ;; status) if [ -e /var/lock/subsys/firestarter -o -e /var/lock/firestarter ]; then echo "Firestarter is running..." else echo "Firestarter is stopped" fi RETVAL=$? ;; *) echo "Usage: firestarter {start|stop|restart|force-reload|lock|status}" exit 1esacexit $RETVAL Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 (edited) Bila kita buat update-rc.d <basename> defaults;Dia akan buat symlink kat /etc/rc0.d.......rc5.d.Maknaya....setiap kali ko boot......dia akan run script tu.......dan bila shutdown dia akan close/killl .Biasanya script yg run masa boot terletak kat rc5.d dan rcS.d......ko tengok kat depan symlink scripttu......kalo yg ada S didepan ..maknya dia start; kalo ada K kat depan ....maknanya dia kill bila ko masuk dalam runlevel tu. Edited February 3, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 (edited) aku kena taip update-rc.d samba default :dia cakap dah already exist. Edited February 3, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 Ni benda ni........????Apa yg ko nak update kan.Samba ko dah update jugak. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 root@server:/home/faizul# /etc/init.d/samba restartStopping Samba daemons: nmbd smbd.Starting Samba daemons: nmbd smbd.root@server:/home/faizul# smb4kmkdir: Owner of /tmp/.ICE-unix should be set to rootQPixmap: Cannot create a QPixmap when no GUI is being usedQPixmap: Cannot create a QPixmap when no GUI is being usedXlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkded: cannot connect to X server :0.0DCOP aborting call from 'anonymous-5197' to 'kded'kded: ERROR: Communication problem with kded, it probably crashed.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkdeinit: Can't connect to the X Server.kdeinit: Might not terminate at end of session.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedsmb4k: cannot connect to X server :0.0smb4k: ERROR: KUniqueApplication: Registering failed!smb4k: ERROR: Communication problem with smb4k, it probably crashed.root@server:/home/faizul# Mutex destroy failure: Device or resource busyapt-get install smb4kReading Package Lists... DoneBuilding Dependency Tree... Donesmb4k is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 649 not upgraded.root@server:/home/faizul# smb4kmkdir: Owner of /tmp/.ICE-unix should be set to rootQPixmap: Cannot create a QPixmap when no GUI is being usedQPixmap: Cannot create a QPixmap when no GUI is being usedXlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkded: cannot connect to X server :0.0kded: ERROR: KUniqueApplication: Registering failed!kded: ERROR: Communication problem with kded, it probably crashed.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkdeinit: Can't connect to the X Server.kdeinit: Might not terminate at end of session.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedsmb4k: cannot connect to X server :0.0smb4k: ERROR: KUniqueApplication: Registering failed!smb4k: ERROR: Communication problem with smb4k, it probably crashed.root@server:/home/faizul# Mutex destroy failure: Device or resource busy Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 (edited) AKU DAH ST SAMBA CONFIGURATION TADI. smb4k kena install dari mana? nak rescan workgroup dlm linux kat mana? aku tgk dlm windows blom ada lagi server nih, hanya 2 pc client aja. Edited February 3, 2005 by ciku Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 smb4k tak perlukan ko run sebagai root........mesti run sebagai user. Hanya aplikasi tertentu aje run sebagai root.Elok run dari menu....under menu utilities. Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 dia cakap fail search for pc2 dan pc3.windows aku tak set user/account log. aku disablekan semuanya dan password. tapi sharing internet laanih ON aja. atau aku kena set apa lagi??? Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 (edited) AKU DAH ST SAMBA CONFIGURATION TADI. smb4k kena install dari mana? nak rescan workgroup dlm linux kat mana? aku tgk dlm windows blom ada lagi server nih, hanya 2 pc client aja.Lepas setup ko kena restart samba:su/etc/init.d/samba restartDalam smb4k------->Network--->rescan.Kalo tak nampak client, ko pergi kat kotak belah kanan---->tab Search----->masukkan ip client--->search.KAlo jumpa...ko tekan add.Ulang utk client lain. Edited February 3, 2005 by oshiri Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 root@server:/home/faizul# /etc/init.d/samba restartStopping Samba daemons: nmbd smbd.Starting Samba daemons: nmbd smbd.DIA DAH JUMPA PON........HEHEHEH Quote Share this post Link to post Share on other sites
blank 1 Report post Posted February 3, 2005 Kalau ko pening sangat kan ciku........ko ajak sambagamaran tolong ko setup sekali..... Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 CAMNA AKU NAK BUKAK FOLDER DLM CLIENT AKU YG DI SHARE??? Quote Share this post Link to post Share on other sites
ciku 0 Report post Posted February 3, 2005 Kalau ko pening sangat kan ciku........ko ajak sambagamaran tolong ko setup sekali..... ←Ehhhhhhhhhhhh...ko ada blank. aku ingat ko tgh forum ngan oshiri kat dlm topik lama tuh. assalamualaikum.!!! Quote Share this post Link to post Share on other sites
oshiri 0 Report post Posted February 3, 2005 Kalo ko nak bukak folder client................ko kena mount folder tu.Dalam smb4k ....ko right click atas folder tu dan mount.Atau ko boleh jugak guna konquerer.Type kat konquerer : smb://"ip clientAtau kalo ko nak ada menu Network kat konquerer.......run lisa.Set Lisa dalam Control center. Lepas tu run lisa dan update rc.d.su/etc/init.d/lisaupdate-rc.d lisa defaults Quote Share this post Link to post Share on other sites