LUGRo-Mesh Forum (español/english)
July 01, 2022, 03:51:46 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free
 
  Home   Forum   Help Search Gallery Staff List Login Register  

OpenWRT

Pages: 1 2 3 [All]   Go Down
  Print  
Author Topic: OpenWRT  (Read 4098 times)
PCDOM
Full Member
***
Posts: 105


« on: June 26, 2009, 01:07:21 pm »

It seems that it have a problem with OpenWRT revision 16568

Which version that you use to compile your firmware beta4 ?

Helene Gauthier

Report Spam   Logged

Share on Facebook Share on Twitter

JulioCP
Administrator
Full Member
*****
Posts: 113


WWW
« Reply #1 on: June 26, 2009, 03:25:45 pm »

It seems that it have a problem with OpenWRT revision 16568

Which version that you use to compile your firmware beta4 ?

In 0.6beta4 we used OpenWrt r15744

http://trac2.assembla.com/nightwing/browser/trunk/openwrt/trunk/.config


Get used to have headaches while using latests OpenWrt  Cheesy

It's better to stay in a particular revision that works, and after you finish your work try a newer one. A to often 'svn up' will make you go crazy  Wink

Quote
Helene Gauthier

                  Saludos, Julio
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #2 on: June 26, 2009, 03:49:34 pm »



In 0.6beta4 we used OpenWrt r15744


where can I download this version ?
Report Spam   Logged
JulioCP
Administrator
Full Member
*****
Posts: 113


WWW
« Reply #3 on: June 26, 2009, 04:00:17 pm »



In 0.6beta4 we used OpenWrt r15744


where can I download this version ?

svn co -r15744 svn://svn.openwrt.org/openwrt/trunk/


             Saludos, Julio
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #4 on: June 26, 2009, 04:31:57 pm »



svn co -r15744 svn://svn.openwrt.org/openwrt/trunk/


             Saludos, Julio
thanks a lot

I compiled twice the firmware with OpenWRT r15744 and NightWinh Beta 4

but now the problem is that picostation2 is not compiled

ubnt2 and ubnt5 are ok

any suggestion to resolve it ?

Helene Gauthier
« Last Edit: June 26, 2009, 05:59:57 pm by PCDOM » Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #5 on: June 26, 2009, 06:58:36 pm »

http://nightwing.lugro-mesh.org.ar/en/doc/howto_build_image_for_PicoStation2.html

The documentation mentions the beta3 of Nightwing.
Please try with version beta4.
« Last Edit: June 26, 2009, 07:20:26 pm by scriado » Report Spam   Logged
kissas
Jr. Member
**
Posts: 58


« Reply #6 on: June 27, 2009, 09:33:55 am »

its working for the beta4, maybe you can build in a normal way the image, modify, and the convert to pico2
you cannot build directly the image.
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #7 on: June 27, 2009, 12:18:42 pm »

http://nightwing.lugro-mesh.org.ar/en/doc/howto_build_image_for_PicoStation2.html

The documentation mentions the beta3 of Nightwing.
Please try with version beta4.
Ok, I follow this documentation width original instruction beta3
but when I try mkfwimage command , this command is not recognized

maybe my problem is with mkfwimage.c and fwsplit.c ?

or it have a missing instrcution ?

Helene Gauthier
Report Spam   Logged
kissas
Jr. Member
**
Posts: 58


« Reply #8 on: June 27, 2009, 01:56:52 pm »

you are in this directory? apps/gpl/mkfwimage/src
and you apply the patches?
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #9 on: June 27, 2009, 04:28:22 pm »

you are in this directory? apps/gpl/mkfwimage/src
and you apply the patches?
Yes , I was in the directory apps/gpl/mkfwimage/src
I applied the patch
I download the files beta3
and I execute this command
mkfwimage -i lx2-8.txt -v XS2.ar2316.OpenWRT-kamikaze -o nightwing_v0.6beta3-picostation2-squashfs.bin


-bash: mkfwimage: command not found

« Last Edit: June 29, 2009, 11:14:26 am by PCDOM » Report Spam   Logged
kissas
Jr. Member
**
Posts: 58


« Reply #10 on: June 29, 2009, 10:18:33 am »

./mkfwimage -i lx2-8.txt -v XS2.ar2316.OpenWRT-kamikaze -o nightwing_v0.6beta4-picostation2-squashfs.bin
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #11 on: June 29, 2009, 11:16:02 am »

