|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Public WiFi and accept screens
my networking all works fine, but when I get my ip from a public wifi service there is a pop up webpage agreement that requires you to select "Yes" before you actually get an Ip.
does anyone know how to accept this either manually or automatically via command line. TIA all of my ifconfig stuff appears to be fine, it just wont server my ip until I click yes. |
|
|||
ok thanks, Ill work on something, not real sure what the best way to go about it tho, heh
thanks Last edited by phyro; 10th January 2013 at 06:59 PM. |
|
|||
tried
Code:
printf "GET / HTTP/1.0\r\n\r\n" | nc host.example.com 80 I get the html headers and such but im not sure how to "click accept" lol |
|
||||
I'm going to recommend you use Google, Bing or whatever your favorite Internet search engine is and search with two keywords: "curl" and "hotspot". The top hit on Google recommend a specific curl script that you could copy/paste for command line based web-browser-push-button scripting.
Personally, I don't do any of this when I use public access WiFi. I just use a browser. |
|
|||
Quote:
sigh the only reason this is such a pita is b/c its a fresh install with nothing on it in a foreign network. Thanks tho.. Ill check it out. |
|
|||
I did actually try lynx (and I can navigate to the disclaimer) but when the actual popup box appears it says "java script not enabled" and from what I can tell it doesn't support it.
thanks tho |
|
|||
What you need to do is look at the structure of the URL sent back to the server in response to clicking "Accept" as that is how the server is notified that you accept whatever conditions/limitations they enforce.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Xorg Screens & pkgsrc Help | SL6-A2000 | NetBSD General | 1 | 18th March 2012 08:11 PM |
Switching wsconsole screens with Alt-Fn in NetBSD and OpenBSD | IdOp | Guides | 2 | 1st September 2011 02:36 PM |
How to get 'make' to accept all defaults for dependent packages | Xeon | FreeBSD Ports and Packages | 1 | 12th February 2009 01:54 AM |
secure ssh with public key | milo974 | OpenBSD Security | 11 | 9th July 2008 04:52 PM |
OS to run in a public computer? | Sunnz | Off-Topic | 31 | 23rd May 2008 05:47 PM |