From: Hossein G. N. <hgn...@gm...> - 2006-11-24 08:58:26
|
Hello All, I am using the Gumstix connex 400 bt and trying to stablish a network connection such as ssh between my PC and Gumstix over Bluetooth. Now I have been reeding many of past emails and I am very lost. I have followed this: http://docwiki.gumstix.org/Networking#Bluetooth_Personal_Area_Network (Option 2) My gumstix IP address is 192.168.50.2 and the PC IP address from my BlueSoleil is 192.168.50.1 and on my PC every time that Gumstix boots up I will be prompt to put pass key for Gumstix that wants to connect to my PAN. I do that and on my BlueSoleil I see "gumstix(0)" and it seems to be able to do Bluetooth Serial Port Service only. - How can I start a ssh network between my PC and Gusmtix so that on my PC I can look into Gumstix directories, - How can I send a file over Bluetooth in between PC and Gumstix. Your help is greatly appreciated. Happy Holidays. HoSsEiN |
From: Jesse W. <jes...@gm...> - 2006-11-24 17:10:19
|
>From your host computer use the comand "ssh root@192.168.50.2" Also use ifconfig to make sure bnep0 is up to do this after the gumstiupx boots up use "ifup bnep0", but you might have to be super user or use sudo depending on <http://192.168.50.2/>your linux distro. To send file (for example) motd to directory /ext use "scp motd root@192.168.50.2:/ext/" Good luck. On 11/24/06, Hossein Ghaffari Nik <hgn...@gm...> wrote: > > > Hello All, > > I am using the Gumstix connex 400 bt and trying to stablish a network > connection such as ssh between my PC and Gumstix over Bluetooth. > Now I have been reeding many of past emails and I am very lost. > > I have followed this: > http://docwiki.gumstix.org/Networking#Bluetooth_Personal_Area_Network > (Option 2) > My gumstix IP address is 192.168.50.2 > and the PC IP address from my BlueSoleil is 192.168.50.1 > > and on my PC every time that Gumstix boots up I will be prompt to put pass > key for Gumstix that wants to connect to my PAN. > I do that and on my BlueSoleil I see "gumstix(0)" and it seems to be able > to do Bluetooth Serial Port Service only. > > > - How can I start a ssh network between my PC and Gusmtix so that on > my PC I can look into Gumstix directories, > - How can I send a file over Bluetooth in between PC and Gumstix. > > > Your help is greatly appreciated. > Happy Holidays. > HoSsEiN > > ------------------------------------------------------------------------- > 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 > > > -- -Jesse W. |
From: Hossein G. N. <hgn...@gm...> - 2006-11-24 20:03:33
|
Jesse, Thanks for your reply. You mentioned using command "ssh root@192.168.50.2", where should I execute this command? Hyperterminal ... which port ...? somewhere in BlueSoleil? ... I do have SSH installed on my PC, and I have tried quick connect to "192.168.50.2 <root@192.168.50.2>" with login name of "root" on port 22, but it did not work. I will try the "scp motd root@192.168.50.2:/ext/" after I find out where I should execute "ssh root@192.168.50.2", but do you know How I can make my directories on Gumstix browsable on my PC and How I can send something out of Gumstix to PC. Or maybe ... At this time I use null-modem cable abd tweener on serial port of my PC, in Hyperterminal on port8 to comunicate and control Gumstix. Can I do this over this Bluetooth connection that I have? so I wont have to connect over serial ports ... I think I should mention that I have not setup any configurations for ssh on my Gumstix. I have seen ssh, sshd and other options in Gumstix but never done any config for them. Your time and effort is Greatly appreciated. Happy Holidays, HoSsEiN |
From: Jesse W. <jes...@gm...> - 2006-11-25 04:16:54
|
Almost any config you make with the build root should work. You can use ssh and scp commands in the terminal... However... if you are using windows (you mentioned Hyperterminal) I don't exactly know what to do. On 11/24/06, Hossein Ghaffari Nik <hgn...@gm...> wrote: > > Jesse, > > Thanks for your reply. > You mentioned using command "ssh root@192.168.50.2", where should I > execute this command? > Hyperterminal ... which port ...? somewhere in BlueSoleil? ... > I do have SSH installed on my PC, and I have tried quick connect to > "192.168.50.2 <root@192.168.50.2>" with login name of "root" on port 22, > but it did not work. > > I will try the "scp motd root@192.168.50.2:/ext/" after I find out where I > should execute "ssh root@192.168.50.2", but do you know How I can make my > directories on Gumstix browsable on my PC and How I can send something out > of Gumstix to PC. > > Or maybe ... > At this time I use null-modem cable abd tweener on serial port of my PC, > in Hyperterminal on port8 to comunicate and control Gumstix. Can I do this > over this Bluetooth connection that I have? so I wont have to connect over > serial ports ... > > I think I should mention that I have not setup any configurations for ssh > on my Gumstix. I have seen ssh, sshd and other options in Gumstix but never > done any config for them. > > Your time and effort is Greatly appreciated. > Happy Holidays, > HoSsEiN > > ------------------------------------------------------------------------- > 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 > > > -- -Jesse W. |
From: michael c. <the...@gm...> - 2006-11-25 05:50:11
|
First, an advisory: the following message is based on experience with Windows, Linux, and SSH; there is no basis for statements involving the gumstix because I don't have one yet. Based on your mentioning of Hyperterminal, I want to ask, are you using Windows? The instructions to set up SSH can vary greatly between versions of Windows, and of course, between Windows and other OSes (such as Mac OS X or Linux). So of course, if you are NOT using Windows, my apologies for the somewhat lengthy e-mail. Anyway, first one must double-check that the gumstix is accessible over the network before one can SSH to it -- I imagine this would involve using ping to contact it. (There are other tests also. Anyways, open a Command Prompt from "Accessories" in the Start menu, or click "Start" and then click "Run" and type "cmd" (XP/2K) or "command" (9x) and hit enter. You should see a black box pop up. Type "ping <address>" where <address> is the IP address given to the gumstix and push enter. If it succeeds and you get results, then hopefully the gumstix is accessible. (This assumes you have the right IP, though...)) SSH uses a client-server model. That means the two machines (i.e. two PCs, a PC and a SOC like the gumstix, etc.) take different roles - one is the 'server' (hosts the connection, authenticates the user, actually runs programs, etc.) and one is the client (starts the connection, gets input from the user, has the display, etc.). Due to the nature of SSH, there are few implementations of SSH servers for Windows, and what ones do exist are usually commercial (read: require purchase). So the alternative is to use the SSH server on the gumstix and make Windows the client. (Of course, if you want to teach the gumstix to run programs on your computer, that probably won't work. This setup means you can connect from the Windows computer to the gumstix and run things on the gumstix, but probably not vice versa (at least without work).) Generally, what one could do is make sure the buildroot for gumstix contains a running SSH server. (According to http://docwiki.gumstix.org/Setting_Up_Communications the default images _should_ have this. If you modified the buildroot, then you may wish to double-check that it is installed.) Then you can get a Windows computer to connect to the gumstix and do things like transfer files and run programs. (However, you might still want/need to set up an environment on the Windows machine to build programs that are transferred to the gumstix since there generally is not much room for a development environment on the gumstix. Something like Cygwin may be helpful for that.) Once you have the SSH server on the gumstix, you can use SSH clients such as PuTTY to access the gumstix. (BTW, as a note: SSH is NOT telnet -- the purpose is the same, but they run on different ports and work differently.) PuTTY is an SSH client that allows you to connect to the gumstix to access... whatever is on the gumstix. You should be able to download PuTTY (search Google or whatever search engine) and run it. You put in the IP of the gumstix, and then you click OK or Connect or whatever, and it talks to the gumstix, prompts for a username and password, and then you're in. (The username and password prompting can be automated so you don't have to type them in every time, but that is a bit more complex and probably suited for a full-fledged HOWTO in and of itself.) You should get a linux prompt once you have successfully sshed into the gumstix. An extension of SSH, known as "sftp" allows one to transfer files back and forth between computers over SSH. There is a PuTTY sftp application known as "psftp" that provides a sftp client. The program acts a lot like the "ftp" console application in various versions of Windows, with a few minor differences. Knowledge of how to use the Windows Command Prompt and Linux shells (bash, sh, and others) is often helpful. There are lengthy documents for setting up SSH between two full-sized PCs, and setting up kludges on top of those SSH connections, let alone for trying to set up SSH for something like a gumstix. I have found that SSH setup often has room for grand errors, some of which can have major implications (i.e. huge security holes, or, at a minimum, things not working.). I apologize if my message does not appear well-thought out as it is a bit late here, but I hope that what I've said is in some way helpful to you. -- Michael Chang On 11/24/06, Hossein Ghaffari Nik <hgn...@gm...> wrote: > Jesse, > > Thanks for your reply. > You mentioned using command "ssh root@192.168.50.2", where should I execute > this command? > Hyperterminal ... which port ...? somewhere in BlueSoleil? ... > I do have SSH installed on my PC, and I have tried quick connect to > "192.168.50.2" with login name of "root" on port 22, but it did not work. > > I will try the "scp motd root@192.168.50.2:/ext/" after I find out where I > should execute "ssh root@192.168.50.2", but do you know How I can make my > directories on Gumstix browsable on my PC and How I can send something out > of Gumstix to PC. > > Or maybe ... > At this time I use null-modem cable abd tweener on serial port of my PC, in > Hyperterminal on port8 to comunicate and control Gumstix. Can I do this over > this Bluetooth connection that I have? so I wont have to connect over serial > ports ... > > I think I should mention that I have not setup any configurations for ssh on > my Gumstix. I have seen ssh, sshd and other options in Gumstix but never > done any config for them. > > Your time and effort is Greatly appreciated. > Happy Holidays, > HoSsEiN > > ------------------------------------------------------------------------- > 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 > > > -- ~Mike - Just the crazy copy cat. |
From: Jesse W. <jes...@gm...> - 2006-11-25 06:00:36
|
My advice is: if you are running windows, clear about 5 gigs and install ubuntu linux. It will save you many many headachs over cygwin. On 11/24/06, michael chang <the...@gm...> wrote: > > First, an advisory: the following message is based on experience with > Windows, Linux, and SSH; there is no basis for statements involving > the gumstix because I don't have one yet. > > Based on your mentioning of Hyperterminal, I want to ask, are you using > Windows? > > The instructions to set up SSH can vary greatly between versions of > Windows, and of course, between Windows and other OSes (such as Mac OS > X or Linux). > > So of course, if you are NOT using Windows, my apologies for the > somewhat lengthy e-mail. > > Anyway, first one must double-check that the gumstix is accessible > over the network before one can SSH to it -- I imagine this would > involve using ping to contact it. (There are other tests also. > Anyways, open a Command Prompt from "Accessories" in the Start menu, > or click "Start" and then click "Run" and type "cmd" (XP/2K) or > "command" (9x) and hit enter. You should see a black box pop up. Type > "ping <address>" where <address> is the IP address given to the > gumstix and push enter. If it succeeds and you get results, then > hopefully the gumstix is accessible. (This assumes you have the right > IP, though...)) > > SSH uses a client-server model. That means the two machines (i.e. two > PCs, a PC and a SOC like the gumstix, etc.) take different roles - one > is the 'server' (hosts the connection, authenticates the user, > actually runs programs, etc.) and one is the client (starts the > connection, gets input from the user, has the display, etc.). > > Due to the nature of SSH, there are few implementations of SSH servers > for Windows, and what ones do exist are usually commercial (read: > require purchase). So the alternative is to use the SSH server on the > gumstix and make Windows the client. (Of course, if you want to teach > the gumstix to run programs on your computer, that probably won't > work. This setup means you can connect from the Windows computer to > the gumstix and run things on the gumstix, but probably not vice versa > (at least without work).) > > Generally, what one could do is make sure the buildroot for gumstix > contains a running SSH server. (According to > http://docwiki.gumstix.org/Setting_Up_Communications the default > images _should_ have this. If you modified the buildroot, then you may > wish to double-check that it is installed.) Then you can get a Windows > computer to connect to the gumstix and do things like transfer files > and run programs. (However, you might still want/need to set up an > environment on the Windows machine to build programs that are > transferred to the gumstix since there generally is not much room for > a development environment on the gumstix. Something like Cygwin may be > helpful for that.) > > Once you have the SSH server on the gumstix, you can use SSH clients > such as PuTTY to access the gumstix. (BTW, as a note: SSH is NOT > telnet -- the purpose is the same, but they run on different ports and > work differently.) PuTTY is an SSH client that allows you to connect > to the gumstix to access... whatever is on the gumstix. > > You should be able to download PuTTY (search Google or whatever search > engine) and run it. You put in the IP of the gumstix, and then you > click OK or Connect or whatever, and it talks to the gumstix, prompts > for a username and password, and then you're in. (The username and > password prompting can be automated so you don't have to type them in > every time, but that is a bit more complex and probably suited for a > full-fledged HOWTO in and of itself.) > > You should get a linux prompt once you have successfully sshed into the > gumstix. > > An extension of SSH, known as "sftp" allows one to transfer files back > and forth between computers over SSH. There is a PuTTY sftp > application known as "psftp" that provides a sftp client. The program > acts a lot like the "ftp" console application in various versions of > Windows, with a few minor differences. Knowledge of how to use the > Windows Command Prompt and Linux shells (bash, sh, and others) is > often helpful. > > There are lengthy documents for setting up SSH between two full-sized > PCs, and setting up kludges on top of those SSH connections, let alone > for trying to set up SSH for something like a gumstix. I have found > that SSH setup often has room for grand errors, some of which can have > major implications (i.e. huge security holes, or, at a minimum, things > not working.). > > I apologize if my message does not appear well-thought out as it is a > bit late here, but I hope that what I've said is in some way helpful > to you. > > -- Michael Chang > > On 11/24/06, Hossein Ghaffari Nik <hgn...@gm...> wrote: > > Jesse, > > > > Thanks for your reply. > > You mentioned using command "ssh root@192.168.50.2", where should I > execute > > this command? > > Hyperterminal ... which port ...? somewhere in BlueSoleil? ... > > I do have SSH installed on my PC, and I have tried quick connect to > > "192.168.50.2" with login name of "root" on port 22, but it did not > work. > > > > I will try the "scp motd root@192.168.50.2:/ext/" after I find out where > I > > should execute "ssh root@192.168.50.2", but do you know How I can make > my > > directories on Gumstix browsable on my PC and How I can send something > out > > of Gumstix to PC. > > > > Or maybe ... > > At this time I use null-modem cable abd tweener on serial port of my PC, > in > > Hyperterminal on port8 to comunicate and control Gumstix. Can I do this > over > > this Bluetooth connection that I have? so I wont have to connect over > serial > > ports ... > > > > I think I should mention that I have not setup any configurations for > ssh on > > my Gumstix. I have seen ssh, sshd and other options in Gumstix but never > > done any config for them. > > > > Your time and effort is Greatly appreciated. > > Happy Holidays, > > HoSsEiN > > > > > ------------------------------------------------------------------------- > > 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 > > > > > > > > > -- > ~Mike > - Just the crazy copy cat. > > ------------------------------------------------------------------------- > 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 > -- -Jesse W. |
From: ken s. <ken...@gm...> - 2006-11-25 06:09:36
|
On 11/24/06, Jesse Welling <jes...@gm...> wrote: > My advice is: if you are running windows, clear about 5 gigs and install > ubuntu linux. > It will save you many many headachs over cygwin. i'm ssh-ed into my gumstix via cygwin right now. cygwin's scp and ssh work fine. --- ken |