ข่าว: ข่าวประกาศ

  • 03 พฤษภาคม 2024, 08:11:46

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - admin

หน้า: 1 ... 110 111 [112] 113 114 115
1666
ฟังก์ชั่นพื้นฐาน ของตัว Zyxel ES-4024A เช่น
สนับสนุน Routing Protocol ได้แก่
- Static Routing   
- RIP   
- IGMP   
- DVMRP   
- OSPF 

สนับสนุนการทำ Access Control List
และฟังก์ชั่นอื่น ๆ ทั่ว ๆ ไป


ฟังก์ชั่นที่น่าสนใจของ Zyxel ES-4024A เช่น

การกำหนด Class ผ่านทางเวป

การกำหนด Bandwidth ให้แต่ละ Class

สามารถกำหนด IP ได้ทุก VLAN

1667
Network / ศึกษาการทำ Wireless Roaming ด้วย Zyxel B-1000 v2
« เมื่อ: 07 พฤษภาคม 2008, 09:24:55 »
การทำ Roaming นั้น ก็คือ การเชื่อมสัญญาณ Wireless ของ Access Point แต่ละตัวเข้าด้วยกัน เปรียบเสมือนเป็น Access Point ตัวเดียวกัน โดยจะต้องตั้ง ESSID เป็นชื่อเดียวกัน และเิปิด Port สำหรับการสื่อสารให้ Access Point แต่ละตัวคุยกัน ทำให้สัญญาณไม่ขาดหาย เมื่อมีการเปลี่ยนตำแหน่งของ Client หรือเปลี่ยนไปเชื่อมสัญญาณของ Access Point อีกตัวนึง

ตั้งค่า ESSID และ Channel ให้ทำการ Scan ค่าที่ดีที่สุด

ตั้งค่า Active Roaming และ Port

1668
ในการติดตั้ง HDD เพิ่มเข้าไปอีก 1 ตัว เพื่อเพิ่มขนาดเนื้อที่สำหรับเก็บข้อมูล หรือสำหรับแยก Cache File สำหรับ squid ก็สามารถทำได้โดย

root@cpluszone:~# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x54bf54bf

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9327    74919096   83  Linux
/dev/sda2            9328        9729     3229065    5  Extended
/dev/sda5            9328        9729     3229033+  82  Linux swap / Solaris

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8f800000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1913    15366141    7  HPFS/NTFS
/dev/sdb2            1914        9729    62782020    f  W95 Ext'd (LBA)
/dev/sdb5            1914        9053    57352018+   7  HPFS/NTFS
/dev/sdb6            9054        9729     5429938+   7  HPFS/NTFS
root@cpluszone:~#

จาก ตัวอย่าง จะเห็นว่า HDD ลูกแรก /dev/sda ขนาด 80GB ติดตั้ง Ubuntu 7.10 และ
HDD ตัวที่สอง /dev/sdb ขนาด 80GB ยังไม่ได้ทำการ Format ยังคงมี Partition ของ Windows XP อยู่

ทำการ format โดยใช้คำสั่ง

root@cpluszone:~# fdisk /dev/sdb  <--- คำสั่ง fdisk เพื่อทำการลบและสร้าง partition ใหม่

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): d  <-- กด d เพื่อ ลบ patition ที่มีอยู่
Partition number (1-6): 1 <-- เลือก partition ที่ต้องการลบ

Command (m for help): p  <-- กด p เพื่อดู partition

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8f800000

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): n <-- สร้าง patition ใหม่ขึ้นมา
Command action
   e   extended
   p   primary partition (1-4)
<-- เป็นแบบ primary
Partition number (1-4): 1
First cylinder (1-9729, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-9729, default 9729):
Using default value 9729

Command (m for help): w  <-- ทำการบันทึก partition ใหม่
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

เมื่อแบ่ง partition เสร็จแล้ว ต่อไปก็ต้องทำการ make filesystem หรือ format นั่นเอง

root@cpluszone:~# mkfs.ext3 /dev/sdb
mke2fs 1.40.2 (12-Jul-2007)
/dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
9781248 inodes, 19537686 blocks
976884 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
597 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424

Writing inode tables: done                           
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

1669
default ip : 192.168.1.1
user/pass : admin/1234



