BMS-HOSxP Community

HOSxP => นอกเรื่อง => ข้อความที่เริ่มโดย: panus_t ที่ เมษายน 19, 2013, 11:52:03 AM

หัวข้อ: ClearOS 5.x Allow Mac ยังไงครับ
เริ่มหัวข้อโดย: panus_t ที่ เมษายน 19, 2013, 11:52:03 AM
ClearOS 5.x Allow Mac ยังไงครับ

คือ บล๊อคเว็บต่าง ๆ เรียบร้อย แต่จะให้บางเครื่องไม่ถูกบล๊อคจะทำไงครับ
Squid 2.6
หัวข้อ: Re: ClearOS 5.x Allow Mac ยังไงครับ
เริ่มหัวข้อโดย: GuSMall ที่ เมษายน 19, 2013, 13:51:40 PM
ให้แก้ไข / เพิ่ม ไฟล์ chilli.conf
(อยู่ใน /etc/chilli.conf หรือ /etc/chilli/config )  คับ
หัวข้อ: Re: ClearOS 5.x Allow Mac ยังไงครับ
เริ่มหัวข้อโดย: panus_t ที่ เมษายน 22, 2013, 09:00:54 AM
หา chilli ไม่เจอครับ

[root@system ~]# find -name / chilli.conf
find: warning: Unix filenames usually don't contain slashes (though pathnames do).  That means that '-name /' will probably evaluate to false all the time on this system.  You might find the '-wholename' test more useful, or perhaps '-samefile'.  Alternatively, if you are using GNU grep, you could use 'find ... -print0 | grep -FzZ /'.
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path...] [expression]
[root@system ~]# find / -name chilli.conf
find: /proc/4702: No such file or directory
find: /proc/4703: No such file or directory
[root@system ~]# find / -name chilli
[root@system ~]#

 ;D
หัวข้อ: Re: ClearOS 5.x Allow Mac ยังไงครับ
เริ่มหัวข้อโดย: GuSMall ที่ เมษายน 22, 2013, 22:05:08 PM
ติดตั้ง Chillispot ส่วนวิธีนี้จะเป็นของ Coova แล้วใช่ไหมครับ
วิธีทำ Mac Allow ใน Smile Authen โดยใช้ radcheck
เห็นมีแต่ วิธี allow Mac ของ Chillispot ส่วนวิธีนี้จะเป็นของ Coova นะครับ

เอา#ออกที่
#HS_MACAUTH=on    # To turn on MAC Authentication
#HS_MACAUTHMODE=local    # To allow MAC Authentication based on macallowed, not RADIUS
#HS_MACALLOW="..."
เป็น
HS_MACAUTH=on    # To turn on MAC Authentication
HS_MACAUTHMODE=local    # To allow MAC Authentication based on macallowed, not RADIUS
HS_MACALLOW="..."

สั่ง restart service โดยใช้คำสั่ง

service chilli restart
service radiusd restart

 LINK SmileAuthenServer_V1.0b  http://www.4shared.com/file/GuKQjRy9/SmileAuthenServer_V10b.html?
ครับ coova ไฟล์ chilli.conf ครับ