انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

نویسنده موضوع: من و اوبون‌تو (حل شد)  (دفعات بازدید: 16084 بار)

0 کاربر و 6 مهمان درحال مشاهده موضوع.

آفلاین Daniel

  • Jr. Member
  • *
  • ارسال: 70
  • جنسیت : پسر
من و اوبون‌تو (حل شد)
« : 15 تیر 1387، 07:14 ب‌ظ »
با سلام و عرض ادب
من کمتر از یک هفته هست که اوبون‌تو نصب کردم و سعی دارم زودتر را بیافتم و این ویندوز رو کاملا از روی لب‌تاپم پاک کنم.
فکر می‌کنم اگه همه سوالاتم رو توی همین تاپیک مطرح کنم باعث بشه یک تاپیک مفیدی باشه برای دوستانی که در آینده تازه وارد این دنیای آزاد و دوست داشتنی شدن.
قبل از هر چیز مشخصات لب‌تاپم رو اینجا می‌نویسم که اگه بعدا لازم شد هی تکرار سوال و جواب نشه:
Acer Aspire3000
CPU: Mobile AMD Sempron 2800+ 1800 MHz
Ram: 1GB DDR
Graphic: SIS M760gx 128MB Share
فکر می‌کنم که این مشخصات کافی باشه.
ورژن ابون‌تو هم که نصب کردم 8.04 هست که در صورت وجود آپدیت جدید آپدیت می‌کنم.
« آخرین ویرایش: 01 امرداد 1387، 04:20 ب‌ظ توسط Daniel »
Acer Aspire3000: Mobile AMD Sempron 2800+ 1800 MHz | 1GB DDR | SIS M760GX
Ubuntu 8.04 (Hardy) 2.6.24-20-generic

آفلاین Daniel

  • Jr. Member
  • *
  • ارسال: 70
  • جنسیت : پسر
سوال اول: نصب PPTP
« پاسخ #1 : 15 تیر 1387، 07:26 ب‌ظ »
من برای اینکه بتونم از VPN استفاده کنم با این دستور PPTP رو نصب کردم:
sudo apt-get install pptp-linux
از قسمت Add/Remove هم برنامه VPN Connectin Manager رو نصب کردم و کار را افتاد اما:
ورژن PPTP که نصب شد 1.7.0 هست ولی تا اونجا که من دیدم آخرین ورژن PPTP 1.7.2 هست٬ یه سرچی کردم ولی نتونستم فایل deb این رو پیدا کنم. از اونجایی که PPTP ضعف‌های زیادی داره فکر می‌کنم که باید همیشه از آخرین ورژن استفاده کنیم در این مورد.
البته یک فایل tar.gz از آخرین نسخه دانلود کردم ولی متاسفانه هرچی کشتی گرفتم نتونستم نصب کنم. اگر دوستان فرمت deb از آخرین ورژن سراغ دارن ممنون می‌شم لینک دانلودش رو اینجا بگن. :oops:

با ســـــــــــــپاس
Acer Aspire3000: Mobile AMD Sempron 2800+ 1800 MHz | 1GB DDR | SIS M760GX
Ubuntu 8.04 (Hardy) 2.6.24-20-generic

آفلاین علیرضا طالقانی

  • High Hero Member
  • *
  • ارسال: 2373
  • جنسیت : پسر
  • القدس لنا، والنصر لنا!
    • Take it easy
پاسخ به: من و اوبون‌تو
« پاسخ #2 : 15 تیر 1387، 07:31 ب‌ظ »
http://forum.ubuntu.ir/index.php?topic=5414.msg40171#msg40171
ی نگاهی به این بنداز! روش عمومی ی راه اندازی ی برنامه از سورس
هم باز کردن اش از حالت فشرده! و همن کامپایل
.ShayneIsTheOneWhoIsAlwaysAlone
terminal@world-server:~$ sudo aptitude remove --purge Israel

آفلاین Daniel

  • Jr. Member
  • *
  • ارسال: 70
  • جنسیت : پسر
پاسخ به: سوال اول: نصب PPTP
« پاسخ #3 : 15 تیر 1387، 07:52 ب‌ظ »
با تشکر از جواب شما
فایل آرشیو که من دانلود کردم http://quozl.netrek.org/pptp/pptp-1.7.2.tar.gz هست که توی دسک‌تاپ سیو کردم. بعد از اینکه از حالت آرشیو خارج کردم توی دسک‌تاپ داخل فولدری به اسم pptp-1.7.2 هست. رفتم توی ترمینال و این دستورها رو اجرا کردم:
~$ cd Desktop
~/Desktop$ cd pptp-1.7.2/
~/Desktop/pptp-1.7.2$ make
بعد از اجرای دستور make خروجی که داد این بود:
echo "/* text added by Makefile target config.h */" > config.h
echo "#define PPTP_LINUX_VERSION \"1.7.2\"" >> config.h
echo "#define PPPD_BINARY \"/usr/sbin/pppd\"" >> config.h
gcc -Wall -O0 -g    -c -o pptp.o pptp.c
pptp.c:23:23: error: sys/types.h: No such file or directory
pptp.c:24:24: error: sys/socket.h: No such file or directory
pptp.c:33:17: error: pty.h: No such file or directory
pptp.c:38:24: error: netinet/in.h: No such file or directory
pptp.c:39:23: error: arpa/inet.h: No such file or directory
pptp.c:40:20: error: sys/un.h: No such file or directory
pptp.c:41:19: error: netdb.h: No such file or directory
pptp.c:42:19: error: stdio.h: No such file or directory
pptp.c:43:20: error: string.h: No such file or directory
pptp.c:44:20: error: stdlib.h: No such file or directory
pptp.c:45:20: error: syslog.h: No such file or directory
pptp.c:46:20: error: unistd.h: No such file or directory
pptp.c:47:20: error: signal.h: No such file or directory
pptp.c:48:20: error: setjmp.h: No such file or directory
pptp.c:49:19: error: errno.h: No such file or directory
pptp.c:50:22: error: sys/wait.h: No such file or directory
pptp.c:51:23: error: sys/param.h: No such file or directory
pptp.c:55:20: error: getopt.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from pptp.c:57:
/usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from pptp.c:59:
pptp_callmgr.h:13: warning: ‘struct in_addr’ declared inside parameter list
pptp_callmgr.h:13: warning: its scope is only this definition or declaration, which is probably not what you want
pptp_callmgr.h:13: warning: ‘struct sockaddr_un’ declared inside parameter list
In file included from pptp.c:60:
pptp_gre.h:10: warning: ‘struct in_addr’ declared inside parameter list
pptp_gre.h:11: error: expected ‘)’ before ‘call_id’
pptp_gre.h:18: error: expected specifier-qualifier-list before ‘uint32_t’
pptp_gre.h:25: error: expected specifier-qualifier-list before ‘uint32_t’
pptp.c:63:23: error: sys/prctl.h: No such file or directory
In file included from pptp_quirks.h:23,
                 from pptp.c:68:
