# CAN IoT Card driver

**URL:** https://mangoh.discourse.group/t/can-iot-card-driver/997
**Category:** mangOH Red
**Created:** [December 16, 2017, 12:44pm UTC](https://mangoh.discourse.group/t/can-iot-card-driver/997 "2017-12-16T12:44:54Z")
**Posts on this page:** 1
**Showing post:** 30

<div class="post-metadata">

### Author: ![raxsix](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@raxsix](https://mangoh.discourse.group/u/raxsix)
#### Post date: [March 8, 2018, 4:59pm UTC](https://mangoh.discourse.group/t/can-iot-card-driver/997/30 "2018-03-08T16:59:44Z")

</div>

Finally, saw the can0 line with ifconfig command after all those steps:

echo 2 \> /sys/class/gpio/export  
echo out \> /sys/class/gpio/gpio2/direction  
echo 1 \> /sys/class/gpio/gpio2/value

// Enable level shifter on the CAN IoT card  
echo 13 \> /sys/class/gpio/export  
echo out \> /sys/class/gpio/gpio13/direction  
echo 1 \> /sys/class/gpio/gpio13/value

modprobe can  
modprobe can-dev  
modprobe can-raw  
modprobe mcp251x  
ip link set can0 type can bitrate 125000 triple-sampling on  
ifconfig can0 up

**And after restarting MangOH red board I can not get it up and running again, why?**  
cannot find device “can0”

---

_[View the full topic](https://mangoh.discourse.group/t/can-iot-card-driver/997)._
