| Author |
Message |
admin
Admin
|
# Posted: 21 Jul 2007 11:56 - Edited by: admin
Nama Projek : Linux noGuiX
Pengenalan : noGuiX bertujuan menghasilkan one-click home server/ server dihujung jari.
Kenapa noGuiX? sebab noGuiX server pada mulanya server yang berasaskan command/console semata2. Tiada GUI atau X atau desktop manager.
Kandungan: - Linux berasaskan Slax (30%) - kernel 2.6.16 + some application - noGuiX Custom Software (50%) - Aplikasi server - noGuiX Custom Tweak / Tunning - memory tweak, shell script, net tweak & etc.
Aplikasi-aplikasi noGuiX Server - Monkey - Web server - Postfix - Mail SMTP server - Popa3d - pop Server - inetd - Internet Super Server - vsftpd - FTP Server - nfsd - nfs server (Linux File sharing) - Openssh - ssh server - Samba - Samba server (Windows File Sharing) - Optional - VNC - VNC server - Optional - Quota - Quota Support (User quota for storage usage) - nmap - port scanner - iptraf - network monitoring - vim - console text editor - xwd - console based screenshot program - netpbm tools - xwd to png file converter - webmin
Customize tweak & tunning - HDD Installation script - Modules Installation Script (for hdd installation) - youtube download script - Linux Router Script - Swappiness tunning for better swap handling - Net tunning for better net performance
Support - ntfs read & write - can run on vmware - wifi support through ndiswrapper - etc

|
admin
Admin
|
# Posted: 28 Jul 2007 19:58 - Edited by: admin
Tambah openssh - ssh server & client (Sambung nanti)
ok...sambung...2-3 hari cuti aku try buat beberapa perubahan pada linuxikan :
1 - Nama telah ditukar drpd "linuxikan" kepada "noGuiX" Linux --- Sempoi! 2 - Masukkan ssh server - utk kebaikan aku x buat auto start 3 - Welcome page - hmmm yg nie mungkin perlukan beberapa perubahan 4 - hostsname ditukar daripada "slax" ke "noguiX"
Hasilnya : 
|
admin
Admin
|
# Posted: 4 Aug 2007 12:08 - Edited by: admin
Ok, kali nie, aku bina shell script untuk menu server. Masih bleh dioptimiskan. Skrip senang macam nie pun ambik masa aku satu malam. Bukan apa, aku nak jadikan skrip ni benar-benar user friendly.

So, user hanya perlu panggil script ni dari console contoh : $noxup lepas tu, pilih aje server mana yang hendak dimulakan.
Untuk hentikan mana-mana server guna : $noxdown lepas tu, pilih aje server mana yang hendak dihentikan.
kalau diperhatikan betul2, satu server aku lupa masukkan...samba...rasanya samba pun penting jugak kan? xpe...bisa di atur...
|
admin
Admin
|
# Posted: 4 Aug 2007 23:08
Hehehe.. memandang kan proses compile diperlukan untuk memasukkan custom logo noGuiX, aku angkat pentium IV 2.8Ghz, berserta MSI 128MB agp card untuk tugas2 mengcompile kernel 2.6.


