المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : برنامج cnet network simulator



الواثقة بالله
20-02-2012, 16:37
السلام عليكم ورحمة الله وبركاته أعضاء عرب هاردوير
بصراحة عندي مشكلة واجهتني في تنزيل برنامج cnet network simulator
وقلت مالها إلا أنتم ؟
هذا البرنامج هو محاكي للشبكة وطبعا ما يشتغل على على نظام لينكس
أنا منزلة اوبنتو11.10 على veirtualBox
ونزلت ملف البرنامج من موقعه
https://www.csse.uwa.edu.au/cnet/install.html
المهم إني لما سويت الخطوات كان يطلع لي error
انا فكيت الضغط وبعدين نزلت tcl/tk8.5 package
ولما سويت الأمر make طلعع لي خطأ
tcltkfunction .h :fatel error tcl.h:no such file or directory
انا مبتدئة في استخدام اللينكس لذلك أرجو توضيح الخطوات بالتفصيل:confused:
وجزاكم الله خير على اللي هذا الموقع اللي استفدت منه كثير ..

الواثقة بالله
04-03-2012, 01:40
معقولة ما فيه أحد يعرف عن هذا البرنامج ؟
هو مو صعب بس انا واجهتني مشاكل التثبيت ومحتاجة البرنامج ضروري
أرجو من لديه أي خلفية عن هذا الموضوع مساعدتي فأنا مبتدئة في اللينكس

شاكرة ومقدرة لكل من يتعاون معي
وجزاكم الله خير .......

الواثقة بالله
04-03-2012, 20:46
بليز محتاجة البرنامج يشتغل ضروري عشان ابغى اطبق عليه
فين المشكلة بالضبط
انا منزلته على اوبنتو منصب على virtualBox
ارجو من لديه خبرة في هذا الموضوع الرد وتوضيح المشكلة
وشكرا..........

