Updated HowToUbuntu (markdown)

mh-g 2017-02-25 11:54:27 +01:00
parent dae2ab3208
commit 2caa3cd7b8

@ -19,22 +19,29 @@ Note: In Signal/signal-cli the account is called "username", which is slightly m
1. Register your phone number
Enter
> ./signal-cli -u +4915151111111 register
on the command line. If all goes well, there is no reply. Execution takes a few seconds.
+491515111111 is thus the phone number that will be used by the signal-cli installation.
After a few seconds, you will receive an SMS on the cell phone with phone number +4915151111111 that contains the verification code (123-456 in this example):
> Your TextSecure verification code: **123-456**
> 25 Feb. 2017 10:52
2. Verify your phone number
Enter
> ./signal-cli -u +4915151111111 verify **123-456**
on the command line. Again, no reply if all is fine.
## Send a first message from the command line
We assume that the receiver of the message has the phone number +4915152222222. Enter
> ./signal-cli -u +4915151111111 send -m "My first message from the CLI" +4915152222222
on the command line. Again, no reply if all is fine.
Within a few seconds, the Signal App on the cell phone +4915152222222 will receive the message.
@ -42,14 +49,20 @@ Within a few seconds, the Signal App on the cell phone +4915152222222 will recei
## Send a first reply to the command line
With the same setup, enter a message (e.g. "First reply to the CLI") on the cell phone +4915152222222.
Enter `./signal-cli -u +4915151111111 receive`. This gets more output after a few seconds:
Enter
> ./signal-cli -u +4915151111111 receive`
on the command line. This gets more output after a few seconds:
>Envelope from: +4915152222222 (device: 1)
>Timestamp: 1488016532387 (2017-02-25T09:55:32.387Z)
>Message timestamp: 1488016532387 (2017-02-25T09:55:32.387Z)
>Body: **First reply to the CLI**
>
>Envelope from: +4915152222222 (device: 1)
`Timestamp: 1488017026720 (2017-02-25T10:03:46.720Z)`
`Got receipt.`
>Timestamp: 1488017026720 (2017-02-25T10:03:46.720Z)
>Got receipt.
The message is contained in the line starting with > Body:.
The message is contained in the line starting with
> Body: