[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [linux-team] remote connexion: PPP vs. getty
Si tu utilisais deux users differents, le premier pour getty et le second
pour ta connection "ppp" . I
> -----Original Message-----
> From: Jamart V, 22LW/XSU/SysEnabl Unix [SMTP:JamartV@baf.mil.be]
> Sent: Wednesday, September 29, 1999 9:57 AM
> To: Linux Belgian Team MailingList
> Subject: [linux-team] remote connexion: PPP vs. getty
>
> Je voulais un peu m'amuser et j'ai décidé d'accéder à ma machine Linux
> (chez
> moi) depuis ma machine NT au bureau...j'ai donc mis un modem sur le pc NT
> et
> j'ai configuré une connexion à distance (type Internet PPP, avec fenêtre
> de
> terminal). Sur la machine Linux, j'ai mis mgetty (en respawn dans inittab)
> et j'ai édité qqs fichiers (il faudra que je regarde sur la machine pour
> les
> noms de ces fichiers).
> la machine Linux répond bien et la fenêtre de terminal s'ouvre. Je fais le
> login-password, OK mais lorsque je fais un ifconfig, beuhh, seulement le
> loopback et la carte ethernet sont actifs... et un who me dit que je suis
> connecté sur le ttyS0, donc que je n'ai pas reçu d'IP (normal me
> direz-vous,
> getty simule une console sur le port serie...). bien entendu, un telent ou
> ftp ou WWW de la workstation NT vers Linux est impossible.
> Ce que je veux: être sur que ma connexion Linux-modem-modem-NT se fera en
> PPP (encapsulant TCP/IP) par défaut (je veux néamoins garder getty pour
> d'autres utilités).
> Des solutions à me proposer? Merci
>
> {outputs}
> [H[JNABIKI:~ # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:00:B4:5A:47:BC
> inet addr:192.168.0.1 Bcast:192.168.0.15 Mask:255.255.255.240
> 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
> collisions:0 txqueuelen:100
> Interrupt:10 Base address:0x6500
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:3924 Metric:1
> RX packets:32 errors:0 dropped:0 overruns:0 frame:0
> TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> NABIKI:~ #
> NABIKI:~ # w
> 9:56am up 3:25, 1 user, load average: 0.00, 0.00, 0.00
> USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
> sys13 ttyS0 9:55am 0.00s 0.24s 0.03s w
> NABIKI:~ # route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.0.0 * 255.255.255.240 U 0 0 0
> eth0
> loopback * 255.0.0.0 U 0 0 0 lo
>
> {eof}
> ---
> Vincent Jamart, Sgt.
> AIX System Administrator
> 22 Log.W - XSU
> BELGIAN AIR FORCE
> phone: +32-(2)-701/21.86
> fax: +32-(2)-701/59.32
> E-mail: JamartV@baf.mil.be
> ------------------------------------------------------
> "ILIAS: The beating will continues until the morale improves"
>
>
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.