pptp_msg.h:85: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:95: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:111: error: expected specifier-qualifier-list before ‘u_int8_t’
pptp_msg.h:118: error: expected specifier-qualifier-list before ‘u_int32_t’
pptp_msg.h:124: error: expected specifier-qualifier-list before ‘u_int32_t’
pptp_msg.h:132: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:148: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:161: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:174: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:185: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:195: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:201: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:211: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:223: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:294: error: expected specifier-qualifier-list before ‘u_int8_t’
In file included from pptp_quirks.h:24,
                 from pptp.c:68:
pptp_ctrl.h:37: error: expected declaration specifiers or ‘...’ before ‘u_int8_t’
pptp_ctrl.h:42: error: expected declaration specifiers or ‘...’ before ‘fd_set’
pptp_ctrl.h:42: error: expected declaration specifiers or ‘...’ before ‘fd_set’
pptp_ctrl.h:44: error: expected declaration specifiers or ‘...’ before ‘fd_set’
pptp_ctrl.h:44: error: expected declaration specifiers or ‘...’ before ‘fd_set’
pptp_ctrl.h:48: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp_ctrl.h:48: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
In file included from pptp.c:69:
pqueue.h:4:18: error: time.h: No such file or directory
pqueue.h:5:22: error: sys/time.h: No such file or directory
In file included from pptp.c:69:
pqueue.h:19: error: field ‘expires’ has incomplete type
pptp.c:86: error: expected declaration specifiers or ‘...’ before ‘pid_t’
pptp.c:86: error: expected declaration specifiers or ‘...’ before ‘pid_t’
pptp.c:87: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp.c:87: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp.c: In function ‘usage’:
pptp.c:93: warning: implicit declaration of function ‘fprintf’
pptp.c:93: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:93: error: ‘stderr’ undeclared (first use in this function)
pptp.c:93: error: (Each undeclared identifier is reported only once
pptp.c:93: error: for each function it appears in.)
pptp.c:128: warning: implicit declaration of function ‘exit’
pptp.c:128: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c: At top level:
pptp.c:134: error: variable ‘localbind’ has initializer but incomplete type
pptp.c:134: error: ‘INADDR_NONE’ undeclared here (not in a function)
pptp.c:134: warning: excess elements in struct initializer
pptp.c:134: warning: (near initialization for ‘localbind’)
pptp.c:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘env’
pptp.c: In function ‘sighandler’:
pptp.c:150: warning: implicit declaration of function ‘siglongjmp’
pptp.c:150: error: ‘env’ undeclared (first use in this function)
pptp.c: In function ‘sigstats’:
pptp.c:156: warning: implicit declaration of function ‘syslog’
pptp.c:156: error: ‘LOG_NOTICE’ undeclared (first use in this function)
pptp.c:158: error: ‘gre_stats_t’ has no member named ‘rx_accepted’
pptp.c:159: error: ‘gre_stats_t’ has no member named ‘rx_lost’
pptp.c:160: error: ‘gre_stats_t’ has no member named ‘rx_underwin’
pptp.c:161: error: ‘gre_stats_t’ has no member named ‘rx_overwin’
pptp.c:162: error: ‘gre_stats_t’ has no member named ‘rx_buffered’
pptp.c:163: error: ‘gre_stats_t’ has no member named ‘rx_errors’
pptp.c:164: error: ‘gre_stats_t’ has no member named ‘rx_truncated’
pptp.c:165: error: ‘gre_stats_t’ has no member named ‘rx_invalid’
pptp.c:166: error: ‘gre_stats_t’ has no member named ‘rx_acks’
pptp.c:167: error: ‘gre_stats_t’ has no member named ‘tx_sent’
pptp.c:168: error: ‘gre_stats_t’ has no member named ‘tx_failed’
pptp.c:169: error: ‘gre_stats_t’ has no member named ‘tx_short’
pptp.c:170: error: ‘gre_stats_t’ has no member named ‘tx_acks’
pptp.c:171: error: ‘gre_stats_t’ has no member named ‘tx_oversize’
pptp.c:172: error: ‘gre_stats_t’ has no member named ‘rtt’
pptp.c: In function ‘main’:
pptp.c:183: error: storage size of ‘inetaddr’ isn’t known
pptp.c:185: error: ‘PATH_MAX’ undeclared (first use in this function)
pptp.c:187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parent_pid’
pptp.c:187: error: ‘parent_pid’ undeclared (first use in this function)
pptp.c:187: error: ‘child_pid’ undeclared (first use in this function)
pptp.c:187: warning: left-hand operand of comma expression has no effect
pptp.c:188: error: ‘u_int16_t’ undeclared (first use in this function)
pptp.c:188: error: expected ‘;’ before ‘call_id’
pptp.c:194: error: ‘NULL’ undeclared (first use in this function)
pptp.c:199: error: array type has incomplete element type
pptp.c:219: warning: implicit declaration of function ‘getopt_long’
pptp.c:226: warning: implicit declaration of function ‘strncpy’
pptp.c:226: warning: incompatible implicit declaration of built-in function ‘strncpy’
pptp.c:226: error: ‘optarg’ undeclared (first use in this function)
pptp.c:239: warning: implicit declaration of function ‘atof’
pptp.c:242: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:242: error: ‘stderr’ undeclared (first use in this function)
pptp.c:248: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:253: warning: implicit declaration of function ‘strdup’
pptp.c:253: warning: incompatible implicit declaration of built-in function ‘strdup’
pptp.c:255: warning: implicit declaration of function ‘inet_pton’
pptp.c:255: error: ‘AF_INET’ undeclared (first use in this function)
pptp.c:256: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:259: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:262: warning: implicit declaration of function ‘atoi’
pptp.c:270: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:272: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:279: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:281: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:285: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:287: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:287: error: ‘stdout’ undeclared (first use in this function)
pptp.c:288: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:199: warning: unused variable ‘long_options’
pptp.c:304: error: ‘optind’ undeclared (first use in this function)
pptp.c:308: error: invalid use of undefined type ‘struct in_addr’
pptp.c:319: error: type of formal parameter 1 is incomplete
pptp.c:321: warning: implicit declaration of function ‘close’
pptp.c:327: warning: implicit declaration of function ‘openpty’
pptp.c:334: warning: implicit declaration of function ‘signal’
pptp.c:334: error: ‘SIGUSR1’ undeclared (first use in this function)
pptp.c:335: error: ‘SIGCHLD’ undeclared (first use in this function)
pptp.c:336: warning: implicit declaration of function ‘getpid’
pptp.c:337: warning: implicit declaration of function ‘fork’
pptp.c:342: error: ‘SIG_DFL’ undeclared (first use in this function)
pptp.c:353: warning: implicit declaration of function ‘pause’
pptp.c:360: warning: implicit declaration of function ‘perror’
pptp.c:364: error: ‘STDIN_FILENO’ undeclared (first use in this function)
pptp.c:366: error: ‘STDOUT_FILENO’ undeclared (first use in this function)
pptp.c:376: error: type of formal parameter 1 is incomplete
pptp.c:379: error: ‘call_id’ undeclared (first use in this function)
pptp.c:379: error: ‘peer_call_id’ undeclared (first use in this function)
pptp.c:379: error: too many arguments to function ‘get_call_id’
pptp.c:383: warning: implicit declaration of function ‘kill’
pptp.c:384: warning: implicit declaration of function ‘sleep’
pptp.c:386: warning: implicit declaration of function ‘daemon’
pptp.c:391: error: ‘STDERR_FILENO’ undeclared (first use in this function)
pptp.c:394: warning: implicit declaration of function ‘ttyname’
pptp.c:394: warning: initialization makes pointer from integer without a cast
pptp.c:395: warning: implicit declaration of function ‘snprintf’
pptp.c:395: warning: incompatible implicit declaration of built-in function ‘snprintf’
pptp.c:401: warning: implicit declaration of function ‘inststr’
pptp.c:403: warning: implicit declaration of function ‘sigsetjmp’
pptp.c:403: error: ‘env’ undeclared (first use in this function)
pptp.c:405: error: ‘SIGINT’ undeclared (first use in this function)
pptp.c:406: error: ‘SIGTERM’ undeclared (first use in this function)
pptp.c:407: error: ‘SIGKILL’ undeclared (first use in this function)
pptp.c:412: warning: implicit declaration of function ‘pptp_gre_copy’
pptp.c:420: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:185: warning: unused variable ‘ttydev’
pptp.c:183: warning: unused variable ‘inetaddr’
pptp.c: At top level:
pptp.c:425: error: return type is an incomplete type
pptp.c:425: error: conflicting types for ‘get_ip_address’
pptp.c:83: error: previous declaration of ‘get_ip_address’ was here
pptp.c: In function ‘get_ip_address’:
pptp.c:426: error: storage size of ‘retval’ isn’t known
pptp.c:427: warning: implicit declaration of function ‘gethostbyname’
pptp.c:427: warning: initialization makes pointer from integer without a cast
pptp.c:428: error: ‘NULL’ undeclared (first use in this function)
pptp.c:429: error: ‘h_errno’ undeclared (first use in this function)
pptp.c:429: error: ‘HOST_NOT_FOUND’ undeclared (first use in this function)
pptp.c:431: error: ‘NO_ADDRESS’ undeclared (first use in this function)
pptp.c:436: error: dereferencing pointer to incomplete type
pptp.c:436: error: ‘AF_INET’ undeclared (first use in this function)
pptp.c:438: warning: implicit declaration of function ‘memcpy’
pptp.c:438: warning: incompatible implicit declaration of built-in function ‘memcpy’
pptp.c:438: error: dereferencing pointer to incomplete type
pptp.c:439: warning: ‘return’ with a value, in function returning void
pptp.c:426: warning: unused variable ‘retval’
pptp.c: At top level:
pptp.c:443: error: parameter 1 (‘inetaddr’) has incomplete type
pptp.c: In function ‘open_callmgr’:
pptp.c:447: error: storage size of ‘where’ isn’t known
pptp.c:450: error: ‘pid_t’ undeclared (first use in this function)
pptp.c:450: error: expected ‘;’ before ‘pid’
pptp.c:453: warning: implicit declaration of function ‘socket’
pptp.c:453: error: ‘AF_UNIX’ undeclared (first use in this function)
pptp.c:453: error: ‘SOCK_STREAM’ undeclared (first use in this function)
pptp.c:454: warning: implicit declaration of function ‘strerror’
pptp.c:454: error: ‘errno’ undeclared (first use in this function)
pptp.c:454: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
pptp.c:457: error: type of formal parameter 2 is incomplete
pptp.c:457: error: ‘localbind’ has an incomplete type
pptp.c:457: error: type of formal parameter 3 is incomplete
pptp.c:459: warning: implicit declaration of function ‘connect’
pptp.c:462: warning: implicit declaration of function ‘unlink’
pptp.c:465: error: ‘pid’ undeclared (first use in this function)
pptp.c:474: error: type of formal parameter 1 is incomplete
pptp.c:477: warning: implicit declaration of function ‘waitpid’
pptp.c:447: warning: unused variable ‘where’
pptp.c: At top level:
pptp.c:492: error: parameter 1 (‘inetaddr’) has incomplete type
pptp.c: In function ‘launch_callmgr’:
pptp.c:495: warning: implicit declaration of function ‘inet_ntoa’
pptp.c:495: warning: initialization makes pointer from integer without a cast
pptp.c:497: warning: incompatible implicit declaration of built-in function ‘snprintf’
pptp.c:505: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c: At top level:
pptp.c:510: error: expected declaration specifiers or ‘...’ before ‘pid_t’
pptp.c:510: error: expected declaration specifiers or ‘...’ before ‘pid_t’
pptp.c:511: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp.c:511: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp.c: In function ‘get_call_id’:
pptp.c:513: error: ‘u_int16_t’ undeclared (first use in this function)
pptp.c:513: error: expected ‘;’ before ‘m_call_id’
pptp.c:519: warning: implicit declaration of function ‘write’
pptp.c:519: error: ‘gre’ undeclared (first use in this function)
pptp.c:522: error: ‘pppd’ undeclared (first use in this function)
pptp.c:525: warning: implicit declaration of function ‘read’
pptp.c:525: error: ‘m_call_id’ undeclared (first use in this function)
pptp.c:528: error: ‘m_peer_call_id’ undeclared (first use in this function)
pptp.c:540: error: ‘call_id’ undeclared (first use in this function)
pptp.c:541: error: ‘peer_call_id’ undeclared (first use in this function)
pptp.c: In function ‘launch_pppd’:
pptp.c:565: error: ‘NULL’ undeclared (first use in this function)
pptp.c:566: warning: implicit declaration of function ‘execvp’
make: *** [pptp.o] Error 1
چون اجرای دستور make با اررور مواجه شده نمی‌شه دستور بعدی که make install هست رو اجرا کنم.

با ســـــــــــــــــپاس
Acer Aspire3000: Mobile AMD Sempron 2800+ 1800 MHz | 1GB DDR | SIS M760GX
Ubuntu 8.04 (Hardy) 2.6.24-20-generic

آفلاین علیرضا طالقانی

  • High Hero Member
  • *
  • ارسال: 2373
  • جنسیت : پسر
  • القدس لنا، والنصر لنا!
    • Take it easy
پاسخ به: من و اوبون‌تو
« پاسخ #4 : 15 تیر 1387، 08:21 ب‌ظ »
$ ./configure
این رو قبل از make باید صادر کنی!
همچنین gcc رو هم نصب کن
$ sudo apt-get install gcc
.ShayneIsTheOneWhoIsAlwaysAlone
terminal@world-server:~$ sudo aptitude remove --purge Israel

آفلاین Daniel

  • Jr. Member
  • *
  • ارسال: 70
  • جنسیت : پسر
پاسخ به: من و اوبون‌تو
« پاسخ #5 : 15 تیر 1387، 09:01 ب‌ظ »
gcc نصب بود٬ ولی وقتی این کامند که دادین رو اجرا می‌کنم خروجی این رو می‌ده:
bash: ./configure: No such file or directory

با ســــ‍ـــپاس
Acer Aspire3000: Mobile AMD Sempron 2800+ 1800 MHz | 1GB DDR | SIS M760GX
Ubuntu 8.04 (Hardy) 2.6.24-20-generic

