Difference between revisions of "WiFi: HotSpot - EasyHotSpot penggunaan tanpa DD-WRT"

From OnnoWiki
Jump to navigation Jump to search
(New page: Topologi Jaringan Internet -- PC EasyHotSpot -- AP / Linksys DD-WRT -- Client PC EasyHotSpot eth0 - Internet - IP address dinamik eth1 - LAN - IP address 192.168.1.11 ==Persia...)
 
Line 44: Line 44:
 
         }
 
         }
  
 
+
subnet 192.168.182.0 netmask 255.255.255.0 {
 
+
        range 192.168.182.100 192.168.182.200;
 +
        option routers 192.168.182.1;
 +
        }
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[WiFi: HotSpot]]
 
* [[WiFi: HotSpot]]

Revision as of 13:13, 12 April 2010

Topologi Jaringan

Internet -- PC EasyHotSpot -- AP / Linksys DD-WRT -- Client

PC EasyHotSpot

eth0 - Internet - IP address dinamik
eth1 - LAN      - IP address 192.168.1.11


Persiapan di Linksys DD-WRT

  • Matikan DHCP Server
  • Disable WAN / Internet

Persiapan di PC EasyHotSpot

Siapkan 2 Interface LAN

dhclient eth0
ifconfig eth1 192.168.1.11


Siapkan DHCP Server untuk EasyHotSpot

Instalasi DHCP Server

apt-get install dhcp3-server

Edit

vi /etc/dhcp3/dhcpd.conf
ddns-update-style none;
authoritative;
default-lease-time   86400; # 24 jam
max-lease-time      172800; # 48 jam
option domain-name "easyhotspot.org"
option domain-name-servers 208.67.222.222, 208.67.220.220;

subnet 192.168.1.0 netmask 255.255.255.0 {
       range 192.168.1.100 192.168.1.200;
       option routers 192.168.1.11;
       }
subnet 192.168.182.0 netmask 255.255.255.0 {
       range 192.168.182.100 192.168.182.200;
       option routers 192.168.182.1;
       }

Pranala Menarik