Skip to content

Instantly share code, notes, and snippets.

View takurx's full-sized avatar

Yoshihiro Nakagawa takurx

View GitHub Profile
@takurx
takurx / log_install_nvidia_driver_legion_570i-1.md
Last active August 27, 2023 14:07
lenovo legion 570i, nvidia driver install

Log

chino@chino-Legion-5-15IAH7H:~/Works/hibimemo2/sikulix$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd000024DDsv000017AAsd00003833bc03sc00i00
vendor   : NVIDIA Corporation
driver   : nvidia-driver-525-server - distro non-free
driver   : nvidia-driver-525-open - distro non-free
driver   : nvidia-driver-535 - distro non-free
@takurx
takurx / log_letsfiware_restart_https_error.md
Created August 7, 2023 20:10
log fiware restart success

Log

https error

setup: wait
Wait for https://keyrock.test-fiware-big-bang.link/ to be ready (300 sec)
error: https://keyrock.test-fiware-big-bang.link/: Timeout was reached.
@takurx
takurx / log_letsfiware_restart-1.md
Last active August 7, 2023 10:49
log fiware restart, domain error, https error

Log

chiya@ujimatsu:~$ ssh -i ~/.ssh/key-ue4-server.pem [email protected]
Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1028-aws x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
@takurx
takurx / command_iotagent-ttn-stm32-1.md
Last active June 19, 2023 23:11
log trying, Ok, Fiware IoT Agent, stm32, cayenne, the things network

command

curl, orion, NGSI

curl -X GET \
   http://localhost:1026/v2/entities \
   -H 'fiware-service: atosioe' \
   -H 'fiware-servicepath: /lorattn'
@takurx
takurx / log_iotagent-ttn-stm32-0.md
Created June 13, 2023 07:07
log trying, fail, Fiware IoT Agent, stm32, cayenne, the things network

Log

convert, image magick

chiya@ujimatsu:~/Downloads$ convert -resize half ./IMG_20210727_155644.jpg ./IMG_20210727_155644_half.jpg 
convert-im6.q16: invalid argument for option `-resize': half @ error/convert.c/ConvertImageCommand/2592.
chiya@ujimatsu:~/Downloads$ convert -resize 2000x1500 ./IMG_20210727_155644.jpg ./IMG_20210727_155644_half.jpg 

mqtt, mosquitto_sub

@takurx
takurx / log_iotagent-ttn-lht65n-0.md
Last active June 3, 2023 02:01
Log iotagent the things network LHT65N, Fiware

sample json


	"device_id":"eui-a84041d1e186a2e6",
	"application_ids":{
		"application_id":"test-lht65n-geetsuku"
	},
	"dev_eui":"A84041D1E186A2E6",
	"join_eui":"A840410000000100",
	"dev_addr":"260B23D7"},
@takurx
takurx / log_iotagent-ttn-dummy-device-0.md
Created May 30, 2023 00:30
Log IoTagent ttn dummy device

Log, test dummy-device, fail

Log mosquitto, use port 1883

chiya@ujimatsu:~$ mosquitto -V
Error: Unknown option '-V'.
mosquitto version 1.6.9
@takurx
takurx / log_iotagent-ttn_tutorial-2.md
Last active May 29, 2023 23:41
log iotagent ttn tutorial

Log, fail

chiya@ujimatsu:~$ sudo docker exec a8900f21d529 /bin/bash
[sudo] password for chiya: 
chiya@ujimatsu:~$ sudo docker exec a8900f21d529 echo test
test
chiya@ujimatsu:~$ sudo docker exec a8900f21d529 bash
chiya@ujimatsu:~$ sudo docker exec a8900f21d529 sh
chiya@ujimatsu:~$ 
@takurx
takurx / log_iotagent-ttn_tutorial-1.md
Last active May 14, 2023 22:16
log iotagent-lorawan thethingsnetwork stm32 tutorial

Log, fail-1

chiya@ujimatsu:~/LoRaWorks/IoTagent-LoRaWAN$ sudo docker-compose -f examples/stm32_ttn_tutorial/docker-compose.yml up
[sudo] password for chiya: 
Starting stm32_ttn_tutorial_mongodb_1 ... done
Starting stm32_ttn_tutorial_orion_1   ... done
Starting stm32_ttn_tutorial_iotagent-lora_1 ... done
Attaching to stm32_ttn_tutorial_mongodb_1, stm32_ttn_tutorial_orion_1, stm32_ttn_tutorial_iotagent-lora_1
mongodb_1        | 2023-05-14T22:06:15.265+0000 I CONTROL  [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=mongodb
@takurx
takurx / log_install_iotagent-lorawan_docker.md
Last active May 14, 2023 13:12
log install iotagent-lorawan