|
|
|
|
פורסם: 07/09/2008 - 06:52
נושא ההודעה: לינוקס opensuse11 לא מזהה פקודת make, מדוע וכיצד?
|
קוד: |
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp Makefile.6 Makefile
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # make
bash: make: command not found
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # uname -r
2.6.25.5-1.1-default
|
הפלט הוא כרוט, משתמש root עצמו. לכן אין צורך ב su.
מדוע המערכת לא מזהה את הפקודה וכיצד אני מתקן את זה?
אני מצרף את כל הלוג,(צעד צעד) אם זה נחוץ.
טרמינל מספר אחד:
קוד: |
linux-5khm:~/Desktop # cd internet
linux-5khm:~/Desktop/internet # dir
total 924
-rwxr-xr-x 1 root root 924286 2008-09-07 03:47 2008_0723_RT61_Linux_STA_v1.1.2.2.tar.bz2
-rw-r--r-- 1 root root 0 2008-09-02 02:56 new file~
-rwxr-xr-x 1 root root 13937 2008-09-07 03:47 RT61_Firmware_V1.2.zip
linux-5khm:~/Desktop/internet # unzip RT61_Firmware_V1.2.zip
Archive: RT61_Firmware_V1.2.zip
creating: RT61_Firmware_V1.2/
inflating: RT61_Firmware_V1.2/rt2561.bin
inflating: RT61_Firmware_V1.2/rt2561s.bin
inflating: RT61_Firmware_V1.2/rt2661.bin
inflating: RT61_Firmware_V1.2/LICENSE.ralink-firmware.txt
linux-5khm:~/Desktop/internet # mkdir -p /etc/Wireless/RT61STA
linux-5khm:~/Desktop/internet # cd RT61_Firmware_V1.2
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # cp rt2* /etc/Wireless/RT61STA/
|
אחרי זה סגרתי את טרמינל מספר אחד ופתחתי את מספר שתיים.
הערה: 2008_0723_RT61_Linux_STA_v1.1.2.2 נפתח עם תוכנה אחרת ולכן זה לא מופיע בלוג עצמו.
טרמינל מספר שתיים:
קוד: |
linux-5khm:~/Desktop # cd internet
linux-5khm:~/Desktop/internet # dir
total 1228
-rwxr-xr-x 1 root root 924286 2008-09-07 03:47 2008_0723_RT61_Linux_STA_v1.1.2.2.tar.bz2
-rw-r--r-- 1 root root 941 2008-09-07 03:51 new file
-rw-r--r-- 1 root root 0 2008-09-07 03:51 new file~
-rwxr-xr-x 1 root root 295643 2008-09-07 03:54 rt61-1.1.0-b2.tar.gz
drwx------ 2 root root 4096 2006-03-23 11:10 RT61_Firmware_V1.2
-rwxr-xr-x 1 root root 13937 2008-09-07 03:47 RT61_Firmware_V1.2.zip
linux-5khm:~/Desktop/internet # dir
total 1232
drwxr-xr-x 4 root root 4096 2008-07-23 16:31 2008_0723_RT61_Linux_STA_v1.1.2.2
-rwxr-xr-x 1 root root 924286 2008-09-07 03:47 2008_0723_RT61_Linux_STA_v1.1.2.2.tar.bz2
-rw-r--r-- 1 root root 941 2008-09-07 03:51 new file
-rw-r--r-- 1 root root 0 2008-09-07 03:51 new file~
-rwxr-xr-x 1 root root 295643 2008-09-07 03:54 rt61-1.1.0-b2.tar.gz
drwx------ 2 root root 4096 2006-03-23 11:10 RT61_Firmware_V1.2
-rwxr-xr-x 1 root root 13937 2008-09-07 03:47 RT61_Firmware_V1.2.zip
linux-5khm:~/Desktop/internet # cd 2008_0723_RT61_Linux_STA_v1.1.2.2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2 # dir
total 16
drwxrwxrwx 2 root root 4096 2008-07-23 16:34 Module
drwxrwxrwx 8 root root 12288 2008-05-06 10:05 WPA_Supplicant
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2 # cd Module
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp Makefile.6 Makefile
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # make
bash: make: command not found
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # uname -r
2.6.25.5-1.1-default
|
כל הבעיה היא עם הפקודה make, אחרי שהיא תעבוד הכל יהיה בסדר.
ציטוט: |
bash: make: command not found
|
לילה טוב לכולם ותודה על העזרה.
|
|
חזרה לתוכן הדיון |
פורסם: 07/09/2008 - 07:05
נושא ההודעה:
|
מחלה של ההפצות ה"מודרניות" המיועדות לשולחן העבודה. כלי קימפול לא מותקנים כברירת מחדל. לרוב יש מטא-חבילה שמתקינה את כולם, בדביאן\אובונטו היא נקראת build-essensials אין לי מושג איך קוראים לה בסוזה.
|
|
חזרה לתוכן הדיון |
פורסם: 07/09/2008 - 08:28
נושא ההודעה:
|
פשוט תתקין את החבילה make בעזרת yast
הייתי ממליך גם באותה הזדמנות להתקין את automake, autoconf
וכמובן קומפיילרים g++, gcc
|
|
חזרה לתוכן הדיון |
פורסם: 07/09/2008 - 19:08
נושא ההודעה:
|
פינגווין אדום : | מחלה של ההפצות ה"מודרניות" המיועדות לשולחן העבודה. כלי קימפול לא מותקנים כברירת מחדל. לרוב יש מטא-חבילה שמתקינה את כולם, בדביאן\אובונטו היא נקראת build-essensials אין לי מושג איך קוראים לה בסוזה. |
פינגווין אדום התוכל להסביר לי מה הכוונה ב "מחלה של ההפצות ה"מודרניות" המיועדות לשולחן העבודה." על המחשב השני יש לי opensuse10.3 איתה גם היו חסרות לי חבילות אחרות, שם לעומת זאת יש לי חיבור קווי לראוטר אז לא הייתה הבעיה להוריד חבילות ללינוקס עצמו. מדוע זה קורה ולא ניתן להתקין הכל בעת ההתקנה עצמה?
Vedder אני נכנס עכשיו ללינוקס להתקין את החבילות הנ"ל,כרגע אני עם הוינדוס. איתו החיבור האלחוטי עובד. אחזור עם תשובה אם החבילות האלה עזרו או לא.
|
|
חזרה לתוכן הדיון |
פורסם: 07/09/2008 - 19:30
נושא ההודעה:
|
אני לא מכיר ספציפית את ההתקנה של (אופן-)סוזה, בחלק מההתקנות ניתן לבחור פרופילים (פרופיל "פיתוח" מסוג כלשהו יתקין לך מה שצריך) וגם לבחור חבילות ממש.
הפצות מודרניות, במיוחד כאלו המתמקדות בשולחן עבודה, רואות בכלי פיתוח וקימפול משהו ש"משתמש רגיל של שולחן עבודה" לא צריך ולכן לא מתקינות אותן כברירת מחדל, לעניות דעתי זה טפשי ומעצבן.
כמובן שהפצות שבהן התקנת חבילה כוללת קימפול (ג'נטו, סלאקוור) לא כלולות בזה.
מצד שני, אולי זה מוצדק, ברוב ההפצות האלו אתה לא צריך כלי קימפול כדי לבצע פעולות "רגילות", בין שהן בשולחן העבודה ובין שהן של שרת. זאת לפחות בהנחה שאתה שאתה לא נזקק להתאמה אישית של הקרנל. אז אולי לאט צריך להתקין מראש דברים שאולי לא רצית - תרצה, תתקין, אלא שהיגיון כזה נראה קצת משונה כמשתקינים לך נגני מדיה...
|
|
חזרה לתוכן הדיון |
פורסם: 07/09/2008 - 19:58
נושא ההודעה:
|
בראשית באו הפצות לינוקס על חמשה ואפילו שמונה CD ושני DVD (יש לי עדיין את חבילת ההתקנה של סוזה . ההנחה היתה שחיבור אנאלוגי על קו טלפון לא יאפשר התקנה יעילה.
אחר כך בא האינטרנט המהיר ואחריו אובונטו עם דיסק התקנה יחיד. על הדיסק היחיד אין מקום לכל התכנות והוא מכיל רק מה שבעיני יוצריו הכי הכרחי. (בעצם אני נזכר עכשיו שעוד לפני אובונטו היתה סוזה 9.1 על דיסק יחיד, ללא כלי פיתוח וגם בה לא ידעו הרבה משתמשים שיש צורך בהוספת מקורות התקנה מהרשת והיו מאד מתוסכלים).
בסוזה מקפידים יותר מאשר באובונטו על כך שב CD התתקנה היחיד יהיו רק תכנות ודרייברים חפשיים. לכן הרבה כרטיסי אלחוט לא נתמכים והשרשרת של להתקין מהרשת נשברת.
ניתן להתגבר על זה על ידי התקנת מקורות non-oss וכלי פיתוח על מאגר מקומי.
אין צורך לצרוב CD לשם כך - מספיק להוריד את ה DVD,iso של ההתקנה.
ראה עוד בפירוט איך לעשות זאת בסדרה הבאה:
http://linmagazine.co.il/node/view/47266
ואני חוזר כאן על המלצה שהמלצתי פעמים רבות:
אם בידיך נייד והקשר היחיד לאינטרנט הוא באמצעות כרטיס אלחוט - השתמש ב DVD ההתקנה ולא ב CD יחיד.
|
|
חזרה לתוכן הדיון |
פורסם: 07/09/2008 - 23:48
נושא ההודעה:
|
כאן זה מתפצל לשני בעיות, אני אכתוב על כל אחת בנפרד.
ראשונה והכי חשובה, התקנתי את החבילות הבאות:
make
automake
ו אחר כך היה צריך גם nano להתקין אז התקנתי גם ו gcc כבר הייתה מותקנת, מזל טוב הוא קימפל את הנתונים.
בעיה? שני errors ולא מצויין במדריך כיצד מתקנים את הבעיה. אולי אתם תוכלי להבין מה הבעיה בדיוק.
החבילה של ה g++ אינה מוכרת למערכת, חשוב לציין שאני מוגבל לסיפריות שיש על הדיסק dvd של הסוזה (תשובה ללולי) ולסיפריה אחרת ששוקלת 17 גיגה, שהורדתי עם הוינדוס.
הנה הלוג:
קוד: |
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp Makefile.6 Makefile
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # make
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make: *** [all] Error 2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module #
|
בנקודה זאת הבנתי שאני כבר בצרה, למרות זאת המשכתי לפי מה שרשום. לא עזר אותה בעיה.
אני מצרף את המשך הלוג, אם הוא יעזור.
קוד: |
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # ifdown wlan0
wlan0 device: RaLink RT2561/RT61 802.11g PCI
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp rt61.ko to /lib/modules/yourkernelversion/kernel/drivers/net/wireless/
cp: target `/lib/modules/yourkernelversion/kernel/drivers/net/wireless/' is not a directory
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # modprobe rt61
FATAL: Module rt61 not found.
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # ifup ra0
Interface ra0 is not available
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # ifup wlan0
wlan0 device: RaLink RT2561/RT61 802.11g PCI
wlan0 warning: using NO encryption
command 'iwconfig wlan0 nick linux-5khm' returned
Error for wireless request "Set Nickname" (8B1C) :
SET failed on device wlan0 ; Operation not supported.
Starting DHCP Client Daemon on wlan0... . . . . . . . . . . . . . . . no IP address yet... backgrounding.
interface wlan0 is not up
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module #
|
בקיצור עדיין אין ללינוקס חיבור לאינטרנט, בלי סתם להמשיך לחפור ולחפור בלי פואנטה.
מה עושים לגבי בעיה מספר אחד וכיצד פותרים אותה???
אומנם אני לא יודע מה הפיתרון, אך נראה לי שהמקמפל אינו יכול לכתוב בתיקייה הנ"ל? האם זה הקייס כאן? הבנתי נכון? אם כן כיצד פותרים את הבעיה?
אני מצרף עכשיו את כל הלוג הנוגע לבעיה מספר אחת. (אם יהיה בו צורך)
קוד: |
linux-5khm:~ # cd Desktop
linux-5khm:~/Desktop # cd internet
linux-5khm:~/Desktop/internet # unzip RT61_Firmware_V1.2.zip
Archive: RT61_Firmware_V1.2.zip
replace RT61_Firmware_V1.2/rt2561.bin? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: RT61_Firmware_V1.2/rt2561.bin
inflating: RT61_Firmware_V1.2/rt2561s.bin
inflating: RT61_Firmware_V1.2/rt2661.bin
inflating: RT61_Firmware_V1.2/LICENSE.ralink-firmware.txt
linux-5khm:~/Desktop/internet # mkdir -p /etc/Wireless/RT61STA
linux-5khm:~/Desktop/internet # cd RT61_Firmware_V1.2
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # cp rt2* /etc/Wireless/RT61STA/
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # cd
linux-5khm:~ # cd Desktop
linux-5khm:~/Desktop # cd internet
linux-5khm:~/Desktop/internet # cd 2008_0723_RT61_Linux_STA_v1.1.2.2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2 # cd Module
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp Makefile.6 Makefile
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # make
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make: *** [all] Error 2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module #
|
בעיה שנייה ואולי תעשה בעיות אחרות בעתיד שגיליתי אותה בעת התקנת החבילות ואולי קשורה לבעיה הראשונה ישירות. אין לי מספיק ידע בנושא עדיין.
בעת ניסיון התקנה עם zypper של החבילות, אני מגלה ש yast מחזיק את המערכת נעולה מ zypper אפילו עם root עצמו. הדרך היחידה שהצלחתי להתקין את החבילות (שרשומות למעלה) זה עם yast עצמו. לעומת זאת zypper יכול לקרוא איזו חבילה מתוקנת ואיזו לא או לחילופין לעשות חיפוש. אך להתקין? הוא לא מוצא את החבילות פתאום ואינו מסוגל להתקין אותן בכלל. בדקתי 50 פעם רשמתי אותן נכון. לא הלך איתן? ניסיתי אחרות בשביל הבדיקה אותה תוצאה. לעומת זאת אותם חיפושים ב yast עצמו! כן נמצא והכל מותקן בלי בעיה.
האם בעיה מספר 2 קשורה לראשונה???
כיצד פותרים את בעיה מספר 2??? אם זאת בעיה בכלל,אולי כך המערכת תוכננה יכול להיות? כי ב opensuse10.3 לא הייתה לי בעיה כזאת.
ל "פינגווין אדום אורח", כן אני זוכר הייתי משתמש ברד האט לפני כמה שנים טובות והיה ניתן לקמפל בלי צורך להתקין כלום. השתמשתי באובונטו לפני 3 שנים כנ"ל, אותו דבר. היה ניתן לקמפל בלי להתקין כלום, הייתה התקנת מתכנתים בשני ההפצות, אך לא הייתי צריך אותה.
|
|
חזרה לתוכן הדיון |
פורסם: 08/09/2008 - 00:00
נושא ההודעה:
|
לבעיה הראשונה:
עושה רושם שלא מותקן לך מקור הקרנל. עליו להתאים בדיוק לקרנל שמותקן.
אתה בודק את זה על ידי הפקודה uname -a.
לבעיה השניה: כש yast פתוח, הוא נועל את האפשרות לכל מנהל חבילות אחר לפעול. גם אם מנהל העידכונים פועל ברקע (וזו צרה) - הוא נועל את כל מנהלי החבילות האחרים. כך שאם ברצונך להשתמש ב zypper תדאג שלא יפעל אף מנהל חבילות אחר. דרך דרסטית לעשות זאת היא על ידי איתחול וסגירת מנהל העידכונים ממש בסופו.
כדי לבדוק איזה חבילות מותקנות ניתן גם להשתמש בפקודת rpm. ראה דוגמה שמראה איזה קרנל ואיזה מקור קרנל מותקנים אצלי:
קוד: |
uname -a
Linux israel-lpt 2.6.25.11-0.1-default #1 SMP 2008-07-13 20:48:28 +0200 x86_64 x86_64 x86_64 GNU/Linux
israel-lpt:~ # rpm -qa | grep kernel
kernel-default-2.6.25.11-0.1
kernel-source-2.6.25.11-0.1
linux-kernel-headers-2.6.25-8
kernel-syms-2.6.25.11-0.1
|
ודא שהנ"ל מותקנים גם אצלך.
|
|
חזרה לתוכן הדיון |
פורסם: 08/09/2008 - 01:06
נושא ההודעה:
|
היו חסרים שניים מהקרנלים. עכשיו הם ישנם ומותקנים.
קוד: |
linux-5khm:~/Desktop # rpm -qa | grep kernel
kernel-source-2.6.25.5-1.1
linux-kernel-headers-2.6.25-8.1
kernel-default-2.6.25.5-1.1
kernel-syms-2.6.25.5-1.1
linux-5khm:~/Desktop # uname -a
Linux linux-5khm 2.6.25.5-1.1-default #1 SMP 2008-06-07 01:55:22 +0200 x86_64 x86_64 x86_64 GNU/Linux
linux-5khm:~/Desktop # uname -r
2.6.25.5-1.1-default
|
עכשיו ישנם errors חדשים סטייה בערכים של בדגלים/אוגר cf, כיצד פותרים את זה?
הלוג:
קוד: |
linux-5khm:~/Desktop # cd internet
linux-5khm:~/Desktop/internet # unzip RT61_Firmware_V1.2.zip
Archive: RT61_Firmware_V1.2.zip
replace RT61_Firmware_V1.2/rt2561.bin? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: RT61_Firmware_V1.2/rt2561.bin
inflating: RT61_Firmware_V1.2/rt2561s.bin
inflating: RT61_Firmware_V1.2/rt2661.bin
inflating: RT61_Firmware_V1.2/LICENSE.ralink-firmware.txt
linux-5khm:~/Desktop/internet # mkdir -p /etc/Wireless/RT61STA
linux-5khm:~/Desktop/internet # cd RT61_Firmware_V1.2
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # cp rt2* /etc/Wireless/RT61STA/
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # cd
linux-5khm:~ # cd Desktop
linux-5khm:~/Desktop # cd internet
linux-5khm:~/Desktop/internet # cd 2008_0723_RT61_Linux_STA_v1.1.2.2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2 # cd Module
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp Makefile.6 Makefile
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # make
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules
/usr/src/linux-2.6.25.5-1.1/scripts/Makefile.build:46: *** CFLAGS was changed in "/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[3]: *** [_module_/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make: *** [all] Error 2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module #
|
הערה: 2008_0723_RT61_Linux_STA_v1.1.2.2 נפתח ידנית בעזרת file roller.
|
|
חזרה לתוכן הדיון |
פורסם: 08/09/2008 - 03:07
נושא ההודעה:
|
|
|
חזרה לתוכן הדיון |
פורסם: 10/09/2008 - 03:05
נושא ההודעה:
|
א, מצטער שלא הגבתי באותו ויום ואתמול. הייתי קצת עסוק.
ב, לקחתי בחשבון את הטיפ תודה
ג, הפיתרון עובד. בעיה? כן, יותר מדי הזהרות מה שכן הוא סיים את הקימפול, כמו שצריך.
ככה זה אמור להיות?
(אם אתם רואים €™, € בקוד עצמו או סימנים בעברית. זאת אשמת הוינדוס בלבד, הקידוד של הלינוקס לא מתאים לוינדוס ולכן זה נראה ככה. אני מחובר מהוינדוס כרגע.)
קוד: |
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # KBUILD_NOPEDANTIC=1 make
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.o
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: In function ג€˜rt61_get_drvinfoג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:78: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: In function ג€˜rt61_get_regs_lenג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:97: warning: no return statement in function returning non-void
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: In function ג€˜rt61_get_regsג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:104: warning: unused variable ג€˜counterג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:103: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: In function ג€˜rt61_ethtool_get_linkג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:120: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:130: warning: no return statement in function returning non-void
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: In function ג€˜rt61_get_eeprom_lenג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:139: warning: no return statement in function returning non-void
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: In function ג€˜rt61_get_eepromג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:146: warning: unused variable ג€˜counterג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:145: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:159: warning: no return statement in function returning non-void
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: At top level:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:169: warning: initialization from incompatible pointer type
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: In function ג€˜RT61_probeג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:343: warning: ISO C90 forbids mixed declarations and code
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c: In function ג€˜RT61_openג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_main.c:464: warning: passing argument 2 of ג€˜request_irqג€™ from incompatible pointer type
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.o
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:526:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:698:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c: In function ג€˜STAMlmePeriodicExecג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:740: warning: unused variable ג€˜RxSignalג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c: In function ג€˜MlmeEnqueueForRecvג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:3222: warning: format ג€˜%dג€™ expects type ג€˜intג€™, but argument 2 has type ג€˜size_tג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:3465:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c: In function ג€˜MsgTypeSubstג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:3439: warning: unused variable ג€˜Returnג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c: In function ג€˜AsicSetRxAntג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:5421: warning: ג€˜R77ג€™ may be used uninitialized in this function
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c: In function ג€˜RadarDetectionStopג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:5859: warning: ג€˜R66ג€™ may be used uninitialized in this function
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c: In function ג€˜AsicSendCommandToMcuג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:5327: warning: ג€˜iג€™ may be used uninitialized in this function
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c: In function ג€˜AsicAdjustTxPowerג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:4372: warning: ג€˜BbpR1ג€™ may be used uninitialized in this function
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c: In function ג€˜AsicSwitchChannelג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/mlme.c:3692: warning: ג€˜BbpRegג€™ may be used uninitialized in this function
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/connect.o
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/connect.c:335:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/connect.c: In function ג€˜LinkDownג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/connect.c:1095: warning: unused variable ג€˜CurTxRxCsr4ג€™
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/sync.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.o
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:668:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:706:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:728:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:937:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:953:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:1001:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:1017:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:1139:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/assoc.c:1150:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/auth.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/auth_rsp.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.o
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c: In function ג€˜REPORT_ETHERNET_FRAME_TO_LLCג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:79: warning: unused variable ג€˜pRxPktג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c: In function ג€˜REPORT_ETHERNET_FRAME_TO_LLC_WITH_NON_COPYג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:124: warning: assignment makes integer from pointer without a cast
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:116: warning: unused variable ג€˜pRxPktג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c: In function ג€˜REPORT_AGGREGATE_ETHERNET_FRAME_TO_LLC_WITH_NON_COPYג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:219: warning: assignment makes integer from pointer without a cast
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c: In function ג€˜RTMPHandleRxDoneInterruptג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:656: warning: ISO C90 forbids mixed declarations and code
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:688: warning: ISO C90 forbids mixed declarations and code
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:1864:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:2382:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c: In function ג€˜RTMPHardTransmitג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:2144: warning: unused variable ג€˜pNextPacketBufVAג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:2143: warning: unused variable ג€˜NextPacketInfoג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:2143: warning: unused variable ג€˜PacketInfoג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:3748:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_data.c:3797:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_init.o
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_init.c:3807:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_init.c:3920:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/sanity.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_wep.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.o
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:669:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c: In function ג€˜rt_ioctl_siwauthג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1835: warning: unused variable ג€˜paramג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1834: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c: In function ג€˜rt_ioctl_giwauthג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1910: warning: unused variable ג€˜retג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1909: warning: unused variable ג€˜paramג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1908: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1978: warning: no return statement in function returning non-void
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c: In function ג€˜rt_ioctl_siwencodeextג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1993: warning: unused variable ג€˜bufLenג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1992: warning: unused variable ג€˜pBufג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1991: warning: unused variable ג€˜keyIdxג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1989: warning: unused variable ג€˜extג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1988: warning: unused variable ג€˜encodingג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:1987: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c: In function ג€˜rt_ioctl_siwpmksaג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2195: warning: unused variable ג€˜foundג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2194: warning: unused variable ג€˜CachedIdxג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2192: warning: unused variable ג€˜pmksaג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2191: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c: In function ג€˜rt_ioctl_siwgenieג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2251: warning: unused variable ג€˜lenג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2250: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c: In function ג€˜rt_ioctl_giwgenieג€™:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2288: warning: unused variable ג€˜errג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2287: warning: unused variable ג€˜pAdג€™
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c: At top level:
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2467: warning: initialization from incompatible pointer type
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2501:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:2549:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:3243:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_info.c:3418:5: warning: "WPA_SUPPLICANT_SUPPORT" is not defined
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/eeprom.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_tkip.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/wpa.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/md5.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_task.o
CC [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rtmp_wext.o
LD [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rt61.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rt61.mod.o
LD [M] /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rt61.ko
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module #
|
ד, עברתי על הפלט ואין errors, נראה שהקבצי ההתקן הדרושים נוצרו ורק צריך להגדיר את הרשת או שיש שם הזהרות שחייב לתקן בנוסף?
(אני מצטער על הלוג הארוך, איך אילו התוצאות של הקימפול רק הן בלבד.)
לילה טוב ואמתין לתשובות שלכם.
|
|
חזרה לתוכן הדיון |
פורסם: 10/09/2008 - 05:13
נושא ההודעה:
|
הצצתי רק על הסוף: אם make מסתיים ללא הודעת שגיאה זה סימן שהוא הצליח.
בדרך כלל אחרי make צריך לעשות גם make install ו make clean אך את הפרטים המדויקים עליך לקרוא בקובץ readme או install הנמצאים בתיקיה בה קימפלת - ואינם מול עיני.
|
|
חזרה לתוכן הדיון |
פורסם: 12/09/2008 - 06:30
נושא ההודעה:
|
צדקת אכן היה כזה קובץ readme.txt.ההודעה איתה עבדתי היו חסרים בה הרבה פרטים שבקובץ הנ"ל כן ישנם, איתו אין שום הודעה. כמו שצריך D:
קוד: |
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp Makefile.6 ./Makefile
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # KBUILD_NOPEDANTIC=1 make all
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # make install
make -C /lib/modules/2.6.25.5-1.1-default/build \
INSTALL_MOD_DIR=extra SUBDIRS=/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module \
modules_install
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules_install
INSTALL /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rt61.ko
DEPMOD 2.6.25.5-1.1-default
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
Network device directory /etc/sysconfig/network-scripts
Module configuration file /etc/modprobe.conf
append 'alias ra0 rt61' to /etc/modprobe.conf
/sbin/depmod -a
|
עכשיו יש בעיה אחרת, הלינוקס אינו מזהה את הפקודה load, אני חייב לטעון את הכרטיס לקרנל עצמו ובלי הפקודה Load הדבר לא אפשרי. ראה לוג:
קוד: |
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # load /sbin/insmod rt61.o
bash: load: command not found
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # load $/sbin/ifconfig wlan0 inet YOUR_IP up
bash: load: command not found
|
חיפשתי במנהל החבילות חבילה בשם load לקרנל. מצאתי אחת, אך זאת לא הייתה החבילה הדרושה חייב חבילה אחרת לטעון את הכרטיס לקרנל.
אני מצטרף את קובץ ה readme:
קוד: |
* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*
=======================================================================
ModelName:
===========
RT61 Wireless Lan Linux Driver
=======================================================================
Driver lName:
===========
rt61.o/rt61.ko
=======================================================================
Supporting Kernel:
===================
linux kernel 2.4 and 2.6 series.
Tested in Redhat 7.3 or later.
=======================================================================
Description:
=============
This is a linux device driver for Ralink RT61 a/b/g WLAN Card.
=======================================================================
Contents:
=============
Makefile.4 : Makefile for kernel 2.4 series
Makefile.6 : Makefile for kernel 2.6 series
Makefile.RTL865x : Makefile for big endian platform
*.c : c files
*.h : header files
=======================================================================
Features:
==========
This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.
=======================================================================
Build Instructions:
====================
1> $tar -xvzf RT61_Linux_STA_Drv_x.x.x.x.tar.gz
go to "./RT61_Linux_STA_Drv_x.x.x.x/Module" directory.
2> $cp Makefile.4 ./Makefile # [kernel 2.4]
or
$cp Makefile.6 ./Makefile # [kernel 2.6]
or
$cp Makefile.RTL865x ./Makefile # big endian platform
3> [kernel 2.4]
$chmod 755 Configure
$make config # config build linux os version
4> $make all # compile driver source code
4.1> $make install
5> $cp rt2561.bin /etc/Wireless/RT61STA/ # copy firmware
$cp rt2561s.bin /etc/Wireless/RT61STA/
$cp rt2661.bin /etc/Wireless/RT61STA/
6> $dos2unix rt61sta.dat
$cp rt61sta.dat /etc/Wireless/RT61STA/rt61sta.dat
# !!!check if it is a binary file before loading !!!
7> $load
#[kernel 2.4]
# $/sbin/insmod rt61.o
# $/sbin/ifconfig ra0 inet YOUR_IP up
#[kernel 2.6]
# $/sbin/insmod rt61.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up
Note: Script functionality:
load load module to kernel
unload unload module from kernel
Configure retrieve linux version
=======================================================================
CONFIGURATION:
====================
RT61 driver can be configured via following interfaces,
i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration file,
(iv)RaConfig61
i) iwconfig comes with kernel.
ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.
iii)copy configuration file "rt61sta.dat" to /etc/Wireless/RT61STA/rt61sta.dat.
iv) RaConfig61 is utility for rt61.
Configuration File : rt61sta.dat
---------------------------------------
# Copy this file to /etc/Wireless/RT61STA/rt61sta.dat
# This file is a binary file and will be read on loading rt.o module.
#
# Use "vi -b rt61sta.dat" to modify settings according to your need.
#
# 1.) set NetworkType to "Adhoc" for using Adhoc-mode, otherwise using Infrastructure
# 2.) set Channel to "0" for auto-select on Infrastructure mode
# 3.) set SSID for connecting to your Accss-point.
# 4.) AuthMode can be "WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPA2PSK", "WPANONE"
# 5.) EncrypType can be "NONE", "WEP", "TKIP", "AES"
# for more information refer to the Readme file.
#
# The word of "[Default]" must not be removed
[Default]
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
SSID=AP350
NetworkType=Infra
Channel=0
AuthMode=OPEN
EncrypType=NONE
DefaultKeyID=1
Key1Type=0
Key1Str=0123456789
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
WPAPSK=abcdefghijklmnopqrstuvwxyz
TxBurst=0
PktAggregate=0
WmmCapable=0
APSDCapable=0
APSDAC=0;0;0;0
BGProtection=0
ShortSlot=0
IEEE80211H=0
TxRate=0
RTSThreshold=2347
FragThreshold=2346
PSMode=CAM
TxPreamble=0
FastRoaming=0
NativeWpa=1
-----------------------------------------------
*NOTE:
WMM parameters:
1.) WmmCapable
Set it as 1 to turn on WMM Qos support
2.) APSDCapable
Set it as 1 to use automatic power-save delivery(APSD) on an Non-AP QSTA
3.) APSDAC
Set ACs corresponding BE, BK, VI and VO as delivery-enabled or delivery-disabled
All WMM parameters do not support iwpriv command but WmmCapable,
please store all parameter to rt61sta.dat, and restart driver.
NetworkManager and WPS:
If Native WPA Supplicant (NetworkManager) is enabled, WPS CAN NOT be triggered.
For this case, we have to set NativeWpa=1 in rt61sta.dat.
Otherwise, if we want to use WPS, we have to disable NetworkManager by setting
NativeWpa=0 in rt61sta.dat.
-----------------------------------------------
syntax is 'Param'='Value' and describes below.
1. CountryRegion=value
value
0: use 1 ~ 11 Channel
1: use 1 ~ 13 Channel
2: use 10, 11 Channel
3: use 10 ~ 13 Channel
4: use 14 Channel
5: use 1 ~ 14 Channel
6: use 3 ~ 9 Channel
7: use 5 ~ 13 Channel
2. CountryRegionABand=value
value
0: use 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 Channel
1: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 Channel
2: use 36, 40, 44, 48, 52, 56, 60, 64 Channel
3: use 52, 56, 60, 64, 149, 153, 157, 161 Channel
4: use 149, 153, 157, 161, 165 Channel
5: use 149, 153, 157, 161 Channel
6: use 36, 40, 44, 48 Channel
7: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 Channel
8: 52, 56, 60, 64 Channel
9: 34, 38, 42, 46 Channel
10: 34, 36, 38, 40, 42, 44, 46, 48, 52, 56, 60, 64 Channel
3. SSID=value
value
0~z, 1~32 ascii characters.
4. WirelessMode=value
value
0: 11b/g mixed
1: 11B only
2: 11A only //Support in RfIcType=1(id=RFIC_5225) or RfIcType=2(id=RFIC_5325)
3: 11a/b/g mixed //Support in RfIcType=1(id=RFIC_5225) or RfIcType=2(id=RFIC_5325)
4: 11G only
5. TxRate=value
value
0: Auto //WirelessMode=0~4
1: 1 Mbps //WirelessMode=0 or 1 or 3
2: 2 Mbps //WirelessMode=0 or 1 or 3
3: 5.5 Mbps //WirelessMode=0 or 1 or 3
4: 11 Mbps //WirelessMode=0 or 1 or 3
5: 6 Mbps //WirelessMode=0 or 2 or 3 or 4
6: 9 Mbps //WirelessMode=0 or 2 or 3 or 4
7: 12 Mbps //WirelessMode=0 or 2 or 3 or 4
8: 18 Mbps //WirelessMode=0 or 2 or 3 or 4
9: 24 Mbps //WirelessMode=0 or 2 or 3 or 4
10: 36 Mbps //WirelessMode=0 or 2 or 3 or 4
11: 48 Mbps //WirelessMode=0 or 2 or 3 or 4
12: 54 Mbps //WirelessMode=0 or 2 or 3 or 4
6. Channel=value
value
depends on CountryRegion or CountryRegionABand
7. BGProtection=value
value
0: Auto
1: Always on
2: Always off
8. TxPreamble=value
value
0:Preamble Long
1:Preamble Short
2:Auto
9. RTSThreshold=value
value
1~2347
10. FragThreshold=value
value
256~2346
11. TxBurst=value
value
0: Disable
1: Enable
12. NetworkType=value
value
Infra: infrastructure mode
Adhoc: adhoc mode
13. AuthMode=value
value
OPEN For open system
SHARED For shared key system
WEPAUTO Auto switch between OPEN and SHARED
WPAPSK For WPA pre-shared key (Infra)
WPA2PSK For WPA2 pre-shared key (Infra)
WPANONE For WPA pre-shared key (Adhoc)
WPA Use WPA_Supplicant
WPA2 Use WPA_Supplicant
14. EncrypType=value
value
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK
15. DefaultKeyID=value
value
1~4
16. Key1=value
Key2=value
Key3=value
Key4=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd
(usage : "iwpriv" only)
17. Key1Type=vaule
Key2Type=value
Key3Type=vaule
Key4Type=vaule
value
0 hexadecimal type
1 assic type
(usage : reading profile only)
18. Key1Str=value
Key2Str=value
Key3Str=vaule
Key4Str=vaule
value
10 or 26 characters (key type=0)
5 or 13 characters (key type=1)
(usage : reading profile only)
19. WPAPSK=value
value
8~63 ASCII or
64 HEX characters
20. PktAggregate=value
value
0: Disable
1: Enable when the peer supports it
21. WmmCapable=value
value
0: Disable WMM
1: Enable WMM
22. PSMode=value
value
CAM Constantly Awake Mode
Fast_PSP Power Save Mode
MAX_PSP Max power save mode
23. IEEE80211H=value
value
0: Disable
1: Enable Spectrum management
(This field can be enable only in A band)
24. FastRoaming=value
value
0: Disable Fast Roaming
1: Enable Fast Roaming
25. RoamThreshold=value
value [Valid on FastRoaming=1]
60~90
26. APSDCapable=value
value [Valid on WmmCapable=1]
0: Disable APSD
1: Enable APSD
27. APSDAC=value
value [Valid on APSDCapable=1]
0: Delivery-disabled AC
1: Delivery-enabled AC
//========================//
AC_BE AC_BK AC_VI AC_VO
{0, 1};{0, 1};{0, 1};{0, 1}
//========================//
MORE INFORMATION
=================================================================================
If you want for rt61 driver to auto-load at boot time:
A) choose ra0 for first RT61 WLAN card, ra1 for second RT61 WLAN card, etc.
B) go to "./RT61_Linux_STA_Drv_x.x.x.x/Module" directory.
$make install
NOTE:
if you use dhcp,
add this line
BOOTPROTO='dhcp'
in the file ifcfg-ra0 .
*C) To ease the Default Gateway setting,
add the line
GATEWAY=x.x.x.x
in /etc/sysconfig/network
D) When build for SUSE, please unmark the part for SUSE in Makefile.
When build for Mandriva 2007.1, please unmark the part for Mandriva in Makefile.
|
הלוג כולו: (אם יש צורך בו)
קוד: |
linux-5khm:~ # cd Desktop/internet
linux-5khm:~/Desktop/internet # cd 2008_0723_RT61_Linux_STA_v1.1.2.2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2 # cd Module
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp Makefile.6 ./Makefile
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # KBUILD_NOPEDANTIC=1 make all
make -C /lib/modules/2.6.25.5-1.1-default/build SUBDIRS=/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # make install
make -C /lib/modules/2.6.25.5-1.1-default/build \
INSTALL_MOD_DIR=extra SUBDIRS=/root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module \
modules_install
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default/. modules_install
INSTALL /root/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module/rt61.ko
DEPMOD 2.6.25.5-1.1-default
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
Network device directory /etc/sysconfig/network-scripts
Module configuration file /etc/modprobe.conf
append 'alias ra0 rt61' to /etc/modprobe.conf
/sbin/depmod -a
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cd
linux-5khm:~ # cd Desktop/internet
linux-5khm:~/Desktop/internet # cd RT61_Firmware_V1.2
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # dir
total 28
-rw-r--r-- 1 root root 2142 2007-09-12 10:38 LICENSE.ralink-firmware.txt
-rw------- 1 root root 8192 2005-10-26 14:22 rt2561.bin
-rw------- 1 root root 8192 2005-10-26 14:22 rt2561s.bin
-rw------- 1 root root 8192 2005-10-26 14:22 rt2661.bin
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # cp rt2561.bin /etc/Wireless/RT61STA/
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # cp rt2561s.bin /etc/Wireless/RT61STA/
linux-5khm:~/Desktop/internet/RT61_Firmware_V1.2 # cp rt2661.bin /etc/Wireless/RT61STA/
linux-5khm:~ # cd Desktop/internet
linux-5khm:~/Desktop/internet # cd 2008_0723_RT61_Linux_STA_v1.1.2.2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2 # cd Module
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # dos2unix rt61sta.dat
dos2unix: converting file rt61sta.dat to UNIX format ...
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # cp rt61sta.dat /etc/Wireless/RT61STA/rt61sta.dat
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # load /sbin/insmod rt61.o
bash: load: command not found
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # load
bash: load: command not found
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # load $/sbin/ifconfig wlan0 inet YOUR_IP up
bash: load: command not found
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # |
|
|
חזרה לתוכן הדיון |
פורסם: 12/09/2008 - 14:16
נושא ההודעה:
|
חוששני שאתה מבלבל פה משהו.
בתקיה sbin נמצאת הפקודה insmod שהיא עושה את ה load. כך שההוראות התכוונו פשוט שתריץ את
ה load היה רק הסבר מה הפקודה עושה.
ולדעתי עוד יותר פשוט
|
|
חזרה לתוכן הדיון |
פורסם: 12/09/2008 - 18:57
נושא ההודעה:
|
לא,זה לא קיבל את הפקודה. את הפקודה שלך כן קיבל.
קוד: |
linux-5khm:~/Desktop/internet # cd 2008_0723_RT61_Linux_STA_v1.1.2.2
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2 # cd Module
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # sbin/insmod rt61.o
bash: sbin/insmod: No such file or directory
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # modprobe rt61
|
מדוע?
הפקודה השנייה גם לא עובדת ראה לוג:
קוד: |
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # /sbin/ifconfig ra0 inet 00:0E:2E:49:13:FE up
00:0E:2E:49:13:FE: Unknown host
ifconfig: `--help' gives usage information.
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module # /sbin/ifconfig ra0 inet YOUR_IP up
YOUR_IP: Unknown host
ifconfig: `--help' gives usage information.
linux-5khm:~/Desktop/internet/2008_0723_RT61_Linux_STA_v1.1.2.2/Module #
|
מה עושים?
|
|
חזרה לתוכן הדיון |
פורסם: 12/09/2008 - 19:42
נושא ההודעה:
|
ראשית, מה קרה ל insmod שלך איני יודע. אצלי הוא קיים במקומו:
קוד: |
whereis insmod
insmod: /sbin/insmod /usr/share/man/man8/insmod.8.gz
|
שנית, וודא עכשיו שהמודול באמת טעון :
אם הוא באמת טעון, וודא שהכרטיס האלחוטי פעיל:
קוד: |
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:32 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
vmnet1 no wireless extensions.
vmnet8 no wireless extensions.
|
אם ל wlan0 יש wireless extensions הכרטיס שלך מוכן לשמוש.
עכשיו המלצתי - פתח את yast - network devices - network card
בחר ב networkmanager.
היתר די אינטואיטיבי.
|
|
חזרה לתוכן הדיון |
פורסם: 12/09/2008 - 21:08
נושא ההודעה:
|
עובד אנשים תודה רבה רבה לכולכם על העזרה,כרגע אני מחובר מהלינוקס. זה עובד עם ifup ולא networkmanager. הרשת הרגילה והמקודדת שניהן עובדות.
בנוגע ל insmod הקבצים נמצאים איפה שרשמת שהם, איך אינו עובד.
|
|
חזרה לתוכן הדיון |
|
|
|
|