  dellsweig Extreme Aerobatics Premium,MVM join:2003-12-10 Campbell Hall, NY
·Time Warner VOIP
·Vonage
·RoadRunner Cable
2 edits | [Firmware] WRT54G Captive Portal with EWRT .3 Beta
Greetings
Many of you have been following this (I see the views) on »[Firmware] ewrt-0.2
I want to start clean here - I have been playing with the Captive Portal and have it somewhat working. I do have some questions which may relate more towards the internal operation of the WRT54G Linux implementation.
First, this feature does not seem to allow me to change the document root - to the file system located in /opt where I put my new splash.html page. If I modify the nocat.conf file with the new path (/tmp/etc/nocat.conf) it is re-written with defaults (stored in nvram?) when splashd is restarted.
Second, Using the built in captive splash.html files, I am required to check the 'accept' box twice before the captive portal will forward my html request. Is this a feature or a bug
Third, The captive portal will not permit requests from clients attached to a wds node. In the nocat logfile - if the captured peer and the splashed peer are not the same host, the true http request is not forwarded. Does anyone have a way to override this??
All in all - this is a pretty cool feature. If I can get the kinks worked out - like adding my own html capture page instead of the built in one - this will go in a local deli I am setting up....
Off to Best Buy to pick up another WRT54G!!!!
My kids are going to freak out when they get home and try to surf the net - they will be greeted by my captive portal screen!!
-- »aerobatix.webhop.net |
|
  djdanska Premium,MVM join:2001-04-21 Glen Ellyn, IL clubs: | Re: [Firmware] WRT54G Captive Portal with EWRT .3
That's sweet! How did you do that? I want to do it now.. :D;) -- DirecTivo w/4.0,hmo,tivowebplus,verver. and loving it. |
|
  dellsweig Extreme Aerobatics Premium,MVM join:2003-12-10 Campbell Hall, NY
·Time Warner VOIP
·Vonage
·RoadRunner Cable
| said by djdanska :That's sweet! How did you do that? I want to do it now..  :D;) »www.portless.net/menu/ewrt/ -- »aerobatix.webhop.net |
|
 FDM80
join:2001-07-16 Silver Spring, MD
·Verizon FIOS
| reply to dellsweig Re: [Firmware] WRT54G Captive Portal with EWRT .3 Beta
said by dellsweig :My kids are going to freak out when they get home and try to surf the net - they will be greeted by my captive portal screen!! Haha, I predict a mass uprising against you. |
|
  djdanska Premium,MVM join:2001-04-21 Glen Ellyn, IL clubs:
·Sprint Mobile Broa..
·T-Mobile US
·A + Net
·Mediacom
·RCN CABLE
| reply to dellsweig Re: [Firmware] WRT54G Captive Portal with EWRT .3
I use 0.2 final on it now. cool. Might have to try the newer one, as long as it gives good traffic shaping. -- DirecTivo w/4.0,hmo,tivowebplus,verver. and loving it. |
|
  dellsweig Extreme Aerobatics Premium,MVM join:2003-12-10 Campbell Hall, NY
·Time Warner VOIP
·Vonage
·RoadRunner Cable
| reply to FDM80 Re: [Firmware] WRT54G Captive Portal with EWRT .3 Beta
said by FDM80 :said by dellsweig :My kids are going to freak out when they get home and try to surf the net - they will be greeted by my captive portal screen!! Haha, I predict a mass uprising against you. WAIT TILL I ADD IN THE BILLING FEATURE!!
 -- »aerobatix.webhop.net |
|
  Bill Light Up The Halo Premium,VIP join:2001-12-09 clubs:
1 edit | said by dellsweig :said by FDM80 :said by dellsweig :My kids are going to freak out when they get home and try to surf the net - they will be greeted by my captive portal screen!! Haha, I predict a mass uprising against you. WAIT TILL I ADD IN THE BILLING FEATURE!! Good thing my parents don't know how to use a computer 
Good luck on your project, hopefully all the kinks get worked out! |
|
 mcoan
join:2002-07-29 Taos, NM | reply to dellsweig Okay, downloaded the ewrt-03beta firmware upgrade and installed. So far so good. But, are there any instructions anywhere regarding how to setup the NoCatSplash feature?
Marc in Taos, NM |
|
 bummpr
join:2004-08-15 Baraboo, WI
| reply to dellsweig I can find no documentation or guide on how to set this software up...can anyone please help the "dummies" around here on some basic setup steps.
I have the software installed (and enabled) but have no idea on how to make it work. What do the setup parameters control and how do I get it to "splash". Does this offer any kind of easy (simple) authentication to filter authorized users vs non-authorized? |
|
 mcoan
