| Settembre 13, 2008, 05:27:00 |
Pedrodiba
Newbie

Posts: 9
|
 |
« on: Settembre 13, 2008, 05:27:00 » |
|
Salve a tutti! E' da poco che ho acquistato il Freerunner, ma non riesco a connetterlo via Usb Ho seguito tutta la procedura da questo link http://wiki.openmoko.org/wiki/Getting_Started_with_your_Neo_FreeRunner/itma quando vado a dare il comando ssh root@192.168.0.202 mi da come risposta ssh: connect to host 192.168.0.202 port 22: No route to host non capisco cosa voglia dire.... Se qualcuno mi può essere d'aiuto ne sarei grato!! Grazie in anticipo Luca
|
|
|
|
|
Logged
|
|
|
|
| Settembre 13, 2008, 05:39:09 |
|
Dareus
|
 |
« Rispondi #1 on: Settembre 13, 2008, 05:39:09 » |
|
Quale distribuzione hai? In altre parole quale parte della guida qui hai seguito? Se sei su linux, prova a controllare di aver eseguito quella giusta e correttamente, altrimenti prova a giocare un po' col comando route (vedi man route).
|
|
|
|
|
Logged
|
|
|
|
| Settembre 13, 2008, 05:47:52 |
Pedrodiba
Newbie

Posts: 9
|
 |
« Rispondi #2 on: Settembre 13, 2008, 05:47:52 » |
|
Come distribuzione uso Ubuntu Hardy Heron e quindi ho seguito la guida per debian
|
|
|
|
|
Logged
|
|
|
|
| Settembre 13, 2008, 05:54:05 |
|
Dareus
|
 |
« Rispondi #3 on: Settembre 13, 2008, 05:54:05 » |
|
Anch'io la uso, quindi credo si più facile: 1. hai aggiunto questo auto usb0 iface usb0 inet static address 192.168.0.200 netmask 255.255.255.0 network 192.168.0.0 up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 & up echo 1 > /proc/sys/net/ipv4/ip_forward & up iptables -P FORWARD ACCEPT & down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 & al file /etc/network/interfaces? 2. hai riavviato i servizi di rete? Collega il FR al PC e dai 'sudo /etc/init.d/networking restart'
|
|
|
|
|
Logged
|
|
|
|
| Settembre 13, 2008, 06:12:55 |
Pedrodiba
Newbie

Posts: 9
|
 |
« Rispondi #4 on: Settembre 13, 2008, 06:12:55 » |
|
Si fatto tutto, ma mi da sempre lo stesso risultato
|
|
|
|
|
Logged
|
|
|
|
| Settembre 13, 2008, 06:44:59 |
|
raster
|
 |
« Rispondi #5 on: Settembre 13, 2008, 06:44:59 » |
|
Hello un ifconfig cosa dice ? sei collegato in una rete (ethernet) con il tuo pc?
bye
|
|
|
|
« Last Edit: Settembre 13, 2008, 06:53:32 by vonfritz »
|
Logged
|
|
|
|
| Settembre 13, 2008, 07:19:19 |
clone.beta
Forever N00B!
Global Moderator
Full Member
    
Posts: 232
Something is getting a TIE
|
 |
« Rispondi #6 on: Settembre 13, 2008, 07:19:19 » |
|
Anche io mi sono impiastrato li, usa questa guida http://forum.telefoninux.org/index.php/topic,229.15.html solo la parte per connettersi post istallazione, con il miniscript. Io lo uso per la Fat e per Qtopia e da allora non ho avuto mai più problemi.
|
|
|
|
|
Logged
|
Lo sai che se da una ubuntu scrivi "sudo rm -rf /" vivi 10 anni di più? L'autore non si ritiene responsabile delle conseguenze nocive del comando.
Something is going to be tied....
|
|
|
| Settembre 13, 2008, 08:33:04 |
Pedrodiba
Newbie

Posts: 9
|
 |
« Rispondi #7 on: Settembre 13, 2008, 08:33:04 » |
|
Si sono collegato in una rete ethernet il risultato di ifconfig é:
eth0 Link encap:Ethernet HWaddr 00:16:36:54:96:08 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 collisioni:0 txqueuelen:1000 Byte RX:0 (0.0 B) Byte TX:0 (0.0 B) Interrupt:18
eth1 Link encap:Ethernet HWaddr 00:13:02:27:69:e0 inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::213:2ff:fe27:69e0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1485 errors:0 dropped:0 overruns:0 frame:0 TX packets:1455 errors:0 dropped:0 overruns:0 carrier:0 collisioni:0 txqueuelen:1000 Byte RX:1597981 (1.5 MB) Byte TX:214728 (209.6 KB)
eth0:avahi Link encap:Ethernet HWaddr 00:16:36:54:96:08 inet addr:169.254.3.255 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 Interrupt:18
lo Link encap:Loopback locale 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:2021 errors:0 dropped:0 overruns:0 frame:0 TX packets:2021 errors:0 dropped:0 overruns:0 carrier:0 collisioni:0 txqueuelen:0 Byte RX:101636 (99.2 KB) Byte TX:101636 (99.2 KB)
usb0 Link encap:Ethernet HWaddr 06:d5:89:e6:73:34 inet6 addr: fe80::4d5:89ff:fee6:7334/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:4 dropped:0 overruns:0 carrier:0 collisioni:0 txqueuelen:1000 Byte RX:0 (0.0 B) Byte TX:90 (90.0 B)
wmaster0 Link encap:UNSPEC HWaddr 00-13-02-27-69-E0-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING 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 collisioni:0 txqueuelen:1000 Byte RX:0 (0.0 B) Byte TX:0 (0.0 B)
|
|
|
|
|
Logged
|
|
|
|
| Settembre 13, 2008, 09:00:45 |
|
raster
|
 |
« Rispondi #8 on: Settembre 13, 2008, 09:00:45 » |
|
Hello Allora, lo sapevo  eth1 utilizza 192.168.0.10 io avevo lo stesso "problema" avendo la rete casalinga in 192.168.0.XX allora hai 3 possibilità : 1. configurare la rete USB0 con il comando : ifconfig usb0 192.168.0.200 netmask 255.255.255.248e poi sperando che i 192.168.0.200 e 191.168.0.202 non siano utilizzati in rete da qualcun' altro ti colleghi in ssh con il solito comando. 2. modificare da terminale freerunner /etc/network/interfaces : auto usb0 iface usb0 inet static address 192.168.0.202 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.200 in auto usb0 iface usb0 inet static address 192.168.1.202 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.200 basta sostituire il 0 centrale con 1 (cosa che ho fatto io) una volta salvato, spegnere il freerunner e riaccendere. Adesso dai un ifconfig usb0 192.168.1.200 e ti colleghi con un ssh root@192.168.1.202. 3. staccare i cavi di rete dal tuo PC e spegnerlo. riaccendere e verificare con ifconfig che non sia configurata la rete (cavi staccati!) poi procedere con il solito ifconfig usb0 192.168.0.200 e ....... bye
|
|
|
|
« Last Edit: Settembre 14, 2008, 02:02:17 by vonfritz »
|
Logged
|
|
|
|
| Settembre 14, 2008, 01:54:59 |
Que
Newbie

Posts: 6
|
 |
« Rispondi #9 on: Settembre 14, 2008, 01:54:59 » |
|
L'errore che invece ricevo da terminale io tentando di attaccarmi alla mia FDOM è molto più divertente:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is a5:00:84:0a:55:06:ae:93:92:92:54:aa:4c:4e:d0:58. Please contact your system administrator. Add correct host key in /home/user/.ssh/known_hosts to get rid of this message. Offending key in /home/user/.ssh/known_hosts:1 RSA host key for 192.168.0.202 has changed and you have requested strict checking. Host key verification failed.
Sono su una Ubuntu 8.04..chi mi può aiutare? Grazie mille in anticipo!
|
|
|
|
|
Logged
|
|
|
|
| Settembre 14, 2008, 02:07:50 |
|
raster
|
 |
