Quantum configuration and wiring test - austral-electronics/Austral_Support GitHub Wiki
^ Back to Quantum Calculator
ssh [email protected] (default IP address) password : quantum (default password, change it in a public network)
node-red-stop node-red-start
Internal RS232 port : /dev/ttyAMA1 Internal RS232 port : /dev/ttyAMA2 Internal RS232/RS485 : /dev/ttyS0 External USB GNSS : /dev/ttyACM0, /dev/ttyACM1... External RS232 or RS485 USB converter: /dev/ttyUSB0, /dev/ttyUSB1...
# Verify that the USB equipment is connected lsusb
# List of connected ports dmesg | grep tty
# Configure baudrate stty -F /dev/ttyXXX speed 4800 cs8 -cstopb -parenb
# View the data flow (Ctrl Z to exit) cat /dev/ttyXXX
# Send a sentence echo -e "TX on /dev/ttyXXX is Working\x0D\x0A" > /dev/ttyXXX
# Configure in RS232 mode echo "0" > /sys/class/gpio/gpio24/value
# Configure in RS485 mode echo "1" > /sys/class/gpio/gpio24/value
sudo /sbin/ip link set can1 up type can bitrate 250000
Dump reception flow in a console :
candump can1
Send a sentence :
cansend can1 7DF#0201050000000000
sudo nano /etc/dhcpcd.conf
# Example static IP configuration: interface eth0 static ip_address=192.168.100.100/24
sudo passwd admin
Create the directory :
mkdir -p /home/admin/git
Backup smb.conf :
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.bak sudo nano /etc/samba/smb.conf
Modify smb.conf :
[partage] comment = Share git directory path = /home/admin/git writeable=Yes create mask=0777 directory mask=0777 public=no
To get the domain name on windows, open a console with 'cmd' and then :
net config workstation
Allow users to access shares folders :
sudo smbpasswd -a admin New SMB password: quantum (example) Retype new SMB password: quantum (example)
Restart service after file modification :
sudo systemctl restart smbd.service
Service status :
sudo systemctl status smbd.service
To stop the Samba service :
sudo systemctl stop smbd.service
Connect a Win 10 PC:
Cortana->Execute
\\quantum