join:2002-07-29 Taos, NM
| I just emailed one of the developers at »www.portless.net/component/contact/ to see if they will share with us a location for documentation that explains how to set up NoCatSplash in ewrt-3beta, or else to visit here and offer help. If I hear from him, I will post back here.
Keep your fingers crossed...I REALLY want to get this to work in the historic Taos Plaza here in Taos, NM. I've got a 15dB omni antenna and a 1-watt signal amplifier ready to go...ought to be able to reach a 3-block radius, but I want everyone to have to view my splash screen.
Marc in Taos, NM |
|
  Irvingpop
@comcast.net
| reply to dellsweig Re: [Firmware] WRT54G Captive Portal with EWRT .3
Hi guys, Irving here of Portless networks. Hopefully I can help clear up some confusion. I am working on an updated FAQ and these are all good frequently asked questions.
First off, let me explain the three different filesystem types in Ewrt and how they are used:
/ (root) - r/o squashfs. This is the main filesystem containing all Ewrt data and you can only mount this filesystem readonly. /etc is contained here and is readonly as well.
/tmp - r/w memfs. /tmp is a filesystem held in RAM, meaning that if you fill it you will run out of RAM. the contents of /tmp are lost with every reboot. Some files from /etc are symlinked to /tmp/etc, and the /tmp/etc versions are written at boot time based on nvram data.
/opt - r/w jffs2. This is the new one we added for 0.3. /opt uses the leftover flash for a non-volatile journalled filesystem. you get about 1 meg on a 54G and 5 megs on a GS with Ewrt. This is a good place to store files like your custom splash pages and other content you wish to survive a reboot. /opt gets wiped when you reflash newer version of Ewrt, because the partition boundaries change.
So: to change your /tmp/etc/nocat.conf permanently, you have to change the nvram variables. You can do a "nvram show | grep NC_" on the command line or go to Access Restrictions -> Captive Portal in the web gui.
Hopefully that will answer your first question, and this will go in the FAQ.
Second question: We saw this bug during our 0.2 development but haven't seen it since. turn up your verbosity in nocat to 9 and cat /tmp/services.out. email us the info to the ewrt-devel @ portless.net list.
third question: We've captured WDS clients with 0.2 no problems, but we haven't tried it with 0.3. Again, try the steps above. Let us know if this works with 0.2 for you. |
|
 mcoan
join:2002-07-29 Taos, NM
| So, keeping in mind that 99% of us are Windows users and know nothing about Linux except for Linus's name, and referring to the web GUI in this user's example: »/r0/down···_001.jpg
1. Gateway Name: Is this your router SSID? Or what? 2. Home Page: So, this is NOT the location for our custom splash page, since it's stored in "/opt - r/w jffs2". What is this domain for, then? 3. Allowed Web Hosts: What should we set this to? 4. You write, "can do a "nvram show | grep NC_" on the command line or go to Access Restrictions -> Captive Portal in the web gui." From the above GUI example, are you saying we will change Document Root to "/opt - r/w jiffs2"? I think one user mentioned above that whenever he changes the root location here, it defaults back to that displayed in the link above. 5. Should we leave Exclude Ports, Login Timeout, and Verbosity at their default values since most of us haven't a clue what these mean?
Thanks for your help.
Marc |
|
  dellsweig Extreme Aerobatics Premium,MVM join:2003-12-10 Campbell Hall, NY
·Time Warner VOIP
·Vonage
·RoadRunner Cable
| said by mcoan :So, keeping in mind that 99% of us are Windows users and know nothing about Linux except for Linus's name, and referring to the web GUI in this user's example: » /r0/down···_001.jpg1. Gateway Name: Is this your router SSID? Or what? 2. Home Page: So, this is NOT the location for our custom splash page, since it's stored in "/opt - r/w jffs2". What is this domain for, then? 3. Allowed Web Hosts: What should we set this to? 4. You write, "can do a "nvram show | grep NC_" on the command line or go to Access Restrictions -> Captive Portal in the web gui." From the above GUI example, are you saying we will change Document Root to "/opt - r/w jiffs2"? I think one user mentioned above that whenever he changes the root location here, it defaults back to that displayed in the link above. 5. Should we leave Exclude Ports, Login Timeout, and Verbosity at their default values since most of us haven't a clue what these mean? Thanks for your help. Marc Marc
Make sure you PM me or email me with anything you find out!!!! I want to get this one working as well!! -- »aerobatix.webhop.net |
|
 GreyGhost00
