Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
at our residences we have wireless AP's that provide our internet. To access it we have to login with a provided username and password through an html form - not the standard http proxy you'd expect.
How can I/is it possible to automate this? It's a pain in the arse only being able to login through a gui web browser and not being able to run netinst installs.
Debian Etch
Wireless LAN (already set up to auto connect using dhcp)
if you just do the same thing each time, then yes it's possible able to be automatablifactionized. i'd suggest you have a look at curl and grab the page you need to log in to. it depends what basis your proxy uses to authenticate though.... if it's just connections from your IP it should be fine, if you're passing cookies around and such, could be trickier.
Thanks, that seems to be the thing I'm after. Having problems following redirects (which I absolutely require) - apparently curl doesn't do that. Maybe the mailing list will help
depends what kind of a redirect it is. at the worst you can just hack the url out of the returned page and call it yourself.. you're already scripting it's just another step in the chain really. curl will follow the Location header in an http response (if it exists) with the -L option, but normaly that's a default AFAIK. if it's an informal META redirect or something then that's none of curl's business.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.