[root@packetfence pf]# bin/pfcmd interfaceconfig get all
interface|ip|mask|type|enforcement|gateway
eth1||||monitor||
eth0||192.168.1.5|255.255.255.0|management||192.168.1.16
eth0.2||192.168.2.1|255.255.255.0|internal|vlan|192.168.2.1
eth0.3||192.168.3.1|255.255.255.0|internal|vlan|192.168.3.1
eth0.5||192.168.5.1|255.255.255.0|internal|inline|192.168.5.1


hm, too many pipes? ;-)

On Thu, Jun 14, 2012 at 8:08 PM, Michał Sochoń <[email protected]> wrote:

> Today I did upgrade to 3.4.0
> I have noticed that the admin panel shows improerly data in the
> Configuration > networks tab:
>
> http://b.hlds.pl/pf/Screenshot-2012-06-14_20.04.10.png
>
> When editing the networks also fields are propagated with above data.
>
> Looks like parsing networks.conf is wrong
>
> Edited interface to fix it, it returned worng values:
> http://b.hlds.pl/pf/Screenshot-2012-06-14_20.06.36.png
>
> So I edited it like this:
> http://b.hlds.pl/pf/Screenshot-2012-06-14_20.00.39.png
>
> Unfortunately it results in error:
>
> *Error: Problems executing 'PFCMD networkconfig edit 192.168.5.0
> type="inline", named="enabled", dhcpd="enabled", netmask="255.255.255.0",
> gateway="192.168.5.1", next_hop="", domainname="inline.hlds",
> dns="192.168.5.1", dhcp_start="192.168.5.50", dhcp_end="192.168.5.150",
> dhcp_default_lease_time="20", dhcp_max_lease_time="20"'*
>
> Command not understood. (pfcmd grammar test failed at line 209.)
>
>
>
>
> --
> Michal Sochoń
> alias _KaszpiR_ [email protected]
> IRC: #hlds.pl @ irc.quakenet.org
>



-- 
Michal Sochoń
alias _KaszpiR_ [email protected]
IRC: #hlds.pl @ irc.quakenet.org
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to