tty console

120 views
Skip to first unread message

m1k3l3

unread,
Aug 11, 2009, 10:40:46 AM8/11/09
to Android-x86
Is possible have more than one console at startup like linux?
Or exists an application in the GUI that provide root access with the
shell?

thanks

Yi Sun

unread,
Aug 11, 2009, 12:41:31 PM8/11/09
to andro...@googlegroups.com
See the debug mode, it has three consoles with busybox
--
Android-x86
http://code.google.com/p/android-x86/

m1k3l3

unread,
Aug 11, 2009, 6:23:18 PM8/11/09
to Android-x86

if [ -n "$DEBUG" ]; then
mknod /dev/tty2 c 4 2 && openvt
mknod /dev/tty3 c 4 3 && openvt
fi


On 11 Ago, 18:41, Yi Sun <beyo...@gmail.com> wrote:
> See the debug mode, it has three consoles with busybox
>

BrianM

unread,
Aug 25, 2009, 6:29:44 PM8/25/09
to Android-x86
On a related note, is it possible to SSH (preferred) or Telnet into
the system via the network connection?

m1k3l3

unread,
Aug 25, 2009, 6:58:08 PM8/25/09
to Android-x86
i don't think for now. i've tried to start by busybox (added) the
telenetd, and it works, but when from client try to telnet, is
requested correctly a password.... But which password? there isn't way
to set... I think.

I don't have tried dropbear (small ssh deamon), but the password issue
I think is the same.

the solution is to use adb tool.
from client:
# export ADBHOST=<IP ANDROID>
# adb start-server
# adb shell

I hope this helps. sorry for english.

mik3

BrianM

unread,
Aug 25, 2009, 7:52:41 PM8/25/09
to Android-x86
Doing a bit of searching, it looks like it is possible to have SSH
using dropbear and a bit of passwd trickery.
http://forum.xda-developers.com/showthread.php?t=442754&page=4

...Brian

Tomas Winkler

unread,
Aug 26, 2009, 3:02:03 AM8/26/09
to andro...@googlegroups.com
On Wed, Aug 26, 2009 at 2:52 AM, BrianM<goo...@blackbird-av.com> wrote:
>
> Doing a bit of searching, it looks like it is possible to have SSH
> using dropbear and a bit of passwd trickery.
> http://forum.xda-developers.com/showthread.php?t=442754&page=4
>

I was not able to run adb never got connection. adbd is running on the
machine but nothing
But the ssh worked for me. I've added the binary to
newinstaller/initrd/bin/dropbear . Can we integrate
similar solution for others benefit into the project.
I would like to spawn in in debug mod automatically does anyone have
idea how to do it?

Thanks
Tomas

Yi Sun

unread,
Aug 26, 2009, 3:06:33 AM8/26/09
to andro...@googlegroups.com
On Wed, Aug 26, 2009 at 12:02 AM, Tomas Winkler <tom...@gmail.com> wrote:

On Wed, Aug 26, 2009 at 2:52 AM, BrianM<goo...@blackbird-av.com> wrote:
>
> Doing a bit of searching, it looks like it is possible to have SSH
> using dropbear and a bit of passwd trickery.
> http://forum.xda-developers.com/showthread.php?t=442754&page=4
>

I was not able to run adb never got connection. adbd is running on the
machine but nothing
What did you do when you try to connect?
 



--
Android-x86
http://code.google.com/p/android-x86/

Tomas Winkler

unread,
Aug 26, 2009, 3:22:55 AM8/26/09
to andro...@googlegroups.com
On Wed, Aug 26, 2009 at 10:06 AM, Yi Sun<bey...@gmail.com> wrote:
>
>
> On Wed, Aug 26, 2009 at 12:02 AM, Tomas Winkler <tom...@gmail.com> wrote:
>>
>> On Wed, Aug 26, 2009 at 2:52 AM, BrianM<goo...@blackbird-av.com> wrote:
>> >
>> > Doing a bit of searching, it looks like it is possible to have SSH
>> > using dropbear and a bit of passwd trickery.
>> > http://forum.xda-developers.com/showthread.php?t=442754&page=4
>> >
>>
>> I was not able to run adb never got connection. adbd is running on the
>> machine but nothing
>
> What did you do when you try to connect?


