Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]kvpnc - moge sie polaczyc ale nie widze pc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

rackathon
 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Nomen
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 279
Location: Poland:PLOCK/UK:London

PostPosted: Tue Dec 11, 2007 7:44 pm    Post subject: [SOLVED]kvpnc - moge sie polaczyc ale nie widze pc Reply with quote

Hello

Mam pod swoja opieka kilka biur z serwerami windows 2003 + stacje robocze + czasem kilka Mac'kow.

Probuje od jakiegos czasu bez powodzenia polaczyc sie zdalnie z tymi biurami za pomoca kvpnc.

Moge sie podlaczyc na router i na tym koniec. Nie widze zadnych komputerow w zdalnej sieci, oprocz routera.

Zmusza mnie to do uzywania windy ,zeby bylo jeszcze smieszniej firma uszczesliwila mnie laptopem z vista.

Niezbyt komfortowo mi sie na tym pracuje. Kiedy jestem w biurze u klienta moge spokojnie polaczyc sie przez Remote Desktop albo VNC z linuxa, ale schody zaczynaja sie kiedy musze to zrobic zdalnie.

Jadro raczej mam skonfigurowane poprawnie, dla pewnosci wrzucilem wszystko z "ppp" w nazwie jako moduly.

Po polaczeniu z routerem kiedy wklepie ifconfig mam :
Code:
eth0      Link encap:Ethernet  HWaddr 00:1A:4B:6A:67:79
          inet addr:192.168.1.180  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:4bff:fe6a:6779/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:50810 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40905 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:32124822 (30.6 Mb)  TX bytes:3774921 (3.6 Mb)
          Interrupt:18

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1456 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1456 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:121172 (118.3 Kb)  TX bytes:121172 (118.3 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:192.168.1.202  P-t-P:192.168.1.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2828 (2.7 Kb)  TX bytes:92 (92.0 b)


Ewentualnie inna siec :
Code:
eth0      Link encap:Ethernet  HWaddr 00:1A:4B:6A:67:79
          inet addr:192.168.1.180  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:4bff:fe6a:6779/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22706 (22.1 Kb)  TX bytes:19022 (18.5 Kb)
          Interrupt:18

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1709 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1709 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:144606 (141.2 Kb)  TX bytes:144606 (141.2 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.168.1.202  P-t-P:10.0.0.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:996  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:134 (134.0 b)  TX bytes:106 (106.0 b)


Pod winda ppp przydziela mi te same adresy i wszystko dziala.

Prosze o pomoc kogos komu udalo sie poprawnie skonfigurowac polaczenie z linuxa na winde znajdujaca sie za routerem.
_________________
Szukajcie a znajdziecie a będzie wam dane.

http://ratujtybet.org/

http://www.freetibet.org/


Last edited by Nomen on Tue Jan 08, 2008 11:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Nomen
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 279
Location: Poland:PLOCK/UK:London

PostPosted: Tue Jan 08, 2008 11:55 am    Post subject: Reply with quote

Rozwiazanie:

W ustawieniach pptp zaznaczamy:
- Require MPPE
- Do not use BSD compression
- Allow MPPE stateful mode
- Do not use deflate method

i najwazniejsze w Routes:
- Keep default route
- Use additional network routes
i dodajemy adres broadcast dla sieci lokalnej z ktora sie polaczylismy poprzez ppp0
Czyli np jesli sie laczymy przez kvpnc do sieci w ktorej adresy lokalne to 192.168.1.X ,to musimy dodac:
- 192.168.1.0/24 Device ppp0 ,Gateway jest niepotrzebny.

Moze to komus pomoze ,bo ja sie uparlem ze nie bede wklepywal z konsoli vpnc + parametry skoro jest ladne rozwiazanie w KDE :)
_________________
Szukajcie a znajdziecie a będzie wam dane.

http://ratujtybet.org/

http://www.freetibet.org/
Back to top
View user's profile Send private message
p1c2u
n00b
n00b


Joined: 16 Feb 2005
Posts: 73
Location: Warsaw/Cracow, Poland

PostPosted: Sat Mar 15, 2008 10:23 am    Post subject: Reply with quote

Też się uparłem że nie będę wklepywał nic w konsolę ale jak narazie nie mogę skonfigurować tego pod Gnome. Może komuś się udało?
_________________
kernel: 2.6.26 | overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT - 5 Hours
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