FAQ | Contact Us  |  Register  |  Login


UC Davis Center for Integrated Computing and STEM Education (C-STEM) --- Research and Outreach
Home > FAQ > C-STEMbian

C-STEMbian

Q: I cannot launch Linkbot Labs from C-STEM Studio in Raspberry Pi.
A: In the current version of Linkbot Labs for Raspberry Pi, you will need to connect to the internet in order to launch Linkbot Labs.

 

Q: In C-STEM Studio, when I click “Web-Based Computing”, it display that “This site can’t be reached, 127.0.0.1 refused to connect”. How can I fix this?
A: By default, the Apache web server in C-STEMbian is not started. You can start, stop, reload and restart it by the commands below.

  • start it with: sudo /etc/init.d/apache2 start
  • stop it: sudo /etc/init.d/apache2 stop
  • reload the config with: sudo /etc/init.d/apache2 reload
  • restart (stop followed by start): sudo /etc/init.d/apache2 restart

 

Q: If I do not use Linkbot lab, how can I disable the service for Linkbot lab to save CPU time?
A: baromeshd is an auto-start service during start-up.  You can use the command ‘sudo systemctl stop baromeshd.service’ to temporary stop it and the command ‘sudo systemctl disable baromeshd.service’ to permanently stop it from auto starting.

Q: Linkbot Labs is open but it says I am in Offline Mode even though I am connected to the internet.

A: You may need to restart the baromeshd service. You can use the command ‘sudo service baromeshd start’

 

Q: When I run a program in ChIDE I get the error message “Unable to open I2C device: No such file or directory”

A: You need to enable automatic loading of the I2C kernel module by following the below steps

  1. Open the Applications Menu
  2. Click “Preferences”
  3. Click “Raspberry Pi Configuration”
  4. Click “Interfaces”
  5. Enable I2C