Skip to content

link to connmanctl wiki and ALT-F2 hint for pi users - #333

Merged
dlech merged 6 commits into
ev3dev:masterfrom
jhconning:patch-2
Jan 23, 2017
Merged

dlech merged 6 commits into
ev3dev:masterfrom
jhconning:patch-2

Conversation

@jhconning

Copy link
Copy Markdown
Contributor

Added hyperlink to Connman wiki that gives basic commands to establish wifi/bluetooth connections on the pi. In same paragraph, for pi users booting with HDMI screen added note about ALT-F2 to get login prompt.

Added hyperlink to Connman wiki that gives basic commands to establish wifi/bluetooth connections on the pi.  In same paragraph, for pi users booting with HDMI screen added note about ALT-F2 to get login prompt.

@WasabiFan WasabiFan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this! Small contributions like this are extremely helpful, because they fill the gaps which we overlook. I added some minor comments.

Comment thread docs/networking.md Outdated
you check the "**Powered**" box so that it starts searching for Wi-Fi networks,
and then choose the one you want from the list that appears.

**Note**

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note?

Comment thread docs/networking.md Outdated
For Raspberry Pi platforms with no display, you must use the wired Ethernet port
to connect for the first time. You can set up additional connections using the
`connmanctl` command through a remote SSH session.
to connect for the first time through a remote SSH session. If you connected an HDMI

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change this sentence to clarify that this is another option, e.g. "You can alternately connect an..."?

Comment thread docs/networking.md Outdated
to connect for the first time. You can set up additional connections using the
`connmanctl` command through a remote SSH session.
to connect for the first time through a remote SSH session. If you connected an HDMI
screen monitor press ALT-F2 to get to a login prompt. You can set up additional

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use HTML5's kbd element here:

<kbd>Alt</kbd>+<kbd>F2</kbd>

Alt+F2

Update to PR to make clear that ALT-F2 boot to login prompt with attached HDMI screen is an alternative way to establish first connection to pi, in addition to Ethernet.  Also added parenthetic remark with external link to make clear that a display for Brickman can be added to BrickPi.
to fix language in earlier PR to change discussion of ALT-F2 and HDMI
Comment thread docs/networking.md Outdated
to connect for the first time. You can set up additional connections using the
`connmanctl` command through a remote SSH session.
For Raspberry Pi platforms with no display
([to be able to use Brickman](http://lechnology.com/2016/05/adding-a-display-to-brickpi/)),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This parenthetical is confusing IMHO. In general, I'd prefer to keep the amount of text down in these alerts; if we need a lot of text, we can switch this to a panel.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK... I agree. Truth is I was a bit hesitant myself for the same reasons.
I suppose I should have discussed it before pushing a new commit. I'm new to the procedures of PRs. I'll strip out this change.

Do I just push a new commit again? (

@jhconning

jhconning commented Jan 20, 2017 •

Copy link
Copy Markdown
Contributor Author

thanks @WasabiFan. I hope I've followed protocol in updating the PR in responding to your suggestions with these new commits (two because I didn't notice your additional suggestion to strike out Note: before I pushed the first).

The rewrite should now make it clearer that connecting the pi to an HDMI screen + ALT-F2 to get a login prompt is an alternative method to the ethernet +SSH route. I've also added a short parenthetic remark with an external link to adding a display to BrickPi.

That original sentence read:

For Raspberry Pi platforms with no display you must use the wired Ethernet port to connect for the first time through a remote SSH.

I'm proposing to change that to:

For Raspberry Pi platforms with no display (to be able to use Brickman) you must use the wired Ethernet port to connect for the first time through a remote SSH.

This is to make clear that 'display' in this sentence refers to the type of small display found on the EV3 used by Brickman. I think this is useful because (a) it makes users aware that there is a way to use Brickman with the BrickPi and (b) it makes clear that this type of display is very different from the HDMI display monitor mentioned in the sentence that follows.

Back to simpler version that explains ALT-F2 method to boot up with HDMI screen. Removed reference to adding a BrickPi display
@WasabiFan

Copy link
Copy Markdown
Member

I hope I've followed protocol in updating the PR in responding to your suggestions with these new commits (two because I didn't notice your additional suggestion to strike out Note: before I pushed the first).

Yep, you're doing it right! Adding additional "accidental" commits is fine, because we'll squash them into a single commit when this PR is merged.


I like the idea of pointing out that additional display option, but I want to make sure that adding additional information doesn't get in the way of the essentials. I worry that having it formatted like that will confuse some people. So, could we move it to a separate sentence or do something else of similar nature?

@jhconning

Copy link
Copy Markdown
Contributor Author

OK, I agree it it mightget in the way. My latest commit 0a80831 strips out the parenthetic remark/link to adding a BrickPi screen.

@WasabiFan WasabiFan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, aside from that one formatting thing!

Comment thread docs/networking.md Outdated
and USB keyboard and press <kbd>Alt</kbd>+<kbd>F2</kbd> at the end of
the boot sequence to reach a login prompt (id: robot, password: maker). Once
connected, you can then set up additional connections using
[`connmanctl`](https://wiki.archlinux.org/index.php/Connman#Usage) commands.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to the way our CSS works, links which are code-formatted don't turn out very well, and code formatting in alerts is also odd. If you change it to

[connmanctl](https://wiki.archlinux.org/index.php/Connman#Usage){: .alert-link }

it'll format it as a proper link in the alert, but without code formatting.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all your suggestions. I've made all your suggested changes to this PR and #332 to now

[connmanctl](http://www.ev3dev.org/docs/tutorials/setting-up-wifi-using-the-command-line/{: .alert-link }

Comment thread docs/networking.md Outdated
For Raspberry Pi platforms with no display, you must use the
wired Ethernet port to connect for the first time through a remote SSH
session. An alternative method is to connect the pi to an HDMI screen monitor
and USB keyboard and press <kbd>Alt</kbd>+<kbd>F2</kbd> at the end of

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest Ctrl+Alt+F2 since it is more universal, e.g. Alt+F2 does not work in X.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also tty6 is guaranteed (by systemd) to have a login prompt, whereas other terminals could be used for other things like tty1 currently is. So, F6 might be better advice than F2.

Comment thread docs/networking.md Outdated
and USB keyboard and press <kbd>Alt</kbd>+<kbd>F2</kbd> at the end of
the boot sequence to reach a login prompt (id: robot, password: maker). Once
connected, you can then set up additional connections using
[`connmanctl`](https://wiki.archlinux.org/index.php/Connman#Usage) commands.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jhconning and others added 2 commits January 22, 2017 17:04
For pi users with hdmi: Ctrl+Alt+F6 to login and then link to page with connmanctl usage for wifi or other connections
@WasabiFan

Copy link
Copy Markdown
Member

FYI, I just made a minor change to this PR (so that you didn't have to waste more of your time on it): I changed the ev3dev.org link to be relative to the website root. That way, when previewing the site locally, this link will take you to that page in the local copy.

@dlech
dlech merged commit 2f8b291 into ev3dev:master Jan 23, 2017
@dlech

dlech commented Jan 23, 2017

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants