Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto]montare l'hd di un pc da remoto tramite porte com
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 8:59 pm    Post subject: Reply with quote

uhmm qualche cosa è cambiato e forse pure in meglio o_O a te la sentenza...

è avvenuta l stessa cosa in entrambe le macchine

bash-2.05b# pppd -detach local noauth lock 192.168.0.101:192.168.0.100 /dev/ttyS0 9600
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
LCP: timeout sending Config-Requests
Connection terminated.
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 8:59 pm    Post subject: Reply with quote

se quello che ti interessa e' solo passare un file puoi usare metodo alternativo:

PC A:
cat bigfile > /dev/ttyS0

PC B: (486)
cat /dev/ttyS0 > bigfile

cmq a questo punto andrei in fondo :)
cosi' almeno il 486 potra' andare in rete ;)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 9:02 pm    Post subject: Reply with quote

beh se si riesce a farlo andare in rete sarebbe ottimo...

dipende da te questo pero'.. se hai voglia di smazzarti sto problema :P
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 9:03 pm    Post subject: Reply with quote

sto bootando un vecchio pc :)

faccio qc prova e ti dico

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 9:08 pm    Post subject: Reply with quote

ti ringrazio
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 9:17 pm    Post subject: Reply with quote

ok forse (ma dico forse) ci siamo

immagino che sul 486 non ci sia gentoo ma una distro + vecchia.
corretto? (dimmi di si :) )

usano diverso ppp e sul 486 non e' supportato deflate!

quindi sulla macchina gentoo lanciaalo cosi'

Code:

pppd -detach local nodeflate noauth 192.168.0.101:192.168.0.100 /dev/ttyS1 9600


ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 9:24 pm    Post subject: Reply with quote

ed eventualmente togliamo anche bsdcompression

con

Code:

pppd -detach local nodeflate nobsdcomp noauth 192.168.0.101:192.168.0.100 /dev/ttyS1 9600


ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 9:36 pm    Post subject: Reply with quote

macchina gentoo:

bash-2.05b# pppd -detach local nodeflate nobsdcomp noauth 192.168.0.101:192.168.0.100 /dev/ttyS0 9600
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
LCP: timeout sending Config-Requests
Connection terminated.


486 con Debian Woody

se lancio lo stesso comando escono scritte assurde o_O mntree se lancio il comando senza le ultime agiunte da l'errore sopra
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 9:42 pm    Post subject: Reply with quote

ok ...
della serie.."proviamo tutto"
(anche perche' sulle mie 2 macchine funziona gia' cosi')

aggiungi anche passive alle opzioni su entrambi i pc

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 9:46 pm    Post subject: Reply with quote

gia' che ci siamo aggiungi anche debug ;)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 10:08 pm    Post subject: Reply with quote

guardando il debug si vede che il 486 manda e riceve mentre Gentoo manda e basta senza ricevere mai nulla...
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 10:08 pm    Post subject: Reply with quote

il firewall è un totalmente aperto
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 10:11 pm    Post subject: Reply with quote

c'e' qc che non quadra :)

che versione di pppd hai su woody e gentoo?

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 10:14 pm    Post subject: Reply with quote

entrambe 2.4.1
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 10:16 pm    Post subject: Reply with quote

prova a postare un po' di
/var/log/daemon.log sotto gentoo

ciao


P.S.: visto che sono cmq versioni recenti metti il comando per disbilitare le compressioni su entrambi i lati.Facilitera' la vita quando si decideranno di comunicare
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 10:18 pm    Post subject: Reply with quote