« Rispondi #10 on: Settembre 14, 2008, 02:07:50 » |
|
Hello semplice, succede se "cambi" troppe immagini  il metodo più semplice e cancellare /root/.ssh/known_hosts se ti colleghi in ssh da root se invece da utente "normale" devi cancellare /home/nomeutente/.ssh/known_hosts. il comando : rm /home/nomeutente /.ssh/known_hostsbye
|
|
|
|
|
Logged
|
|
|
|
| Settembre 14, 2008, 10:02:30 |
Pedrodiba
Newbie

Posts: 9
|
 |
« Rispondi #11 on: Settembre 14, 2008, 10:02:30 » |
|
Ok cambiando la netmask in 255.255.255.248 funziona! L'avevo capito che era un problema di conflitto indirizzi , ma non sapevo come risolverlo grazie mille!!! Ancora una cosa, se edito da terminale sul freerunner etc/network/interfaces gedit non mi funziona con vi come devo fare? Grazie in anticipo 
|
|
|
|
|
Logged
|
|
|
|
| Settembre 14, 2008, 10:58:04 |
aleks
Newbie

Posts: 10
|
 |
« Rispondi #12 on: Settembre 14, 2008, 10:58:04 » |
|
se edito da terminale sul freerunner etc/network/interfaces gedit non mi funziona con vi come devo fare? Grazie in anticipo  Quando sei connesso in ssh, non stai operando sulla Linux box, ma sul FR. Quindi non hai Gedit sia perché non è installato, sia perché la sessione non è grafica. L'editor vi è estremamente potente e funzionale, ma non è esattamente intuitivo nel suo utilizzo. Apri un file con 'vi nomefile'; per il resto dovresti dare un'occhiata a qualche manuale. In rete ne trovi in abbondanza. Con un po' di pratica si comincia ad apprezzarlo, ma all'inizio è disorientante.  Se sei 'a digiuno', magari fai qualche prova con un file di testo senza importanza per capirne il funzionamento, prima di rischiare con i file di sistema.  Qui trovi un riassunto con l'essenziale da sapere: http://limestone.truman.edu/~dbindner/mirror/vi-ref.pdf
|
|
|
|
|
Logged
|
|
|
|
| Settembre 14, 2008, 11:00:47 |
|
raster
|
 |
« Rispondi #13 on: Settembre 14, 2008, 11:00:47 » |
|
Hello Bhe dai, una volta che ti sei collegato in ssh lo puoi fare anche da PC. Basta che digiti vi /etc/network/interfaces una volta aperta vi il metodo più veloce per editare e : ti posizioni con il cursore sul 0 di 192.168.0.202 premi r e poi 1 il zero viene rimpiazzato dal 1. Fai cosi anche con gli altri indirizzi. Una volta terminato premi il tasto : e w che ti salva le modifiche e poi di nuovo : e q per uscire. Puoi anche combinare i comandi di scrittura e uscita digitando : e poi wq  stessa procedura se vuoi farlo da terminale freerunner (più faticoso). bye PS. fai prima delle prove su file di testo di poca importanza, come consigliato da aleks 
|
|
|
|
« Last Edit: Settembre 14, 2008, 11:04:39 by vonfritz »
|
Logged
|
|
|
|
| Settembre 14, 2008, 02:11:38 |
Pedrodiba
Newbie

Posts: 9
|
 |
« Rispondi #14 on: Settembre 14, 2008, 02:11:38 » |
|
Ok ora riesco a connettermi via usb tranquillamente... Non riesco comunque a connettermi ad internet  dalla guida http://wiki.openmoko.org/wiki/Getting_Started_with_your_Neo_FreeRunner/it ho cambiato il codice di/etc/network/interfaces sul Neo FreeRunner da così: iface usb0 inet static address 192.168.0.202 netmask 255.255.255.0 network 192.168.0.0 gateway 192.168.0.200 up echo nameserver 192.168.0.200 > /etc/resolv.conf a così: iface usb0 inet static address 192.168.1.202 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.200 up echo nameserver 208.67.222.222 > /etc/resolv.conf up echo nameserver 208.67.220.220 >> /etc/resolv.con ma quando vado a dare da terminale opkg update vedo che non scarira niente... da come ho letto è di nuovo un problema di indirizzi 192.168.0.0/24 qualcuno mi può essere d'aiuto? Grazie in anticipo Luca
|
|
|
|
|
Logged
|
|
|
|
|