You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
3.9 KiB

4 years ago
4 years ago
  1. * Issues to solve
  2. ** which version of beagles to buy
  3. - I prefer to use the beaglebone black wi-fi, if it is possible to connect them to Jade's internet
  4. - Otherwise the ethernet version is preferred to use with usb-internet sharing
  5. - Install in computer the PuTTY software and some bash option to use.
  6. * day-1: Introduction to the beagle-boards and basic applications
  7. ** Introduction to the beagle boards.
  8. *** Connection
  9. + Basic USB connection
  10. + Connect to a IP address
  11. + SSH connection
  12. ssh -X debian@192.168.7.2
  13. debian:temppwd
  14. *** Sharing the internet through usb
  15. *** Wi-Fi
  16. To connect to your Wireless network type the following command in the terminal window:
  17. #+begin_src
  18. $sudo connmanctl
  19. connmanctl> enable wifi
  20. Enabled wifi
  21. connmanctl> scan wifi
  22. Scan completed for wifi
  23. connmanctl> services
  24. wifi_506583d4fc5e_544e434150413937414239_managed_psk
  25. connmanctl> agent on
  26. Agent registered
  27. connmanctl> connect wifi_506583d4fc5e_544e434150413937414239_managed_psk
  28. Passphrase? xxxxxxxxxxx
  29. connected wifi_506583d4fc5e_544e434150413937414239_managed_psk
  30. connmanctl> quit
  31. $ping www.google.com
  32. #+end_src
  33. *** Basic File System Commands
  34. | Name | Command | options | example |
  35. |-------------------+---------+---------------------------------------+----------------------------------|
  36. | List files | ls | -a shows all | ls -la |
  37. | | | -l long format | |
  38. | | | -R recursive | |
  39. |-------------------+---------+---------------------------------------+----------------------------------|
  40. | Current directory | pwd | -P prints the physical location | pwd |
  41. |-------------------+---------+---------------------------------------+----------------------------------|
  42. | Change | cd | .. takes you up a level | cd /home/gmarx |
  43. | directory | | ~ takes you to home directory | cd ~ |
  44. |-------------------+---------+---------------------------------------+----------------------------------|
  45. | Make | mkdir | -p make parent directories as needed | mkdir -p test/example |
  46. | directory | | -v print a message for each directory | mkdir -p /test/example |
  47. | | | | *first example creates |
  48. | | | | folders inside the |
  49. | | | | current folder, other one |
  50. | | | | creates folder in root directory |
  51. |-------------------+---------+---------------------------------------+----------------------------------|
  52. | | | | |
  53. *** Terminal
  54. | Command | Description |
  55. |---------+------------------------|
  56. | CTRL-c | Stop current command |
  57. | CTRL-z | Sleep program |
  58. | CTRL-a | Go to start of line |
  59. | CTRL-e | Go to end of line |
  60. | CTRL-u | Cut from start of line |
  61. | CTRL-k | Cut to end of line |
  62. | CTRL-r | Search history |
  63. | | |
  64. !!
  65. Repeat last command
  66. ** Beagle software
  67. ** Developing applications
  68. ** The linux file system and commands
  69. * day-2: Control versions and interfacing electronics
  70. ** git for control version2
  71. ** C and C++
  72. ** GPIO interfacing
  73. ** 4. Bone scripts
  74. ** UART communication
  75. * day-3: The internet of things
  76. ** A beagle board IoT sensor
  77. ** Sensor web server
  78. ** Linux cron scheduler
  79. ** QT rich user interface
  80. * day-4: The project
  81. ** project development