./mkfwimage -i lx2-8.txt -v XS2.ar2316.OpenWRT-kamikaze -o nightwing_v0.6beta4-picostation2-squashfs.bin
It tried it
and this is the result

[root@hvs2 src]# ./mkfwimage -i lx2-8.txt -v XS2.ar2316.OpenWRT-kamikaze -o nightwing_v0.6beta4-picostation2-squashfs.bin
ERROR: Invalid part count '0'
ERROR: Failed validating firmware layout - error code: -1
[root@hvs2 src]#

it seems that the problem is with the file lx2-8.txt
« Last Edit: June 29, 2009, 11:53:01 am by PCDOM » Report Spam   Logged
kissas
Jr. Member
**
Posts: 58


« Reply #12 on: June 29, 2009, 03:02:08 pm »

show me the content or even better upload to smewhere and let me see the file, y think you are not doing the correct format for the file.
the spaces are NOT space, are tabs.
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #13 on: June 29, 2009, 07:10:25 pm »

show me the content or even better upload to smewhere and let me see the file, y think you are not doing the correct format for the file.
the spaces are NOT space, are tabs.
Yes , it works !

It was the file and tab between the code

thanks

Now I will retry to compile firmware with our parameters and see it nanostation2 is ok

If it is... I will compile picostation2 with my modified firmware

Helene
Report Spam   Logged
kissas
Jr. Member
**
Posts: 58


« Reply #14 on: June 29, 2009, 10:16:03 pm »

u'welcome.
i'have tested pibo2 with that method and its working, so, you sure have luck on that way Wink
if have some question just ask !
Best regards and happy meshing Wink
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #15 on: June 30, 2009, 09:01:42 am »

u'welcome.
i'have tested pibo2 with that method and its working, so, you sure have luck on that way Wink
if have some question just ask !
Best regards and happy meshing Wink
I compiled firmware beta4
I flashed nanostation2
This is the node values

 **************** Node values ******************
 ***********************************************
 Node ID: 00156DAA5F87
 Node Mode: gateway
 Gateway Class: 5000
 Routing Class: 1
 Host Name: zap
 Server Log IP:
 Visualisation Server: 66.244.128.46
 Node Channel: 11
 Wireless Mode: 11g
 Antenna Mode: auto
 Mesh BSSID: 02:ca:ff:ee:ba:be
 Public AP SSID: zap-00156DAA5F87
 Private AP SSID: zaps-00156DAA5F87
 WiFiDog Server: auth.zapbsl.org
 WiFiDog SSL: yes
 Current DNS: 66.244.128.46

my problem is that I have not to login with wifidog captive portal to acces to internet

this is the instructions that I followed

http://www.zapbas-saint-laurent.org/routers/Compilation_Nightwing_Firmware_ZAP.htm

can you see what is my problem ?

Helene Gauthier

Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #16 on: June 30, 2009, 09:16:10 am »

Please, check logs in Wifidog Server.
Saludos.-
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #17 on: June 30, 2009, 10:11:21 am »

Please, check logs in Wifidog Server.
Saludos.-
this is the link to see the nodes

the mac address ....F87 is picostation2
and the mac address ...C00 is nanostation2

you can see the nodes

this is the link of my image

http://www.zapbas-saint-laurent.org/routers/nightwing_zap_v0.6beta4-picostation2-squashfs.bin

I have not access to the wifidog server logs

I have last day only

Helene Gauthier
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #18 on: June 30, 2009, 11:50:46 am »

I have not access to the wifidog server logs

In this case, i cant help you.
Saludos.-
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #19 on: June 30, 2009, 12:52:48 pm »

I have not access to the wifidog server logs

In this case, i cant help you.
Saludos.-
which logs do you need ?

I have access to the logs of BIND server, visualisation server but the wifidog server is not on the same server

Helene Gauthier
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #20 on: June 30, 2009, 01:42:14 pm »

I need see Apache server Log when one cliente connect to wifidog.
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #21 on: June 30, 2009, 03:56:50 pm »

