Friday, 15 November 2013

scp - ssh = brackets

i tried figure out how to transfer file from from laptop to ifc6410 board hooked to laptop via utp cable. using tcpdump i identified ipv6 address of ifc6410 board and connected using ssh.

connecting to remote machine is easy:

'ssh username@ipv6::ugly:addr:esss%ethN'

for scp that's not enough. scp needs brackets:

'scp filename username@[ipv6::ugly:addr:esss%ethN]:'

Sunday, 20 October 2013

multiple tty opened in one screen session

while i was playing with 'console' as serial line i/o, i found nice feature:
'ctrl-a :' and typing 'screen /dev/ttyUSB0 115200' and then 'ctrl-a :' and typing 'screen /dev/ttyACM0 115200' i got 2 serial devices attached.
using 'ctrl-a "' i listed all screens:
###########
Num Name                                                                                                                                                   Flags

  0 ttyUSB0
  1 ttyACM0                                                                                                                                                  
###########

Thursday, 19 January 2012

yum 'snippet'

yum reinstall @Some\ Group - yum enters to group mode and reinstall whole group