No ACL setup yet! Denying access to everyone.
en:edu:zmitac:s2:aih:projekt:studenci:hackingzigbee
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:edu:zmitac:s2:aih:projekt:studenci:hackingzigbee [2022/05/06 17:36] – First draft, no images yet mkuchta | en:edu:zmitac:s2:aih:projekt:studenci:hackingzigbee [2022/05/08 21:39] (current) – mkuchta | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== 1. Connecting the device ===== | ===== 1. Connecting the device ===== | ||
| + | |||
| + | < | ||
| Main components are detailed here: | Main components are detailed here: | ||
| Line 20: | Line 22: | ||
| Baud Rate: 38400 bps | Baud Rate: 38400 bps | ||
| Other: 8N1 (8-bit, No Parity, 1 stop bit) | Other: 8N1 (8-bit, No Parity, 1 stop bit) | ||
| + | | ||
| + | <note warning> | ||
| | | ||
| To gain access to the Linux console we must connect the 3.3V TTL Serial port to J1. The console Is protected by a password and will be dealt with in a moment. | To gain access to the Linux console we must connect the 3.3V TTL Serial port to J1. The console Is protected by a password and will be dealt with in a moment. | ||
| Line 25: | Line 29: | ||
| Our setup looked like this: | Our setup looked like this: | ||
| + | < | ||
| | | ||
| ===== 2. Getting root access ===== | ===== 2. Getting root access ===== | ||
| Line 32: | Line 37: | ||
| === a) Connecting to the console using PuTTy === | === a) Connecting to the console using PuTTy === | ||
| + | |||
| + | < | ||
| First we connect the Gateway to a PC using USB to Serial adapter. The connection configuration is as follows: | First we connect the Gateway to a PC using USB to Serial adapter. The connection configuration is as follows: | ||
| Line 58: | Line 65: | ||
| 0x000000420000-0x000001000000 : " | 0x000000420000-0x000001000000 : " | ||
| </ | </ | ||
| + | |||
| + | < | ||
| === c) Reading the key-encryption-key (KEK) === | === c) Reading the key-encryption-key (KEK) === | ||
| Line 86: | Line 95: | ||
| Start the python script and, when prompted, paste the lines obtained above to reveal your AUSKEY and root password (we only need password). | Start the python script and, when prompted, paste the lines obtained above to reveal your AUSKEY and root password (we only need password). | ||
| - | + | ||
| + | < | ||
| Congratulations, | Congratulations, | ||
| Line 94: | Line 105: | ||
| ===== 3. Setting up device for Home Assistant control ===== | ===== 3. Setting up device for Home Assistant control ===== | ||
| + | |||
| + | < | ||
| Before starting, ensure your device is on your local network. If you're unsure of its IP address, issue an ifconfig command on the serial console. We will use SSH to send files between PC and gateway. | Before starting, ensure your device is on your local network. If you're unsure of its IP address, issue an ifconfig command on the serial console. We will use SSH to send files between PC and gateway. | ||
| Line 152: | Line 165: | ||
| To connect via Ethernet on our university we set the following network settings in VirtualBox | To connect via Ethernet on our university we set the following network settings in VirtualBox | ||
| + | |||
| + | < | ||
| After entering the correct IP in the browser we connected to the Home Assistant: | After entering the correct IP in the browser we connected to the Home Assistant: | ||
| + | |||
| + | < | ||
| ===== 5. Using Home Assistant' | ===== 5. Using Home Assistant' | ||
| Line 164: | Line 181: | ||
| ===== All done! ===== | ===== All done! ===== | ||
| + | < | ||
| + | < | ||
| + | < | ||
en/edu/zmitac/s2/aih/projekt/studenci/hackingzigbee.1651851361.txt.gz · Last modified: by mkuchta