1670
เป็นระบบบริการจัดการระบบ Karaoke ผ่านระับบเครือข่าย Ethernet ซึ่งจะทำให้ระบบ Karaoke มีประสิทธิภาพและจัดการได้ง่ายขึ้น


ความสามารถของระบบ
- สามารถกำหนดการใช้งานเป็นแบบต่อเพลง (สำหรับตู้เพลง) หรือต่อชั่วโมง (สำหรับห้อง VIP) ได้
- มีระบบ Prepaid สำหรับซื้อเพลงก่อนร้องได้ (สำหรับตู้เพลง)
- สามารถค้นหาเพลงผ่านทางจอทีวีได้
- สามารถสั่งอาหารและเครื่องดื่มผ่านทางจอทีวีได้
- สามารถส่งข้อความตอบโต้ระหว่างเครื่องผู้ควบคุมกับทีวีแต่ละห้องได้
- สามารถบันทึกข้อมูลลูกค้าไ้ด้
- มีระบบบันทึกการจองห้องได้
- สามารถดัดแปลงเป็นใช้งานอินเตอร์เน็ต / VDO Online สำหรับโรงแรมหรืออพาร์ตเม้นท์ได้
- และอื่น ๆ สามารถพัฒนาเพิ่มเติมได้

เหมาะสำหรับ
- ตู้คาราโอเกะ
- ร้านคาราโอเกะแบบห้องรวม และห้อง VIP
- โรงแรม / อพาร์ตเม้นท์ ที่ต้องการบริการ Karaoke / VDO On Demand / Internet กับลูกค้าในห้องพัก

แผนผังการเชื่อมต่อและควบคุมระบบ Karaoke


ตัวอย่างตู้ Karaoke


ตัวอย่างห้อง Karaoke


1671

เนื่องจากตัวโปรแกรม EBG นั้นสามารถรองรับ Client ได้ถึง 1,000 User Online ดังนั้นระบบเครือข่ายขนาดใหญ่ จึงสามารถนำระบบนี้ไปใช้งานได้ อย่างไม่มีปัญหา ยกตัวอย่างเช่น

มหาวิทยาลัยราชภัฏสุราษฏร์ธานี ได้ใช้ระบบ EBG เป็นตัว Authentication ระบบ Wireless ของมหาวิทยาลัย ซึ่งสามารถทำงานได้เทียบเท่าระบบที่มีราคาหลายแสนบาทเลยทีเดียว

ตัวระบบโปรแกรม EBG นั้นเป็นโปรแกรมที่ทางหาดใหญ่อินเตอร์เน็ต ได้เป็นผู้พัฒนาและคิดค้นขึ้นมา จึงสามารถปรับแต่งและจูนให้เข้ากับระบบของลูกค้า ได้ตรงตามความต้องการมากที่สุด



ความสามารถของตัวโปรแกรม EBG สามารถดูได้จาก http://www.hadyaiinternet.com/index.php?topic=16.0



1672
โดยใช้โปรแกรม rp-pppoe เป็นตัวทำหน้าที่เป็น pppoe-server และใช้การ Authentication อ้างอิงจาก text file ซึ่งเป็นแบบง่าย ๆ โดยไม่ต้องใช้ RADIUS Server

ขั้นตอนการติดตั้ง

1. apt-get install pppoe

2. config /etc/ppp/options

lock
crtscts
nobsdcomp
nodeflate
nopcomp

3. config /etc/ppp/pppoe-server-options

auth
require-chap
default-mru
default-asyncmap
lcp-echo-interval 60
lcp-echo-failure 5
ms-dns a.b.c.d
ms-dns e.f.g.h
noipdefault
noipx
nodefaultroute
noproxyarp
noktune
netmask 255.255.255.255
logfile /var/log/pppd.log

4. config /etc/ppp/chap-secrets

ีuser1 * pass1 172.16.35.10

5. start your pppoe-server like this:

pppoe-server -I eth0 -L 10.0.0.1

เรียบร้อย

1673
Linux Server System / วิธีตั้งเวลาใน Server Ubuntu 7.10
« เมื่อ: 29 เมษายน 2008, 12:06:59 »
View Time
To view the current date and time, the following command will be enough

date

Set Time
To change time means to set a new time. To set time in Ubuntu (or any Linux), just run the following command

