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

Post Reply
sj90
Posts: 23
Joined: Tue Dec 15, 2015 3:18 am
languages_spoken: English
Contact:

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

Unread post by 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.

User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

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

Unread post by 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)

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

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

Unread post by 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

sj90
Posts: 23
Joined: Tue Dec 15, 2015 3:18 am
languages_spoken: English
Contact:

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

Unread post by 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.

User avatar
robroy
Posts: 3401
Joined: Mon Feb 25, 2013 2:29 am
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2
Location: San Francisco, California
Contact:

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

Unread post by 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)

sj90
Posts: 23
Joined: Tue Dec 15, 2015 3:18 am
languages_spoken: English
Contact:

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

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

Oh ok. Is there a guide to help me with that?

User avatar
odroid
Site Admin
Posts: 29994
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

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

Unread post by 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.

PeepTheGeep
Posts: 3
Joined: Fri Mar 30, 2018 1:57 pm
languages_spoken: English, French, German, Russian
ODROIDs: Odroid C1+, Odroid XU4
Contact:

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

Unread post by 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/20140 ... 1402.pdf#p
Anyone know where this page has migrated?

User avatar
rooted
Posts: 6435
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Contact:

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

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


Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 4 guests