Connecting from public ports / Dormitories
|
Notes:
|
Step | |
|
Step |
Contents of ifcfg-eth0
|
|
Step |
Contents of pap-secrets:
|
|
Step |
Contents of resolv.conf:
|
|
Step |
# route del -net 0.0.0.0
|
|
Step |
# pptp 10.X.0.1 debug user "user%ra" remotename "10.X.0.1" defaultroute mtu 1452 mru 1452 noauth
|
|
Viewing the connection configuration |
# ifconfig eth0 Link encap:Ethernet HWaddr 00:L0:BZ:T3:R0:00 inet addr:10.0.0.221 Bcast:10.0.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:19094 errors:0 dropped:0 overruns:0 frame:0 TX packets:28766 errors:0 dropped:0 overruns:0 carrier:0 collisions:5 txqueuelen:100 RX bytes:21048177 (20.0 Mb) TX bytes:2125100 (2.0 Mb) Interrupt:10 Base address:0x4000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 >UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:22 errors:0 dropped:0 overruns:0 frame:0 TX packets:22 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1302 (1.2 Kb) TX bytes:1302 (1.2 Kb) ppp0 Link encap:Point-to-Point Protocol inet addr:200.32.10.125 P-t-P:200.32.10.254 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1452 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:58 (58.0 b) TX bytes:92 (92.0 b)
|
|
Viewing the routing table | # route -v Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface x59.dialin.huji * 255.255.255.0 UH 0 0 0 ppp0
|
|
End the connection |
# killall pppd
|
|
Last updated: 27/07/2011 |