[Gta04-owner] more beginner's questions: ssh
Sam Muirhead
sam at yearofopensource.net
Thu Nov 8 00:18:54 CET 2012
Thanks for all the help (and patience) so far - I had a flat battery and
the phone wasn't booting - Nikolaus suggested I try a Nokia BL5C battery
and that gave me enough power to erase the u-boot environment and reboot.
I installed the hw-validation system on an sd card, erased the boot
environment and installed the new boot system. it's alive! LXDE boots again.
I figured I should follow the rest of the instructions from
http://download.goldelico.com/gta04/20121030-GTA04-Production/ before I
try installing QtMoko again:
/...
10. insert into GTA04 and boot (LEDs will flicker and should finally show green)
11. connect USB (after boot is complete)
12. configure your host to get ssh access ('ssh root at 192.168.0.202')
13. run 'depmod -a'
14. run 'reboot'
15. make sure the GTA04 has outgoing connection to the Internet (i.e. configure
your USB-host as a router)
16. run 'apt-get update && apt-get upgrade'
17. run 'ts_sclibrate' for touchscreen calibration
18. run 'reboot'
/
So I then tried to get ssh access, but I haven't been successful yet.
I edited etc/ssh/sshd_config to
#ListenAddress ::
#ListenAddress 192.168.0.202
When I try accessing ssh (root at 192.168.0.202, Port 22) I get the message
'connection timeout'
Then I followed these instructions:
http://wiki.openmoko.org/wiki/USB_Networking#Simple_Manual_Linux_Configuration
and I got this error message:
sam at ubuntuSamoos:~$ ssh root at 192.168.0.202
Read from socket failed: Connection reset by peer
I don't really know which information is most important to understand
the problem, so, um, here are a few options:
tail -f /var/log/messages:
Nov 7 22:10:08 ubuntuSamoos vmunix: [40112.388163] usb 3-1: new
full-speed USB device number 9 using ohci_hcd
Nov 7 22:10:08 ubuntuSamoos vmunix: [40113.144091] usb 3-1: new
full-speed USB device number 10 using ohci_hcd
Nov 7 22:10:09 ubuntuSamoos vmunix: [40113.888148] usb 3-1: new
full-speed USB device number 11 using ohci_hcd
Nov 7 22:10:09 ubuntuSamoos vmunix: [40114.324088] usb 3-1: new
full-speed USB device number 12 using ohci_hcd
Nov 7 22:10:17 ubuntuSamoos vmunix: [40121.496160] usb 1-1: new
high-speed USB device number 17 using ehci_hcd
Nov 7 22:10:17 ubuntuSamoos mtp-probe: checking bus 1, device 17:
"/sys/devices/pci0000:00/0000:00:04.1/usb1/1-1"
Nov 7 22:10:17 ubuntuSamoos vmunix: [40121.639535] cdc_ether 1-1:1.0:
usb0: register 'cdc_ether' at usb-0000:00:04.1-1, CDC Ethernet Device,
0e:11:4a:de:46:52
Nov 7 22:10:17 ubuntuSamoos mtp-probe: bus: 1, device: 17 was not an
MTP device
sam at ubuntuSamoos:~$ cat /sys/devices/platform/musb_hdrc/mode
cat: /sys/devices/platform/musb_hdrc/mode: No such file or directory
In my network connections menu it is showing (greyed out) as
Wired Network (Linux 2.6.32 with musb hdrc RNDIS/Ethernet Gadget))
/sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:23:32:d4:f8:62
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:45 Base address:0xa000
eth1 Link encap:Ethernet HWaddr 00:23:6c:87:d4:d7
inet addr:192.168.1.50 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::223:6cff:fe87:d4d7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1700575 errors:1 dropped:0 overruns:0 frame:3352389
TX packets:998024 errors:35 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2425744018 (2.4 GB) TX bytes:98397803 (98.3 MB)
Interrupt:22
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24773 errors:0 dropped:0 overruns:0 frame:0
TX packets:24773 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2154474 (2.1 MB) TX bytes:2154474 (2.1 MB)
usb0 Link encap:Ethernet HWaddr 0e:11:4a:de:46:52
inet6 addr: fe80::c11:4aff:fede:4652/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:534 errors:0 dropped:0 overruns:0 frame:0
TX packets:2391 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15168 (15.1 KB) TX bytes:531589 (531.5 KB)
Any help would be very much appreciated!
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20121108/45ff0d18/attachment-0001.html>
More information about the Gta04-owner
mailing list