ssh using USB

25 views
Skip to first unread message

vreg

unread,
Feb 11, 2017, 5:12:18 PM2/11/17
to BeagleBoard
Hi,

How does the BBB manage to allow ssh-ing using just the USB cable and a fixed IP address? I have a RPi too and I need an Ethernet cable and to know the IP address everytime in order to SSH into it...


Dennis Lee Bieber

unread,
Feb 11, 2017, 5:53:01 PM2/11/17
to beagl...@googlegroups.com
On Sat, 11 Feb 2017 12:28:24 -0800 (PST), vreg
<vreg...@gmail.com> declaimed the
following:
Uhm... Maybe because the USB driver you had to install is designed to
use that fixed address, which is hard-coded to the BBB USB interface SLIP
emulation?

If you are using the RPi via a router, see if you can define a fixed IP
for the RPi via its MAC address. And then add the address to your system's
HOSTS file so you can use a name instead of address.

-=-=-=-=-
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost

192.168.2.105 beaglebone

192.168.2.103 raspberrypi
192.168.2.104 raspberrywifi

-=-=-=-=-
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/

Chris Green

unread,
Feb 12, 2017, 4:48:35 AM2/12/17
to beagl...@googlegroups.com
vreg <vreg...@gmail.com> wrote:
> [-- multipart/alternative, encoding 7bit, 48 lines --]
>
> [-- text/plain, encoding 7bit, charset: UTF-8, 15 lines --]
You need a decent DHCP server on your network! :-)

I have lots (well quite a few) devices on my home network, e.g. family
members computers (3), a printer, a DECT phone base station, a RPi,
sometimes a BBB, etc.

Most modern ADSL routers sadly don't handle the system's names
properly (or at all actually). So I run my own DHCP server on the RPi
(it' called dnsmasq) and that *does* handle names properly. Since the
dnsmasq on the RPi also acts as a local DNS server it can find all my
systems by name with no extra effort on my part.

Once you have more than one or two systems it's a real pain not having
a local naming service.

--
Chris Green
·

Philip Polstra

unread,
Feb 12, 2017, 8:38:06 AM2/12/17
to beagl...@googlegroups.com

BBB uses USB multi_g driver which supplies ethernet and USB mass storage that exports the built in flash storage.  You can learn more about how this works from my DEFCON 23 talk "1 device to pwn them all".  Just Google it for video and slides.


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/mhn5nd-qe2.ln1%40esprimo.zbmc.eu.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages