From: Martin B. <bea...@gm...> - 2015-10-29 05:32:05
|
On Wed, Oct 28, 2015 at 9:36 PM, Martin Beaudoin <bea...@gm...> wrote: > > > On Wed, Oct 28, 2015 at 7:45 PM, Bernhard Gschaider <bgs...@ic...> > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Am 29.10.15 um 00:12 schrieb Martin Beaudoin: >> >> > > As for using such small systems for the Workshop USB stick, if w >> e can >> > > figure out a way to USB tether a RaspBerry Pi2 with a normal lap >> top + >> > > some kind of terminal app. so we can simply ssh through the USB >> link, >> > > then we could have cheaper solution than the Intel stick. >> > > >> > > Here is a rough estimate of the cost in USD$, based on the units >> I have >> > > bought so far: >> > > >> > > * RaspBerry Pi 2 Model B : 35$ >> > > * 32GB Ultra MicroSDHC Class 10 card: 15$ >> > > * A Raspberry Pi2 case : 10$ >> > > * A USB cable for power and tether : 5$ >> > > >> > > For a total of roughly 65 $USD. >> > > >> > > And a 32GB card is slightly roomy. The OS is free, and the recip >> e to >> > > deploy foam-extend over this device is known. >> > > >> > > And we are still not talking bulk pricing here. I am sure we can >> shave a >> > > few $ if we buy a 100 of those... >> > > >> > > So the only piece of the puzzle remaining is a little bit of sof >> tware >> > > for USB tethering.... >> > > >> > > Maybe we can do all this as well with an Intel Compute stick. Bo >> th >> > > solutions would be way cool... >> > >> > But the ultimate decision is of course with the Workshop organizer >> . >> > Because of course the logistics for the production of USB-keys is >> > already known >> > >> > But lets see if we find something >> > >> > >> > Some other possible avenues to link a Pi2 with a good old >> > Linux/Mac/Windows laptop: >> > >> > * Ethernet to Ethernet using an Ethernet crossover patch cable. >> > Needs an Ethernet port on the laptop, which no longer comes standa >> rd >> > on some laptops (MacBook Air) >> > Probably needs to add some kind of additional network routing to >> > make this work while the laptop is still connected to the OFW wifi >> > hotspot >> >> Something like this >> http://diyhacking.com/connect-raspberry-pi-to-laptop-display/ >> >> What is not funny here is that for every OS setting up the network is >> different (plus that some people might not have the privileges for this) >> > > Yep, not an attractive solution for a whole group of various and different > platforms or OSes. > Too much time will be needed to set this up prior to starting the > trainings and such... > >> >> > * Wifi access >> > We can transform the Pi2 as a Wifi Access point so the laptop can >> > establish a WIFI connection directly with the Pi2. >> > We need to add a decent WIFI USB dongle to the Pi2 (+ ~12 USD$) >> > Having a room full of 10s of little WIFI Access points/routers wou >> ld >> > be a very funny and probably inextricable mess >> >> And every RasPi would have to be setup differently so that it can be >> paired (otherwise Joe will connect to Abduhls RasPi) >> >> Note really feasible >> > > Indeed. > > >> >> > * Serial over USB >> > The laptop would connect unidirectionally the Pi2 using an emulat >> ed >> > serial/terminal console available over one of the 4 USB ports >> > available on the Pi2 >> > Ohhhhhhh, maybe we have something worth exploring here too..... >> > Kermit anyone? LOL :):) >> >> http://workshop.raspberrypiaustralia.com/usb/ttl/connecting/2014/08/31/0 >> 1-connecting-to-raspberry-pi-via-usb/ >> <http://workshop.raspberrypiaustralia.com/usb/ttl/connecting/2014/08/31/01-connecting-to-raspberry-pi-via-usb/> >> >> Needs additional hardware and the correct cable >> >> > And we cannot run paraview over a mere ASCII console.... Not a great all > around solution. > > >> > * TCP/IP over USB >> > Looks like we need a special kind of cable for this >> > Still investigating.... >> > >> > But definitely, the USB port is probably the most universal connector >> > still available on a multitude of hardware platforms. Let's find a way >> > to talk to this little guy... >> >> I can't think of another way than the ones you listed. To be honest: >> none of them convinces me when I think of the support problems they're >> going to raise. But I'll keep looking >> >> > Yup, we need something easy to setup, and based on some really common > laptop applications like Putty or MobaXterm for Windows, or X Windows over > ssh for OSX or Linux. The complexity of this setup has to remain on the Pi2 > side so we can configure it correctly ourselves prior to distributing these > little beast... > > Going back hunting... > > Looks like there is no way around it, a USB to USB connection requires a fancy USB Bridge cable with some electronics embedded in the cable. Basically, USB cannot do host to host without this kind of device. See here for the details : http://www.linux-usb.org/usbnet/ So it looks to me the best and most flexible option now becomes using the Pi2 Ethernet port + short Ethernet cable + Ethernet to USB adapter. I can find on Amazon some USB 2.0 to 10/100 Fast Ethernet LAN Wired Network Adapter for about 20 $USD. A short flat Ethernet cable can be bought for about 1$. Still bearable. For laptops having there own embedded Ethernet port, the Ethernet to USB adapter is not necessary, of course, but still remains convenient when going back to the office and having to plug back into the wired corporate network while still keeping connected with the Pi2. For laptops like the MacBook Air lacking an embedded Ethernet port, such Ethernet adapters would be necessary to connect to the Pi2 over Ethernet. So the challenge is now to find a simple Ethernet to Ethernet network setup that will work for Windows, OSX and Linux. Configuring the Pi2 to act as a local DHCP server for this Ethernet link might be a good starting point. I already got a similar setup for my little Pi2 cluster. Let's try to see if I can make this fly... Martin Martin > > >> Bernhard >> >> >> > >> > Martin >> > >> > >> > >> > Bernhard >> > >> > >> > > >> > > Martin >> > > >> > > >> > > >> > > >> > ------------------------------------------------------------------ >> - ------------ >> > > >> > > >> > > >> > > _______________________________________________ >> > > Foam-extend-developers mailing list >> > > Foa...@li... >> > <mailto:Foa...@li...> >> > > https://lists.sourceforge.net/lists/listinfo/foam-extend-develop >> ers >> > > >> > >> > ------------------------------------------------------------------ >> - ------------ >> > _______________________________________________ >> > Foam-extend-developers mailing list >> > Foa...@li... >> > <mailto:Foa...@li...> >> > https://lists.sourceforge.net/lists/listinfo/foam-extend-developer >> s >> > >> > >> > >> > >> > -- >> > Martin Beaudoin >> > >> > >> > ---------------------------------------------------------------------- >> - -------- >> > >> > >> > >> > _______________________________________________ >> > Foam-extend-developers mailing list >> > Foa...@li... >> > https://lists.sourceforge.net/lists/listinfo/foam-extend-developers >> > >> -----BEGIN PGP SIGNATURE----- >> Comment: GPGTools - https://gpgtools.org >> >> iEYEARECAAYFAlYxXi4ACgkQXIMfp1I+9MEjOgCeN0dcd5j9TqScrP5n6zvtBMfV >> dL0AnAgFDr+5yBuLq1jxJi5H7P2+38Ab >> =0kAP >> -----END PGP SIGNATURE----- >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Foam-extend-developers mailing list >> Foa...@li... >> https://lists.sourceforge.net/lists/listinfo/foam-extend-developers >> > > > > -- > Martin Beaudoin > -- Martin Beaudoin |