black007
04-03-2012, 20:58
الصراحه ليس لدى اى خبرات سابقه مع اللينكس
عموما ساقوم بنقل الموضوع لقسم انظمه التشغيل نظام Linux (https://arabhardware.net/forum/forumdisplay.php?f=65) ربما تجدى المساعده هناك

الواثقة بالله
04-03-2012, 21:52
مشكور أخوي بس ان شاء الله أحصل معلومات عنه بصراحه ما فيه اي مصادر عربية عن هذا البرنامج
وانا لسا مبتدئة في اللينكس
اتوقع اي خبير في اللينكس ما راح يجد مشكلة في تثبيته
ويا ريت يوضح لي بالضبط الطريقة ..
وجزاكم الله خير ...

الواثقة بالله
04-03-2012, 22:42
أنا غيرت هذا السطر اللي في ملف Makefile في مجلد src


C99 = gcc -std=c99 -Wall -Werror -pedanticبهذا السطر

C99 = gcc -std=c99 -Wall -Werror -pedantic -I/usr/include/tcl/وغيرت هذا الجزء في نفس الفايل

#XLIBDIRS = -L/usr/X11R6/libXLIBS = -ltcl8.5 -ltk8.5 -lX11# or you may need something like:#XLIBS = -ltcl -ltk -lX11#بهذاا الجزء




#XLIBDIRS = -L/usr/X11R6/lib#XLIBS = -ltcl8.5 -ltk8.5 -lX11# or you may need something like:XLIBS = -ltcl -ltk -lX11#

لكن يظهر لي هذا الخطأ


root@samah:/home/samah/Downloads/cnet-3.2.3# make

cd src && make
make[1]: Entering directory `/home/samah/Downloads/cnet-3.2.3/src'
make[2]: Entering directory `/home/samah/Downloads/cnet-3.2.3/src'
gcc -std=c99 -Wall -Werror -pedantic -I/usr/include/tcl/ -O3 -fPIC -c ipod.c
ipod.c: In function ‘catfile’:
ipod.c:90:9: error: variable ‘w’ set but not used [-Werror=unused-but-set-variable]
ipod.c: In function ‘send2remote’:
ipod.c:164:10: error: variable ‘w’ set but not used [-Werror=unused-but-set-variable]
ipod.c: In function ‘receive_files’:
ipod.c:240:11: error: variable ‘w’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[2]: *** [ipod.o] Error 1
make[2]: Leaving directory `/home/samah/Downloads/cnet-3.2.3/src'
make[1]: *** [it] Error 2
make[1]: Leaving directory `/home/samah/Downloads/cnet-3.2.3/src'
make: *** [it] Error 2
أرجو التوضيح أين الخطأ ........

الواثقة بالله
05-03-2012, 21:14
يا جماعة البرنامج محتاجته ضروري
بس ابغى طريقة التثبيت
ولا تنسون انه من كتم علما الجمه الله بلجام نار
ابغى احد يدلني على الطريقة
ما فيه اي شرح لهذا البرنامج على المواقع العربية
بلييييييييييز احد يرد علي من اهل الخبرة في اللينكس

الواثقة بالله
10-03-2012, 16:42
200 مشاهد ولا واحد فيهم خبير في اللينكس
يا جماعة انا موضحة المشكلة فوق ومحتاجة البرنامج ضروووووووووووري
شغلي متوقف عليه
فاللي عنده خلفية لا يبخل علي
فقط يقولي وين الخطأ في التثبيت:(
لاني مبتدئة في اللينكس
شاكرة لكم ........

internetworld
11-03-2012, 06:53
Installation on either Linux or Mac OS-XTo begin installation, download the distribution file and unpack it with the command:
tar zxvpf cnet-3.2.3.tgz
Change to the newly created cnet-3.2.3 directory.
Edit the top-level Makefile to change the following constants to suit your system:PREFIX, BINDIR, LIBDIR, and WWWDIR.

If using a newer Tcl/Tk distribution on some Linux systems (such as Ubuntu or Debian Squeeze) you may need to edit the file src/Makefile.linux and uncomment the line:
#INCLUDES = -I/usr/include/tcl8.5
Read and modify the C #defines in src/preferences.h, such as the full pathname of the C compiler and linker on your system.In particular, ensure that the value given to LIBDIR in the top-level Makefile (step 3) is recorded in the string constant CNETPATH.

Type make to compile and link cnet for your system (it should compile and link without any errors).
Type make install (perhaps as root) to copy the cnet binary and supporting files to their required locations.
To ever re-build it all, type make clean && make && make install.
To install the web-based documentation on your system, type make web.
RemovalFrom the directory where you built cnet, type make uninstall
Testing
There are some introductory examples (such as may be used as student introductions to cnet) in the examples directory. A few of these examples are described in detail by making a walkthrough (https://www.csse.uwa.edu.au/cnet/walkthrough.html) of the code.These are the sort of things an academic staff member may set as introductory exercises, or to assist students to "get up to speed" quickly. You should now be able to execute these examples from the command-line with the commands:
cnet TICKTOCK cnet CLICK cnet STOPANDWAIT cnet FLOODING1
Each example has its own topology file defining the network to be simulated, for example CLICK and FLOODING1.When cnet appears to work, the example files such as {TICKTOCK + ticktock.c}, {CLICK + click.c}, {KEYBOARD + keyboard.c}, {LINKSTATE + linkstate.c}, and {STOPANDWAIT + stopandwait.c} in the examplesdirectory should all be placed in a system-wide directory for everyone to copy and run.
المصدر
https://www.csse.uwa.edu.au/cnet/install.html
المشكله وحلها موجوده هنا
https://justlinux.com/forum/showthread.php?t=139716
خطوات شرح البرنامج بالتفصيل تجدها على الرابط التالى
https://www.csc.villanova.edu/~cassel/cnet/doc/install.html
شرح البرنامج بالصور
https://cs.nyu.edu/courses/fall03/G22.2262-001/cnet/DOC/introduction.html
اسئله واجابات حول كيفيه استخدامه وتنصيبه على الجهاز
https://cs.nyu.edu/courses/fall03/G22.2262-001/cnet/DOC/faq.html#start
نفس المشكله وحلها على الرابط التالى
https://www.linuxac.org/forum/showthread.php/56722-%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9-%D9%81%D9%8A-%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D8%AC-cnet-network-simulator
عذرا على التقصير لانى لست خبيرا فى هذا النظام وانما كانت الروابط نتيجه بحث عن ما هو مشابه لمشكلتك اتمنى لك التوفيق فى الوصول الى حل المشكله وان لم تجدى ضالتك اكتبى انه لم يتم الحل وسوف ابحث لك عن حل مره اخرى
نسالكم صالح الدعوات

exaecho
12-03-2012, 10:08
اولا اشكرك على المعلومة اول مرة اعرف ان في network simulator نازل للنكس غير الDynamips
ثانيا يا اختي حلك واضح البرنامج مش شايف tcl packet
اتاكدى انوا نازل!
ثالثا:ابتعدي بقدر الامكان عن ال virtual مع تجارب هتعترض ال
data link layer !!بالتوفيق

note:
#apt-get install automake autoconf make gcc++
#apt-get install tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev libelf-dev