Help CH341a mode TTL

Forum Forums New users New Users and General Questions Help CH341a mode TTL

  • This topic has 24 replies, 3 voices, and was last updated Nov 15-1:30 pm by shareator.
Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #70394
    Member
    Xecure
      Helpful
      Up
      0
      ::

      Related to putty:
      It is better that you install putty from the repository instead of building from source (as you don’t know all the build dependencies you need to install first). Connect to the internet and do
      sudo apt update && sudo apt install putty

      If you want to install a downloaded .deb file, you need to give the file’s full path. You need to either drag the file to the terminal to “paste” the full path of the file or write it manually, but apt requires the file path, and not the file name only. You can also use relative paths if you are already “inside” the path in the terminal.
      sudo apt install ./python-serial_3.4-4_all.deb

      How show VM folder in SpaceFM?

      This requires you to use the virtualbox service.
      I think that you can mount the folder automatically if you set the correct mount point. In your last image, edit the “Punto de Montaje” to “/home/pc/share”
      Then, when you start the virtual machine, you should be able to see the virtualbox configuration and automount the shared folder with
      sudo VBoxControl sharedfolder list --automount

      Virtualbox changes a lot of things from one version to another, so maybe this no longer works. Check the virtualbox manual or questions on the net related to vrtualbox and a linux guest.

      antiX Live system enthusiast.
      General Live Boot Parameters for antiX.

      #70497
      Member
      shareator
        Helpful
        Up
        0
        ::

        Offline method ./ work for me
        “sudo apt install ./python-serial_3.4-4_all.deb”

        #70499
        Member
        shareator
          Helpful
          Up
          0
          ::

          Thx “Xecure” when post see your responce in second page ;).
          question, to execute a simple program putty 1.34mb in W7 double click mouse and run, in Linux (antix distro) depend of one internet conection? Or know “¿dependecies?”
          not exist in exe mode for linux for run?

          #70501
          Member
          shareator
            Helpful
            Up
            0
            ::

            config.log putty

            This file contains any messages produced by compilers while
            running configure, to aid debugging if configure makes a mistake.
            
            It was created by putty configure 0.76, which was
            generated by GNU Autoconf 2.69.  Invocation command line was
            
              $ ./configure 
            
            ## --------- ##
            ## Platform. ##
            ## --------- ##
            
            hostname = antix1
            uname -m = i686
            uname -r = 4.9.0-264-antix.1-486-smp
            uname -s = Linux
            uname -v = #1 SMP Thu Apr 15 21:49:19 EEST 2021
            
            /usr/bin/uname -p = unknown
            /bin/uname -X     = unknown
            
            /bin/arch              = i686
            /usr/bin/arch -k       = unknown
            /usr/convex/getsysinfo = unknown
            /usr/bin/hostinfo      = unknown
            /bin/machine           = unknown
            /usr/bin/oslevel       = unknown
            /bin/universe          = unknown
            
            PATH: /usr/local/bin
            PATH: /usr/bin
            PATH: /bin
            PATH: /usr/local/games
            PATH: /usr/games
            PATH: /sbin
            PATH: /usr/sbin
            
            ## ----------- ##
            ## Core tests. ##
            ## ----------- ##
            
            configure:2285: checking for a BSD-compatible install
            configure:2353: result: /usr/bin/install -c
            configure:2364: checking whether build environment is sane
            configure:2419: result: yes
            configure:2568: checking for a thread-safe mkdir -p
            configure:2607: result: /usr/bin/mkdir -p
            configure:2614: checking for gawk
            configure:2630: found /usr/bin/gawk
            configure:2641: result: gawk
            configure:2652: checking whether make sets $(MAKE)
            configure:2674: result: yes
            configure:2703: checking whether make supports nested variables
            configure:2720: result: yes
            configure:2891: checking for ranlib
            configure:2907: found /usr/bin/ranlib
            configure:2918: result: ranlib
            configure:2944: checking whether make supports the include directive
            configure:2959: make -f confmf.GNU && cat confinc.out
            this is the am__doit target
            configure:2962: $? = 0
            configure:2981: result: yes (GNU style)
            configure:3051: checking for gcc
            configure:3067: found /usr/bin/gcc
            configure:3078: result: gcc
            configure:3307: checking for C compiler version
            configure:3316: gcc --version >&5
            gcc (Debian 8.3.0-6) 8.3.0
            Copyright (C) 2018 Free Software Foundation, Inc.
            This is free software; see the source for copying conditions.  There is NO
            warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
            
            configure:3327: $? = 0
            configure:3316: gcc -v >&5
            Using built-in specs.
            COLLECT_GCC=gcc
            COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/8/lto-wrapper
            Target: i686-linux-gnu
            Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
            Thread model: posix
            gcc version 8.3.0 (Debian 8.3.0-6) 
            configure:3327: $? = 0
            configure:3316: gcc -V >&5
            gcc: error: unrecognized command line option '-V'
            gcc: fatal error: no input files
            compilation terminated.
            configure:3327: $? = 1
            configure:3316: gcc -qversion >&5
            gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
            gcc: fatal error: no input files
            compilation terminated.
            configure:3327: $? = 1
            configure:3347: checking whether the C compiler works
            configure:3369: gcc    conftest.c  >&5
            /usr/bin/ld: cannot find Scrt1.o: No such file or directory
            /usr/bin/ld: cannot find crti.o: No such file or directory
            collect2: error: ld returned 1 exit status
            configure:3373: $? = 1
            configure:3411: result: no
            configure: failed program was:
            | /* confdefs.h */
            | #define PACKAGE_NAME "putty"
            | #define PACKAGE_TARNAME "putty"
            | #define PACKAGE_VERSION "0.76"
            | #define PACKAGE_STRING "putty 0.76"
            | #define PACKAGE_BUGREPORT ""
            | #define PACKAGE_URL ""
            | #define PACKAGE "putty"
            | #define VERSION "0.76"
            | /* end confdefs.h.  */
            | 
            | int
            | main ()
            | {
            | 
            |   ;
            |   return 0;
            | }
            configure:3416: error: in 

            /home/demo/Descargas/putty-0.76′:
            configure:3418: error: C compiler cannot create executables
            See `config.log’ for more details

            ## —————- ##
            ## Cache variables. ##
            ## —————- ##

            ac_cv_env_CC_set=
            ac_cv_env_CC_value=
            ac_cv_env_CFLAGS_set=
            ac_cv_env_CFLAGS_value=
            ac_cv_env_CPPFLAGS_set=
            ac_cv_env_CPPFLAGS_value=
            ac_cv_env_CPP_set=
            ac_cv_env_CPP_value=
            ac_cv_env_LDFLAGS_set=
            ac_cv_env_LDFLAGS_value=
            ac_cv_env_LIBS_set=
            ac_cv_env_LIBS_value=
            ac_cv_env_PKG_CONFIG_LIBDIR_set=
            ac_cv_env_PKG_CONFIG_LIBDIR_value=
            ac_cv_env_PKG_CONFIG_PATH_set=
            ac_cv_env_PKG_CONFIG_PATH_value=
            ac_cv_env_PKG_CONFIG_set=
            ac_cv_env_PKG_CONFIG_value=
            ac_cv_env_build_alias_set=
            ac_cv_env_build_alias_value=
            ac_cv_env_host_alias_set=
            ac_cv_env_host_alias_value=
            ac_cv_env_target_alias_set=
            ac_cv_env_target_alias_value=
            ac_cv_path_install=’/usr/bin/install -c’
            ac_cv_path_mkdir=/usr/bin/mkdir
            ac_cv_prog_AWK=gawk
            ac_cv_prog_ac_ct_CC=gcc
            ac_cv_prog_ac_ct_RANLIB=ranlib
            ac_cv_prog_make_make_set=yes
            am_cv_make_support_nested_variables=yes

            ## —————– ##
            ## Output variables. ##
            ## —————– ##

            ACLOCAL=’${SHELL} /home/demo/Descargas/putty-0.76/missing aclocal-1.16′
            AMDEPBACKSLASH=’\’
            AMDEP_FALSE=’#’
            AMDEP_TRUE=”
            AMTAR=’$${TAR-tar}’
            AM_BACKSLASH=’\’
            AM_DEFAULT_V=’$(AM_DEFAULT_VERBOSITY)’
            AM_DEFAULT_VERBOSITY=’1′
            AM_V=’$(V)’
            AR=”
            AUTOCONF=’${SHELL} /home/demo/Descargas/putty-0.76/missing autoconf’
            AUTOHEADER=’${SHELL} /home/demo/Descargas/putty-0.76/missing autoheader’
            AUTOMAKE=’${SHELL} /home/demo/Descargas/putty-0.76/missing automake-1.16′
            AUTO_GIT_COMMIT_FALSE=”
            AUTO_GIT_COMMIT_TRUE=”
            AWK=’gawk’
            CC=’gcc’
            CCDEPMODE=”
            CFLAGS=”
            CPP=”
            CPPFLAGS=”
            CYGPATH_W=’echo’
            DEFS=”
            DEPDIR=’.deps’
            ECHO_C=”
            ECHO_N=’-n’
            ECHO_T=”
            EGREP=”
            EXEEXT=”
            GREP=”
            GTK1_CONFIG=”
            GTK_CFLAGS=”
            GTK_LIBS=”
            HAVE_GTK_FALSE=”
            HAVE_GTK_TRUE=”
            HAVE_QUARTZ_FALSE=”
            HAVE_QUARTZ_TRUE=”
            HAVE_SETID_CMD_FALSE=”
            HAVE_SETID_CMD_TRUE=”
            INSTALL_DATA=’${INSTALL} -m 644′
            INSTALL_PROGRAM=’${INSTALL}’
            INSTALL_SCRIPT=’${INSTALL}’
            INSTALL_STRIP_PROGRAM=’$(install_sh) -c -s’
            LDFLAGS=”
            LIBOBJS=”
            LIBS=”
            LTLIBOBJS=”
            MAKEINFO=’${SHELL} /home/demo/Descargas/putty-0.76/missing makeinfo’
            MKDIR_P=’/usr/bin/mkdir -p’
            OBJEXT=”
            PACKAGE=’putty’
            PACKAGE_BUGREPORT=”
            PACKAGE_NAME=’putty’
            PACKAGE_STRING=’putty 0.76′
            PACKAGE_TARNAME=’putty’
            PACKAGE_URL=”
            PACKAGE_VERSION=’0.76′
            PATH_SEPARATOR=’:’
            PKG_CONFIG=”
            PKG_CONFIG_LIBDIR=”
            PKG_CONFIG_PATH=”
            RANLIB=’ranlib’
            SETID_CMD=”
            SETID_MODE=”
            SET_MAKE=”
            SHELL=’/bin/bash’
            STRIP=”
            VERSION=’0.76′
            WARNINGOPTS=”
            ac_ct_AR=”
            ac_ct_CC=’gcc’
            am__EXEEXT_FALSE=”
            am__EXEEXT_TRUE=”
            am__fastdepCC_FALSE=”
            am__fastdepCC_TRUE=”
            am__include=’include’
            am__isrc=”
            am__leading_dot=’.’
            am__nodep=’_no’
            am__quote=”
            am__tar=’$${TAR-tar} chof – “$$tardir”‘
            am__untar=’$${TAR-tar} xf -‘
            bindir=’${exec_prefix}/bin’
            build_alias=”
            datadir=’${datarootdir}’
            datarootdir=’${prefix}/share’
            docdir=’${datarootdir}/doc/${PACKAGE_TARNAME}’
            dvidir=’${docdir}’
            exec_prefix=’NONE’
            host_alias=”
            htmldir=’${docdir}’
            includedir=’${prefix}/include’
            infodir=’${datarootdir}/info’
            install_sh=’${SHELL} /home/demo/Descargas/putty-0.76/install-sh’
            libdir=’${exec_prefix}/lib’
            libexecdir=’${exec_prefix}/libexec’
            localedir=’${datarootdir}/locale’
            localstatedir=’${prefix}/var’
            mandir=’${datarootdir}/man’
            mkdir_p=’$(MKDIR_P)’
            oldincludedir=’/usr/include’
            pdfdir=’${docdir}’
            prefix=’NONE’
            program_transform_name=’s,x,x,’
            psdir=’${docdir}’
            runstatedir=’${localstatedir}/run’
            sbindir=’${exec_prefix}/sbin’
            sharedstatedir=’${prefix}/com’
            sysconfdir=’${prefix}/etc’
            target_alias=”

            ## ———– ##
            ## confdefs.h. ##
            ## ———– ##

            /* confdefs.h */
            #define PACKAGE_NAME “putty”
            #define PACKAGE_TARNAME “putty”
            #define PACKAGE_VERSION “0.76”
            #define PACKAGE_STRING “putty 0.76”
            #define PACKAGE_BUGREPORT “”
            #define PACKAGE_URL “”
            #define PACKAGE “putty”
            #define VERSION “0.76”

            configure: exit 77

            #70506
            Member
            Xecure
              Helpful
              Up
              0
              ::

              In Windows, each app installs programs and libraries, and many times the libraries are the same being installed in different places. This takes more space on your computer, creates redundancy, and makes your system slower. Because the app installs its own version of the libraries, these may be old and have bugs and vulnerabilities, which also puts your system at risk to being attacked.

              Most Linux distributions separate the app from the libraries it uses in different packages, so these libraries only need to be installed once (and not each time you install an app that requires the same libraries) as “dependencies” of these apps, and are available to all apps that need them. This reduces the app complexity, saves space and makes it possible to keep the libraries up to date to patch vulnerabilities, so it a big bonus. The only problem is that you need all dependencies to be installed with the app you want to use, making installation a bit more difficult in offline mode.

              Not all is so bad, as many apps can be downloaded as a portable “executable” (like portable apps in Windows). Unfortunately I haven’t found one for putty.

              You can download putty-tools and putty and install them manually as you did for python-serial. I think these are the only package you need, as the other dependencies should already be installed in antiX 19.4 base i386 (which I suppose is the antiX version you are using in Virtual Box, I think this was not mentioned in the topic yet).

              antiX Live system enthusiast.
              General Live Boot Parameters for antiX.

              #70507
              Member
              Xecure
                Helpful
                Up
                0
                ::

                I would not compile any program if I were you, as you still are new to linux and don’t know how to figure out how to install build dependencies.

                antiX Live system enthusiast.
                General Live Boot Parameters for antiX.

                #70614
                Member
                shareator
                  Helpful
                  Up
                  0
                  ::

                  Thx!!! Amazing support (and patience) 😉
                  Every time, when run antiX-19.4_386-full.iso, need install a pendrive and copy all archives to home/descargas (its really tedius)
                  I did not manage to activate, shared folder or clipboard (sudo VBoxClient –clipboard not work)
                  Access to VM folder W7 from Antix?
                  (maybe because run 386iso and my CPU is AMD Athlon X2 7850, 4gb, fix with amd64iso??)
                  Putty install ok, but i cant configure 🙁
                  Cant make a type of scrip with multiples “sudo comands” or a txt to open in antix copy and paste in Terminal
                  sudo apt install ./python-serial_3.4-4_all.deb
                  sudo apt install ./putty-tools_0.70-6_i386.deb
                  sudo apt install ./putty_0.70-6_i386.deb
                  sudo VBoxControl sharedfolder list –automount

                  • This reply was modified 1 year, 6 months ago by shareator. Reason: Access to VM folder W7 from Antix?
                  #70619
                  Member
                  shareator
                    Helpful
                    Up
                    0
                    ::

                    putty fail

                    Attachments:
                    #70888
                    Member
                    shareator
                      Helpful
                      Up
                      0
                      ::

                      When close VirtualBox “save state” not “power off” (not solution for access VM folder, bot not required copy all archives in every session)
                      For Putty, change defalut value serial port “/dev/ttyS0” to “/dev/ttyUSB0” work for me. 😉

                      #70995
                      Member
                      shareator
                        Helpful
                        Up
                        0
                        ::

                        Make folder example “VM3” to share in windows so
                        Configure VirtualBox Shared folder with rute folder created previusly
                        Make folder in Antix to share example “/media/windows”
                        Mount folder created in W7 to Antix
                        “sudo mount -t vboxsf VM3 /media/windows”
                        work nice (remember “save state in virtualbox”)

                        *to saved changes permanently in Antix, supuest (I not probe)
                        add this to “/etc/rc.local” (I not have idea wath its is)
                        source https://gigastur.es/acceder-carpetas-compartidas-virtualbox

                      Viewing 10 posts - 16 through 25 (of 25 total)
                      • You must be logged in to reply to this topic.