Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[dialup] Connection entre 2 pc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Wed Jul 19, 2006 11:19 am    Post subject: [dialup] Connection entre 2 pc Reply with quote

Bonjour,

Mon problème est simple et compliqué à la fois.

Voila nous avons un serveur (debian) qui possède une connection modem. Ce serveur devra appeler un autre serveur (linux. debian? gentoo?) qui lui même devra décrocher et ensuite les 2 serveurs se tranmettrons des informations.

Avec vous une idée de comment faire cela?

Deuxième point : le même parcours mais au lieu de transmettre des infos le serveur qui décroche devra envoyer un terminal.


D'avance merci pour votre aide.
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Wed Jul 19, 2006 11:48 am    Post subject: Reply with quote

va falloir t'amuser avec les commandes AT de tes modems. Et mettre du ppp par dessus une fois la communication établie (il me semble que ppp ou spip sont self-synchronisé)
le fait d'envoyer des infos ou un terminal c'est pareil : ça passe dans le protocole d'envois de données (en fait le mieux c du tcp/ip encapsulé dans du ppp ou slip)

fin bref ça doit pouvoir fonctionner comme lorsqu'on a un 56k vers notre fai en rtc en gros.
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Wed Jul 19, 2006 12:04 pm    Post subject: Reply with quote

Ok ca parait pas mal mais aurais tu des noms de softs ou de scripts qui pourraient m'aider?
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Wed Jul 19, 2006 12:12 pm    Post subject: Reply with quote

http://www.unixtech.be/docs/howtos/Modems-HOWTO.html

et celui là aussi --> http://www.unixtech.be/docs/howtos/PPP-HOWTO.html

http://www-phase.c-strasbourg.fr/inform/linux/cours/linux-reseau-6.html (ce dernier a l'air interessant et donne de bonnes pistes)
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Wed Jul 19, 2006 12:49 pm    Post subject: Reply with quote

J'ai trouvé cela aussi


http://mgetty.greenie.net/doc/mgetty_toc.html

tu en penses quoi?

Merci pour tes liens. Je vais regarder.
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Wed Jul 19, 2006 4:51 pm    Post subject: Reply with quote

En principe dans mes liens il y a tout ce qu'il faut :) et ton lien aussi parait interessant car il couvre pas mal d'autres applications possibles avec les modems rtc :)
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
Il turisto
l33t
l33t


Joined: 12 May 2004
Posts: 968
Location: Battincourt - Belgique

PostPosted: Fri Jul 21, 2006 1:41 pm    Post subject: Reply with quote

Bon j'ai installé mon modem :

0000:00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01)

Il s'agit d'un sl modem.


J'ai installé wvdial et je peux appeler.
j'ai installé mgetty mais il ne décroche pas lorsuqe j'appelle mon pc

extrait du log :

Code:

07/21 15:30:22 SL0  mgetty: interim release 1.1.35-Feb22
07/21 15:30:22 SL0  check for lockfiles
07/21 15:30:22 SL0  locking the line
07/21 15:30:22 SL0  tio_get_rs232_lines: TIOCMGET failed: Invalid argument
07/21 15:30:22 SL0  WARNING: DSR is off - modem turned off or bad cable?
07/21 15:30:22 SL0  lowering DTR to reset Modem
07/21 15:30:22 SL0  TIOCMBIC failed: Invalid argument
07/21 15:30:23 SL0  send: \dATQ0V1H0[0d]
07/21 15:30:23 SL0  waiting for ``OK'' ** found **
07/21 15:30:23 SL0  send: AT[0d]
07/21 15:30:23 SL0  waiting for ``OK'' ** found **
07/21 15:30:23 SL0  waiting...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
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