wireless ad hoc network settings problem

I have Comodo 2.4.184 on a laptop with cable internet via LAN. The same laptop is Ad Hoc Wireless networked with another laptop which is using the internet access from the first one. All that works when Comodo on the first laptop is set to “allow all”. When it’s set to “custom” the second laptop stucks on “requiring netowrk address” or something like that and I can not use internet on the second one.

So, please help.

Thanx.