How to ssh into Odroid C1+ without a network connection?

Moderators: mdrjr, odroid

How to ssh into Odroid C1+ without a network connection?

Unread postby sj90 » Tue Dec 15, 2015 3:22 am

Hello,

I have worked with Beaglebones before Odroids, and I could use the BB's IP and ssh into that without having the BB on any network/connected to the internet. How can I manage the same with the Odroid?

Are there any reference guides for a step-by-step procedure to set this up?

Note: This is not for sshing into an Odroid just for the first time, I am looking to set this up for normal continuous use as well.
sj90
 
Posts: 23
Joined: Tue Dec 15, 2015 3:18 am
languages_spoken: English

Re: How to ssh into Odroid C1+ without a network connection?

Unread postby robroy » Tue Dec 15, 2015 5:24 am

The January 2014 issue of ODROID Magazine has an article on using the USB gadget drivers to establish ethernet via USB:
https://magazine.odroid.com/wp-content/ ... df#page=14

You can alternatively use the USB UART connector to connect to a rooted Terminal session.
Last edited by robroy on Tue Apr 17, 2018 9:33 am, edited 1 time in total.
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)
User avatar
robroy
 
Posts: 3378
Joined: Mon Feb 25, 2013 2:29 am
Location: San Francisco, California
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2

Re: How to ssh into Odroid C1+ without a network connection?

Unread postby mdrjr » Tue Dec 15, 2015 5:39 am

I believe its used the OTG function on the microusb function right?

If so the idea would be basicly, loading g_ether and assign and ip to usb0
mdrjr
Site Admin
 
Posts: 11681
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: How to ssh into Odroid C1+ without a network connection?

Unread postby sj90 » Tue Dec 15, 2015 7:39 am

Thanks @robroy for that link. However it's unclear to me how that would help me in SSHing into the odroid. The article talks about "transmitting data", please correct me if I am wrong, but that wouldn't allow me access to a linux terminal like SSH does, right?

The following is in reference to the Beaglebone -
This lead can server the dual purpose of both supplying power to the BBB and allowing the BBB to
emulate a USB modem. It is this trick that allows the BBB to be accessed as if it were networked,
allowing you to communicate with it using a browser or SSH client on your computer
.


That's what I am trying to achieve with the Odroid. Based on that, could you clarify on the steps again and whether your article is still relevant or not?

And I don't wish to use any external peripherals like the USB-UART connector.
sj90
 
Posts: 23
Joined: Tue Dec 15, 2015 3:18 am
languages_spoken: English

Re: How to ssh into Odroid C1+ without a network connection?

Unread postby robroy » Tue Dec 15, 2015 8:47 am

I think that @mdrjr's suggestion is what you are looking for.
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)
User avatar
robroy
 
Posts: 3378
Joined: Mon Feb 25, 2013 2:29 am
Location: San Francisco, California
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2

Re: How to ssh into Odroid C1+ without a network connection?

Unread postby sj90 » Thu Dec 17, 2015 2:57 am

Oh ok. Is there a guide to help me with that?
sj90
 
Posts: 23
Joined: Tue Dec 15, 2015 3:18 am
languages_spoken: English

Re: How to ssh into Odroid C1+ without a network connection?

Unread postby odroid » Thu Dec 17, 2015 10:51 am

You need a HDMI monitor at least to test the gadget driver functionality.
Robroy's link explains the gadget driver (ethernet over usb) configuration.
If it works, you can add the settings into init rc sys or systemd for the auto-start.
User avatar
odroid
Site Admin
 
Posts: 28230
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: How to ssh into Odroid C1+ without a network connection?

Unread postby PeepTheGeep » Fri Mar 30, 2018 2:10 pm

Hello,

I was trying to figure out how to ssh with no network connection into the C1+ when I stumbled upon this discussion.
Unfortunately this link posted by @robroy redirects me to a 404: http://magazine.odroid.com/assets/201402/pdf/ODROID-Magazine-201402.pdf#p
Anyone know where this page has migrated?
PeepTheGeep
 
Posts: 1
Joined: Fri Mar 30, 2018 1:57 pm
languages_spoken: english
ODROIDs: Odroid C1+

Re: How to ssh into Odroid C1+ without a network connection?

Unread postby rooted » Fri Mar 30, 2018 3:38 pm

User avatar
rooted
 
Posts: 5152
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)


Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 2 guests