LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-13-2012, 03:11 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint v21.3 & v22.x with Cinnamon
Posts: 1,797
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
access web page after wifi connection "auto magic"


I take my laptop "walk about" very often. Most public wifi opportunities demand that you "say grace" at some web page after the wifi connection, association, and authentication. Can someone help me sort out doing that dance auto-magically?

Here is what I want to happen:
  1. find and activate a wifi connection (I happen to use wicd but would use network-manager if necessary
  2. at the end of interface activation, launch and run an "interface active" script of my design
  3. script would test (somehow) whether the network is really available or not (Maybe try to access CGI at some always-available web site.)
    • if available, wrap-up and use it
    • if not available, launch a browser to dance with the web page
  4. eventually, I'd like to have a store of web page dances and smart enough script such that I only see a browser if this is a new network I'm visiting.
Does anything like this already exist?
Can anyone offer suggestions and guidance about how I might proceed?

Thanks in advance,
~~~ 0;-Dan
 
Old 01-13-2012, 06:19 PM   #2
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint v21.3 & v22.x with Cinnamon
Posts: 1,797

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
I found this thread Run Script On Network Connection. It talks about doing things with /etc/network/interfaces entries. Does Ubuntu 10.04 or later still use that technique?

If not, what is the current technique used with these more recent editions of Ubuntu?

Is what I'm trying to do a udev or upstart "task" or "job" or something?

All of this is very confusing,
~~~ 0;-/ Dan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert "show interface status" output to a client side web page nimnull22 Linux - Server 2 11-16-2010 03:15 PM
Java code to implement "wget" to save a web page in linux Kakarot_Rathish Programming 5 03-08-2010 03:02 AM
Is there a program similar to that used in a web browser that will "auto fill" text?? UbrInKid Linux - Newbie 2 11-28-2009 12:39 AM
my web browser "mozilla fire fox" isn't rendering the page, rather opening the page amolgupta Linux - Software 2 07-26-2005 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration