From: jbchong <jb...@gm...> - 2008-01-25 18:59:17
|
Guys, First off, thank you guys for such a speedy reply. Second, following the directions found for Option 2 here: http://docwiki.gumstix.org/Networking#Bluetooth_Personal_Area_Network On the gumstix, I modified /etc/network/interfaces to reflect iface bnep0 inet static address 192.168.1.2 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.1 broadcast 192.168.1.255 Next I modified /etc/default/bluetooth as follows: RFCOMM_ENABLE=false PAND_OPTIONS="--role PANU --service GN --search --persist" Then I did: # /etc/init.d/S30bluetooth stop # /etc/init.d/S30bluetooth start On my Ubuntu machine I edited /etc/network/interfaces as follows: mapping hotplug script grep map bnep0 iface bnep0 inet static address 192.168.xxx.2 netmask 255.255.255.0 #gateway 192.168.xxx.1 network 192.168.xxx.0 broadcast 192.168.xxx.255 Then I changed /etc/default/bluetooth PAND_ENABLED=1 PAND_OPTIONS="--listen --role GN" # /etc/init.d/bluetooth restart Then I started the bluetooth manager and clicked on browse devices, clicked on Gumstix(0) and hit connect. It attempts to connect and then I get an error message that says "obex://[00:80:37:2e:4e:ce]" is not a valid location Please check the spelling and try again. Have you guys experienced this problem before or know what could be causing this? Thanks for you guys' help thus far! -Justin Pascal-34 wrote: > >> laurocat.com/webdav/Varios/BluetoothHowto.pdf >> >> which attempts to show how to set this up in various configurations >> however, >> the one I need is not in there. What I want to do is connect from a >> linux >> box, as a client, to the gumstix, as a server, using ssh over bluetooth. >> I >> am using a basix 400xm-bt gumstix and an Ubuntu 7.10 linux box. > > There are two independent notions of "client vs server" here. > > - At the Bluetooth level: By default the gumstix board is "slave" > (aka "device") and the PC is "master". Your PDF refers to > these roles as "client" and "server", which is misleading. > > - At the SSH level: A system can be a server (listening for > incoming TCP connections on port 22) or a client (initiating > TCP connections to servers) or both. > > If you follow the instructions for "Gumstix as client, Linux box > as server" in the PDF, you will get IP networking over Bluetooth. > At this point you can start a ssh server on the gumstix. It > should be running by default, actually. > > Another resource: http://docwiki.gumstix.org/LinuxBluetooth > > Pascal > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/ssh-over-bluetooth-tp15075538p15094562.html Sent from the Gumstix mailing list archive at Nabble.com. |