sudo date newdatetimestring

where newdatetimestring has to follow the format nnddhhmmyyyy.ss which is described below

nn is a two digit month, between 01 to 12
dd is a two digit day, between 01 and 31, with the regular rules for days according to month and year applying
hh is two digit hour, using the 24-hour period so it is between 00 and 23
mm is two digit minute, between 00 and 59
yyyy is the year; it can be two digit or four digit: your choice. I prefer to use four digit years whenever I can for better clarity and less confusion
ss is two digit seconds. Notice the period ‘.’ before the ss.
Let’s say you want to set your computer’s new time to December 6, 2007, 22:43:55, then you would use:

sudo date 120622432007.55

It couldn’t be any easier, could it? The source of this information was a good post on Ubuntu Forums (Set time/date via command line).


1674
- Talesrunner

tcp   192.168.1.2:1190               203.113.10.22:9153             ESTABLISHED
tcp   192.168.1.2:1175               203.113.10.17:9153             ESTABLISHED
tcp   192.168.1.28:1064              203.113.10.17:9153             ESTABLISHED
tcp   192.168.1.28:1066              203.113.10.22:9000             ESTABLISHED
tcp   192.168.1.37:1069              203.113.10.14:9153             ESTABLISHED
tcp   192.168.1.38:1073              203.113.10.14:9153             ESTABLISHED
tcp   192.168.1.48:1088              203.113.10.22:9153             ESTABLISHED
udp   192.168.1.28:9866              203.113.10.17:9155             ASSURED   
udp   192.168.1.37:9622              203.113.10.14:9155             UNREPLIED 
udp   192.168.1.38:9128              203.113.10.14:9155             ASSURED   

1675
-FreeStyle (freestyle.playpark.com)
www IP : 203.144.132.84 Port : 80
Login IP : 203.144.132.88 Port : 443
Game IP : 203.144.179.0/24 Port : 10001-10030  udp : 20000
Patch IP : 203.144.132.11 Port : 21

tcp   192.168.200.222:3428           203.144.132.88:443
tcp   192.168.200.10:1161            203.144.179.97:10015
tcp   192.168.200.10:1157            203.144.179.94:10001
tcp   192.168.200.120:1157           203.144.179.101:10021
udp   192.168.200.10:3602            203.144.179.101:20000


1676
-Yulgang (www.yulgang.in.th)
www IP : 203.144.132.85 Port : 80
Game IP : 203.144.179.0/24 Port


tcp   192.168.200.161:3109           203.144.179.150:16000
tcp   192.168.200.101:1875           203.144.179.180:16001
tcp   192.168.200.161:3041           203.144.179.132:16100
tcp   192.168.200.161:3097           203.144.179.131:16100
tcp   192.168.200.161:3117           203.144.179.130:16011

Patch IP : 203.144.132.11 Port : 21

โค๊ด: [Select]
Mon Apr 28 16:53:22 2008 frox[1800] Connect from 192.168.200.161
Mon Apr 28 16:53:22 2008 frox[1800] ... to 203.144.132.11()
Mon Apr 28 16:53:22 2008 frox[1800] Cache hit for ftp://203.144.132.11/yulgang/patch_202.zip.
Mon Apr 28 16:53:31 2008 frox[1800] Cache hit for ftp://203.144.132.11/yulgang/patch_203.zip.
Mon Apr 28 16:53:38 2008 frox[1800] Cache hit for ftp://203.144.132.11/yulgang/patch_204.zip.
Mon Apr 28 16:53:41 2008 frox[1800] Cache hit for ftp://203.144.132.11/yulgang/patch_205.zip.
Mon Apr 28 16:53:45 2008 frox[1800] Cache hit for ftp://203.144.132.11/yulgang/patch_206.zip.
Mon Apr 28 16:53:47 2008 frox[1800] Cache hit for ftp://203.144.132.11/yulgang/patch_207.zip.
Mon Apr 28 16:53:59 2008 frox[1800] Cache hit for ftp://203.144.132.11/yulgang/patch_208.zip.
Mon Apr 28 16:54:11 2008 frox[1800] Cache hit for ftp://203.144.132.11/yulgang/patch_209.zip.
Mon Apr 28 16:54:11 2008 frox[1800] Client closed connection
Mon Apr 28 16:54:11 2008 frox[1800] Closing session

1677
-Hip Street (www.hipstreet.in.th)
www IP : 58.97.46.200 Port : 80
Game IP : 58.97.46.0/24 Port : 4000, 791

tcp   192.168.200.222:2964           58.97.46.10:4000

Patch IP : 58.97.46.241-244 Port : 8021 (ftp)

โค๊ด: [Select]
Mon Apr 28 04:27:47 2008 frox[27570] Connect from 192.168.200.222
Mon Apr 28 04:27:47 2008 frox[27570] ... to 58.97.46.244()
Mon Apr 28 04:27:49 2008 frox[27570] Cache hit for ftp://haha@58.97.46.244:8021/Additionfile.dat.
Mon Apr 28 04:27:49 2008 frox[27570] Cache hit for ftp://haha@58.97.46.244:8021/Additionfile.dat.
Mon Apr 28 04:27:50 2008 frox[27570] Cache hit for ftp://haha@58.97.46.244:8021/AdditionupdateVideoPosterlogo_texture20.tga.
Mon Apr 28 04:27:50 2008 frox[27570] Client closed connection
Mon Apr 28 04:27:50 2008 frox[27570] Closing session
Mon Apr 28 04:27:50 2008 frox[27571] Connect from 192.168.200.222
Mon Apr 28 04:27:50 2008 frox[27571] ... to 58.97.46.244()
Mon Apr 28 04:27:53 2008 frox[27571] Cache hit for ftp://haha@58.97.46.244:8021/0_12.pkg.
Mon Apr 28 04:27:57 2008 frox[27571] Cache hit for ftp://haha@58.97.46.244:8021/0_13.pkg.
Mon Apr 28 04:28:00 2008 frox[27571] Cache hit for ftp://haha@58.97.46.244:8021/0_14.pkg.
Mon Apr 28 04:28:03 2008 frox[27571] Cache hit for ftp://haha@58.97.46.244:8021/0_15.pkg.
Mon Apr 28 04:28:11 2008 frox[27571] Cache hit for ftp://haha@58.97.46.244:8021/0_16.pkg.
Mon Apr 28 04:28:24 2008 frox[27571] Client closed connection
Mon Apr 28 04:28:24 2008 frox[27571] Closing session

1678
-Pangya Online (www.pangya.in.th)
www IP : 58.64.24.163 Port : 80
Game IP : 58.64.24.0/24 Port : 10104
              58.64.24.0/24 Port : 20201-20202
              203.195.98.0/24 Port : 20201-20202             

Patch IP : http://patch.pangya.in.th (203.195.98.6, 203.195.98.151, 58.64.24.154) Port : 80
** จะต้องไม่เก็บไฟล์ updatelist เข้า proxy **

Nprotect IP : http://nprotect.pangya.in.th (203.195.98.21, 203.195.98.22) Port : 80
** จะต้องไม่เก็บไฟล์ update.cfg? และเก็บทุกไฟล์ที่นามสกุล npz? ***
** ปกติ squid จะไม่เก็บไฟล์ที่มีเครื่องหมาย ? จะต้องไป config เพิ่มเติมให้มันเก็บ ***

1679
-Cabal Online (www.cabal.in.th)
www IP : 203.144.132.86 Port 80
Game IP : 203.144.132.0/24 Port : 38101, 38111-38114, 38121-38122

Patch IP : http://update.cabal.in.th (203.144.132.123) Port : 80
Patch IP : http://download.cabal.in.th (203.144.132.11) Port : 80
** จะต้องไม่เก็บไฟล์ urlinfo.ini เข้า proxy **

Xtrap IP : http://xtrap.cabal.in.th (203.144.132.11) Port : 80
Item Shop : http://shop.cabal.in.th (203.144.132.140) Port : 80
** http://shop.cabal.in.th/cabalAppShop/default.aspx? จะเช็ค ip เกมส์ **

1680
-Special Force (www.sf.in.th)
www IP : 61.90.203.111 Port : 80
Game IP : 61.90.203.0/24 Port : tcp 27930-27931 และ udp 20000-20200

