Updated HowToUbuntu (markdown)

mh-g 2017-02-25 11:53:07 +01:00
parent 3e24a270fb
commit dae2ab3208

@ -18,7 +18,9 @@ Open a command line and change to the subdirectory `bin` where the release has b
Note: In Signal/signal-cli the account is called "username", which is slightly misleading, since it is a phone number including the country code. The used phone number is required for one-time verification of the installation. In this example I will use two German cell phone numbers, thus they will start with +491515...
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.
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):
@ -26,10 +28,14 @@ After a few seconds, you will receive an SMS on the cell phone with phone number
> 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.
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.
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.
@ -37,11 +43,13 @@ Within a few seconds, the Signal App on the cell phone +4915152222222 will recei
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:
`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)`
>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.`
The message is contained in the line starting with > Body:.