Behind a RADIUS portal
- By Tyzoid . Maybe this could be added to the main article, if the archboot ISO does in fact not include a browser. It may be better suited for WPA2 Enterprise, however. -- Alad (talk) 03:31, 10 March 2015 (UTC)
Since the archboot iso does not include a web browser (eg. lynx), wget can be used to function temporarily as a makeshift web browser to submit the form. Once you are connected to the network, enter this command:
# wget -qO- 'http://xkcd.com/' | less
Any website not using http(ssl) will work fine here, using xkcd is not required.
Next, search for a web form. The code around the web form will be the used to format the request to send to the server. Using less, search is started with a "/". Typing:
should reveal a section of code that looks similar to this:
<form name="login" method="post" action="https://radius-portal.example.net/submit.php"> <input type="hidden" name="redir" value="http://xkcd.com/"> <input type="submit" id="submit" value="I Agree"> </form>
Here, the method used is post (from the method field on the form), the url to submit to is https://radius-portal.example.net/submit.php (from the action field on the form), and the fields needed to submit are called redir and submit (from the name and id fields of the input elements - id is used when name is absent).
Press "Q" to exit less. To submit this form, use the command
# wget -qO- --post-data="redir=http://xkcd.com/&submit" "https://radius-portal.example.net/submit.php" | less
Which should give a successful message (such as "redirecting you to http://xkcd.com/"). From here, you should be able to connect to the internet to download packages required for the completion of the installation.
- As a note, this was written in reference to the official ISO, not the archboot iso (I was mistaken on the name). Also, as Alad has pointed out, there is a web browser (elinks) on the main arch iso, which I had a difficult time finding through my searching. Perhaps a quick reference to elinks would be nice on the "connecting to the internet" secion on the beginner's guide would be warranted? Especially as a way to verify that the user has internet connectivity. Tyzoid (talk) 23:24, 10 March 2015 (UTC)
- I agree, added with . For Installation guide, Talk:Installation guide#Suggestions to update this guide as part of ISO is related. I can't verify if any browsers are available in Archboot. — Kynikos (talk) 10:28, 12 March 2015 (UTC)
- Archboot will have elinks included on 2021.10 images Tpowa (talk) 10:00, 2 October 2021 (UTC)