Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #24485 > unrolled thread

Connecting to an embedded Linux device over USB

Started bybitrex <bitrex@de.lete.earthlink.net>
First post2016-06-30 17:27 -0400
Last post2016-07-01 15:46 -0400
Articles 10 — 5 participants

Back to article view | Back to comp.arch.embedded


Contents

  Connecting to an embedded Linux device over USB bitrex <bitrex@de.lete.earthlink.net> - 2016-06-30 17:27 -0400
    Re: Connecting to an embedded Linux device over USB Grant Edwards <invalid@invalid.invalid> - 2016-06-30 21:46 +0000
      Re: Connecting to an embedded Linux device over USB bitrex <bitrex@de.lete.earthlink.net> - 2016-06-30 17:48 -0400
        Re: Connecting to an embedded Linux device over USB Grant Edwards <invalid@invalid.invalid> - 2016-06-30 22:06 +0000
          Re: Connecting to an embedded Linux device over USB bitrex <bitrex@de.lete.earthlink.net> - 2016-06-30 18:07 -0400
            Re: Connecting to an embedded Linux device over USB Grant Edwards <invalid@invalid.invalid> - 2016-06-30 22:14 +0000
    Re: Connecting to an embedded Linux device over USB Don Y <blockedofcourse@foo.invalid> - 2016-06-30 15:15 -0700
    Re: Connecting to an embedded Linux device over USB Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-06-30 23:46 +0100
    Re: Connecting to an embedded Linux device over USB lasselangwadtchristensen@gmail.com - 2016-07-01 12:45 -0700
      Re: Connecting to an embedded Linux device over USB bitrex <bitrex@de.lete.earthlink.net> - 2016-07-01 15:46 -0400

#24485 — Connecting to an embedded Linux device over USB

Frombitrex <bitrex@de.lete.earthlink.net>
Date2016-06-30 17:27 -0400
SubjectConnecting to an embedded Linux device over USB
Message-ID<i9gdz.8$Kk2.7@fx10.iad>
I have a piece of hardware (drum machine) which I know runs a version of 
Busybox on an Intel Atom platform, I think.

It appears to have 256 megs of RAM and a gig of internal Flash storage.

I'm trying to figure out what the best way to hopefully ssh into the 
device and gain root would be, as it seems there's a corrupted file in 
the Flash storage that's causing it to crash repeatedly when using its 
custom user file manager. I've tried doing a factory reset and 
reinstalling the latest OS from an SD card - it has both types of USB 
ports and two SD card slots to connect external storage - but apparently 
the factory reset didn't wipe the user partition of the Flash and the 
corrupted file remains.

When connected via USB to a Linux PC it appears under "lshw" as:

*-usb:2
                       description: Audio device
                       product: Beat Thang
                       vendor: BKE, LLC
                       physical id: 3
                       bus info: usb@1:3.3
                       version: 2.25
                       capabilities: usb-2.00 audio-control
                       configuration: driver=snd-usb-audio 
maxpower=500mA speed=480Mbit/s


When Googling for information a Reddit user claimed to be able to ssh 
into the and examine the hardware capabilities and file system, but I 
wasn't able to contact him.

Any advice on where to begin?

[toc] | [next] | [standalone]


#24486

FromGrant Edwards <invalid@invalid.invalid>
Date2016-06-30 21:46 +0000
Message-ID<nl4405$keg$1@reader1.panix.com>
In reply to#24485
On 2016-06-30, bitrex <bitrex@de.lete.earthlink.net> wrote:

> I have a piece of hardware (drum machine) which I know runs a version of 
> Busybox on an Intel Atom platform, I think.
>
> It appears to have 256 megs of RAM and a gig of internal Flash storage.
>
> I'm trying to figure out what the best way to hopefully ssh into the 
> device and gain root would be,

[...]

> When Googling for information a Reddit user claimed to be able to ssh 
> into the and examine the hardware capabilities and file system, but I 
> wasn't able to contact him.
>
> Any advice on where to begin?