Android machine is working:
validated that adbd is in the ps list a.k.a is running
ifconfig eth0 192.168.0.1

On the development machine
ifconfig eth0 192.168.0.2/24

export PATH =out/host/linux-x86/bin:${PATH}

export ADBHOST=192.168.0.1
adb start-server
adb shell
---- stalls ---


Thanks
Tomas


Tomas

Yi Sun

unread,
Aug 26, 2009, 3:28:49 AM8/26/09
to andro...@googlegroups.com
On Wed, Aug 26, 2009 at 12:22 AM, Tomas Winkler <tom...@gmail.com> wrote:

On Wed, Aug 26, 2009 at 10:06 AM, Yi Sun<bey...@gmail.com> wrote:
>
>
> On Wed, Aug 26, 2009 at 12:02 AM, Tomas Winkler <tom...@gmail.com> wrote:
>>
>> On Wed, Aug 26, 2009 at 2:52 AM, BrianM<goo...@blackbird-av.com> wrote:
>> >
>> > Doing a bit of searching, it looks like it is possible to have SSH
>> > using dropbear and a bit of passwd trickery.
>> > http://forum.xda-developers.com/showthread.php?t=442754&page=4
>> >
>>
>> I was not able to run adb never got connection. adbd is running on the
>> machine but nothing
>
> What did you do when you try to connect?


Android machine is working:
validated that adbd is in the ps list a.k.a is running
ifconfig eth0 192.168.0.1

On the development machine
ifconfig eth0 192.168.0.2/24

export PATH =out/host/linux-x86/bin:${PATH}

export ADBHOST=192.168.0.1
adb start-server
I normally do adb kill-server. And when I use ubuntu, I have to use sudo with all the adb commands.   Also, if you want to get into the debug mode, you can just change the grub config to make the debug mode as default.



--
Android-x86
http://code.google.com/p/android-x86/

Tomas Winkler

unread,
Aug 26, 2009, 3:34:07 AM8/26/09
to andro...@googlegroups.com
On Wed, Aug 26, 2009 at 10:28 AM, Yi Sun<bey...@gmail.com> wrote:
>
>
> On Wed, Aug 26, 2009 at 12:22 AM, Tomas Winkler <tom...@gmail.com> wrote:
>>
>> On Wed, Aug 26, 2009 at 10:06 AM, Yi Sun<bey...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Aug 26, 2009 at 12:02 AM, Tomas Winkler <tom...@gmail.com>
>> > wrote:
>> >>
>> >> On Wed, Aug 26, 2009 at 2:52 AM, BrianM<goo...@blackbird-av.com> wrote:
>> >> >
>> >> > Doing a bit of searching, it looks like it is possible to have SSH
>> >> > using dropbear and a bit of passwd trickery.
>> >> > http://forum.xda-developers.com/showthread.php?t=442754&page=4
>> >> >
>> >>
>> >> I was not able to run adb never got connection. adbd is running on the
>> >> machine but nothing
>> >
>> > What did you do when you try to connect?
>>
>>
>> Android machine is working:
>> validated that adbd is in the ps list a.k.a is running
>> ifconfig eth0 192.168.0.1
>>
>> On the development machine
>> ifconfig eth0 192.168.0.2/24
>>
>> export PATH =out/host/linux-x86/bin:${PATH}
>>
>> export ADBHOST=192.168.0.1
>> adb start-server
>
> I normally do adb kill-server. And when I use ubuntu, I have to use sudo
> with all the adb commands.
Hmm, I will try with root permissions.

> Also, if you want to get into the debug mode,
> you can just change the grub config to make the debug mode as default.

The question is if it does requires debug mode?

Thanks
Tomas
Reply all
Reply to author
Forward
0 new messages