Patch IP : http://patch.sf.in.th (61.90.203.90) Port : 80
NProtect : http://nprotect.sf.in.th (61.90.203.4) Port : 80

ใช้ squid สำหรับเก็บ pacth
** จะต้องไม่เก็บไฟล์ version.ini ***

โค๊ด: [Select]
1209293251.063     50 192.168.200.158 TCP_MISS/200 640 GET http://patch.sf.in.th/version.ini - FIRST_UP_PARENT/192.168.2.1 application/octet-stream
1209293258.809   7708 192.168.200.158 TCP_HIT/200 3926503 GET http://patch.sf.in.th/1138.zip - NONE/- application/x-zip-compressed
1209293266.987   7889 192.168.200.158 TCP_HIT/200 3814116 GET http://patch.sf.in.th/1139.zip - NONE/- application/x-zip-compressed
1209293277.099   9919 192.168.200.158 TCP_HIT/200 5256471 GET http://patch.sf.in.th/1140.zip - NONE/- application/x-zip-compressed
1209293285.415   8045 192.168.200.158 TCP_HIT/200 5109436 GET http://patch.sf.in.th/1141.zip - NONE/- application/x-zip-compressed
1209293295.643   6523 192.168.200.158 TCP_HIT/200 5782609 GET http://patch.sf.in.th/1142.zip - NONE/- application/x-zip-compressed
1209293302.416   5274 192.168.200.158 TCP_HIT/200 3176722 GET http://patch.sf.in.th/1143.zip - NONE/- application/x-zip-compressed
1209293307.646   5080 192.168.200.158 TCP_HIT/200 3283990 GET http://patch.sf.in.th/1144.zip - NONE/- application/x-zip-compressed
1209293309.813   1908 192.168.200.158 TCP_HIT/200 1624338 GET http://patch.sf.in.th/1145.zip - NONE/- application/x-zip-compressed
1209293311.725   1851 192.168.200.158 TCP_HIT/200 1371125 GET http://patch.sf.in.th/1146.zip - NONE/- application/x-zip-compressed
1209293318.114   6349 192.168.200.158 TCP_HIT/200 5521357 GET http://patch.sf.in.th/1147.zip - NONE/- application/x-zip-compressed
1209293323.047   4678 192.168.200.158 TCP_HIT/200 4614487 GET http://patch.sf.in.th/1148.zip - NONE/- application/x-zip-compressed
1209293325.841   2457 192.168.200.158 TCP_HIT/200 5188321 GET http://patch.sf.in.th/1149.zip - NONE/- application/x-zip-compressed

ใช้ squid สำหรับเก็บ Nprotec
** จะต้องไม่เก็บไฟล์ update.cfg? และเก็บทุกไฟล์ที่นามสกุล npz? ***
** ปกติ squid จะไม่เก็บไฟล์ที่มีเครื่องหมาย ? จะต้องไป config เพิ่มเติมให้มันเก็บ ***

โค๊ด: [Select]
1209311334.964     77 192.168.200.124 TCP_MISS/200 6302 GET http://nprotect.sf.in.th/nProtect/GameGuard/RealServer/update.cfg? - FIRST_UP_PARENT/192.168.2.1 config
1209311335.704     50 192.168.200.124 TCP_HIT/200 73027 GET http://nprotect.sf.in.th/nProtect/GameGuard/RealServer/TeCtrl.dll.npz? - NONE/- nprotect
1209311335.844     83 192.168.200.124 TCP_HIT/200 121266 GET http://nprotect.sf.in.th/nProtect/GameGuard/RealServer/tyav32.dll.npz? - NONE/- Nprotect
1209311335.957     82 192.168.200.124 TCP_HIT/200 136851 GET http://nprotect.sf.in.th/nProtect/GameGuard/RealServer/TYAVP_000.npz? - NONE/- Nprotect
1209311336.281    295 192.168.200.124 TCP_HIT/200 360648 GET http://nprotect.sf.in.th/nProtect/GameGuard/RealServer/TYAVP_017.npz? - NONE/- Nprotect
1209311336.480    160 192.168.200.124 TCP_HIT/200 150054 GET http://nprotect.sf.in.th/nProtect/GameGuard/RealServer/TYAVP_018.npz? - NONE/- nprotect

หน้า: 1 ... 110 111 [112] 113 114 115