Hi All,

I am trying to setup a fresh Packetfence. There are some problems and
I can't solve it..
I google a lot but there is no information.


My environment:
OS: debian wheezy running in a VM machine;
interfaces: two physical network cards bridge to vm;
Packetfence version: latest version from website; installed by apt-get

My purpose:
One network interface is connecting to Internet and another is
connecting to a AP. Packetfence will be the captive portal and I can
manage it from web.
Internet --> eth0(WAN)
eht1--> AP --> Clients

My setup steps:
1. install the debian and Packetfence
2. configure the two interfaces ip address
3. open the web configuration page and the error comes at step 2(Networks)
        Logical name    IP Address      Netmask Type
 OFF    eth0    192.168.1.28    255.255.255.0   Management      Add VLAN
 OFF    eth1    192.168.0.1     255.255.255.0   Inline  Add VLAN
both two interfaces are OFF here, I can't enable them otherwise I got
this error msg:
"Error! Interface eth1 has not been enabled. Should check server side
logs for details"

I am sure both two interfaces are activing.Here is some configuration :
/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
# The secondary network interface
auto eth1
iface eth1 inet static
address 192.168.0.1
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
=======================================
/etc/dhcp/dhcpd.conf
option domain-name "zlyzwy.cn";
option domain-name-servers 8.8.8.8, 192.168.0.1;

default-lease-time 6000;
max-lease-time 7200;

subnet 192.168.0.0 netmask 255.255.255.0 {
    range 192.168.0.100 192.168.0.200;
    option routers 192.168.0.1;
    option broadcast-address 192.168.0.255;
}
=======================================
/etc/default/isc-dhcp-server
INTERFACES="eth1"

======================================
root@PacketFence:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:3f:d0:32
          inet addr:192.168.1.28  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fe3f:d032/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:292 errors:0 dropped:0 overruns:0 frame:0
          TX packets:274 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:38099 (37.2 KiB)  TX bytes:87850 (85.7 KiB)
          Interrupt:18 Base address:0x2024

eth1      Link encap:Ethernet  HWaddr 00:0c:29:1c:d0:ee
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe1c:d0ee/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4005 (3.9 KiB)  TX bytes:648 (648.0 B)
          Interrupt:19 Base address:0x20a4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:271 errors:0 dropped:0 overruns:0 frame:0
          TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:816944 (797.7 KiB)  TX bytes:816944 (797.7 KiB)

============================================================

If you need any additional information, please inform me..
Thanks for any reply in advance..

Zlyzwy
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to