Code: Select all
rshell -p /dev/ttyUSB0
Code: Select all
Connecting to /dev/ttyUSB0 ...
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 1185, in connect
ip_address = socket.gethostbyname(port)
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/rshell", line 11, in <module>
load_entry_point('rshell==0.0.11', 'console_scripts', 'rshell')()
File "/usr/local/lib/python3.5/dist-packages/rshell/command_line.py", line 4, in main
rshell.main.main()
File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 2658, in main
real_main()
File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 2620, in real_main
connect(args.port, baud=args.baud, wait=args.wait, user=args.user, password=args.password)
File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 1191, in connect
connect_serial(port, baud=baud, wait=wait)
File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 1215, in connect_serial
dev = DeviceSerial(port, baud, wait)
File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 1436, in __init__
Device.__init__(self, pyb)
File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 1273, in __init__
self.name = self.remote_eval(board_name, self.default_board_name())
File "/usr/local/lib/python3.5/dist-packages/rshell/main.py", line 1353, in remote_eval
return eval(self.remote(func, *args, **kwargs))
File "<string>", line 0
^
SyntaxError: unexpected EOF while parsing
Code: Select all
$ rshell
Welcome to rshell. Use Control-D to exit.
No MicroPython boards connected - use the connect command to add one
/home/ee49> connect telnet 192.168.10.104