207.134.154.213 - - [30/Jun/2009:16:43:06 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=8996&sys_memfree=17352&sys_load=0.00&wifidog_uptime=8952 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:43:07 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=21763&sys_memfree=17020&sys_load=0.00&wifidog_uptime=21631 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:43:08 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=21614&sys_memfree=1460&sys_load=0.00&wifidog_uptime=21571 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:44:06 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9056&sys_memfree=17352&sys_load=0.15&wifidog_uptime=9012 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:44:07 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=21823&sys_memfree=17020&sys_load=0.00&wifidog_uptime=21691 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:44:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=21674&sys_memfree=1460&sys_load=0.00&wifidog_uptime=21631 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:45:06 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9116&sys_memfree=17352&sys_load=0.05&wifidog_uptime=9072 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:45:07 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=21883&sys_memfree=17020&sys_load=0.00&wifidog_uptime=21751 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:45:08 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=21734&sys_memfree=1460&sys_load=0.00&wifidog_uptime=21691 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:46:06 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9177&sys_memfree=17352&sys_load=0.02&wifidog_uptime=9133 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:46:08 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=21794&sys_memfree=1456&sys_load=0.00&wifidog_uptime=21751 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:46:08 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=21943&sys_memfree=17020&sys_load=0.00&wifidog_uptime=21811 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:47:07 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9237&sys_memfree=17352&sys_load=0.00&wifidog_uptime=9193 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:47:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=21854&sys_memfree=1456&sys_load=0.00&wifidog_uptime=21811 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:47:08 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22004&sys_memfree=17020&sys_load=0.00&wifidog_uptime=21872 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:48:07 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9297&sys_memfree=17352&sys_load=0.00&wifidog_uptime=9253 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:48:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=21914&sys_memfree=1456&sys_load=0.00&wifidog_uptime=21871 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:48:09 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22064&sys_memfree=17024&sys_load=0.00&wifidog_uptime=21932 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:49:07 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9357&sys_memfree=17352&sys_load=0.00&wifidog_uptime=9313 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:49:08 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=21974&sys_memfree=1456&sys_load=0.00&wifidog_uptime=21931 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:49:09 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22125&sys_memfree=17024&sys_load=0.00&wifidog_uptime=21993 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:50:07 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9417&sys_memfree=17356&sys_load=0.00&wifidog_uptime=9373 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:50:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=22034&sys_memfree=1456&sys_load=0.00&wifidog_uptime=21991 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:50:09 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22185&sys_memfree=17024&sys_load=0.00&wifidog_uptime=22053 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:51:06 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9477&sys_memfree=17288&sys_load=0.00&wifidog_uptime=9433 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:51:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=22094&sys_memfree=1456&sys_load=0.00&wifidog_uptime=22051 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:51:09 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22245&sys_memfree=17024&sys_load=0.00&wifidog_uptime=22113 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:52:06 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9537&sys_memfree=17264&sys_load=0.00&wifidog_uptime=9493 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:52:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=22154&sys_memfree=1456&sys_load=0.00&wifidog_uptime=22111 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:52:09 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22305&sys_memfree=17024&sys_load=0.00&wifidog_uptime=22173 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:53:07 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9597&sys_memfree=17272&sys_load=0.00&wifidog_uptime=9553 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:53:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=22214&sys_memfree=1456&sys_load=0.00&wifidog_uptime=22171 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:53:09 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22365&sys_memfree=17020&sys_load=0.00&wifidog_uptime=22233 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:54:06 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9657&sys_memfree=17304&sys_load=0.00&wifidog_uptime=9613 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:54:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=22274&sys_memfree=1412&sys_load=0.00&wifidog_uptime=22231 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:54:09 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22425&sys_memfree=17020&sys_load=0.00&wifidog_uptime=22293 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
207.134.154.213 - - [30/Jun/2009:16:55:06 -0400] "GET /ping/?gw_id=00156DAECA39&sys_uptime=9717&sys_memfree=17312&sys_load=0.00&wifidog_uptime=9673 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:55:07 -0400] "GET /ping/?gw_id=00156DAA5F87&sys_uptime=22334&sys_memfree=1296&sys_load=0.00&wifidog_uptime=22291 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
24.226.167.190 - - [30/Jun/2009:16:55:09 -0400] "GET /ping/?gw_id=00156DAECC00&sys_uptime=22485&sys_memfree=17020&sys_load=0.00&wifidog_uptime=22353 HTTP/1.0" 200 4 "-" "WiFiDog 1.1.5"
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #22 on: June 30, 2009, 04:12:11 pm »

Ok. This log is of request HTTP.
Do you have some one of request https ?

Thus we see what happening.

Saludos.-
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #23 on: July 01, 2009, 05:07:44 am »

Ok. This log is of request HTTP.
Do you have some one of request https ?

Thus we see what happening.

Saludos.-

the log for auth.zapbsl.org ssl is empty when user is connected , the stats in wofodog is empty too

this is the log ssl when I go to the link https://auth.zapbsl.org and I'm logging via wirelless pc

24.226.167.190 - - [01/Jul/2009:06:01:27 -0400] "GET / HTTP/1.1" 200 8570 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:27 -0400] "GET /media/base_theme/printer.css HTTP/1.1" 200 93 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:27 -0400] "GET /media/base_theme/stylesheet.css HTTP/1.1" 200 23877 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:27 -0400] "GET /js/formutils.js HTTP/1.1" 200 1476 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:29 -0400] "GET /js/addEvent.js HTTP/1.1" 200 1199 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:30 -0400] "GET /js/menu.js HTTP/1.1" 200 2993 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:30 -0400] "GET /media/base_theme/images/back_header_fade.gif HTTP/1.1" 200 184 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:34 -0400] "GET /login/ HTTP/1.1" 200 11228 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:34 -0400] "GET /media/base_theme/images/wifidog_thumbnail_transparent.gif HTTP/1.1" 200 1276 "https://auth.zapbsl.org/login/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:34 -0400] "GET /media/base_theme/images/bullet_box_arrow.gif HTTP/1.1" 200 401 "https://auth.zapbsl.org/login/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:44 -0400] "POST /login/index.php HTTP/1.1" 302 5 "https://auth.zapbsl.org/login/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:44 -0400] "GET / HTTP/1.1" 200 12198 "https://auth.zapbsl.org/login/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:45 -0400] "GET /media/common_images/default_avatar.png HTTP/1.1" 200 1326 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:45 -0400] "GET /media/common_images/profile.gif HTTP/1.1" 200 488 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:45 -0400] "GET /media/common_images/logout.gif HTTP/1.1" 200 492 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:01:49 -0400] "GET /admin/stats.php HTTP/1.1" 200 20789 "https://auth.zapbsl.org/" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
24.226.167.190 - - [01/Jul/2009:06:02:00 -0400] "GET /admin/stats.php?Statistics=default-network&date_from=&date_to=&selected_nodes%5B%5D=580aa341c92edf05dd53eb01460158e5&distinguish_users_by=user_id&stats_selected_users=&ConnectionLog=on&action=generate HTTP/1.1" 200 39152 "https://auth.zapbsl.org/admin/stats.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #24 on: July 01, 2009, 05:33:13 am »