|
admin
Admin
|
# Posted: 5 Aug 2007 18:57 - Edited by: admin
Proses Hari ke-2 -jadikan noguix sebagai iso image - OK! -Burn noguix.iso - OK! -Boot noguix - OK!
Checking -hostname = noGuiX - OK! -welcome page = noGuiX - OK! -Disable linux logo = OK! -load server package into live cd = FAILED! -try load server package manually = OK!
Testing Server Monkey webserver - RUNNING!
Openssh - RUNNING! (chmod +x /etc/rc.d/rc.ssh)
FTP - RUNNING
Postfix MTA Mail server - NOT RUNNING! -/etc/postfix/main.cf - OK! -/etc/rc.d/rc.postfix start - FAILED -postfix start -v ---> /defer - check integrity Failed -/etc/postfix/postfix-script --> commenting checking directory integrity -/etc/rc.d/rc.postfix start - FAILED -/etc/postfix/postfix-setup - OK! -postfix start -v ---> /defer - check integrity Failed -/etc/postfix/post-install --> [name=value] missing -/etc/postfix/post-install upgrade-package -/etc/rc.d/rc.postfix start - MTA = OK! -ps axww | grep postfix --> postfix not running -tail /var/log/maillog --> fifo.....permission denied & etc
Kesimpulan Aku gagal nak run postfix atas noGuiX buat masa nie. Sebab permission & integrity problem. Atleast skrg nie dah bleh try run server satu persatu dan testing sama ada stabil atau tidak. Nampak gaya, postfix aje gagal setakat nie. So, berhenti dulu setakat nie, aku nak siap2 gi kerja.
|
admin
Admin
|
# Posted: 6 Aug 2007 14:08 - Edited by: admin
Proses Hari ke-3 -Letak server package ke "modules folder" dan bukan "base folder" -Jadikan noguix sebagai iso image, noguix-1.0.0.iso - OK! -Burn noguix-1.0.0.iso - OK! -Boot noguix - OK!
Objektif -Auto load server package into live cd!
Keputusan -noGuiX server package masih tidak auto load ke dlm live cd.
Proses Hari ke-3 - Test 2 Masukkan pakej di bwah satu persatu ke dlm "modules folder" dhcp-3.0.5 Monkey-Php-0.9 inetd-1.7.9 lynx-2.8.5 nfs-utils-1.0.7 popa3d-1.0.2 Postfix-2.4.3 Procmail-3.22 Quota-3.12 vsftpd-2.0.4
Bina imej .iso (noguix-1.0.0) - OK! Burn imej - OK!
Keputusan 2 -Semua pakej berjaya dimasukkan secara auto ke dlm ramdisk selepas kernel boot. -Alhamdulillah, kali nie, bleh kata semua menjadi

