View previous topic :: View next topic |
Author |
Message |
Il turisto l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/153693952344a15197cff5f.jpg)
Joined: 12 May 2004 Posts: 968 Location: Battincourt - Belgique
|
Posted: Wed Jul 19, 2006 11:19 am Post subject: [dialup] Connection entre 2 pc |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
kwenspc Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/60652782845d9438939a35.jpg)
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Wed Jul 19, 2006 11:48 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Il turisto l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/153693952344a15197cff5f.jpg)
Joined: 12 May 2004 Posts: 968 Location: Battincourt - Belgique
|
Posted: Wed Jul 19, 2006 12:04 pm Post subject: |
|
|
Ok ca parait pas mal mais aurais tu des noms de softs ou de scripts qui pourraient m'aider? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kwenspc Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/60652782845d9438939a35.jpg)
Joined: 21 Sep 2003 Posts: 4954
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Il turisto l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/153693952344a15197cff5f.jpg)
Joined: 12 May 2004 Posts: 968 Location: Battincourt - Belgique
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kwenspc Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/60652782845d9438939a35.jpg)
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Wed Jul 19, 2006 4:51 pm Post subject: |
|
|
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 ![Smile :)](images/smiles/icon_smile.gif) _________________ membre officieux du SAV Ati GEntoo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Il turisto l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/153693952344a15197cff5f.jpg)
Joined: 12 May 2004 Posts: 968 Location: Battincourt - Belgique
|
Posted: Fri Jul 21, 2006 1:41 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|