Page 1 of 1
When an "invalid" flag appears, how do I find the reason?
Posted: Sun May 10, 2009 12:13 am
by minfrin
Hi all,
After making an attempt to add a dhcp-server on a wifi interface, as below, the dhcp-server is flagged as "invalid":
Flags: X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 I server1 ether3 dhcp-eth3 3d yes
1 I dhcp-public wlan-g-public public-pool 1h yes
Is there a way to find a reason string anywhere or error message to give a hint as to why the entry is invalid?
I tried /log print to see if anything was logged, but nothing showed up.
Regards,
Graham
--
Re: When an "invalid" flag appears, how do I find the reason?
Posted: Sun May 10, 2009 12:27 am
by Chupaka
do you have an IP address on that wifi?
Re: When an "invalid" flag appears, how do I find the reason?
Posted: Sun May 10, 2009 12:48 am
by minfrin
Yes:
3 172.16.250.3/23 172.16.250.3 172.16.250.3 wlan-g-public
It doesn't answer why no reason is given for the error. Is there is way to get some kind of human readable error message out of this?
Re: When an "invalid" flag appears, how do I find the reason?
Posted: Sun May 10, 2009 2:03 am
by Chupaka
no (sure, yes - you can write to support
). try to set 'src-address' for your dhcp server
by the way, your server on ether3 is also invalid...
Re: When an "invalid" flag appears, how do I find the reason?
Posted: Sun May 10, 2009 2:21 am
by minfrin
What I am really trying to do is try set up a hotspot, it is not clear from the documentation whether you need to configure a dhcp server to be used by a hotspot, or whether the hotspot does this on its own.
The attempt to create a hotspot using the hotspot setup wizard also results in a hotspot that is listed as "invalid", again with no error message, hint or clue as to what the problem might be. I can see nothing obvious in the config that looks wrong, but then as this is the first hotspot I am trying to set up, that doesn't mean much. Without error messages, new users are left marooned.
The hotspot config looks like this:
Flags: X - disabled, I - invalid, S - HTTPS
0 I name="hotspot1" interface=wlan-g-public address-pool=hs-pool-1 profile=hotspot-public idle-timeout=5m
keepalive-timeout=none addresses-per-mac=2
The interface looks like this:
Flags: X - disabled, R - running, D - dynamic, S - slave
0 name="wlan-g-public" mtu=1500 type="wlan"
I understand the interface only lists itself as "running" after a single user has connected, could this be related?
Re: When an "invalid" flag appears, how do I find the reason?
Posted: Sun May 10, 2009 6:00 am
by changeip
yes, if the interface isnt running then it will be invalid. same with the dhcp server.
Sam