Well, what happens when you try to ssh to it?

 $ ssh -v root@<drum-machine's-ip-address goes here>

-- 
Grant Edwards               grant.b.edwards        Yow! I guess it was all a
                                  at               DREAM ... or an episode of
                              gmail.com            HAWAII FIVE-O ...

[toc] | [prev] | [next] | [standalone]


#24487

Frombitrex <bitrex@de.lete.earthlink.net>
Date2016-06-30 17:48 -0400
Message-ID<0tgdz.42610$w13.1079@fx22.iad>
In reply to#24486
On 06/30/2016 05:46 PM, Grant Edwards wrote:
> On 2016-06-30, bitrex <bitrex@de.lete.earthlink.net> wrote:
>
>> I have a piece of hardware (drum machine) which I know runs a version of
>> Busybox on an Intel Atom platform, I think.
>>
>> It appears to have 256 megs of RAM and a gig of internal Flash storage.
>>
>> I'm trying to figure out what the best way to hopefully ssh into the
>> device and gain root would be,
>
> [...]
>
>> When Googling for information a Reddit user claimed to be able to ssh
>> into the and examine the hardware capabilities and file system, but I
>> wasn't able to contact him.
>>
>> Any advice on where to begin?
>
> Well, what happens when you try to ssh to it?
>
>   $ ssh -v root@<drum-machine's-ip-address goes here>
>

Not sure how to find its IP address, if it has one. LSHW wasn't giving 
up the info, at least.

[toc] | [prev] | [next] | [standalone]


#24489

FromGrant Edwards <invalid@invalid.invalid>
Date2016-06-30 22:06 +0000
Message-ID<nl455h$d8r$1@reader1.panix.com>
In reply to#24487
On 2016-06-30, bitrex <bitrex@de.lete.earthlink.net> wrote:
> On 06/30/2016 05:46 PM, Grant Edwards wrote:
>> On 2016-06-30, bitrex <bitrex@de.lete.earthlink.net> wrote:
>>
>>> I have a piece of hardware (drum machine) which I know runs a version of
>>> Busybox on an Intel Atom platform, I think.
>>>
>>> It appears to have 256 megs of RAM and a gig of internal Flash storage.
>>>
>>> I'm trying to figure out what the best way to hopefully ssh into the
>>> device and gain root would be,
>>
>> [...]
>>
>>> When Googling for information a Reddit user claimed to be able to ssh
>>> into the and examine the hardware capabilities and file system, but I
>>> wasn't able to contact him.
>>>
>>> Any advice on where to begin?
>>
>> Well, what happens when you try to ssh to it?
>>
>>   $ ssh -v root@<drum-machine's-ip-address goes here>

> Not sure how to find its IP address, if it has one. LSHW wasn't giving 
> up the info, at least.

How is it connected to the network? (RJ45/Ethernet, Wifi, etc.)

-- 
Grant Edwards               grant.b.edwards        Yow! It's a lot of fun
                                  at               being alive ... I wonder if
                              gmail.com            my bed is made?!?

[toc] | [prev] | [next] | [standalone]


#24490

Frombitrex <bitrex@de.lete.earthlink.net>
Date2016-06-30 18:07 -0400
Message-ID<FKgdz.7519$kn7.6160@fx19.iad>
In reply to#24489
On 06/30/2016 06:06 PM, Grant Edwards wrote:
> On 2016-06-30, bitrex <bitrex@de.lete.earthlink.net> wrote:
>> On 06/30/2016 05:46 PM, Grant Edwards wrote:
>>> On 2016-06-30, bitrex <bitrex@de.lete.earthlink.net> wrote:
>>>
>>>> I have a piece of hardware (drum machine) which I know runs a version of
>>>> Busybox on an Intel Atom platform, I think.
>>>>
>>>> It appears to have 256 megs of RAM and a gig of internal Flash storage.
>>>>
>>>> I'm trying to figure out what the best way to hopefully ssh into the
>>>> device and gain root would be,
>>>
>>> [...]
>>>
>>>> When Googling for information a Reddit user claimed to be able to ssh
>>>> into the and examine the hardware capabilities and file system, but I
>>>> wasn't able to contact him.
>>>>
>>>> Any advice on where to begin?
>>>
>>> Well, what happens when you try to ssh to it?
>>>
>>>    $ ssh -v root@<drum-machine's-ip-address goes here>
>
>> Not sure how to find its IP address, if it has one. LSHW wasn't giving
>> up the info, at least.
>
> How is it connected to the network? (RJ45/Ethernet, Wifi, etc.)
>

