mathworks / Raspbian_OS_Setup

Setup the Raspberry Pi Raspbian OS to be compatible with MATLAB and Simulink support package for Raspberry Pi
49 stars 25 forks source link

Remote config fail due to user name not set up as "pi" #5

Open sylvanoMTL opened 2 years ago

sylvanoMTL commented 2 years ago

I have had a try to install on Raspberry Pi CM4 (which has a default user other than "Pi"), the current OS is the latest debian bulleye 32bit lite the custom installation failed The user name was provided in the dialog boxes

SimulinkRPi_remote_install_fail

sylvanoMTL commented 2 years ago

looks like the error is in the script: lines 150

Add user to video and i2c user group                  
echo "12. Adding user to video group..."                        
sudo adduser pi video                       
echo "13. Adding user to i2c group..."                       
sudo adduser pi i2c        
echo "Customization Complete..." 

pi should be replaced by the input user name