join:2005-03-01 Washington, DC
| reply to dellsweig I've been trying to do this as well, and have succeeded in getting it set up and working properly - now all I need to do is change the splash page. That's where I need help as a total Linux noob. I don't know if you have to get the source code and recompile and then re-flash the device, or if you can just change the actual file somehow.
There is a console under the diagnostics of the web interface that appears to be a linux command-line screen.
As for the meaning of the fields on the NoCat web interface page within the WRT54g,
Allowed web hosts: lists those domains that bypass the splash page process. Document root: lists the relative path on the device itself to where the pages reside. Got these from their listserve archives:
Exclude Ports: Modifies the outbound firewall rules to deny any outbound traffic destined to those ports. It is commonly used to block outbound SMTP traffic (port 25) so that a hotspot could not be used by spammers. Login Timeout: The number of seconds before a user gets the splash page again. Most people set this to be about a day (86400 seconds) Verbosity: Specifies how verbose the log file (currently /tmp/services.out) is. the 10 setting is for debugging only and will quickly fill your memory, so watch out! |
|
  dellsweig Extreme Aerobatics Premium,MVM join:2003-12-10 Campbell Hall, NY
·Time Warner VOIP
·Vonage
·RoadRunner Cable
| said by GreyGhost00 :I've been trying to do this as well, and have succeeded in getting it set up and working properly - now all I need to do is change the splash page. That's where I need help as a total Linux noob. I don't know if you have to get the source code and recompile and then re-flash the device, or if you can just change the actual file somehow. There is a console under the diagnostics of the web interface that appears to be a linux command-line screen. As for the meaning of the fields on the NoCat web interface page within the WRT54g, Allowed web hosts: lists those domains that bypass the splash page process. Document root: lists the relative path on the device itself to where the pages reside. Got these from their listserve archives: Exclude Ports: Modifies the outbound firewall rules to deny any outbound traffic destined to those ports. It is commonly used to block outbound SMTP traffic (port 25) so that a hotspot could not be used by spammers. Login Timeout: The number of seconds before a user gets the splash page again. Most people set this to be about a day (86400 seconds) Verbosity: Specifies how verbose the log file (currently /tmp/services.out) is. the 10 setting is for debugging only and will quickly fill your memory, so watch out! The key to the web interface is DocumentRoot. If you could change document root, then you can point it to your own html file on the RW file system /opt. The trouble is I cant seem to get this value to change!! -- »aerobatix.webhop.net |
|
 GreyGhost00
join:2005-03-01 Washington, DC | How are you accessing the files on the WRT54g? SSH? Telnet? Prayer? Again, I'm a Linux noob, so throw me a bone. |
|
  dellsweig Extreme Aerobatics Premium,MVM join:2003-12-10 Campbell Hall, NY
·Time Warner VOIP
·Vonage
·RoadRunner Cable
| said by GreyGhost00 :How are you accessing the files on the WRT54g? SSH? Telnet? Prayer? Again, I'm a Linux noob, so throw me a bone. SSH. -- »aerobatix.webhop.net |
|
  dellsweig Extreme Aerobatics Premium,MVM join:2003-12-10 Campbell Hall, NY
·Time Warner VOIP
·Vonage
·RoadRunner Cable
| reply to dellsweig Re: [Firmware] WRT54G Captive Portal with EWRT .3 Beta
Greetings
Does anyone know what I have to setup to allow SSH through the WAN interface in ERWT??
This works with DDWRT but does not work with EWRT -- »aerobatix.webhop.net |
|
 GreyGhost00
join:2005-03-01 Washington, DC | reply to dellsweig Re: [Firmware] WRT54G Captive Portal with EWRT .3
Here's the answer in a very helpful format:
»www.linksysinfo.org/modules.php?···c&t=3054 |
|
  wifi4milez Big Russ, 1918 to 2008. Rest in Peace
join:2004-08-07 New York, NY
·Verizon FIOS
·Sprint Mobile Broa..
·RoadRunner Cable
·BroadVoice
| Guys just one thing to think about.... Make sure your ISP's TOS allow you to do this. If they find out you are either re-selling or re-distributing their service they can cancel your accout for ever! You also need to understand that anything someone who logs into your network does, YOU DID IT. This means that if some sicko looks at child pron while logged into your AP, and somehow the authorites find out, YOU are the one they come arrest. Other than that, this does look like some very cool firmware! Just be carefull!!!! -- I like dogs, guns, and cheeseburgers. Whats your malfunction? |
|