Ok. This log is of request HTTP.
Do you have some one of request https ?

Thus we see what happening.

Saludos.-
is it possible that the mistake will be relied with node_id mac address

## Determine nodo_id for the first time. Then it could be changed.

      LAN_MAC=$(ifconfig eth0 | grep HWaddr | awk '{print $5}')
      NODE_ID=$(echo $LAN_MAC| awk -F: '{print $1$2$3$4$5$6}')

I use eth0 and not $LAN_IFACE

Helene Gauthier


Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #25 on: July 01, 2009, 10:48:53 am »

I think you still did not understand the operation of nightwing.
Please read:
http://nightwing.lugro-mesh.org.ar/doc/init_script_description.html
Unfortunately this text is still in Spanish
There is also a bit outdated.
Sorry about that
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #26 on: July 01, 2009, 10:50:22 am »

ConnectionLog=on&action=generate HTTP/1.1" 200 39152 "https://auth.zapbsl.org/admin/stats.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"


Try without ssl. Configure this vía nw_conf.

Saludos.
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #27 on: July 02, 2009, 06:02:24 am »

ConnectionLog=on&action=generate HTTP/1.1" 200 39152 "https://auth.zapbsl.org/admin/stats.php" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)"


Try without ssl. Configure this vía nw_conf.

Saludos.
I tried it with no ssl on wifidog captive portal and no ss with nw_conf

It's the same problem, I have not to login on wifidog captive portal

No log is registered when user connect on the internet
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #28 on: July 02, 2009, 06:07:08 am »

I think you still did not understand the operation of nightwing.
Please read:
http://nightwing.lugro-mesh.org.ar/doc/init_script_description.html
Unfortunately this text is still in Spanish
There is also a bit outdated.
Sorry about that
OK I need that the node_id = MAC ADDRESS of the router without les :

