Challenge

Project 1

  • Created python script using mousepad.
  • mousepad project.py
  • Created the python script in project.py
  • added device vcan 0
  • sudo ip link add vcan0 type vcan
  • sudo modprobe vcan
  • sudo ip link set vcan0 up-for setting vcan0 up.
  • then we can check using candump and cansend whether the bus is working properly.
  • Checked using candump and cansend and bus is working properly.
  • using terminal, using cd and ls command list the files in a folder,
  • using chmod command made the project.py script executable.

  • In the terminal run the script using sudo python3 project.py or ./python.py and then enter password for sudo.
  • The directories will be created then as Even and Odd logs.
  • But the log files are  not created, troubleshooted many ways.
  • The cansniffer is running OK

Given permission for directories for write and execute using sudo.

Python can was already installed , then also cant get the output

The directories are created and candump and cansniffer is sending datas, but the log directories are not made.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.