آفلاین علیرضا طالقانی

  • High Hero Member
  • *
  • ارسال: 2373
  • جنسیت : پسر
  • القدس لنا، والنصر لنا!
    • Take it easy
پاسخ به: من و اوبون‌تو
« پاسخ #6 : 15 تیر 1387، 09:11 ب‌ظ »
داخل اون بسته ای که دانلوذ کردی ! باید ی Readme باشه که روش دقیق نصب رو گفته! و یا در خود سایت pptp!  ی بررسی کن!‌ممکنه روش دیگه داشته باشه!
اگه گیر نیاوردی! بگو تا بگردم راه اش رو برات پیدا کنم!
.ShayneIsTheOneWhoIsAlwaysAlone
terminal@world-server:~$ sudo aptitude remove --purge Israel

آفلاین Daniel

  • Jr. Member
  • *
  • ارسال: 70
  • جنسیت : پسر
پاسخ به: من و اوبون‌تو
« پاسخ #7 : 15 تیر 1387، 09:30 ب‌ظ »
داخل اون بسته ای که دانلوذ کردی ! باید ی Readme باشه که روش دقیق نصب رو گفته! و یا در خود سایت pptp!  ی بررسی کن!‌ممکنه روش دیگه داشته باشه!
اگه گیر نیاوردی! بگو تا بگردم راه اش رو برات پیدا کنم!
یک فایل هست به اسم install:
Installation Instructions - Brief

    1.  install pppd (with MPPE if you require it),
    2.  if pppd is not in /usr/sbin, edit Makefile, variable PPPD,
    3.  'make'
    4.  'make install'