May 24 00:27:28 blackstar pppd[9132]: pppd 2.4.1 started by root, uid 0
May 24 00:27:28 blackstar pppd[9132]: using channel 10
May 24 00:27:28 blackstar pppd[9132]: Using interface ppp0
May 24 00:27:28 blackstar pppd[9132]: Connect: ppp0 <--> /dev/ttyS0
May 24 00:27:28 blackstar pppd[9132]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x301b2214> <pcomp> <accomp>]
May 24 00:27:55 blackstar last message repeated 9 times
May 24 00:27:58 blackstar pppd[9132]: LCP: timeout sending Config-Requests
May 24 00:28:46 blackstar pppd[9132]: Terminating on signal 2.
May 24 00:28:46 blackstar pppd[9132]: Connection terminated.
May 24 00:28:46 blackstar pppd[9132]: Exit.
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 10:28 pm    Post subject: Reply with quote

sembra che woody non risponda...
controlla anche il suo log.

se pure su woody hai gli stessi log sembra che non possano comunicare.
(e a questo punto mi domando come abbia fatto a funzionare la prova con cat)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 10:31 pm    Post subject: Reply with quote

woody non dice nulla... in quel file di log dice solo che non riesce a caricare il modulo char-majot-108

e nulla di +
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 10:32 pm    Post subject: Reply with quote

controlla in /var/log/messages
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 10:35 pm    Post subject: Reply with quote

in messages i log son simili a Gentoo solo che non compare la riga dei send che aveva invece gentoo

una cosa tipo questa:

May 24 00:27:28 blackstar pppd[9132]: pppd 2.4.1 started by root, uid 0
May 24 00:27:28 blackstar pppd[9132]: using channel 10
May 24 00:27:28 blackstar pppd[9132]: Using interface ppp0
May 24 00:27:28 blackstar pppd[9132]: Connect: ppp0 <--> /dev/ttyS0
May 24 00:27:58 blackstar pppd[9132]: LCP: timeout sending Config-Requests
May 24 00:27:58 blackstar pppd[9132]: LCP: timeout sending Config-Requests
May 24 00:28:46 blackstar pppd[9132]: Terminating on signal 2.
May 24 00:28:46 blackstar pppd[9132]: Connection terminated.
May 24 00:28:46 blackstar pppd[9132]: Exit.
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Sun May 23, 2004 10:38 pm    Post subject: Reply with quote

ultimo test per stasera :)

PC GENTOO: cat /dev/ttyS0
PC WOODY: solito comando pppd

vediamo se sputa fuori un po' di chars incomprensibili (dovrebbe)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Sun May 23, 2004 10:47 pm    Post subject: Reply with quote

dunque:

se metto in ascolto il woody ricevo qualche cosa solo quando butto giu' in gentoo ppp e poi rimando un echo e ottengo caaratteri strani seguiti dall'echo.

Es.

)=/)/ /(=)((= U=J)(?=(=(M=ciao


il contrario, quindi in asoclto gentoo

non ottengo i caratteri strani ma solo il ciao dell'echo finale.

quindi sembra che gento non riesca a ricevere o woody a spedire...
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon May 24, 2004 5:43 am    Post subject: Reply with quote

Sotto Woody avevi messo debug?
Dobbiamo vedere un po' di log su woody
ciao

P.S.: posta esattamente le righe che scrivi su entrambe le macchine
sembra che woody non mandi pppd sulla seriale..
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
abaddon83
Guru
Guru


Joined: 17 Jan 2004
Posts: 494

PostPosted: Mon May 24, 2004 8:19 pm    Post subject: Reply with quote

eccole:

Gentoo:

pppd -detach local passive nobsdcomp nodeflate debug noauth 192.168.0.101:192.168.0.100 /dev/ttyS0 9600


Woody:

pppd -detach local passive nobsdcomp nodeflate debug noauth 192.168.0.100:192.168.0.101 /dev/ttyS0 9600
_________________
Abaddon's House
Jabber account: abaddon@jabber.linux.it
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon May 24, 2004 8:31 pm    Post subject: Reply with quote

veramente mi lascia perplesso :S

a me cosi' funziona senza pb.

Hai la posbilita' di installare un gcc nuovo su woody? (magari ricompilato con lo stesso source di gentoo)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum