No subject


Jeu 19 Juin 14:04:52 EDT 2008


svn update=20
I was totally unaware of that possibility.

Thanks  --  I really think that I understand it properly.

Another side note  =20
is [WiFiDog] #490: Add an optional additional security setting via a PIN
number  a huge problem ?



Ticket URL: <http://dev.wifidog.org/ticket/490>
<http://dev.wifidog.org/ticket/490>=20


This would be a very much appreciated option.  Please let me know if you
ever look at it.

Robin Jones wrote:=20

Hi Don,

=20

I will try to make the instructions a bit clearer, but I think you got
the Idea

=20

On my Ubuntu install my web directory is "/var/www/" and the
"wifidog-auth" directory is based there. By copying the
"OriginalUrl.diff" file into the "wifidog-auth" directory you are
essentially putting it into an easy place to run the following commands
in the terminal (which automates the patching process):

=20

cd /var/www/wifidog-auth                                this will change
the working directory to the web root of wifidog if the assumption above

svn update
optional, but will bring your wifidog version up to date without
destroying custom settings

patch -p0 < OriginalUrl.diff        this will apply the patch
automatically to the code and your database will update as soon as you
try to browse to the website.

=20

Regards,

=20

Robin.

=20

=20

From: wifidog-bounces at listes.ilesansfil.org
[mailto:wifidog-bounces at listes.ilesansfil.org] On Behalf Of Don Druce
Sent: 28 September 2008 23:31
To: listserv.traffic at sloop.net; WiFiDog Captive Portal
Subject: Re: [isf-wifidog] After login go to web-page requested, rather
than portal

=20

Hi Robin

This may sound stupid, but really, I am not trying to be problematic.

>From your instructions, I would take it that all of the patches will be
applied, and that the attached file that you sent OriginalUrl.diff and
the instructions will do the trick

I was about to create three files from the text that you sent previously
and figure out how to include the text in the specified files.  I tried
to open OriginalUrl.diff  without success of course,=20

If just performing the steps you explained is all that is required, I
will also try to get this done next week on my Captive Server running CS
1361.    I just have to figure out how to make the correct backups
first, and that should not be a problem.

I will post back first chance

Another side note  =20
is [WiFiDog] #490: Add an optional additional security setting via a PIN
number  a huge problem ?


listserv.traffic at sloop.net wrote:=20

I'll see if there's a chance I can try it. It may be a week or more
though...

=20

Thanks,

Greg

=20

>=20

Someone can test this for me if they want, it is support for Original
URL redirection and is programmatically correct, but unfortunately I
have no nodes or users to test it against!

=20

You can patch against your current server with something like this:

=20

Move the patch file into /var/www/wifidog-auth

Open terminal and type:

cd /var/www/wifidog-auth/

patch -p0 < OriginalUrl.diff

=20

=20

=20

Make sure you backup before applying this patch!

Please let me know if this all works correctly and I will Commit it to
the SVN.

=20

=20

Regards,

=20

Robin Jones.

=20

=20

=20

=20

--=20

Best regards,

 listserv                            mailto:listserv.traffic at sloop.net
<mailto:listserv.traffic at sloop.net>=20

=20
=20


________________________________



=20
=20
 =20
=20
_______________________________________________
WiFiDog mailing list
WiFiDog at listes.ilesansfil.org
http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
=20
=20


________________________________



=20
=20
 =20
=20
No virus found in this incoming message.
Checked by AVG.=20
Version: 7.5.524 / Virus Database: 270.7.4/1695 - Release Date:
9/27/2008 1:11 PM
 =20

=20

=20


________________________________



=20
_______________________________________________
WiFiDog mailing list
WiFiDog at listes.ilesansfil.org
http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
=20


________________________________



=20
No virus found in this incoming message.
Checked by AVG.=20
Version: 7.5.524 / Virus Database: 270.7.4/1695 - Release Date:
9/27/2008 1:11 PM
 =20

=20