USB is the only thing I have to work with...

[toc] | [prev] | [next] | [standalone]


#24491

FromGrant Edwards <invalid@invalid.invalid>
Date2016-06-30 22:14 +0000
Message-ID<nl45k5$7h7$1@reader1.panix.com>
In reply to#24490
On 2016-06-30, bitrex <bitrex@de.lete.earthlink.net> wrote:

>>>> Well, what happens when you try to ssh to it?
>>>>
>>>>    $ ssh -v root@<drum-machine's-ip-address goes here>
>>
>>> Not sure how to find its IP address, if it has one. LSHW wasn't giving
>>> up the info, at least.
>>
>> How is it connected to the network? (RJ45/Ethernet, Wifi, etc.)
>
> USB is the only thing I have to work with...

According to lshw, it's a USB audio device.

You can't ssh to USB audio devices. In order to ssh to it, it needs a
network connection.  There is such a think as a USB network
connection, but what you've got doesn't appear to have one.

Before you can ssh to it, you need to figure out how to get it
connected to your local network.  Perhaps there are optional Ethernet
or Wifi add-ons?

-- 
Grant Edwards               grant.b.edwards        Yow! Hmmm ... a CRIPPLED
                                  at               ACCOUNTANT with a FALAFEL
                              gmail.com            sandwich is HIT by a
                                                   TROLLEY-CAR ...

[toc] | [prev] | [next] | [standalone]


#24492

FromDon Y <blockedofcourse@foo.invalid>
Date2016-06-30 15:15 -0700
Message-ID<nl45mh$2nt$1@dont-email.me>
In reply to#24485
On 6/30/2016 2:27 PM, bitrex wrote:
> I have a piece of hardware (drum machine) which I know runs a version of
> Busybox on an Intel Atom platform, I think.
>
> It appears to have 256 megs of RAM and a gig of internal Flash storage.
>
> I'm trying to figure out what the best way to hopefully ssh into the device and
> gain root would be, as it seems there's a corrupted file in the Flash storage
> that's causing it to crash repeatedly when using its custom user file manager.
> I've tried doing a factory reset and reinstalling the latest OS from an SD card
> - it has both types of USB ports and two SD card slots to connect external
> storage - but apparently the factory reset didn't wipe the user partition of
> the Flash and the corrupted file remains.
>
> When connected via USB to a Linux PC it appears under "lshw" as:
>
> *-usb:2
>                        description: Audio device
>                        product: Beat Thang
>                        vendor: BKE, LLC
>                        physical id: 3
>                        bus info: usb@1:3.3
>                        version: 2.25
>                        capabilities: usb-2.00 audio-control
>                        configuration: driver=snd-usb-audio maxpower=500mA
> speed=480Mbit/s
>
> When Googling for information a Reddit user claimed to be able to ssh into the
> and examine the hardware capabilities and file system, but I wasn't able to
> contact him.
>
> Any advice on where to begin?

How are you (attempting to) access it's "custom user file manager"?
Does the device let you plug a USB serial port adapter into the
USB port?  Or, a NIC?

[toc] | [prev] | [next] | [standalone]


#24493

FromTheo Markettos <theom+news@chiark.greenend.org.uk>
Date2016-06-30 23:46 +0100
Message-ID<AYA*xHw3v@news.chiark.greenend.org.uk>
In reply to#24485
bitrex <bitrex@de.lete.earthlink.net> wrote:
> Any advice on where to begin?