Installation Instructions - Detailed

    1.  install PPP, and make sure it is working.

        On most distributions, use the package called ppp or pppd.

        If your PPTP server requires MPPE, make sure the pppd program
        has been built with MPPE and MS-CHAP support.  PPP from
        version 2.4.2 onwards has this support.  PPP may require
        kernel support for MPPE, which may require patching your
        kernel.

    2.  verify that the pppd program is in the /usr/sbin/ directory.

        On some distributions, it is in /usr/bin, or somewhere else.
        If it isn't in the default directory, edit the Makefile, and
        change the PPPD variable to point at the pppd program.

        You may even want to run a separate pppd program with MPPE
        support.

    3.  compile

        Type 'make'.  This should generate the 'pptp' executable.

    4.  install binaries

Type 'make install' to have the program and the manual page
installed.


Further information

    http://pptpclient.sourceforge.net/


$Id: INSTALL,v 1.2 2003/01/15 05:29:20 quozl Exp $

فایل pppd در مسیر گفته شده هم موجود هست ](*,)

با ســــــــــــپاس
Acer Aspire3000: Mobile AMD Sempron 2800+ 1800 MHz | 1GB DDR | SIS M760GX
Ubuntu 8.04 (Hardy) 2.6.24-20-generic

آفلاین علیرضا طالقانی

  • High Hero Member
  • *
  • ارسال: 2373
  • جنسیت : پسر
  • القدس لنا، والنصر لنا!
    • Take it easy
پاسخ به: من و اوبون‌تو
« پاسخ #8 : 15 تیر 1387، 10:01 ب‌ظ »
خب پس!‌ نصب هستش!‌ (البته نسخه اش قدیمی ی) ;)
می تونی قبلی رو با دستور
$ sudo apt-get remove --purge pptpd pptp-linux
حذف کنی و بعد بر اساس همون فایل install عمل کنی!    sudo make و sudo make install  براش کافیت میکنه و نیازی به configure نداره!
.ShayneIsTheOneWhoIsAlwaysAlone
terminal@world-server:~$ sudo aptitude remove --purge Israel

آفلاین HardyLaity

  • Hero Member
  • *
  • ارسال: 730
پاسخ به: من و اوبون‌تو
« پاسخ #9 : 15 تیر 1387، 10:15 ب‌ظ »
به گمانم شما مشکلتون بایستی از user باشه یه user جدید بسازید و آزمایش کنید

آفلاین Daniel

  • Jr. Member
  • *
  • ارسال: 70
  • جنسیت : پسر
پاسخ به: سوال اول: نصب PPTP
« پاسخ #10 : 16 تیر 1387، 12:59 ق‌ظ »
خب پس!‌ نصب هستش!‌ (البته نسخه اش قدیمی ی) ;)
می تونی قبلی رو با دستور
$ sudo apt-get remove --purge pptpd pptp-linux
حذف کنی و بعد بر اساس همون فایل install عمل کنی!    sudo make و sudo make install  براش کافیت میکنه و نیازی به configure نداره!


مشکل همینجاست٬ قبل از اینکه من ورژن قدیمی‌تر رو نصب کنم کلی با این پک کشتی گرفتم ولی نصب نشد برای همین رفتم سراغ این ورژن. باز هم با دستوری که لطف کردین پاک کردم و زمانی‌که sudo make رو اجرا می‌کنم این خروجی رو می‌ده و در نهایت بازم نصب نمی‌شه! ](*,) ](*,)
~$ cd Desktop
~/Desktop$ cd pptp-1.7.2/
~/Desktop/pptp-1.7.2$ sudo make
gcc -Wall -O0 -g    -c -o pptp.o pptp.c
pptp.c:23:23: error: sys/types.h: No such file or directory
pptp.c:24:24: error: sys/socket.h: No such file or directory
pptp.c:33:17: error: pty.h: No such file or directory
pptp.c:38:24: error: netinet/in.h: No such file or directory
pptp.c:39:23: error: arpa/inet.h: No such file or directory
pptp.c:40:20: error: sys/un.h: No such file or directory
pptp.c:41:19: error: netdb.h: No such file or directory
pptp.c:42:19: error: stdio.h: No such file or directory
pptp.c:43:20: error: string.h: No such file or directory
pptp.c:44:20: error: stdlib.h: No such file or directory
pptp.c:45:20: error: syslog.h: No such file or directory
pptp.c:46:20: error: unistd.h: No such file or directory
pptp.c:47:20: error: signal.h: No such file or directory
pptp.c:48:20: error: setjmp.h: No such file or directory
pptp.c:49:19: error: errno.h: No such file or directory
pptp.c:50:22: error: sys/wait.h: No such file or directory
pptp.c:51:23: error: sys/param.h: No such file or directory
pptp.c:55:20: error: getopt.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:11,
                 from pptp.c:57:
/usr/lib/gcc/i486-linux-gnu/4.2.3/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from pptp.c:59:
pptp_callmgr.h:13: warning: ‘struct in_addr’ declared inside parameter list
pptp_callmgr.h:13: warning: its scope is only this definition or declaration, which is probably not what you want
pptp_callmgr.h:13: warning: ‘struct sockaddr_un’ declared inside parameter list
In file included from pptp.c:60:
pptp_gre.h:10: warning: ‘struct in_addr’ declared inside parameter list
pptp_gre.h:11: error: expected ‘)’ before ‘call_id’
pptp_gre.h:18: error: expected specifier-qualifier-list before ‘uint32_t’
pptp_gre.h:25: error: expected specifier-qualifier-list before ‘uint32_t’
pptp.c:63:23: error: sys/prctl.h: No such file or directory
In file included from pptp_quirks.h:23,
                 from pptp.c:68:
pptp_msg.h:85: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:95: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:111: error: expected specifier-qualifier-list before ‘u_int8_t’
pptp_msg.h:118: error: expected specifier-qualifier-list before ‘u_int32_t’
pptp_msg.h:124: error: expected specifier-qualifier-list before ‘u_int32_t’
pptp_msg.h:132: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:148: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:161: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:174: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:185: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:195: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:201: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:211: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:223: error: expected specifier-qualifier-list before ‘u_int16_t’
pptp_msg.h:294: error: expected specifier-qualifier-list before ‘u_int8_t’
In file included from pptp_quirks.h:24,
                 from pptp.c:68:
pptp_ctrl.h:37: error: expected declaration specifiers or ‘...’ before ‘u_int8_t’
pptp_ctrl.h:42: error: expected declaration specifiers or ‘...’ before ‘fd_set’
pptp_ctrl.h:42: error: expected declaration specifiers or ‘...’ before ‘fd_set’
pptp_ctrl.h:44: error: expected declaration specifiers or ‘...’ before ‘fd_set’
pptp_ctrl.h:44: error: expected declaration specifiers or ‘...’ before ‘fd_set’
pptp_ctrl.h:48: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp_ctrl.h:48: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
In file included from pptp.c:69:
pqueue.h:4:18: error: time.h: No such file or directory
pqueue.h:5:22: error: sys/time.h: No such file or directory
In file included from pptp.c:69:
pqueue.h:19: error: field ‘expires’ has incomplete type
pptp.c:86: error: expected declaration specifiers or ‘...’ before ‘pid_t’
pptp.c:86: error: expected declaration specifiers or ‘...’ before ‘pid_t’
pptp.c:87: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp.c:87: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp.c: In function ‘usage’:
pptp.c:93: warning: implicit declaration of function ‘fprintf’
pptp.c:93: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:93: error: ‘stderr’ undeclared (first use in this function)
pptp.c:93: error: (Each undeclared identifier is reported only once
pptp.c:93: error: for each function it appears in.)
pptp.c:128: warning: implicit declaration of function ‘exit’
pptp.c:128: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c: At top level:
pptp.c:134: error: variable ‘localbind’ has initializer but incomplete type
pptp.c:134: error: ‘INADDR_NONE’ undeclared here (not in a function)
pptp.c:134: warning: excess elements in struct initializer
pptp.c:134: warning: (near initialization for ‘localbind’)
pptp.c:145: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘env’
pptp.c: In function ‘sighandler’:
pptp.c:150: warning: implicit declaration of function ‘siglongjmp’
pptp.c:150: error: ‘env’ undeclared (first use in this function)
pptp.c: In function ‘sigstats’:
pptp.c:156: warning: implicit declaration of function ‘syslog’
pptp.c:156: error: ‘LOG_NOTICE’ undeclared (first use in this function)
pptp.c:158: error: ‘gre_stats_t’ has no member named ‘rx_accepted’
pptp.c:159: error: ‘gre_stats_t’ has no member named ‘rx_lost’
pptp.c:160: error: ‘gre_stats_t’ has no member named ‘rx_underwin’
pptp.c:161: error: ‘gre_stats_t’ has no member named ‘rx_overwin’
pptp.c:162: error: ‘gre_stats_t’ has no member named ‘rx_buffered’
pptp.c:163: error: ‘gre_stats_t’ has no member named ‘rx_errors’
pptp.c:164: error: ‘gre_stats_t’ has no member named ‘rx_truncated’
pptp.c:165: error: ‘gre_stats_t’ has no member named ‘rx_invalid’
pptp.c:166: error: ‘gre_stats_t’ has no member named ‘rx_acks’
pptp.c:167: error: ‘gre_stats_t’ has no member named ‘tx_sent’
pptp.c:168: error: ‘gre_stats_t’ has no member named ‘tx_failed’
pptp.c:169: error: ‘gre_stats_t’ has no member named ‘tx_short’
pptp.c:170: error: ‘gre_stats_t’ has no member named ‘tx_acks’
pptp.c:171: error: ‘gre_stats_t’ has no member named ‘tx_oversize’
pptp.c:172: error: ‘gre_stats_t’ has no member named ‘rtt’
pptp.c: In function ‘main’:
pptp.c:183: error: storage size of ‘inetaddr’ isn’t known
pptp.c:185: error: ‘PATH_MAX’ undeclared (first use in this function)
pptp.c:187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parent_pid’
pptp.c:187: error: ‘parent_pid’ undeclared (first use in this function)
pptp.c:187: error: ‘child_pid’ undeclared (first use in this function)
pptp.c:187: warning: left-hand operand of comma expression has no effect
pptp.c:188: error: ‘u_int16_t’ undeclared (first use in this function)
pptp.c:188: error: expected ‘;’ before ‘call_id’
pptp.c:194: error: ‘NULL’ undeclared (first use in this function)
pptp.c:199: error: array type has incomplete element type
pptp.c:219: warning: implicit declaration of function ‘getopt_long’
pptp.c:226: warning: implicit declaration of function ‘strncpy’
pptp.c:226: warning: incompatible implicit declaration of built-in function ‘strncpy’
pptp.c:226: error: ‘optarg’ undeclared (first use in this function)
pptp.c:239: warning: implicit declaration of function ‘atof’
pptp.c:242: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:242: error: ‘stderr’ undeclared (first use in this function)
pptp.c:248: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:253: warning: implicit declaration of function ‘strdup’
pptp.c:253: warning: incompatible implicit declaration of built-in function ‘strdup’
pptp.c:255: warning: implicit declaration of function ‘inet_pton’
pptp.c:255: error: ‘AF_INET’ undeclared (first use in this function)
pptp.c:256: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:259: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:262: warning: implicit declaration of function ‘atoi’
pptp.c:270: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:272: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:279: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:281: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:285: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:287: warning: incompatible implicit declaration of built-in function ‘fprintf’
pptp.c:287: error: ‘stdout’ undeclared (first use in this function)
pptp.c:288: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:199: warning: unused variable ‘long_options’
pptp.c:304: error: ‘optind’ undeclared (first use in this function)
pptp.c:308: error: invalid use of undefined type ‘struct in_addr’
pptp.c:319: error: type of formal parameter 1 is incomplete
pptp.c:321: warning: implicit declaration of function ‘close’
pptp.c:327: warning: implicit declaration of function ‘openpty’
pptp.c:334: warning: implicit declaration of function ‘signal’
pptp.c:334: error: ‘SIGUSR1’ undeclared (first use in this function)
pptp.c:335: error: ‘SIGCHLD’ undeclared (first use in this function)
pptp.c:336: warning: implicit declaration of function ‘getpid’
pptp.c:337: warning: implicit declaration of function ‘fork’
pptp.c:342: error: ‘SIG_DFL’ undeclared (first use in this function)
pptp.c:353: warning: implicit declaration of function ‘pause’
pptp.c:360: warning: implicit declaration of function ‘perror’
pptp.c:364: error: ‘STDIN_FILENO’ undeclared (first use in this function)
pptp.c:366: error: ‘STDOUT_FILENO’ undeclared (first use in this function)
pptp.c:376: error: type of formal parameter 1 is incomplete
pptp.c:379: error: ‘call_id’ undeclared (first use in this function)
pptp.c:379: error: ‘peer_call_id’ undeclared (first use in this function)
pptp.c:379: error: too many arguments to function ‘get_call_id’
pptp.c:383: warning: implicit declaration of function ‘kill’
pptp.c:384: warning: implicit declaration of function ‘sleep’
pptp.c:386: warning: implicit declaration of function ‘daemon’
pptp.c:391: error: ‘STDERR_FILENO’ undeclared (first use in this function)
pptp.c:394: warning: implicit declaration of function ‘ttyname’
pptp.c:394: warning: initialization makes pointer from integer without a cast
pptp.c:395: warning: implicit declaration of function ‘snprintf’
pptp.c:395: warning: incompatible implicit declaration of built-in function ‘snprintf’
pptp.c:401: warning: implicit declaration of function ‘inststr’
pptp.c:403: warning: implicit declaration of function ‘sigsetjmp’
pptp.c:403: error: ‘env’ undeclared (first use in this function)
pptp.c:405: error: ‘SIGINT’ undeclared (first use in this function)
pptp.c:406: error: ‘SIGTERM’ undeclared (first use in this function)
pptp.c:407: error: ‘SIGKILL’ undeclared (first use in this function)
pptp.c:412: warning: implicit declaration of function ‘pptp_gre_copy’
pptp.c:420: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c:185: warning: unused variable ‘ttydev’
pptp.c:183: warning: unused variable ‘inetaddr’
pptp.c: At top level:
pptp.c:425: error: return type is an incomplete type
pptp.c:425: error: conflicting types for ‘get_ip_address’
pptp.c:83: error: previous declaration of ‘get_ip_address’ was here
pptp.c: In function ‘get_ip_address’:
pptp.c:426: error: storage size of ‘retval’ isn’t known
pptp.c:427: warning: implicit declaration of function ‘gethostbyname’
pptp.c:427: warning: initialization makes pointer from integer without a cast
pptp.c:428: error: ‘NULL’ undeclared (first use in this function)
pptp.c:429: error: ‘h_errno’ undeclared (first use in this function)
pptp.c:429: error: ‘HOST_NOT_FOUND’ undeclared (first use in this function)
pptp.c:431: error: ‘NO_ADDRESS’ undeclared (first use in this function)
pptp.c:436: error: dereferencing pointer to incomplete type
pptp.c:436: error: ‘AF_INET’ undeclared (first use in this function)
pptp.c:438: warning: implicit declaration of function ‘memcpy’
pptp.c:438: warning: incompatible implicit declaration of built-in function ‘memcpy’
pptp.c:438: error: dereferencing pointer to incomplete type
pptp.c:439: warning: ‘return’ with a value, in function returning void
pptp.c:426: warning: unused variable ‘retval’
pptp.c: At top level:
pptp.c:443: error: parameter 1 (‘inetaddr’) has incomplete type
pptp.c: In function ‘open_callmgr’:
pptp.c:447: error: storage size of ‘where’ isn’t known
pptp.c:450: error: ‘pid_t’ undeclared (first use in this function)
pptp.c:450: error: expected ‘;’ before ‘pid’
pptp.c:453: warning: implicit declaration of function ‘socket’
pptp.c:453: error: ‘AF_UNIX’ undeclared (first use in this function)
pptp.c:453: error: ‘SOCK_STREAM’ undeclared (first use in this function)
pptp.c:454: warning: implicit declaration of function ‘strerror’
pptp.c:454: error: ‘errno’ undeclared (first use in this function)
pptp.c:454: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
pptp.c:457: error: type of formal parameter 2 is incomplete
pptp.c:457: error: ‘localbind’ has an incomplete type
pptp.c:457: error: type of formal parameter 3 is incomplete
pptp.c:459: warning: implicit declaration of function ‘connect’
pptp.c:462: warning: implicit declaration of function ‘unlink’
pptp.c:465: error: ‘pid’ undeclared (first use in this function)
pptp.c:474: error: type of formal parameter 1 is incomplete
pptp.c:477: warning: implicit declaration of function ‘waitpid’
pptp.c:447: warning: unused variable ‘where’
pptp.c: At top level:
pptp.c:492: error: parameter 1 (‘inetaddr’) has incomplete type
pptp.c: In function ‘launch_callmgr’:
pptp.c:495: warning: implicit declaration of function ‘inet_ntoa’
pptp.c:495: warning: initialization makes pointer from integer without a cast
pptp.c:497: warning: incompatible implicit declaration of built-in function ‘snprintf’
pptp.c:505: warning: incompatible implicit declaration of built-in function ‘exit’
pptp.c: At top level:
pptp.c:510: error: expected declaration specifiers or ‘...’ before ‘pid_t’
pptp.c:510: error: expected declaration specifiers or ‘...’ before ‘pid_t’
pptp.c:511: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp.c:511: error: expected declaration specifiers or ‘...’ before ‘u_int16_t’
pptp.c: In function ‘get_call_id’:
pptp.c:513: error: ‘u_int16_t’ undeclared (first use in this function)
pptp.c:513: error: expected ‘;’ before ‘m_call_id’
pptp.c:519: warning: implicit declaration of function ‘write’
pptp.c:519: error: ‘gre’ undeclared (first use in this function)
pptp.c:522: error: ‘pppd’ undeclared (first use in this function)
pptp.c:525: warning: implicit declaration of function ‘read’
pptp.c:525: error: ‘m_call_id’ undeclared (first use in this function)
pptp.c:528: error: ‘m_peer_call_id’ undeclared (first use in this function)
pptp.c:540: error: ‘call_id’ undeclared (first use in this function)
pptp.c:541: error: ‘peer_call_id’ undeclared (first use in this function)
pptp.c: In function ‘launch_pppd’:
pptp.c:565: error: ‘NULL’ undeclared (first use in this function)
pptp.c:566: warning: implicit declaration of function ‘execvp’
make: *** [pptp.o] Error 1

