From: <in...@ad...> - 2006-10-01 21:44:16
|
Craig, my mistake. I forgot to use "ls -a". That's why I didn't see the directory and the "know_hosts" file. Sorry, I suppose the 4 years break from Linux have been too long for my memory. Rock. Craig, there is a small misunderstanding. I did NOT reflash the Gumstix. My Connex is still programmed with the kernel that Dave build for me. When I installed the arm gcc tools I did not install it in a "gumstix-buildroot" directory. Each time I was doing something that was on the wiki or suggested by the list I got confused with the directories and decided to clean house and reinstall everything from scratch in the "gumstix-buildroot" directory. I can't follow the direction of the message because the directory, as mentionned, does not exist. Sorry for the confusion. Rock. > -------- Original Message -------- > Subject: gumstix-users Digest, Vol 5, Issue 127 > From: gum...@li... > Date: Thu, September 28, 2006 12:58 am > To: gum...@li... > > Send gumstix-users mailing list submissions to > gum...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gumstix-users > or, via email, send a message with subject or body 'help' to > gum...@li... > > You can reach the person managing the list at > gum...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gumstix-users digest..." > > > Today's Topics: > > 1. Re: SSH: File Transfer (tim...@co...) > 2. Re: SSH: File Transfer (Nicholas) > 3. Re: tty to/from ttyS2 (in...@ad...) > 4. anyone using batchpcb? (Brad Midgley) > 5. ssh (in...@ad...) > 6. Re: tty to/from ttyS2 (Craig Hughes) > 7. Re: ssh (Craig Hughes) > 8. netCF and SSH (Cesar E. Perez) > 9. switching cpu speed (Brad Midgley) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 27 Sep 2006 23:44:56 +0000 > From: tim...@co... > Subject: Re: [Gumstix-users] SSH: File Transfer > To: "General mailing list for gumstix users." > <gum...@li...> > Message-ID: > <092...@co...> > > > Make sure it marked as executable. > Use ls -l > If no x's then use chmod -x hello > You may need root access > > -------------- Original message ---------------------- > From: "Cesar E. Perez" <ces...@ho...> > > I am able to ssh into the gumstix via ethernet. I tried to copy a file using > > the command scp. I made the hello world program, compiled and made an > > executable called hello. I then scp hello root@192.168.1.103: it transferred > > the file fine. When I tried to execute it in the gumstix, ./hello it gave me > > the following error messages: > > > > NetFeed 1.0 >ls > > hello > > NetFeed 1.0 >./hello > > ./hello: ./hello: 1: ????: not found > > ./hello: ./hello: 2: Syntax error: word unexpected (expecting ")") > > > > I also tried cat hello and it gave me a bunch of weird lines, such as: > > > > gv:G(0,3)environ:G(0,3)__progname:G(0,4)mach_init_routine:G(0,8)=*(0,9)=f(0,2)_c > > thread_init_routine:G(0,8)pointer_to_objcInit:S(0,6)pointer_to__darwin_gcc3_prer > > egister_frame_info:S(0,6)dyld_lazy_symbol_binding_entry_pointerror_messagedyld_f > > unc_lookup_pointer_darwin_unwind_dyld_add_image_hook_darwin_unwind_dyld_remov > > > > Cesar E. Perez > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > ------------------------------ > > Message: 2 > Date: Wed, 27 Sep 2006 20:32:37 -0400 > From: Nicholas <no...@ma...> > Subject: Re: [Gumstix-users] SSH: File Transfer > To: "General mailing list for gumstix users." > <gum...@li...> > Message-ID: <1159403558.6749.4.camel@nasa-desktop> > Content-Type: text/plain > > On Wed, 2006-09-27 at 19:31 -0400, Cesar E. Perez wrote: > > I am able to ssh into the gumstix via ethernet. I tried to copy a file using > > the command scp. I made the hello world program, compiled and made an > > executable called hello. I then scp hello root@192.168.1.103: it transferred > > the file fine. When I tried to execute it in the gumstix, ./hello it gave me > > the following error messages: > > > > NetFeed 1.0 >ls > > hello > > NetFeed 1.0 >./hello > > ./hello: ./hello: 1: ????: not found > > ./hello: ./hello: 2: Syntax error: word unexpected (expecting ")") > > > > I also tried cat hello and it gave me a bunch of weird lines, such as: > > > > gv:G(0,3)environ:G(0,3)__progname:G(0,4)mach_init_routine:G(0,8)=*(0,9)=f(0,2)_cthread_init_routine:G(0,8)pointer_to_objcInit:S(0,6)pointer_to__darwin_gcc3_preregister_frame_info:S(0,6)dyld_lazy_symbol_binding_entry_pointerror_messagedyld_func_lookup_pointer_darwin_unwind_dyld_add_image_hook_darwin_unwind_dyld_remov > > What command did you use to compile that program? From the look of that > line it appears to be a Mach-O Executable (for either PPC or Intel), not > an ELF or flat binary for ARM. You can use the "file" command to see > what type of object file it is. > Usually, you need to run arm-elf-gcc or something along those lines > (whatever your cross-compile toolchain is called) to get a binary for > arm, instead of the normal gcc which produces Mach-O executables on Mac > OS X. > > > Hope that helps! > nick > > > > > ------------------------------ > > Message: 3 > Date: Wed, 27 Sep 2006 22:52:25 -0700 > From: in...@ad... > Subject: Re: [Gumstix-users] tty to/from ttyS2 > To: gum...@li... > Message-ID: > <200...@em...> > > Content-Type: TEXT/plain; CHARSET=US-ASCII > > I want to be able to echo tty(in) to ttyS2(out) and ttyS2(in) to tty(out). Basically making the Connex400 transparent. > Is this possible from the command line? If yes, how? > > Thank you. > > Rock. > > > > > > ------------------------------ > > Message: 4 > Date: Wed, 27 Sep 2006 23:58:05 -0600 > From: Brad Midgley <bmi...@xm...> > Subject: [Gumstix-users] anyone using batchpcb? > To: "General mailing list for gumstix users." > <gum...@li...> > Message-ID: <451...@xm...> > Content-Type: text/plain; charset=ISO-8859-1 > > Hey > > Batchpcb seems to have a decent service for prototype boards as long as > I can get good enough at manual reflow work. Is anyone here using them? > > http://www.batchpcb.com/faq.php > > Is the jump in cost for making populated boards and automatic reflow > prohibitive for small projects? > > Brad > > > > ------------------------------ > > Message: 5 > Date: Wed, 27 Sep 2006 23:43:10 -0700 > From: in...@ad... > Subject: [Gumstix-users] ssh > To: Gumstix user's list <gum...@li...> > Message-ID: > <200...@em...> > > Content-Type: TEXT/plain; CHARSET=US-ASCII > > After reinstalling the tools I am not able to ssh to the gumstix anymore. > It was working flowlessly until now. Below is the message I get, but I don't > have a .ssh directory nor do I have a known hosts file. The gumstix is working > and I can access it through the terminal under windows XP. > > Thanks, > > ROck. > > [root@localhost gumstix-buildroot]# ssh root@192.168.1.101 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that the RSA host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 12:9b:c4:37:d0:eb:66:39:2d:c3:cd:ac:cf:85:84:08. > Please contact your system administrator. > Add correct host key in /root/.ssh/known_hosts to get rid of this message. > Offending key in /root/.ssh/known_hosts:1 > RSA host key for 192.168.1.101 has changed and you have requested strict checking. > Host key verification failed. > [root@localhost gumstix-buildroot]# > > > > > ------------------------------ > > Message: 6 > Date: Wed, 27 Sep 2006 23:52:59 -0700 > From: Craig Hughes <cr...@gu...> > Subject: Re: [Gumstix-users] tty to/from ttyS2 > To: "General mailing list for gumstix users." > <gum...@li...> > Message-ID: <206...@gu...> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Sep 27, 2006, at 10:52 PM, in...@ad... wrote: > > > I want to be able to echo tty(in) to ttyS2(out) and ttyS2(in) to tty > > (out). Basically making the Connex400 transparent. > > Is this possible from the command line? If yes, how? > > One word: socat > > C > > > > > ------------------------------ > > Message: 7 > Date: Thu, 28 Sep 2006 00:07:23 -0700 > From: Craig Hughes <cr...@gu...> > Subject: Re: [Gumstix-users] ssh > To: "General mailing list for gumstix users." > <gum...@li...> > Message-ID: <410...@gu...> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Sep 27, 2006, at 11:43 PM, in...@ad... wrote: > > > After reinstalling the tools I am not able to ssh to the gumstix > > anymore. > > It was working flowlessly until now. Below is the message I get, > > but I don't > > have a .ssh directory nor do I have a known hosts file. The gumstix > > is working > > and I can access it through the terminal under windows XP. > > > > Thanks, > > > > ROck. > > > > [root@localhost gumstix-buildroot]# ssh root@192.168.1.101 > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ > > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > > Someone could be eavesdropping on you right now (man-in-the-middle > > attack)! > > It is also possible that the RSA host key has just been changed. > > The fingerprint for the RSA key sent by the remote host is > > 12:9b:c4:37:d0:eb:66:39:2d:c3:cd:ac:cf:85:84:08. > > Please contact your system administrator. > > Add correct host key in /root/.ssh/known_hosts to get rid of this > > message. > > Offending key in /root/.ssh/known_hosts:1 > > RSA host key for 192.168.1.101 has changed and you have requested > > strict checking. > > Host key verification failed. > > [root@localhost gumstix-buildroot]# > > The SSH protocol includes a "host key" exchange which works to > prevent (or make harder anyway) spoofing of the other end of the > connection, so that you can be confident you really are connecting to > the host you think you're connecting to. Most SSH clients will cache > the host keys of any machine that they connect to, and then if you > try to connect to the same IP address or hostname later, and the host > keys don't match, it will refuse to continue the handshake (or ask > the user if it's OK to continue). When you re-installed the gumstix > software image, you blew away the generated SSH host key on the > gumstix (stored in /etc/ssh/ somewhere), and then on the first boot > of the gumstix, it'll regenerate a new key, which will of course be > different from the original one which your client has cached. > > To fix this, you need to do one of two things: > > 1. Keep the host key on the gumstix across wipes by copying it off > somewhere, then re-installing after you update the rootfs, or > 2. Just follow the instructions ssh is giving you on how to remove > the cached old key which is associated with the IP address you're > trying to connect to. SSH will then re-cache the new host key. > > C > > > > > ------------------------------ > > Message: 8 > Date: Thu, 28 Sep 2006 03:56:35 -0400 > From: "Cesar E. Perez" <ces...@ho...> > Subject: [Gumstix-users] netCF and SSH > To: gum...@li... > Message-ID: <BAY...@ph...l> > Content-Type: text/plain; format=flowed > > Hello ... I have a couple of issues, please help me! > > 1) My netCF card doesnt pick-up my network, do I need to change a setting? > > 2) What do I do in order to get it working? (Baby Steps) > > 3) My network has WEP, how do I tell the gumstix to connect to my network > with that WEP key? > > 4) If I had packages to the buildroot, do I need to flash the gumstix again, > with rootfs.arm_nofpu.jffs2 (Assuming that after I "make" this gets > updated)? > > 5) How do I know which cross-compile toolchain I have? > > 6) How do I know if it is set-up correctly? > > 7) I havevnt been able to compile "Hello World" and have execute in the > gumstix, I did file hello and got the following mes: hello: ELF 32-bit LSB > executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically > linked (uses shared libs), not stripped. Obviously is not in a flat binary > for ARM. > > Thats all for now, thanks once again!!!!! > > Cesar E. Perez > > > > > > ------------------------------ > > Message: 9 > Date: Thu, 28 Sep 2006 01:58:54 -0600 > From: Brad Midgley <bmi...@xm...> > Subject: [Gumstix-users] switching cpu speed > To: "General mailing list for gumstix users." > <gum...@li...> > Message-ID: <451...@xm...> > Content-Type: text/plain; charset=ISO-8859-1 > > Hey > > Who did the benchmarks for 100, 200, 400mhz? I'd like to document in the > battery/power page how to switch the cpu speed... > > Brad > > > > ------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ------------------------------ > > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > End of gumstix-users Digest, Vol 5, Issue 127 > ********************************************* |