Skip to content

Commit

Permalink
update DNS for IoT-LAB services (migration from Grenoble to Strasbourg)
Browse files Browse the repository at this point in the history
  • Loading branch information
schrein committed Feb 29, 2024
1 parent b6f4405 commit 65530b0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
19 changes: 13 additions & 6 deletions docs/tools/leshan-broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ The IETF has created the Constrained Application Protocol (CoAP) which has a cli
<figcaption>LwM2M architecture (<a href="https://www.avsystem.com/blog/lightweight-m2m-lwm2m-overview/">Source</a>)</figcaption>
</figure>

## Connect to the IoT-LAB Leshan broker

**Important things:**

* Leshan broker is accessible only via IPv6 at **leshan6.iot-lab.info** on port 5683
* Leshan dashboard is accessible only via IPv4 at **[leshan4.iot-lab.info](http://leshan4.iot-lab.info/)** on port 80


### Register a LwM2M client

Expand All @@ -23,15 +30,15 @@ ssh <login>@<site>.iot-lab.info
<login>@<site>:~$ git clone https://github.com/eclipse/wakaama.git
<login>@<site>:~$ cmake wakaama/examples/client
<login>@<site>:~$ make
<login>@<site>:~$ ./lwm2mclient -h leshan.iot-lab.info
<login>@<site>:~$ ./lwm2mclient -h leshan6.iot-lab.info
Trying to bind LWM2M Client to port 56830
LWM2M Client "testlwm2mclient" started on port 56830
> Opening connection to server at leshan.iot-lab.info:5683
> Opening connection to server at leshan6.iot-lab.info:5683
-> State: STATE_REGISTERING
22 bytes received from [2001:660:5307:3200::2]:5683
64 41 B4 18 18 B4 50 39 82 72 64 0A 32 4E 75 48 dA....P9.rd.2NuH
39 59 79 71 47 61 9YyqGa
22 bytes received from [2a07:2e40:fffe:10::2]:5683
64 41 7B 48 48 7B 21 42 82 72 64 0A 56 4E 73 79 dA{HH{!B.rd.VNsy
64 4B 6C 47 59 71 dKlGYq
-> State: STATE_READY
```

You can check the registration directly on the [web interface](http://leshan.iot-lab.info) of the Leshan server.
You can check the registration directly on the [web interface](http://leshan4.iot-lab.info/) of the Leshan server.
2 changes: 1 addition & 1 deletion docs/tools/mqtt-broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ at **mqtt.iot-lab.info**. This instance is public and only

**Important things:**

> Any FIT IoT-LAB user can connect to mqtt.iot-lab.info with its personal
> Any FIT IoT-LAB user can connect to mqtt4.iot-lab.info with its personal
> FIT IoT-LAB credentials and a certificate file that is available either here
> or on each SSH frontend in /opt/iot-lab-ca.pem.
> Authenticated FIT IoT-LAB users can only have access to `iotlab/<login>`
Expand Down

0 comments on commit 65530b0

Please sign in to comment.