با ســــــــــ‍پاس
Acer Aspire3000: Mobile AMD Sempron 2800+ 1800 MHz | 1GB DDR | SIS M760GX
Ubuntu 8.04 (Hardy) 2.6.24-20-generic

آفلاین Daniel

  • Jr. Member
  • *
  • ارسال: 70
  • جنسیت : پسر
پاسخ به: من و اوبون‌تو
« پاسخ #11 : 16 تیر 1387، 01:01 ق‌ظ »
به گمانم شما مشکلتون بایستی از user باشه یه user جدید بسازید و آزمایش کنید

پیشنهاد شما رو هم تست کردم ولی بازهم این ورژن نصب نشد! ](*,) ](*,)
Acer Aspire3000: Mobile AMD Sempron 2800+ 1800 MHz | 1GB DDR | SIS M760GX
Ubuntu 8.04 (Hardy) 2.6.24-20-generic

آفلاین HardyLaity

  • Hero Member
  • *
  • ارسال: 730
پاسخ به: من و اوبون‌تو
« پاسخ #12 : 16 تیر 1387، 01:23 ب‌ظ »
به گمانم شما مشکلتون بایستی از user باشه یه user جدید بسازید و آزمایش کنید

پیشنهاد شما رو هم تست کردم ولی بازهم این ورژن نصب نشد! ](*,) ](*,)

از طریق rpm هم آزمایش کنید 

http://sourceforge.net/project/showfiles.php?group_id=33063

آفلاین Daniel

  • Jr. Member
  • *
  • ارسال: 70
  • جنسیت : پسر
پاسخ به: من و اوبون‌تو
« پاسخ #13 : 16 تیر 1387، 01:33 ب‌ظ »
به گمانم شما مشکلتون بایستی از user باشه یه user جدید بسازید و آزمایش کنید

پیشنهاد شما رو هم تست کردم ولی بازهم این ورژن نصب نشد! ](*,) ](*,)

از طریق rpm هم آزمایش کنید 

http://sourceforge.net/project/showfiles.php?group_id=33063

سلام
من فایل رو دانلود کردم٬ اگه امکان داره نحوه نصب از طریق rpm رو توضیح بدید.

با ســــــــــپاس
Acer Aspire3000: Mobile AMD Sempron 2800+ 1800 MHz | 1GB DDR | SIS M760GX
Ubuntu 8.04 (Hardy) 2.6.24-20-generic

آفلاین علیرضا طالقانی

  • High Hero Member
  • *
  • ارسال: 2373
  • جنسیت : پسر
  • القدس لنا، والنصر لنا!
    • Take it easy
پاسخ به: من و اوبون‌تو
« پاسخ #14 : 16 تیر 1387، 01:38 ب‌ظ »
???
من که متوجه ارور اش نشدم!  شاید از هدر ها باشه! یکمی صبر کنید تا دوستان دیگه هم ببرسی کنند.
.ShayneIsTheOneWhoIsAlwaysAlone
terminal@world-server:~$ sudo aptitude remove --purge Israel