mirror of
https://github.com/monobilisim/monospot.git
synced 2026-04-27 03:25:53 +03:00
Page:
1) Monospot Kurulumu
No results
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Dosyaların yüklenmesi
fetch https://raw.githubusercontent.com/monobilisim/monospot/master/monospot-setup.sh
sh monospot-setup.sh
- Çekilen monospot-setup.conf dosyası ihtiyaca göre düzenlenir ve tekrardan .sh dosyası çalıştırılır.
vi monospot/monospot-setup.conf
sh monospot-setup.sh
Hotspot ayarlarının yapılması
-
pfSense Services menüsünden Captive Portal bağlantısını açıp, hotspot adında hotspot oluştur ve gerekli ayarları yap.
- "Enable Captive Portal" kutucuğunu işaretleyin, ve "Interfaces" kısmında LAN'ı seçin.
- Giriş yapıldıktan sonra yönlendirmek istrediğiniz bir site varsa, "After authentication Redirection URL" kısmına ekleyin.
- "MAC Filtering" özelliğini devre dışı bırakın.
- "Authentication" kısmından, "Authentication Server" olarak "Local Database" seçin.
-
Services menüsünden Monospot'u aç ve ayarlar ekranından SMS, TC Kimlik veya Elle kullanıcı açma’yı seç
- (Pasaportla giriş özelliği Elle kullanıcı açma bölümüne aktarıldı. Bunun için TC Kimlik ile birlikte Elle kullanıcı açma da etkinleştirilip Dil’den Kullanıcı adı alanının değiştirilmesi gerekiyor)
-
Ayarlarda kurum adı ve rengini gir
-
Dil kısmından değişmesi gereken ifade varsa değiştir (örn: “Kullanıcı adı” yerine “Pasaport No”)
-
/usr/local/captiveportal/monospot/assets/imgdizinindecaptiveportal-logo.pngdosyasını değiştir
Kısıtlı kullanıcı grubu için erişim izni verme
Sadece Monospot’a ve/veya 5651 Loglar’a erişecek bir pfSense kullanıcı oluşturmak için
- /etc/inc/priv/priv.defs.inc dosyasının sonunda
$priv_rmvd = array();satırından önce aşağıdaki satırlar eklenir:
$priv_list['page-services-captiveportal'] = array();
$priv_list['page-services-captiveportal']['name'] = gettext("WebCfg - Services: Monospot");
$priv_list['page-services-captiveportal']['descr'] = gettext("Allow access to the 'Services: Monospot' page.");
$priv_list['page-services-captiveportal']['match'] = array();
$priv_list['page-services-captiveportal']['match'][] = "monospot*";
$priv_list['page-status-logbrowser'] = array();
$priv_list['page-status-logbrowser']['name'] = gettext("WebCfg - Status: 5651 Loglar");
$priv_list['page-status-logbrowser']['descr'] = gettext("Allow access to the 'Status: 5651 Loglar' page.");
$priv_list['page-status-logbrowser']['match'] = array();
$priv_list['page-status-logbrowser']['match'][] = "log_browser*";
- pfSense’te System -> User Manager -> Groups’tan yeni bir grup oluşturulur, Assigned Privileges bölümünde Add butonuna tıklanarak Monospot ve/veya 5651 Loglar eklenir. Bu grup için kullanıcı oluşturulur.