This lines give a good result

## Determine nodo_id for the first time. Then it could be changed.

      LAN_MAC=$(ifconfig eth0 | grep HWaddr | awk '{print $5}')
      NODE_ID=$(echo $LAN_MAC| awk -F: '{print $1$2$3$4$5$6}')

So, is it possible that change affect other variables ?

Helene Gauthier
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #29 on: July 02, 2009, 09:09:07 am »

So, is it possible that change affect other variables ?

Please check if you have this line in router:

REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:80 redir ports 2060

For this, run:
iptables -L -t nat
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #30 on: July 02, 2009, 10:53:01 am »

So, is it possible that change affect other variables ?

Please check if you have this line in router:

REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:80 redir ports 2060

For this, run:
iptables -L -t nat


this is the result



root@zap:~# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
REDIRECT   tcp  --  169.254.0.0/16       anywhere            tcp dpt:53 redir ports 53
REDIRECT   udp  --  169.254.0.0/16       anywhere            udp dpt:53 redir ports 53
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:53 redir ports 53
REDIRECT   udp  --  anywhere             anywhere            udp dpt:53 redir ports 53
WiFiDog_00156DAA5F87_Outgoing  all  --  anywhere             anywhere           

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  anywhere             anywhere            to:192.168.1.170

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain WiFiDog_00156DAA5F87_Global (1 references)
target     prot opt source               destination

Chain WiFiDog_00156DAA5F87_Outgoing (1 references)
target     prot opt source               destination

Chain WiFiDog_00156DAA5F87_Unknown (0 references)
target     prot opt source               destination
WiFiDog_00156DAA5F87_Global  all  --  anywhere             anywhere
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:80 redir ports 2060
root@zap:~#
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #31 on: July 02, 2009, 11:03:58 am »

Ok. This is the problem.
Your ID is too long.

You dont have WiFiDog_[ID]_AuthServers chain because is too long. (> 27 characters)

can not use the mac address as NODE_ID

Saludos.-
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #32 on: July 02, 2009, 12:51:13 pm »

Ok. This is the problem.
Your ID is too long.

You dont have WiFiDog_[ID]_AuthServers chain because is too long. (> 27 characters)

can not use the mac address as NODE_ID

Saludos.-

Is it possible to change WiFiDog_[ID]_AuthServers by WiFiDog_[ID]_AuthSvrs ?

We works on the next version of Wifidog and this version will integrate OpenVPN client on firmware and use mac address without :

This version will be available soon

Anyway, if you want to upgrade your portal captive wifidog and use OpenVPN, you will have the same problem of me

Thanks

Helene Gauthier
Report Spam   Logged
scriado
Administrator
Full Member
*****
Posts: 135


« Reply #33 on: July 02, 2009, 01:37:30 pm »

Is it possible to change WiFiDog_[ID]_AuthServers by WiFiDog_[ID]_AuthSvrs ?

Frankly I do not know. I suppose that if you can. We have not touched the client code Wifidog.
Maybe you could ask developers of Wifidog.


Quote
We works on the next version of Wifidog and this version will integrate OpenVPN client on firmware and use mac address without :
This version will be available soon
Anyway, if you want to upgrade your portal captive wifidog and use OpenVPN, you will have the same problem of me

We did not know that.
Similarly, i do not think correct this way.
Saludos.-
Report Spam   Logged
PCDOM
Full Member
***
Posts: 105


« Reply #34 on: July 02, 2009, 02:51:32 pm »

Is it possible to change WiFiDog_[ID]_AuthServers by WiFiDog_[ID]_AuthSvrs ?

Frankly I do not know. I suppose that if you can. We have not touched the client code Wifidog.
Maybe you could ask developers of Wifidog.


Quote
We works on the next version of Wifidog and this version will integrate OpenVPN client on firmware and use mac address without :
This version will be available soon
Anyway, if you want to upgrade your portal captive wifidog and use OpenVPN, you will have the same problem of me

We did not know that.
Similarly, i do not think correct this way.
Saludos.-

OK, I tested it and it is better to keep your original code

After verification with ZAP Aherbrooke, the node_id that you used is correct for OpenVPN

Helene Gauthier
« Last Edit: July 04, 2009, 05:50:44 am by PCDOM » Report Spam   Logged
Pages: 1 2 3 [All]   Go Up
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum
Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy