From Nicolas.Schmitz at ec-nantes.fr Tue Jun 6 08:14:38 2006 From: Nicolas.Schmitz at ec-nantes.fr (Nicolas Schmitz) Date: Tue, 06 Jun 2006 17:14:38 +0200 Subject: [NoCat] force user logout Message-ID: <44859BDE.9030602@ec-nantes.fr> Hi, is there a way with NoCat to disconnect a user from a shell script on the gateway ? Thanks. -- Nicolas Schmitz Centre de Ressources Informatiques Ecole Centrale de Nantes From twistedpickles at gmail.com Thu Jun 8 16:54:09 2006 From: twistedpickles at gmail.com (twistedpickles) Date: Thu, 8 Jun 2006 18:54:09 -0500 Subject: [NoCat] force user logout In-Reply-To: <44859BDE.9030602@ec-nantes.fr> References: <44859BDE.9030602@ec-nantes.fr> Message-ID: path/to/access.fw deny [mac address] [ip address] [Class] example below /usr/local/nocat/gateway/bin/access.fw deny 00:0e:d7:20:5d:ec 10.0.200.16 Mem ber On 6/6/06, Nicolas Schmitz wrote: > Hi, > is there a way with NoCat to disconnect a user from a shell script on > the gateway ? > > Thanks. > > -- > Nicolas Schmitz > > Centre de Ressources Informatiques > Ecole Centrale de Nantes > > > _______________________________________________ > NoCat mailing list > NoCat at lists.nocat.net > http://lists.nocat.net/mailman/listinfo/nocat > -- ::twistedPickles:: : From Nicolas.Schmitz at ec-nantes.fr Fri Jun 9 05:21:47 2006 From: Nicolas.Schmitz at ec-nantes.fr (Nicolas Schmitz) Date: Fri, 09 Jun 2006 14:21:47 +0200 Subject: [NoCat] force user logout In-Reply-To: References: <44859BDE.9030602@ec-nantes.fr> Message-ID: <448967DB.5030707@ec-nantes.fr> Thanks but I don't think it's the good way because the next time the computer will try to use the wifi, nocat will not run the iptable script, and the client will stay in a login loop. twistedpickles a ?crit : > path/to/access.fw deny [mac address] [ip address] [Class] > > example below > > > /usr/local/nocat/gateway/bin/access.fw deny 00:0e:d7:20:5d:ec 10.0.200.16 Mem > ber > > > On 6/6/06, Nicolas Schmitz wrote: > >> Hi, >> is there a way with NoCat to disconnect a user from a shell script on >> the gateway ? >> >> Thanks. >> >> -- >> Nicolas Schmitz >> >> Centre de Ressources Informatiques >> Ecole Centrale de Nantes >> >> >> _______________________________________________ >> NoCat mailing list >> NoCat at lists.nocat.net >> http://lists.nocat.net/mailman/listinfo/nocat >> >> > > > -- Nicolas Schmitz Centre de Ressources Informatiques Ecole Centrale de Nantes From twistedpickles at gmail.com Fri Jun 9 10:56:57 2006 From: twistedpickles at gmail.com (twistedpickles) Date: Fri, 9 Jun 2006 12:56:57 -0500 Subject: [NoCat] force user logout In-Reply-To: <448967DB.5030707@ec-nantes.fr> References: <44859BDE.9030602@ec-nantes.fr> <448967DB.5030707@ec-nantes.fr> Message-ID: On 6/9/06, Nicolas Schmitz wrote: > Thanks but I don't think it's the good way because the next time the > computer will try to use the wifi, nocat will not run the iptable > script, and the client will stay in a login loop. > > Not exactly sure what you are talking about. This technique works for me all the time. It will force users to log back in. From frowns at gmail.com Fri Jun 9 13:20:31 2006 From: frowns at gmail.com (frowns) Date: Fri, 9 Jun 2006 13:20:31 -0700 Subject: [NoCat] NC_LoginTimeout Max Message-ID: <9c2e332a0606091320n39bcf92ci7b95a30fb585e75c@mail.gmail.com> Hello. I recently modified and compiled the ewrt 0.4.1 source with nocatsplash for a small hotel, and everything is working AWESOME (on a wrt54gl). My question: what is the MAX you can set the timeout (NC_LoginTimeout) to? I searched but couldn't find it anywhere. If no one knows i may try a week and report back with the results. In another, kind of off topic matter, I have been reading advice in forums to adjust ip_conntrack_max to help with p2p traffic like bit torrent. I did a little research, looked at the netfilter source, and am confused as to why people would to suggest quadrupling the conntracks to 4096 on a box with 16MB of RAM. Isn't it set by the RAM size, and going over the max (mine is 1024 for 16MB) would freeze the router? What good would setting the max connections to a value over what the machine would crash at do? Does it count connections deleted by garbage collector or something? Am I missing something? hrrmmm... Thanks! -jason From somwangmo at gmail.com Thu Jun 15 07:40:21 2006 From: somwangmo at gmail.com (Sonam Wangmo) Date: Thu, 15 Jun 2006 11:40:21 -0300 Subject: [NoCat] help to find the doc for NoCatSplash Message-ID: <7117ba270606150740o62111335t7aa6c0dce2fb9865@mail.gmail.com> hi, I am just starting to install NocatSplash and I have not been able to find the documentation. What is the next step after the installation? i get the following message: /usr/bin/install -c -m 644 './man/splashd.8' '/usr/local/man/man8/splashd.8' test -z "/usr/local/share/nocat/pgp" || mkdir -p -- . "/usr/local/share/nocat/pgp" /usr/bin/install -c -m 644 'pgp/trustedkeys.gpg' '/usr/local/share/nocat/pgp/trustedkeys.gpg' make[2]: Leaving directory `/usr/local/NoCatSplash-0.93pre2' make[1]: Leaving directory `/usr/local/NoCatSplash-0.93pre2' [root at localhost NoCatSplash-0.93pre2]# is that good news or bad? cheers a totally new user sonam From wwynn at shaw.ca Sun Jun 18 00:05:45 2006 From: wwynn at shaw.ca (Wayne Wynn) Date: Sun, 18 Jun 2006 00:05:45 -0700 Subject: [NoCat] NoCat in EWRT and DD-WRT Message-ID: <4494FB49.5050905@shaw.ca> Looking for help getting NoCatSplash working in a WRT54GL router. Have flashed WRT54GL with DD-WRT and EWRT. Want no authentication, just splash.html followed by home.html. Have been trying sample splash.html files and have modified them some. Tried various combinations in NoCat in both packages.E.g., (from EWRT): * Splash Page default of //jffs/nocat, or blank, or remote splash url * Remote Splash entered * Forced Redirect is enabled * Home Page URL entered * External Mgt Hosts blank or entered. * Allow non-local DNS enabled and disabled. * Include and Exclude Ports alwasy blank * Allowed web hosts blank or entered (e.g., "shaw.ca members.sahw.ca" without the quotes) * MAC WhileList blank * Disable NAT is disabled. Depending on the combination of NoCatSplash entries, when wireless client with blank home page tries to go www.google.com either they get through or the URL becomes http://192.168.1.1:5280/?redirect=http%3A%2F%2Fwww.google.com%2F and the status bar shows Done. Nothing else happens. When this occurs, I infer that NoCatSplash is at least active and trying to work, but have not been able to get it to do more. Have tried to manage the router via WinSCP, telnet and ftp. At one point WinSCP got through when DD-WRT was installed and jffs2 was enabled. Otherwise the response is "connection refused", "read only file system" or something similar. Have not tried to SSH from a Linux box. Hoping I don't have to. Hope this post is not too long, but contains enough info for a helpful response. Is NoCat a good product for I want to do? If so, can I implement simply by completing the paramters in the NoCatsplash page in EWRT or do I need to use SSH or recompile? Help, direction, please. TIA Wayne Wynn Burnaby, BC From xparacetamol at gmail.com Sun Jun 18 05:14:37 2006 From: xparacetamol at gmail.com (x_patriot paracetamol) Date: Sun, 18 Jun 2006 19:14:37 +0700 Subject: [NoCat] pfctl permission denied Message-ID: <5148d1340606180514u291280e0r29dbad3adf101690@mail.gmail.com> Hi all, it may be stupid question for all of you...i get some error on running nocathauth-gateway, im using freebsd 6 and installing Nocat from Ports... ------------------------------------------- pfctl: Permission denied print: not found [[: not found [[: not found ------------------------------------------ i run the software as Root but it seems like i don't have enough privelleges to run that "pfctl".. help me.. thanks., chole From babakred at hotmail.com Thu Jun 22 16:05:45 2006 From: babakred at hotmail.com (Babak Schiffer) Date: Thu, 22 Jun 2006 23:05:45 +0000 Subject: [NoCat] iptables and redirection problem! Message-ID: Hi, I´m running NoCat-GW( NoCatAuth-0.82) on linux(2.6) and first I want to test my GW with auth.nocat.net but I have a trouble with redirection.I get no LoginPage at all. It seems Nocat-GW works "fine" .Here is the nocat log: [2006-06-22 13:13:13] Gateway running on port 5280. [2006-06-22 13:18:23] Gathering stats from firewall with cmd='stats.fw '. And here the Gateway config(all other important atts are commented): GatewayMode Passive LoginTimeout 600 TrustedGroups Any AuthServiceAddr auth.nocat.net AuthServiceURL https://$AuthServiceAddr/cgi-bin/login LogoutURL https://$AuthServiceAddr/logout.html ExternalDevice eth0 InternalDevice eth1 AccountingMethod None AccountingUpdateInterval 300 DHCP and DNS server on the GW run also fine.Client get an IP and I can even see mouse.nocat.net in my Client-Browser but for other urls there is no redirection.I see in Ethereal that the Client tries to establish a TCP connection to the requested URL but thats all. I think thats an iptables issue.But I dont know what exact since I´m not familiar with iptables . Here is my iptables config:(192.168.112.0/27 is my Internal Subnet) Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED input_ext all -- anywhere anywhere input_ext all -- anywhere anywhere input_ext all -- anywhere anywhere LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix`SFW2-IN-ILL-TARGET ' DROP all -- anywhere anywhere Chain FORWARD (policy DROP) target prot opt source destination LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWD-ILL-ROUTING ' NoCat all -- anywhere anywhere Chain NoCat (1 references) target prot opt source destination NoCat_Ports all -- anywhere anywhere NoCat_Inbound all -- anywhere anywhere ACCEPT all -- 192.168.112.0/27 anywhere MARK match 0x1 ACCEPT all -- 192.168.112.0/27 anywhere MARK match 0x2 ACCEPT tcp -- 192.168.112.0/27 mouse.nocat.net tcp dpt:http ACCEPT tcp -- mouse.nocat.net 192.168.112.0/27 tcp spt:http ACCEPT tcp -- 192.168.112.0/27 mouse.nocat.net tcp dpt:https ACCEPT tcp -- mouse.nocat.net 192.168.112.0/27 tcp spt:https ACCEPT all -- DNSServer 192.168.112.0/27 ACCEPT tcp -- 192.168.112.0/27 DNSServer tcp dpt:domain ACCEPT udp -- 192.168.112.0/27 DNSServer udp dpt:domain DROP tcp -- !mouse.nocat.net anywhere tcp dpt:5280 DROP all -- anywhere anywhere Chain NoCat_Inbound (1 references) target prot opt source destination Chain NoCat_Ports (1 references) target prot opt source destination DROP tcp -- anywhere anywhere tcp dpt:smtp MARK match 0x3 DROP udp -- anywhere anywhere udp dpt:smtp MARK match 0x3 Chain OUTPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-OUT-ERROR ' Chain forward_ext (0 references) target prot opt source destination Chain input_ext (3 references) target prot opt source destination ACCEPT udp -- anywhere anywhere PKTTYPE = broadcast udp dpt:bootps DROP all -- anywhere anywhere PKTTYPE = broadcast ACCEPT icmp -- anywhere anywhere icmp source-quench ACCEPT icmp -- anywhere anywhere icmp echo-request ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp echo-reply ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp destination-unreachable ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp time-exceeded ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp parameter-problem ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp timestamp-reply ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp address-mask-reply ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp protocol-unreachable ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp redirect LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:domain flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:domain ACCEPT udp -- anywhere anywhere udp dpt:bootps ACCEPT udp -- anywhere anywhere udp dpt:domain reject_func tcp -- anywhere anywhere tcp dpt:ident state NEW LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG icmp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG udp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG all -- anywhere anywhere limit: avg 3/min burst 5 state INVALID LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT-INV ' DROP all -- anywhere anywhere Chain reject_func (1 references) target prot opt source destination REJECT tcp -- anywhere anywhere reject-with tcp-reset REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable REJECT all -- anywhere anywhere reject-with icmp-proto-unreachable I would appreciate any help.Please!! BABAK From arun at lessnetworks.com Sat Jun 24 20:54:54 2006 From: arun at lessnetworks.com (Arun Chatterjee) Date: Sat, 24 Jun 2006 22:54:54 -0500 Subject: [NoCat] login timeout In-Reply-To: References: Message-ID: <449E090E.6080703@lessnetworks.com> Is there a way to change the LoginTimeout *per login*? I am running the gateway in passive mode and can insert the desired value for login timeout in the redirect from the auth server back to the gateway during login. I can see (in nocat.log) that the correct value is read by pgp. But then the default LoginTimeout (or the value set in nocat.conf) seems to the one that gets used. I can tell this by timing the logout and by looking up 196.168.168.1:5280/status. thanks -arun From babakred at hotmail.com Tue Jun 27 13:26:08 2006 From: babakred at hotmail.com (Babak Shafian) Date: Tue, 27 Jun 2006 20:26:08 +0000 Subject: [NoCat] iptables and redirection problem! In-Reply-To: Message-ID: Hi, I´m running NoCat-GW( NoCatAuth-0.82) on linux(2.6) and first I want to test my GW with auth.nocat.net but I have a trouble with redirection.I get no LoginPage at all. It seems Nocat-GW works "fine" .Here is the nocat log: [2006-06-22 13:13:13] Gateway running on port 5280. [2006-06-22 13:18:23] Gathering stats from firewall with cmd='stats.fw '. And here the Gateway config(all other important atts are commented): GatewayMode Passive LoginTimeout 600 TrustedGroups Any AuthServiceAddr auth.nocat.net AuthServiceURL https://$AuthServiceAddr/cgi-bin/login LogoutURL https://$AuthServiceAddr/logout.html ExternalDevice eth0 InternalDevice eth1 AccountingMethod None AccountingUpdateInterval 300 DHCP and DNS server on the GW run also fine.Client get an IP and I can even see mouse.nocat.net in my Client-Browser but for other urls there is no redirection.I see in Ethereal that the Client tries to establish a TCP connection to the requested URL but thats all. I think thats an iptables issue.But I dont know what exact since I´m not familiar with iptables . Here is my iptables config:(192.168.112.0/27 is my Internal Subnet) Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED input_ext all -- anywhere anywhere input_ext all -- anywhere anywhere input_ext all -- anywhere anywhere LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix`SFW2-IN-ILL-TARGET ' DROP all -- anywhere anywhere Chain FORWARD (policy DROP) target prot opt source destination LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWD-ILL-ROUTING ' NoCat all -- anywhere anywhere Chain NoCat (1 references) target prot opt source destination NoCat_Ports all -- anywhere anywhere NoCat_Inbound all -- anywhere anywhere ACCEPT all -- 192.168.112.0/27 anywhere MARK match 0x1 ACCEPT all -- 192.168.112.0/27 anywhere MARK match 0x2 ACCEPT tcp -- 192.168.112.0/27 mouse.nocat.net tcp dpt:http ACCEPT tcp -- mouse.nocat.net 192.168.112.0/27 tcp spt:http ACCEPT tcp -- 192.168.112.0/27 mouse.nocat.net tcp dpt:https ACCEPT tcp -- mouse.nocat.net 192.168.112.0/27 tcp spt:https ACCEPT all -- DNSServer 192.168.112.0/27 ACCEPT tcp -- 192.168.112.0/27 DNSServer tcp dpt:domain ACCEPT udp -- 192.168.112.0/27 DNSServer udp dpt:domain DROP tcp -- !mouse.nocat.net anywhere tcp dpt:5280 DROP all -- anywhere anywhere Chain NoCat_Inbound (1 references) target prot opt source destination Chain NoCat_Ports (1 references) target prot opt source destination DROP tcp -- anywhere anywhere tcp dpt:smtp MARK match 0x3 DROP udp -- anywhere anywhere udp dpt:smtp MARK match 0x3 Chain OUTPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-OUT-ERROR ' Chain forward_ext (0 references) target prot opt source destination Chain input_ext (3 references) target prot opt source destination ACCEPT udp -- anywhere anywhere PKTTYPE = broadcast udp dpt:bootps DROP all -- anywhere anywhere PKTTYPE = broadcast ACCEPT icmp -- anywhere anywhere icmp source-quench ACCEPT icmp -- anywhere anywhere icmp echo-request ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp echo-reply ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp destination-unreachable ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp time-exceeded ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp parameter-problem ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp timestamp-reply ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp address-mask-reply ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp protocol-unreachable ACCEPT icmp -- anywhere anywhere state RELATED,ESTABLISHED icmp redirect LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:domain flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP ' ACCEPT tcp -- anywhere anywhere tcp dpt:domain ACCEPT udp -- anywhere anywhere udp dpt:bootps ACCEPT udp -- anywhere anywhere udp dpt:domain reject_func tcp -- anywhere anywhere tcp dpt:ident state NEW LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG icmp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG udp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT ' LOG all -- anywhere anywhere limit: avg 3/min burst 5 state INVALID LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT-INV ' DROP all -- anywhere anywhere Chain reject_func (1 references) target prot opt source destination REJECT tcp -- anywhere anywhere reject-with tcp-reset REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable REJECT all -- anywhere anywhere reject-with icmp-proto-unreachable I would appreciate any help.Please!! BABAK From vacio at winfirst.com Thu Jun 29 08:05:15 2006 From: vacio at winfirst.com (Vacio) Date: Thu, 29 Jun 2006 08:05:15 -0700 Subject: [NoCat] NoCatSplash start problems Message-ID: hi folks, I'm having trouble getting NoCatSplash to load at system start-up. The start-up script seems to hang and it prevents the rest of the system start-up from going through normally. The system is a Metrix Mark II--Soekris 4826 with two prism radios--running Ubuntu 5.10. NoCatSplash is either 0.92 or 0.93. When I execute splashd from a command prompt, it works great. I can't get it to work properly from an init script. I have put the script, also named splashd, in /etc/init.d and then put a symlink S99splashd in the rc2.d directory that points to /etc/init.d/splashd. When the system boots, the splashd script and the task show up at the bottom of the job list but none of the other services, like thttpd, are running. The access point won't accept any traffic. If I manually kill the splashd script, the boot then proceeds and the services start up right. The access point accepts traffic, doing the great catch and release that NoCatSplash normally does. I'm playing way above my linux skill level here and could really use some help fixing this. Does anyone have an idea why the start-up is sticking? Thanks, /Rob From london_cowgirl at hotmail.com Fri Jun 30 02:09:18 2006 From: london_cowgirl at hotmail.com (LondonCowgirl E) Date: Fri, 30 Jun 2006 09:09:18 +0000 Subject: [NoCat] Sending SyslogIdent value to Login.html Message-ID: I would like to send the SyslogIdent value found in the nocat.conf file (on the a/p) to the login.html file. I can then set it as a hidden form value and pass it along to my html. To do this, I edited the Passive.pm file residing on the server as follows: sub capture_params { my ( $self, $peer, $request ) = @_; return { mac => $peer->id, token => $peer->token, redirect => $request, timeout => $self->{LoginTimeout}, ident => $self->{SyslogIdent}, <----NEW LINE ADDED HERE gateway => $peer->socket->sockhost . ":$self->{GatewayPort}" }; } I also edited the login.html file to include the following line: The "$ident" value is always empty, so something isn't working correctly. Can anyone assist me with this? Or suggest another way to pull the SyslogIdent value from the access point to the login.html page. Any assistance greatly appreciated. Carla _________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters From whiteca at gmail.com Fri Jun 30 02:17:09 2006 From: whiteca at gmail.com (Colin White) Date: Fri, 30 Jun 2006 10:17:09 +0100 Subject: [NoCat] Sending SyslogIdent value to Login.html In-Reply-To: References: Message-ID: <8cf933780606300217o6f8b322x262c2cb45f416bd1@mail.gmail.com> Are you attempting to identify the access point / gateway that a user is logging in from? On 6/30/06, LondonCowgirl E wrote: > I would like to send the SyslogIdent value found in the nocat.conf file (on > the a/p) to the login.html file. I can then set it as a hidden form value > and pass it along to my html. > > To do this, I edited the Passive.pm file residing on the server as follows: > > sub capture_params > { > my ( $self, $peer, $request ) = @_; > return { > mac => $peer->id, > token => $peer->token, > redirect => $request, > timeout => $self->{LoginTimeout}, > ident => $self->{SyslogIdent}, <----NEW LINE ADDED HERE > gateway => $peer->socket->sockhost . ":$self->{GatewayPort}" > }; > } > > I also edited the login.html file to include the following line: > > > > The "$ident" value is always empty, so something isn't working correctly. > > Can anyone assist me with this? Or suggest another way to pull the > SyslogIdent value from the access point to the login.html page. > > Any assistance greatly appreciated. > > Carla > > _________________________________________________________________ > Be the first to hear what's new at MSN - sign up to our free newsletters! > http://www.msn.co.uk/newsletters > > > _______________________________________________ > NoCat mailing list > NoCat at lists.nocat.net > http://lists.nocat.net/mailman/listinfo/nocat > -- Colin A. White --- E : whiteca at gmail.com M : +44 (0)7973 198931 W : http://colin.trematon.com From vacio at winfirst.com Fri Jun 30 09:31:42 2006 From: vacio at winfirst.com (Vacio) Date: Fri, 30 Jun 2006 09:31:42 -0700 Subject: [NoCat] NoCatSplash start problems In-Reply-To: Message-ID: hi again, I got this one figured out. I didn't get the rc2.d script to work. I think it needed a --make pidfile command but I found a better way. I just put the command in the /etc/inittab file and everything is working great now. Thanks for thinking about this. /Rob -----Original Message----- From: nocat-bounces at lists.nocat.net [mailto:nocat-bounces at lists.nocat.net]On Behalf Of Vacio Sent: Thursday, June 29, 2006 8:05 AM To: nocat at lists.nocat.net Subject: [NoCat] NoCatSplash start problems hi folks, I'm having trouble getting NoCatSplash to load at system start-up. The start-up script seems to hang and it prevents the rest of the system start-up from going through normally. The system is a Metrix Mark II--Soekris 4826 with two prism radios--running Ubuntu 5.10. NoCatSplash is either 0.92 or 0.93. When I execute splashd from a command prompt, it works great. I can't get it to work properly from an init script. I have put the script, also named splashd, in /etc/init.d and then put a symlink S99splashd in the rc2.d directory that points to /etc/init.d/splashd. When the system boots, the splashd script and the task show up at the bottom of the job list but none of the other services, like thttpd, are running. The access point won't accept any traffic. If I manually kill the splashd script, the boot then proceeds and the services start up right. The access point accepts traffic, doing the great catch and release that NoCatSplash normally does. I'm playing way above my linux skill level here and could really use some help fixing this. Does anyone have an idea why the start-up is sticking? Thanks, /Rob _______________________________________________ NoCat mailing list NoCat at lists.nocat.net http://lists.nocat.net/mailman/listinfo/nocat