Memandangkan semua server yang dikehendaki telah berjaya dimuatkan kedalam noGuiX, proses seterusnya, memastikan kesemua server dapat berfungsi dengan sebaiknya.
Setakat ni, tiada masalah bagi monkey webserver, ssh & ftp server. Yang masih belum berjaya diuji kestabilannya hanyalah nfs server & postfix MTA server.
###########sambung############
|
admin
Admin
|
# Posted: 6 Aug 2007 23:13
Okie : Ni nota aku utk perbetulkan postfix punya problem : check integrity Failed!
TRY THIS STEP --------------- sudo chown postfix /var/spool/postfix/*
$ ls -l /private/var/spool/postfix/ drwx------ 18 postfix wheel 612 Jun 24 2004 active drwx------ 18 postfix wheel 612 Nov 29 14:24 bounce drwx------ 2 postfix wheel 68 Sep 26 2003 corrupt drwx------ 13 postfix wheel 442 Apr 12 10:44 defer drwx------ 13 postfix wheel 442 Apr 12 10:44 deferred drwx------ 2 postfix wheel 68 Sep 26 2003 flush drwx------ 2 postfix wheel 68 Sep 26 2003 hold drwx------ 18 postfix wheel 612 May 9 10:49 incoming drwx-wx--- 2 postfix postdrop 68 May 9 10:49 maildrop drwxr-xr-x 16 root wheel 544 Nov 15 2004 pid drwx------ 18 postfix wheel 612 May 12 08:57 private drwx--x--- 7 postfix postdrop 238 May 12 08:57 public
$ sudo ls -l /private/var/spool/postfix/incoming/ Password: drwx------ 2 postfix wheel 68 Apr 16 08:24 0 drwx------ 2 postfix wheel 68 Apr 27 10:40 1 drwx------ 2 postfix wheel 68 Apr 16 07:16 2 drwx------ 2 postfix wheel 68 Apr 27 10:27 3 drwx------ 2 postfix wheel 68 Apr 27 08:49 4 drwx------ 2 postfix wheel 68 Apr 27 05:24 5 drwx------ 2 postfix wheel 68 Apr 27 08:32 6 drwx------ 2 postfix wheel 68 Apr 16 07:44 7 drwx------ 2 postfix wheel 68 Apr 16 07:16 8 drwx------ 2 postfix wheel 68 Apr 27 05:24 9 drwx------ 2 postfix wheel 68 May 9 10:49 A drwx------ 2 postfix wheel 68 Apr 27 08:49 B drwx------ 2 postfix wheel 68 Apr 26 16:32 C drwx------ 2 postfix wheel 68 Apr 27 11:42 D drwx------ 2 postfix wheel 68 Apr 27 10:27 E drwx------ 2 postfix wheel 68 Nov 29 14:24 F
$ sudo ls -l /private/var/spool/postfix/deferred/ drwx------ 2 postfix wheel 68 Oct 9 2004 1 drwx------ 2 postfix wheel 68 Apr 11 21:48 2 drwx------ 2 postfix wheel 68 May 9 10:49 3 drwx------ 2 postfix wheel 68 Jul 6 2004 5 drwx------ 2 postfix wheel 68 Jun 24 2004 6 drwx------ 2 postfix wheel 68 Mar 21 01:12 7 drwx------ 2 postfix wheel 68 Oct 9 2004 8 drwx------ 2 postfix wheel 68 Apr 12 22:31 9 drwx------ 2 postfix wheel 68 Apr 10 22:53 A drwx------ 2 postfix wheel 68 Apr 26 16:32 C drwx------ 2 postfix wheel 68 Jul 6 2004 D
OR THIS STEP ---------------- chown -R postfix /var/spool/postfix postsuper -s
|
admin
Admin
|
# Posted: 7 Aug 2007 18:34
hmm nampak gaya, terpaksa la aku gantikan postfix dgn sendmail 8.13.3 pakej dari slackware. Yang penting, apa problem skalipun, aku akan try masukkan satu mail server dalam noGuiX nie.
|
admin
Admin
|
# Posted: 9 Aug 2007 15:18 - Edited by: admin
OK! akhirnya berjaya juga aku menghidupkan postfix di dlm noGuiX berpandukan ajaran di bwah ni. Ya, aku pun x paham apa dia org tulis. Cam tulisan Taiwan, ke korea, ke cina aku pun x tau. Tapi, byk2 site tutorial utk cari jawapan permasalahan aku, site kat bawah ni aje yg leh pakai..Hampeh! dekat seminggu kantoi kat postfix je..
自己解決しました。
いろいろ調べた結果、このような記述を見つけましてやってみましたところ postfixが起動いたしました。 お騒がせいたしました。
「これは、キューディレクトリ (/var/spool/postfix) の所有者が削除した apt 版の Postfix になっていたのが原因でした。そこで、キューディレクトリをいったん削除して再作成します。」
# rm -rf /var/spool/postfix # /etc/postfix/post-install create-missing そして、 Postfix を起動...。
# service postfix start→comand not found
#/etc/rc.d/init.d/postfix start→ok
#/etc/rc.d/init.d/postfix restart postfixを停止中: [ok] postfixを起動中: [ok]
Disebabkan untuk tujuan noGuiX development, aku install vmware server ari nie, pastu run noGuiX atas Windows XP..senang, x yah aku nak reboot2 pc..Setup virtual server, ip skali smua, nah! noGuiX secara virtual siap ngan internet connection skali.
Hasilnya..Postfix Berjaya! 
Ok kesimpulannya setakat hari ke-4 nie : dhcp-3.0.5 ---------------> OK! Monkey-Php-0.9 ---------------> OK! inetd-1.7.9 ---------------> OK! lynx-2.8.5 ---------------> OK! nfs-utils-1.0.7 ---------------> NOT TESTED! popa3d-1.0.2 ---------------> OK! Postfix-2.4.3 ---------------> OK! Procmail-3.22 ---------------> NOT TESTED! Quota-3.12 ---------------> OK! vsftpd-2.0.4 ---------------> OK!
|
admin
Admin
|
# Posted: 10 Aug 2007 09:45 - Edited by: admin
Proses Hari ke-5
Disebabkan noGuiX skrg telah mempunyai base live-cd v-1.0.0 tanpa GUI, maka aku mengorak langkah kehadapan dengan menghasilkan noGuiX-xfce Server Editon.
-Tambah xfce4 desktop manager - OK! -Configure xfce default wallpaper - OK! -Create xfce menu untuk server - OK! -Create noguix-xfce-1.0.0.iso - OK! -Burn noguix-xfce-1.0.0.iso - OK! -Run noguix-xfce-1.0.0 dalam vmware - OK!
Hasilnya 
|
admin
Admin
|
# Posted: 11 Aug 2007 10:30 - Edited by: admin
Proses Hari ke-6
-Ubah default wallpaper yg lebih elegant - OK! -Tambah "server menu" pada xfce menu serta testing - OK! -Create noguix-xfce-1.0.0.iso - OK! -Burn noguix-xfce-1.0.0.iso - OK! -Run noguix-xfce-1.0.0 dalam vmware - OK!
Keputusan

|
admin
Admin
|
# Posted: 12 Aug 2007 03:36
Nota : Bagaimana auto start program (Firefox skali manual noGuiX)
- Bina direktori /home/user/Desktop/Autostart jika tiada - $cd ~/Desktop/Autostart - ln -s `lokasi/firefox`
|
admin
Admin
|
# Posted: 12 Aug 2007 22:43
Nota : Customize xterm prompt
- $touch /root/.bashrc - vi /root/.bashrc #Promt PS1='\u@\h\w:'
export PS1
|
admin
Admin
|
# Posted: 12 Aug 2007 22:46
Proses hari ke-7
- Customize xterm PS1 enviroment - OK! - Install webmin minimal - OK!

|
admin
Admin
|
# Posted: 14 Aug 2007 12:19 - Edited by: admin
Basic Configuration POSTFIX noGuiX - /etc/postfix/main.cf (configure) - postfix.setup (execute) - rm -rf /var/spool/postfix (execute) - /etc/postfix/post-install create-missing - /etc/postfix/access --> postmap /etc/postfix/access - /etc/postfix/aliases --> copy --> /etc --> $newaliases - Start postfix - Start popa3d - Run "sylpheed " mail client - pop & smtp server = domainame
TESTING Aug 14 12:00:38 (none) postfix/smtpd[30271]: connect from online-support.myvnc.com[192.168.0.5] Aug 14 12:00:38 (none) postfix/smtpd[30271]: DDE9F12DBC: client=online-support.myvnc.com[192.168.0.5] Aug 14 12:00:38 (none) postfix/cleanup[30276]: DDE9F12DBC: message-id=<20070814120038.f197ded8.abby@online-su pport.myvnc.com> Aug 14 12:00:38 (none) postfix/qmgr[30183]: DDE9F12DBC: from=<abby@online-support.myvnc.com>, size=609, nrcpt=1 (queue active) Aug 14 12:00:38 (none) postfix/smtpd[30271]: disconnect from online-support.myvnc.com[192.168.0.5] Aug 14 12:00:45 (none) postfix/smtp[30371]: DDE9F12DBC: to=<athlon_crazy@yahoo.com>, relay=g.mx.mail.yahoo.com[209.191.88.239]:25, delay=6.5, delays=0.06/0.2/2.4/3.8, dsn=2.0.0, status=sent (250 ok dirdel) Aug 14 12:00:45 (none) postfix/qmgr[30183]: DDE9F12DBC: removed abby@noguiX:~$
|
admin
Admin
|
# Posted: 14 Aug 2007 12:32
TO DO LIST
(Remaster iso) - portmap - sylpheed - webmin
|
admin
Admin
|
# Posted: 15 Aug 2007 01:19 - Edited by: admin
Proses Hari ke-8 - nfs
root@noguiX:~# /etc/rc.d/rc.portmap start Starting RPC portmapper: /sbin/rpc.portmap root@noguiX:~# ps -ef | grep portmap | grep -v grep bin 12240 1 0 01:11 ? 00:00:00 /sbin/rpc.portmap root@noguiX:~# mount -t nfs 192.168.0.2:/mnt/hda5/opensource /root/nfs
root@noguiX:~# mount tmpfs on / type tmpfs (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/hda1 on /mnt/hda1 type vfat (rw) /dev/hda5 on /mnt/hda5 type ext3 (rw) /dev/hdc1 on /mnt/hdc1 type ext2 (rw) /dev/hdc5 on /mnt/hdc5 type ext2 (rw) usbfs on /proc/bus/usb type usbfs (rw) 192.168.0.2:/mnt/hda5/opensource on /root/nfs type nfs (rw,addr=192.168.0.2)
root@noguiX:~# ls -l /root/nfs total 160376 -rw-rw-rw- 1 root root 329513 Jan 23 2007 1.3.0.zip -rw-rw-rw- 1 root root 2462810 Feb 7 2007 ATutor-1.5.3.3.tar.gz -rw-rw-rw- 1 root root 50688 Jun 13 10:10 Bifrost.0.9.6.tgz drwxr-xr-x 3 root root 4096 Jan 1 1996 Final/ -rw-rw-rw- 1 root root 2884132 May 26 02:21 FlashChatv479.rar -rw-rw-rw- 1 root root 31703145 Jan 27 2007 ISPConfig-2.2.9.tar.gz -rw-rw-rw- 1 root root 3076158 Jan 27 2007 ImageMagick-4.2.9.tar.gz
Tambahan: >Masukkan youtube downloader >Bina menu nfs-start/stop pada xfce desktop >Bina menu webmin-start/stop pada xfce desktop >Bina semula noguix-xfce-1.0.0.iso & reburn
Ok kesimpulannya setakat hari ke-8 : dhcp-3.0.5 ---------------> OK! Monkey-Php-0.9 ---------------> OK! inetd-1.7.9 ---------------> OK! lynx-2.8.5 ---------------> OK! nfs-utils-1.0.7 ---------------> OK! popa3d-1.0.2 ---------------> OK! Postfix-2.4.3 ---------------> OK! Procmail-3.22 ---------------> NOT TESTED! Quota-3.12 ---------------> OK! vsftpd-2.0.4 ---------------> OK!
|
admin
Admin
|
# Posted: 15 Aug 2007 09:02 - Edited by: admin
Tambah : 1- snapshot tools = xwd + netpbm tools (In Progress) $xwd | xwdtopnm | pnmtopng > screenshot.png
Additional Software Testing : rdesktop - remote windows xp - OK! mplayer - play torrent file .avi - OK!
|
admin
Admin
|
# Posted: 16 Aug 2007 01:54 - Edited by: admin
NMAP testing root@noguiX~:nmap -sT -O localhost
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-08-16 01:47 GMT Interesting ports on online-support.myvnc.com (127.0.0.1): Not shown: 1677 closed ports PORT STATE SERVICE 80/tcp open http 111/tcp open rpcbind 6000/tcp open X11 Device type: general purpose Running: Linux 2.4.X|2.5.X|2.6.X OS details: Linux 2.4.0 - 2.5.20, Linux 2.5.25 - 2.6.8 or Gentoo 1.2 Linux 2.4.19 rc1-rc7, Linux 2.6.3 - 2.6.10
NTFS TESTING - ntfs-3g root@noguiX~:ntfs-3g /dev/hda1 /mnt/windows -o rw root@noguiX~: root@noguiX~:mount tmpfs on / type tmpfs (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/hda5 on /mnt/hda5 type ext3 (rw) /dev/hdc1 on /mnt/hdc1 type ext2 (rw) usbfs on /proc/bus/usb type usbfs (rw) /dev/hdc5 on /mnt/hdc5 type ext2 (rw) /dev/hda1 on /mnt/windows type ntfs (rw)
TESTING IPTRAF - Network Monitoring

TESTING MPLAYER - Movie Player 
|
admin
Admin
|
# Posted: 28 Aug 2007 09:58 - Edited by: admin
Shell Script & xdialog
Memandangkan penggunaan GUI diperlukan bagi memudahkan pengguna beginner menggunakan noguix, maka shell script dan xdialog telah dipilih untuk menjalankan tugas2 seperti, add/delete new user, network config, system info dan lain2. Dengan adanya shell script & xdialog, pengguna noguix hanya perlu klik pada menu "nox" yang dibina dan segala tugasan menjadi lebih mudah.
Shell script: noxuseradd noxuserdel noxnet noxsnap noxtorrent noxyoutube
xdialog noxcpux noxmemx noxosx noxhostsx noxmessagesx noxsecurex noxsyslogx 
|
admin
Admin
|
# Posted: 29 Aug 2007 00:34
ok...akhirnya....noguix-xfce-1.0.5.iso released.
kenapa 1.0.5? sebab : 1.0.0 - tanpa GUI 1.0.1 - 1.0.4 = BUG
Terima Kasih..
|
admin
Admin
|
# Posted: 31 Aug 2007 04:56 - Edited by: admin
Mysql-5.0.37 Database Server Disebabkan, mysql database merupakan optional package dan tidak disertakan ke dalam noGuiX, di sini, aku try install mysql dari slackware ke dalam noGuiX.
PROSES INSTALL -convert mysql.tgz ke .mo -install ke dlm live-cd noGuiX menggunakan "uselivemod" -create mysql grant table $ mysql_install_db --user=mysql -start mysql $ /etc/rc.d/rc.mysqld start
root@noguiX~:ps -ef | grep mysql | grep -v grep root 21064 1 0 04:26 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid --skip-networking mysql 21089 21064 0 04:26 pts/0 00:00:00 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql/mysql.pid --skip-external-locking --skip-networking
Ternyata, proses di atas berjaya. Proses seterusnya uji web server Monkey + php + mysql database. Aku try guna phpBB2 forum untuk ujian.
PROSES UJIKAJI MONKEY + PHP + MYSQL -extract phpBB2 ke /opt/monkey/htdocs -create database phpbb
mysql Ver 14.12 Distrib 5.0.37, for slackware-linux-gnu (i486) using EditLine wrapper
Connection id: 3 Current database: phpbb Current user: root@localhost SSL: Not in use Current pager: stdout Using outfile: '' Using delimiter: ; Server version: 5.0.37 Source distribution Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: latin1 Db characterset: latin1 Client characterset: latin1 Conn. characterset: latin1 UNIX socket: /var/run/mysql/mysql.sock Uptime: 17 min 36 sec
Threads: 1 Questions: 11 Slow queries: 0 Opens: 12 Flush tables: 1 Open tab les: 6 Queries per second avg: 0.010 -------------- Bye root@noguiX~:
OK!..setelah melakukan ujian, mysql bleh run dengan jayanya tanpa problem. Begitu juga monkey & php. Malangnya, php tak dapat berkerjasama dengan mysql disebabkan : - php 5.x by default, mysql support disable. - hanya php 4.x by default mysql enable. - perlu recompile balik php 5.x --with-mysql=enable
So, pilihan terbaik, install monkey + php 4.x atau recompile balik php.
Sekian, harap maklum.
|
admin
Admin
|
# Posted: 31 Aug 2007 17:19 - Edited by: admin
ok...bagi mereka yang mahukan monkey+php+mysql, sila download php4 package (php4monkey-4.3.7.mo) dari ftp malaysia-linux. PHP4 ni dicompiled --with-mysql. Maknanya support mysql.
Step -download -openwith "uselivemod" -start web server -browse http://localhost/php/index.php
Pastikan versi php 4.3.7 & mysql support.
sekian.
|
admin
Admin
|
# Posted: 1 Sep 2007 13:09
Testing - Installation Process
Requirements - One clean partition + linux file system - OK! (dev/hda5) - Grub bootloader - included by default noguix
Installation -------------------------- - nox admin-->nox install-->install - OK! - mount partition - script - /mnt/hda5 - OK! - Proceeed - script - yes - OK! - Installation Process Finished 1-2 minutes - P4 2.8Ghz - OK!
Grub Bootloader ------------------------------------- - $ grubconfig - Run - OK! - grub - devices - /dev/hda5 - OK! - grub - install grub files to - MBR - OK! - grub - location - /dev/hda - OK! - grub Finished - OK! - reboot system - Eject cd - OK! - Login OK! - Disk usage - /mnt/hda5 - 400MB - OK!
|
admin
Admin
|
# Posted: 3 Sep 2007 16:03 - Edited by: admin
Notes / Testing - DHCP Server Current status : Untested configuration files (/etc/dhcpd.conf) copied from Debian Sarge.
ddns-update-style none;Notes / Testing - DHCP Server
option domain-name-servers 202.188.0.133, 202.188.1.5;
default-lease-time 86400; max-lease-time 604800;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.20 192.168.0.30; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.2; }
Command $ dhcpd --> to start the server $ netstat -uap --> check dhcp server is running(see bootps) $ grep bootps /etc/services --> see udp port is actual udp port 67 $ tail /var/log/syslog --> see any dhcp error
How to make sure it works! - reboot client and see for whether dhcp server assign IP address for client in /var/log/syslog. - try locate dhcpd.lease & look inside. There should be current ip address leases.
Latest Status : Tested & it's working perfectly!!!
root@noGuiX:tail -n 10 /mnt/hda5/var/log/messages Sep 3 18:29:33 (none) dhcpd: Wrote 0 leases to leases file. Sep 3 18:29:33 (none) dhcpd: Listening on Socket/eth0/192.168.0/24 Sep 3 18:29:33 (none) dhcpd: Sending on Socket/eth0/192.168.0/24 Sep 3 18:32:21 (none) dhcpd: DHCPDISCOVER from 00:11:2f:16:e5:b6 via eth0 Sep 3 18:32:25 (none) dhcpd: DHCPDISCOVER from 00:11:2f:16:e5:b6 via eth0 Sep 3 18:32:26 (none) dhcpd: DHCPOFFER on 192.168.0.10 to 00:11:2f:16:e5:b6 via eth0 Sep 3 18:32:26 (none) dhcpd: DHCPREQUEST for 192.168.0.10 (192.168.0.2) from 00:11:2f:16:e5:b6 via eth0 Sep 3 18:32:26 (none) dhcpd: DHCPACK on 192.168.0.10 to 00:11:2f:16:e5:b6 via eth0
|
admin
Admin
|
# Posted: 3 Sep 2007 18:19 - Edited by: admin
Latest Error Found!
1) /etc/hosts --> need to remove few domain 2) /etc/rc.d/rc.local --> need to remove / comment static IP configuration 3) Network configuration Menu - Dynamic - suppose $ dhcpcd -d -t eth0 4) Should add Menu to start NFS server start
|
admin
Admin
|
# Posted: 4 Sep 2007 23:55 - Edited by: admin
Testing x11vnc server Status : Tested successfully
|
admin
Admin
|
# Posted: 7 Sep 2007 00:35 - Edited by: admin
Testing add-on server DNS Server / Bind
1 - Download bind-0.9.1.mo.tgz 2 - Convert to .mo 3 - mkdir /var/named/master 4 - edit /etc/named.conf 5 - edit /var/named/master/localhost.zone 6 - edit /var/named/master/named.local 7 - start services "named" 8 - $ dig noguix 9 - add both nameserver (local & ISP) -------------------------------------------------- -------------------------------------------------- ------- root@noguiX~:dig noguix
; <<>> DiG 9.3.1 <<>> noguix ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44498 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION: ;noguix. IN A
;; ANSWER SECTION: noguix. 86400 IN A 192.168.0.10
;; AUTHORITY SECTION: noguix. 86400 IN NS noguix.
;; Query time: 2 msec ;; SERVER: 192.168.0.10#53(192.168.0.10) ;; WHEN: Sat Sep 8 08:45:53 2007 ;; MSG SIZE rcvd: 54 -------------------------------------------------- -------------------------------------------------- ------- root@noguiX~:dig 192.168.0.10
; <<>> DiG 9.3.1 <<>> 192.168.0.10 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 8001 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION: ;192.168.0.10. IN A
;; AUTHORITY SECTION: . 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2007090701 1800 900 604800 86400
;; Query time: 231 msec ;; SERVER: 192.168.0.10#53(192.168.0.10) ;; WHEN: Sat Sep 8 08:46:06 2007 ;; MSG SIZE rcvd: 105 -------------------------------------------------- -------------------------------------------------- -------
root@noguiX~:nslookup noguix Server: 192.168.0.10 Address: 192.168.0.10#53
Name: noguix Address: 192.168.0.10 -------------------------------------------------- -------------------------------------------------- -------
root@noguiX~:nslookup 192.168.0.10 Server: 192.168.0.10 Address: 192.168.0.10#53
10.0.168.192.in-addr.arpa name = noguix. -------------------------------------------------- -------------------------------------------------- -------
root@noguiX~:host noguix noguix has address 192.168.0.10 root@noguiX~:host 192.168.0.10 -------------------------------------------------- -------------------------------------------------- ------- 10.0.168.192.in-addr.arpa domain name pointer noguix. root@noguiX~: -------------------------------------------------- -------------------------------------------------- -------
|
admin
Admin
|
# Posted: 13 Sep 2007 15:15 - Edited by: admin
Another program successfully tested with noguix-1.0.5RC1
-mousepad - like notepad *** -ettercap - network scan - even all thing key in YM can will be recorded **** -Openoffice2.2.0 ***** -gimp2 - graphic design ***** -qiv - image viewer *** -tor & privoxy - hidden & make privacy connection between LAN or WAN *****
|
admin
Admin
|
# Posted: 15 Sep 2007 09:41 - Edited by: admin
Kernel Compilation - Boots plash/ logo - noGuiX
Requirements : 1 -Official noGuiX Developement Module - gcc 3.4.6 - OK - python 2.4.3 - OK - autoconf - OK - automake - OK - bin86 - binutils - glibc - OK - libtool - OK - make - OK - x11-devel - and many more
2 - Kernel sources - noguix need this kernel souce 2.6.16
3 - ncurses - make menuconfig
4 - Additional (Optional in case development module have some problem on it) *g++libs *glibc-2.3.5-6 *glibc-solibs-2.3.5-6
|