Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: leased line (again)


  • Subject: Re: lug-bg: leased line (again)
  • From: mano@xxxxxxxxxxxxx (Marian Popov)
  • Date: Fri, 8 Jun 2001 12:49:59 +0300 (EEST)



 Znachi eto go moeto reshenie:

Pyrvo triabva da znaesh kakvi IP-ta shte polzvash.
Az sym slojil maskirani ip-ta no moje i s istinski.
V moia sluchai shte ti pokaja kak sym go postignal s IP na servera
10.0.0.1 i ip na clienta 10.0.0.2

Otivash v /etc/inittab i dobaviash red po princip niama znachenie kyde az
sym go napisal pri serial lines:

Server:
s3:12345:respawn:/usr/sbin/pppd ttyS1 115200 -detach noauth proxyarp
10.0.0.1:10.0.0.2 connect "exec chat '' ATA CONNECT ''"

Client:

3:12345:respawn:/usr/sbin/pppd ttyS0 115200 -detach defaultroute connect
"exec chat '' ATD CONNECT ''"

Tova e kato i na dvete mashini modemite sa na com2 
Ti mojesh da si gi promenish spored tvoite nujdi.

Sled kato dobavish tova neshto v /etc/inittab i na dvete mashini pishesh
init q za da restartirash inittaba i gledai kvo stava :))

Jun  8 12:47:41 gateway pppd[3101]: pppd 2.3.11 started by root, uid 0
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS1
Jun  8 12:48:15 gateway pppd[3101]: Serial connection established.
Jun  8 12:48:15 gateway pppd[3101]: Using interface ppp0
Jun  8 12:48:15 gateway pppd[3101]: Connect: ppp0 <--> /dev/ttyS1
found interface eth1 for proxy arp
local  IP address 10.0.0.1
remote IP address 10.0.0.2
Jun  8 12:48:17 gateway pppd[3101]: found interface eth1 for proxy arp
Jun  8 12:48:17 gateway pppd[3101]: local  IP address 10.0.0.1
Jun  8 12:48:17 gateway pppd[3101]: remote IP address 10.0.0.2
BSD-Compress (15) compression enabled
Jun  8 12:48:17 gateway pppd[3101]: BSD-Compress (15) compression enabled

Ei tova triabva da ti e krainia resultat.

Good Luck !

On Fri, 8 Jun 2001, Alex Nikolov wrote:

> Znache probvah s 2minicom-a i nqma nikakuv efekt prosto si sedqt zakacheni
> modemite i na ekrana na minikomite nqma nikoi loshoto e che ne znam dali v
> nastroikite na modemite e prichinata (Penril) ili v komandite na pppd-to
> zasega se opitvam samo da gi vurja rutiraneto e za po-kusen etap
> 
> On Fri, 8 Jun 2001, Alex Nikolov wrote:
> 
> > pppd 115200 /dev/ttyS1 crtscts modem lock nodetach
> > noauth
> > Using interface ppp0
> > Connect: ppp0 <--> /dev/ttyS1
> > LCP: timeout sending Config-Requests
> > Connection terminated.
> > Receive serial link is not 8-bit clean:
> > Problem: all had bit 7 set to 1
> > 
> > tova e opit za naeta liniq modemite sa vurzani a ppp -> nqma :( modemite
> > rabotiha no edin umnik gi razbuta :( plss help
> > 
> > 10x predvaritelno
> > 
> > 
> > 
> > ===========================================================================
> > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
> > 
> 
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
> 

==-rw-r--r--=============================
== Pazardjik.com  System Administrator ==
== GSM: +359 88 975753                 ==
== e-mail: mano@xxxxxxxxxxxxx          ==
=========================================

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.