R
R
Robotex2011-03-22 17:31:48
linux
Robotex, 2011-03-22 17:31:48

Wing linux: remove android and gui, leave only bare console and sshd?

I put this project on my phone: wing-linux.sourceforge.net/trac/
There is only one problem - this is android. I need pure Linux (with only one console - I will deliver the rest myself). What should I change in rootfs to achieve what I want?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robotex, 2011-03-23
@Robotex

So it looks like I got what I wanted. I installed wing-linux 0.1 which does not start android by default.
But here's the problem with SSH access.
The instructions say: But when I try this: Why is sshd dropping the connection? What's wrong?
If you'd like to control the phone from another computer, plug in a USB cord to it
and configure your usb0 device (from Linux) as follows:
# sudo ifconfig usb0 10.100.0.2 up
Ubuntu users may have to run this several times before it takes effect.
Now you can ssh into the phone as follows:
# ssh [email protected]
The password is "wing".

[email protected] ~ $ sudo ifconfig usb0 10.100.0.2 up
[email protected] ~ $ ping 10.100.0.2
PING 10.100.0.2 (10.100.0.2) 56(84) bytes of data.
64 bytes from 10.100.0.2: icmp_req=1 ttl=64 time=0.100 ms
64 bytes from 10.100.0.2: icmp_req=2 ttl=64 time=0.063 ms
^C
--- 10.100.0.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.063/0.081/0.100/0.020 ms
[email protected] ~ $ ssh -l root 10.100.0.2
ssh: connect to host 10.100.0.2 port 22: Connection refused
[email protected] ~ $ ssh [email protected]
ssh: connect to host 10.100.0.2 port 22: Connection refused

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question