Take the lid off and look for a header that might have a serial port on it.
It's probably be a 3.3v port that you can attach a USB-serial adaptor to.

Also look out for any other internal ports that could be useful.

Theo

[toc] | [prev] | [next] | [standalone]


#24497

Fromlasselangwadtchristensen@gmail.com
Date2016-07-01 12:45 -0700
Message-ID<ac993374-0fce-41b4-a6cc-cc6746476973@googlegroups.com>
In reply to#24485
Den torsdag den 30. juni 2016 kl. 23.27.46 UTC+2 skrev bitrex:
> I have a piece of hardware (drum machine) which I know runs a version of 
> Busybox on an Intel Atom platform, I think.
> 
> It appears to have 256 megs of RAM and a gig of internal Flash storage.
> 
> I'm trying to figure out what the best way to hopefully ssh into the 
> device and gain root would be, as it seems there's a corrupted file in 
> the Flash storage that's causing it to crash repeatedly when using its 
> custom user file manager. I've tried doing a factory reset and 
> reinstalling the latest OS from an SD card - it has both types of USB 
> ports and two SD card slots to connect external storage - but apparently 
> the factory reset didn't wipe the user partition of the Flash and the 
> corrupted file remains.
> 
> When connected via USB to a Linux PC it appears under "lshw" as:
> 
> *-usb:2
>                        description: Audio device
>                        product: Beat Thang
>                        vendor: BKE, LLC
>                        physical id: 3
>                        bus info: usb@1:3.3
>                        version: 2.25
>                        capabilities: usb-2.00 audio-control
>                        configuration: driver=snd-usb-audio 
> maxpower=500mA speed=480Mbit/s
> 
> 
> When Googling for information a Reddit user claimed to be able to ssh 
> into the and examine the hardware capabilities and file system, but I 
> wasn't able to contact him.
> 
> Any advice on where to begin?

open it up and find the ttl level serial port, I can't imagine it doesn't' have one

-Lasse

[toc] | [prev] | [next] | [standalone]


#24498

Frombitrex <bitrex@de.lete.earthlink.net>
Date2016-07-01 15:46 -0400
Message-ID<fMzdz.3772$KP6.2255@fx25.iad>
In reply to#24497
On 07/01/2016 03:45 PM, lasselangwadtchristensen@gmail.com wrote:
> Den torsdag den 30. juni 2016 kl. 23.27.46 UTC+2 skrev bitrex:
>> I have a piece of hardware (drum machine) which I know runs a version of
>> Busybox on an Intel Atom platform, I think.
>>
>> It appears to have 256 megs of RAM and a gig of internal Flash storage.
>>
>> I'm trying to figure out what the best way to hopefully ssh into the
>> device and gain root would be, as it seems there's a corrupted file in
>> the Flash storage that's causing it to crash repeatedly when using its
>> custom user file manager. I've tried doing a factory reset and
>> reinstalling the latest OS from an SD card - it has both types of USB
>> ports and two SD card slots to connect external storage - but apparently
>> the factory reset didn't wipe the user partition of the Flash and the
>> corrupted file remains.
>>
>> When connected via USB to a Linux PC it appears under "lshw" as:
>>
>> *-usb:2
>>                         description: Audio device
>>                         product: Beat Thang
>>                         vendor: BKE, LLC
>>                         physical id: 3
>>                         bus info: usb@1:3.3
>>                         version: 2.25
>>                         capabilities: usb-2.00 audio-control
>>                         configuration: driver=snd-usb-audio
>> maxpower=500mA speed=480Mbit/s
>>
>>
>> When Googling for information a Reddit user claimed to be able to ssh
>> into the and examine the hardware capabilities and file system, but I
>> wasn't able to contact him.
>>
>> Any advice on where to begin?
>
> open it up and find the ttl level serial port, I can't imagine it doesn't' have one
>
> -Lasse
>

Thanks, I have a USB to TTL serial cable so I'll give that a shot

[toc] | [prev] | [standalone]


Back to top | Article view | comp.arch.embedded


csiph-web