------_=_NextPart_001_01C921C3.93A005FB
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.rvts8
	{mso-style-name:rvts8;
	font-family:Consolas;
	color:#1F497D;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	color:black;}
p.rvps1, li.rvps1, div.rvps1
	{mso-style-name:rvps1;
	mso-style-priority:99;
	margin:0cm;
	margin-bottom:.0001pt;
	text-align:center;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
span.rvts1
	{mso-style-name:rvts1;
	font-family:"Arial","sans-serif";
	color:blue;
	font-weight:bold;}
span.rvts2
	{mso-style-name:rvts2;
	font-family:"Arial","sans-serif";
	color:navy;
	font-weight:bold;}
span.rvts3
	{mso-style-name:rvts3;
	font-family:"Arial","sans-serif";
	color:maroon;
	font-style:italic;}
span.rvts4
	{mso-style-name:rvts4;
	font-family:"Arial","sans-serif";
	color:green;
	text-decoration:underline;}
span.rvts5
	{mso-style-name:rvts5;
	font-family:"Arial","sans-serif";
	color:green;
	text-decoration:underline;}
span.rvts6
	{mso-style-name:rvts6;
	font-family:"Tahoma","sans-serif";
	color:white;
	background:blue;
	font-weight:bold;}
span.rvts7
	{mso-style-name:rvts7;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.rvts9
	{mso-style-name:rvts9;
	font-family:"Tahoma","sans-serif";
	font-weight:bold;}
span.rvts10
	{mso-style-name:rvts10;
	font-family:"Tahoma","sans-serif";}
span.rvts11
	{mso-style-name:rvts11;
	font-family:"Times New Roman","serif";}
span.rvts12
	{mso-style-name:rvts12;
	font-weight:bold;}
span.rvts13
	{mso-style-name:rvts13;}
span.rvts14
	{mso-style-name:rvts14;
	font-family:"Times New Roman","serif";}
span.rvts15
	{mso-style-name:rvts15;
	font-family:"Arial","sans-serif";
	color:silver;
	font-style:italic;}
span.rvts16
	{mso-style-name:rvts16;
	font-family:"Arial","sans-serif";
	color:blue;
	text-decoration:underline;}
span.EmailStyle38
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle39
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-GB link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It also modifies your database, so make sure that is =
backed up
as well.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If i were you, I would just copy the whole =
&#8220;wifidog-auth&#8221;
folder to a safe location so you can just replace the whole directory if
something goes wrong (although it is running on my install =
fine).<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I would make sure your DB is backed up though as some =
columns
will be added to the node and network tables.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>You could do this easiest by having PGAdmin installed, if =
you haven&#8217;t,
there is a script: wifidog-auth/sql/backup_database.sh. unfortunately I =
have
never used it.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Funny to think i had never touched PHP or Linux before =
July last
year!<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>BTW although I have thought&nbsp; about Password Of The =
Day, I haven&#8217;t
thought of a decent way to implement it yet, and I definitely =
won&#8217;t be
touching it for a while! Sorry.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards,<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Robin.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0cm 0cm 0cm'>

<p class=3DMsoNormal><b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowt=
ext'> wifidog-bounces at listes.ilesansfil.org
[mailto:wifidog-bounces at listes.ilesansfil.org] <b>On Behalf Of </b>Don =
Druce<br>
<b>Sent:</b> 29 September 2008 00:16<br>
<b>To:</b> WiFiDog Captive Portal<br>
<b>Subject:</b> Re: [isf-wifidog] After login go to web-page requested, =
rather
than portal<o:p></o:p></span></p>

</div>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Thanks Robin<br>
<br>
I think I am going to establish a Red emergency phone service to your
house:-)).&nbsp;&nbsp; Every time I communicate with you, I learn =
something
useful.&nbsp;&nbsp; <br>
<br>
So this will patch the three files you specified.<br>
<strong><span style=3D'font-family:"Courier =
New"'>wifidog-auth/wifidog/portal/index.php</span></strong><o:p></o:p></p=
>

<div>

<p class=3DMsoNormal><strong><span style=3D'font-family:"Courier =
New"'>wifidog-auth/wifidog/classes/Network.php</span></strong><b><span
style=3D'font-family:"Courier New"'><br>
<strong><span style=3D'font-family:"Courier =
New"'>wifidog-auth/wifidog/classes/Node.php</span></strong><br>
<br>
<strong><span style=3D'font-family:"Courier New"'>These are the three =
files that
I planned to backup.</span></strong><br>
<br>
<strong><span style=3D'font-family:"Courier New"'>When I saw only =
</span></strong></span></b><span
class=3Drvts8><span style=3D'font-size:11.0pt'>OriginalUrl.diff&nbsp; in =
your
message, it got me wondering.&nbsp;&nbsp; I still do not know how it =
does that,
but that is OK for now.</span></span><o:p></o:p></p>

</div>

<p class=3DMsoNormal><br>


Plus d'informations sur la liste de diffusion WiFiDog