ubuntuusers.de

Fritz!Wlan usb Stick N v2 Usb-ID 057c:8501 Chipsatz Ralink RT5572N unter Ubuntu einrichten

Status: Gelöst | Ubuntu-Version: Ubuntu 12.10 (Quantal Quetzal)
Antworten |

triplec0re

Anmeldungsdatum:
28. Mai 2014

Beiträge: Zähle...

Hi,

habe mir heute ganz frisch Ubuntu (14.04) als zweites Betriebssystem installiert. Natürlich wollte ich da auch meinen AVM Wlan Stick N v2 installieren und bin auf diesen Thread mit der Anleitung von elektronenblitz63 gestoßen. Ich habe allerdings das Problem, dass ich beim Kompilieren immer Fehler angezeigt bekomme. Nach Eingabe von "make" habe ich folgendes im Terminal stehen:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
adrian@adrian-PC:~$ cd DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/
adrian@adrian-PC:~/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared$ make
make -C tools
make[1]: Entering directory `/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/tools'
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/tools/bin2h
cp -f os/linux/Makefile.6 /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/Makefile
make -C /lib/modules/3.13.0-27-generic/build SUBDIRS=/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-27-generic'
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_md5.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.c:1459:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
      ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.c:1554:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
      ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.o
In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44:0,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_config.h:33,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.c:28:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.c:568:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       (UINT32)&pAd->RalinkCounters.OneSecEnd -
       ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:468:76: note: in definition of macro ‘NdisZeroMemory’
 #define NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                            ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.c:569:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       (UINT32)&pAd->RalinkCounters.OneSecStart);
       ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:468:76: note: in definition of macro ‘NdisZeroMemory’
 #define NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                            ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_wep.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/action.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c: In function ‘RtmpPrepareHwNullFrame’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:3142:4: warning: passing argument 2 of ‘hex_dump’ from incompatible pointer type [enabled by default]
    hex_dump("null frame before", &longValue, 4);
    ^
In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_config.h:66:0,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:28:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_os_util.h:679:6: note: expected ‘unsigned char *’ but argument is of type ‘UINT32 *’
 void hex_dump(char *str, unsigned char *pSrcBufVA, unsigned int SrcBufLen);
      ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:3150:4: warning: passing argument 2 of ‘RTUSBReadMACRegister’ makes integer from pointer without a cast [enabled by default]
    RTMP_IO_READ32(pAd, pAd->NullBufOffset + TXWISize+ i, &longValue);
    ^
In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_config.h:61:0,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:28:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp.h:7214:10: note: expected ‘USHORT’ but argument is of type ‘USHORT *’
 NTSTATUS RTUSBReadMACRegister(
          ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:3151:4: warning: passing argument 2 of ‘hex_dump’ from incompatible pointer type [enabled by default]
    hex_dump("null frame after", &longValue, 4);
    ^
In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_config.h:66:0,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:28:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_os_util.h:679:6: note: expected ‘unsigned char *’ but argument is of type ‘UINT32 *’
 void hex_dump(char *str, unsigned char *pSrcBufVA, unsigned int SrcBufLen);
      ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:3021:8: warning: unused variable ‘MlmeRate’ [-Wunused-variable]
  UCHAR MlmeRate;
        ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init.c:1826:11: warning: unused variable ‘apidx’ [-Wunused-variable]
  INT    i,apidx;
           ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init.c:1826:9: warning: unused variable ‘i’ [-Wunused-variable]
  INT    i,apidx;
         ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_aes.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_sync.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/eeprom.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_info.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_wpa.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_wpa.c:1031:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  BOOLEAN    Cancelled;
             ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_radar.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/spectrum.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/spectrum.c:1972:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
   ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rt_channel.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_profile.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_asic.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffsetForTemperatureSensor’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_asic.c:1188:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
   TxPowerTuningTableEntry0 = &TxPowerTuningTable[TuningTableIndex0 + TX_POWER_TUNING_ENTRY_OFFSET];
                            ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_asic.c:1201:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
   TxPowerTuningTableEntry1 = &TxPowerTuningTable[TuningTableIndex1 + TX_POWER_TUNING_ENTRY_OFFSET];
                            ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/ps.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/uapsd.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_profile.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_profile.c:463:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
         ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../chips/rtmp_chip.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../chips/rtmp_chip.c: In function ‘RTMPReadChannelPwr’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../chips/rtmp_chip.c:1380:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  UCHAR  Tx2ALC = 0, Tx2FinePowerCtrl = 0;
  ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/assoc.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/auth.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sync.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sanity.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c:284:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
  FRAME_CONTROL *pFmeCtrl = &pHeader->FC;
                 ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c:283:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
  UCHAR OldPwrMgmt = PWR_ACTIVE;
        ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c: In function ‘STAFindCipherAlgorithm’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c:1740:4: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    && (!ADHOC_ON(pAd))) || (ADHOC_ON(pAd) && (pAd->SharedKey[BSS0][KeyIdx].KeyLen == 0)))
    ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/connect.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/wpa.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.c:4039:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
    DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
    ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.c: In function ‘set_quality’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.c:5548:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  BOOLEAN bInitial = FALSE;
  ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rt_os_util.o
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/sta_ioctl.o
In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:56:0,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/sta_ioctl.c:30:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
include/net/iw_handler.h:542:9: warning: array subscript is below array bounds [-Warray-bounds]
   memcpy(stream + point_len, extra, iwe->u.data.length);
         ^
  CC [M]  /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.o
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:513:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
   NdisMoveMemory(skb->tail, pHeader802_3, HdrLen);
   ^
In file included from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string.h:4:0,
                 from include/linux/string.h:17,
                 from include/linux/bitmap.h:8,
                 from include/linux/cpumask.h:11,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:18,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:31,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:32:
/usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
 void *memmove(void *dest, const void *src, size_t count);
       ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:515:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
   NdisMoveMemory(skb->tail, pData, DataSize);
   ^
In file included from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string.h:4:0,
                 from include/linux/string.h:17,
                 from include/linux/bitmap.h:8,
                 from include/linux/cpumask.h:11,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:18,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:31,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:32:
/usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
 void *memmove(void *dest, const void *src, size_t count);
       ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:667:20: warning: assignment makes integer from pointer without a cast [enabled by default]
   pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
                    ^
In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44:0,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69,
                 from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:32:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:886:34: warning: assignment makes integer from pointer without a cast [enabled by default]
   ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
                                  ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:686:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
  SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize);
  ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:713:15: warning: assignment makes integer from pointer without a cast [enabled by default]
  pOSPkt->tail = pOSPkt->data + pOSPkt->len;
               ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘__RtmpOSFSInfoChange’:
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:1141:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
   pOSFSInfo->fsuid = current_fsuid();
                    ^
/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:1142:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
   pOSFSInfo->fsgid = current_fsgid();
                    ^
make[2]: *** [/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.o] Error 1
make[1]: *** [_module_/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-27-generic'
make: *** [LINUX] Error 2

Vielleicht habe ich ja eine Kleinigkeit übersehen, habe ja zum ersten mal wirklich etwas mit Linux zu tun. Vielleicht funktioniert das mit der neusten Ubuntu-Version auch einfach nicht mehr? Ich hoffe mir kann hier jemand noch einen Tipp geben ☺

Edit: Ich werde das für mich jetzt anders lösen und mir einen PowerLine Adapter kaufen. Für den Fall, dass jemand eine ähnliche Frage hat, lass ich mal meinen ursprünglichen Beitrag so stehen.

elektronenblitz63

Avatar von elektronenblitz63

Anmeldungsdatum:
16. Januar 2007

Beiträge: 29307

Wohnort: NRW

Hallo,
du kannst in der als fehlerhaft angegebenen Datei rt_linux.c, ab Zeile 1141 folgende Änderungen übernehmen um den Treiber auch mit der aktuellen Kernelversion bauen zu können:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
		pOSFSInfo->fsuid = current->fsuid;
		pOSFSInfo->fsgid = current->fsgid;
		current->fsuid = current->fsgid = 0;
/*
#else
		pOSFSInfo->fsuid = current_fsuid();
		pOSFSInfo->fsgid = current_fsgid();
*/

#endif

frostgram

Anmeldungsdatum:
27. März 2008

Beiträge: 155

rt2x00 driver doesn't load for 57c:8501 (AVM Fritz Stick Nv2) hat 2 Patches die den Mainline Treiber angeblich benutzbar machen.

Nur, wie benutzt man die ohne gleich den ganzen Kernel selbst bauen zu müssen?

elektronenblitz63

Avatar von elektronenblitz63

Anmeldungsdatum:
16. Januar 2007

Beiträge: 29307

Wohnort: NRW

Hallo,
Michael Braun (michael-dev@fami-braun.de) hat zwei Patches für das Modul rt2800usb bereitgestellt, so wie ich das verstehe.

Das sollte vermutlich auch mit einem aktuell verwendeten Kernel funktionieren, sofern der Treiber entsprechend manuell angepasst und in den Kernel eingebunden wird.

Als Basis ließe sich ein aktuelles Treiberpaket von Linux Wireless verwenden, anpassen und testen, ohne den kompletten Kernel manuell bauen zu müssen.

frostgram

Anmeldungsdatum:
27. März 2008

Beiträge: 155

also da muss ich wohl noch etwas mehr üben, momentan ist das Resultat vom Eigenbau-Versuch:

  CC [M]  /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.o
In file included from include/linux/compat.h:14:0,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/compat.h:4,
                 from include/linux/ethtool.h:15,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/ethtool.h:3,
                 from include/linux/netdevice.h:42,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
/home/user/Downloads/backports-20140417/backport-include/linux/if.h:8:25: error: expected identifier before numeric constant
 #define IFF_DONT_BRIDGE 0x800  /* disallow bridging this ether dev */
                         ^
include/linux/netdevice.h:1196:2: note: in expansion of macro ‘IFF_DONT_BRIDGE’
  IFF_DONT_BRIDGE   = 1<<11,
  ^
In file included from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3:0,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
include/linux/netdevice.h:1220:0: warning: "IFF_DONT_BRIDGE" redefined [enabled by default]
 #define IFF_DONT_BRIDGE   IFF_DONT_BRIDGE
 ^
In file included from include/linux/compat.h:14:0,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/compat.h:4,
                 from include/linux/ethtool.h:15,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/ethtool.h:3,
                 from include/linux/netdevice.h:42,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
/home/user/Downloads/backports-20140417/backport-include/linux/if.h:8:0: note: this is the location of the previous definition
 #define IFF_DONT_BRIDGE 0x800  /* disallow bridging this ether dev */
 ^
In file included from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3:0,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
include/linux/netdevice.h:1225:0: warning: "IFF_TX_SKB_SHARING" redefined [enabled by default]
 #define IFF_TX_SKB_SHARING  IFF_TX_SKB_SHARING
 ^
In file included from include/linux/compat.h:14:0,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/compat.h:4,
                 from include/linux/ethtool.h:15,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/ethtool.h:3,
                 from include/linux/netdevice.h:42,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
/home/user/Downloads/backports-20140417/backport-include/linux/if.h:12:0: note: this is the location of the previous definition
 #define IFF_TX_SKB_SHARING 0x10000
 ^
In file included from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3:0,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
include/linux/netdevice.h:1226:0: warning: "IFF_UNICAST_FLT" redefined [enabled by default]
 #define IFF_UNICAST_FLT   IFF_UNICAST_FLT
 ^
In file included from include/linux/compat.h:14:0,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/compat.h:4,
                 from include/linux/ethtool.h:15,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/ethtool.h:3,
                 from include/linux/netdevice.h:42,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
/home/user/Downloads/backports-20140417/backport-include/linux/if.h:24:0: note: this is the location of the previous definition
 #define IFF_UNICAST_FLT 0x20000  /* Supports unicast filtering */
 ^
In file included from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3:0,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
include/linux/netdevice.h:1228:0: warning: "IFF_SUPP_NOFCS" redefined [enabled by default]
 #define IFF_SUPP_NOFCS   IFF_SUPP_NOFCS
 ^
In file included from include/linux/compat.h:14:0,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/compat.h:4,
                 from include/linux/ethtool.h:15,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/ethtool.h:3,
                 from include/linux/netdevice.h:42,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
/home/user/Downloads/backports-20140417/backport-include/linux/if.h:20:0: note: this is the location of the previous definition
 #define IFF_SUPP_NOFCS 0x80000  /* device supports sending custom FCS */
 ^
In file included from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3:0,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
include/linux/netdevice.h:1229:0: warning: "IFF_LIVE_ADDR_CHANGE" redefined [enabled by default]
 #define IFF_LIVE_ADDR_CHANGE  IFF_LIVE_ADDR_CHANGE
 ^
In file included from include/linux/compat.h:14:0,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/compat.h:4,
                 from include/linux/ethtool.h:15,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/ethtool.h:3,
                 from include/linux/netdevice.h:42,
                 from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
/home/user/Downloads/backports-20140417/backport-include/linux/if.h:16:0: note: this is the location of the previous definition
 #define IFF_LIVE_ADDR_CHANGE 0x100000
 ^
In file included from /home/user/Downloads/backports-20140417/backport-include/linux/netdevice.h:3:0,
                 from /home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.c:24:
include/linux/netdevice.h: In function ‘netif_is_macvlan’:
include/linux/netdevice.h:1230:23: error: ‘IFF_MACVLAN’ undeclared (first use in this function)
 #define IFF_MACVLAN   IFF_MACVLAN
                       ^
include/linux/netdevice.h:3240:27: note: in expansion of macro ‘IFF_MACVLAN’
  return dev->priv_flags & IFF_MACVLAN;
                           ^
include/linux/netdevice.h:1230:23: note: each undeclared identifier is reported only once for each function it appears in
 #define IFF_MACVLAN   IFF_MACVLAN
                       ^
include/linux/netdevice.h:3240:27: note: in expansion of macro ‘IFF_MACVLAN’
  return dev->priv_flags & IFF_MACVLAN;
                           ^
include/linux/netdevice.h: In function ‘netif_supports_nofcs’:
include/linux/netdevice.h:1228:26: error: ‘IFF_SUPP_NOFCS’ undeclared (first use in this function)
 #define IFF_SUPP_NOFCS   IFF_SUPP_NOFCS
                          ^
include/linux/netdevice.h:3255:27: note: in expansion of macro ‘IFF_SUPP_NOFCS’
  return dev->priv_flags & IFF_SUPP_NOFCS;
                           ^
make[6]: *** [/home/user/Downloads/backports-20140417/drivers/net/usb/cdc_ether.o] Fehler 1
make[5]: *** [/home/user/Downloads/backports-20140417/drivers/net/usb] Fehler 2
make[4]: *** [_module_/home/user/Downloads/backports-20140417] Fehler 2
make[3]: *** [modules] Fehler 2
make[2]: *** [modules] Fehler 2
make[1]: *** [modules] Fehler 2
make: *** [default] Fehler 2

lkrys

Anmeldungsdatum:
1. Juni 2014

Beiträge: Zähle...

Hallo

Leider habe ich auch das Problem das Linux abstürzt. Ich habe W-Lan für aktiviert ,sobald ich etwas im Internet tun möchte stürzt der Pc komplett ab. Habe ich etwas hier vergessen?

Das Funktioniert nur stürzt der Pc ab wenn ich ins Internet gehen möchte.

Vieleicht kann mir jemand helfen.

lkrys

Anmeldungsdatum:
1. Juni 2014

Beiträge: 6

Installation über Kabelverbindung:

sudo apt-get install build-essential linux-headers-$(uname -r)
wget media.cdn.ubuntu-de.org/forum/attachments/27/08/5364732-DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared.tar.gz
tar xvf 5364732-DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared.tar.gz
cd DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared
make
sudo make install
sudo depmod -a
sudo update-initramfs -u 

(Treiber kann auch unter Ubuntu 14.04 gebaut werden, der Quellcode wurde entsprechend angepasst. → Änderungen.)

Dann würde ich noch die Firmware aus dem Paket übernehmen:

sudo cp ~/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/common/*.bin /lib/firmware 

(Pfad angepasst)

Stick anschließen, auf WLAN-Mode warten und testen

sudo modprobe -v rt5572sta
iwconfig
iwlist chan
sudo iwlist scan 

Verbindungstest.

Hallo Ich bekomme eine Internetverbindung, der Pc stürtzt jedoch sofort ab. Was habe ich vergessen?

Vielen Dank für eure Tips.

Gruss Lucien

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22111

Wohnort: ~

Hallo und willkommen bei uu.de.

Ist das derselbe Stick? Kannst du folgende Ausgaben zeigen:

iwconfig
lsmod
lsusb
iwlist chan
sudo iwlist scan
dmesg | grep rt5

lkrys

Anmeldungsdatum:
1. Juni 2014

Beiträge: 6

Hallo und vielen Dank.

Auf dem Stick steht N V2 Fritz Wlan Stick.

iwconfig

1
2
3
4
5
6
7
iwconfig

ra0 Ralink STA ESSID:"LKWIRELESS" Nickname:"RT2870STA" Mode:Managed Frequency=2.417 GHz Access Point: 08:96:D7:51:1B:D8 Bit Rate=270 Mb/s RTS thr:off Fragment thr:off Link Quality=100/100 Signal level:-54 dBm Noise level:-54 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

lo no wireless extensions.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

'''lsmod '''
Module                  Size  Used by
pci_stub               12622  1 
vboxpci                23194  0 
vboxnetadp             25670  0 
vboxnetflt             27613  0 
vboxdrv               339502  3 vboxnetadp,vboxnetflt,vboxpci
bnep                   19624  2 
rfcomm                 69160  0 
bluetooth             395423  10 bnep,rfcomm
binfmt_misc            17468  1 
nls_iso8859_1          12713  1 
rt5572sta             802835  1 
rt2800usb              27034  0 
rt2x00usb              20742  1 rt2800usb
rt2800lib              89076  1 rt2800usb
rt2x00lib              55307  3 rt2x00usb,rt2800lib,rt2800usb
mac80211              626557  3 rt2x00lib,rt2x00usb,rt2800lib
joydev                 17381  0 
cfg80211              484040  2 mac80211,rt2x00lib
crc_ccitt              12707  1 rt2800lib
snd_hda_codec_hdmi     46207  1 
snd_hda_codec_realtek    61438  1 
snd_hda_intel          52355  5 
snd_hda_codec         192906  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30144  1 snd_seq_midi
parport_pc             32701  0 
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
ppdev                  17671  0 
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29482  2 snd_pcm,snd_seq
lp                     17759  0 
snd                    69238  21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
parport                42348  3 lp,ppdev,parport_pc
intel_rapl             18773  0 
x86_pkg_temp_thermal    14205  0 
intel_powerclamp       14705  0 
coretemp               13435  0 
kvm_intel             143060  0 
kvm                   451511  1 kvm_intel
mac_hid                13205  0 
fglrx                8085343  157 
mei_me                 18627  0 
lpc_ich                21080  0 
mei                    82276  1 mei_me
amd_iommu_v2           19054  1 fglrx
usblp                  22891  0 
soundcore              12680  1 snd
serio_raw              13462  0 
xts                    12914  1 
gf128mul               14951  1 xts
dm_crypt               23177  1 
usb_storage            62209  0 
hid_generic            12548  0 
hid_logitech_dj        18581  0 
usbhid                 52570  0 
hid                   106148  5 hid_generic,usbhid,hid_logitech_dj
crct10dif_pclmul       14289  0 
crc32_pclmul           13113  0 
ghash_clmulni_intel    13216  0 
cryptd                 20359  1 ghash_clmulni_intel
e1000e                254433  0 
ahci                   25819  4 
psmouse               102222  0 
ptp                    18933  1 e1000e
libahci                32168  1 ahci
pps_core               19382  1 ptp
video                  19476  0 
wmi                    19177  0 
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
'''lsusb'''
Bus 002 Device 004: ID 057c:8501 AVM GmbH 
Bus 002 Device 003: ID 03f0:5d11 Hewlett-Packard PhotoSmart C5200 series
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0bda:0152 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
'''iwlist chan'''
ra0       32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Current Frequency:2.417 GHz (Channel 2)

eth0      no frequency information.

lo        no frequency information.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
'''sudo iwlist scan'''
ra0       Scan completed :
          Cell 01 - Address: 08:96:D7:51:1B:D8
                    Protocol:802.11b/g/n
                    ESSID:"LKWIRELESS"
                    Mode:Managed
                    Frequency:2.417 GHz (Channel 2)
                    Quality=94/100  Signal level=-53 dBm  Noise level=-92 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD6F0050F204104A0001101044000102103B0001031047001095C7414498E6986B01600896D7511BD71021000341564D1023000446426F78102400043030303010420004303030301054000800060050F20400011011000446426F78100800022788103C0001031049000600372A000120

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.
1
2
3
'''dmesg | grep rt5'''

[   30.686051] rt5572sta: module verification failed: signature and/or  required key missing - tainting kernel
1
2
lk@lk-Predator-G3620:~$ uname -a
Linux lk-Predator-G3620 3.13.0-29-generic #52-Ubuntu SMP Wed May 28 12:42:47 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Gruss Lucien

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22111

Wohnort: ~

Es werden 2 Treiber geladen:

sudo modprobe -rfv rt2800usb
sudo modprobe -rfv rt5572sta
sudo modprobe -v rt5572sta
echo "blacklist rt2800usb" | sudo tee /etc/modprobe.d/blacklist-rt2800usb.conf
sudo depmod -a

Stick neu einstecken und die Ausgaben nochmal.

lkrys

Anmeldungsdatum:
1. Juni 2014

Beiträge: 6

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
ra0       Ralink STA  ESSID:"LKWIRELESS"  Nickname:"RT2870STA"
          Mode:Managed  Frequency=2.447 GHz  Access Point: 08:96:D7:51:1B:D8   
          Bit Rate=270 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=100/100  Signal level:-55 dBm  Noise level:-69 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

lo        no wireless extensions.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
lk@lk-Predator-G3620:~$ lsusb
Bus 002 Device 005: ID 057c:8501 AVM GmbH 
Bus 002 Device 003: ID 03f0:5d11 Hewlett-Packard PhotoSmart C5200 series
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0bda:0152 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
lk@lk-Predator-G3620:~$ lsmod
Module                  Size  Used by
cfg80211              484040  0 
rfcomm                 69160  0 
bnep                   19624  2 
bluetooth             395423  10 bnep,rfcomm
nls_iso8859_1          12713  1 
rt5572sta             802835  1 
joydev                 17381  0 
snd_hda_codec_hdmi     46207  1 
snd_hda_codec_realtek    61438  1 
snd_hda_intel          52355  5 
snd_hda_codec         192906  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30144  1 snd_seq_midi
parport_pc             32701  0 
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
ppdev                  17671  0 
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29482  2 snd_pcm,snd_seq
lp                     17759  0 
parport                42348  3 lp,ppdev,parport_pc
snd                    69238  21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
usblp                  22891  0 
intel_rapl             18773  0 
x86_pkg_temp_thermal    14205  0 
intel_powerclamp       14705  0 
coretemp               13435  0 
kvm_intel             143060  0 
kvm                   451511  1 kvm_intel
serio_raw              13462  0 
lpc_ich                21080  0 
mei_me                 18627  0 
mei                    82274  1 mei_me
soundcore              12680  1 snd
mac_hid                13205  0 
xts                    12914  1 
gf128mul               14951  1 xts
dm_crypt               23177  1 
hid_generic            12548  0 
hid_logitech_dj        18581  0 
usbhid                 52570  0 
hid                   106148  5 hid_generic,usbhid,hid_logitech_dj
usb_storage            62209  0 
radeon               1514165  3 
i2c_algo_bit           13413  1 radeon
ttm                    85115  1 radeon
crct10dif_pclmul       14289  0 
crc32_pclmul           13113  0 
drm_kms_helper         52758  1 radeon
ghash_clmulni_intel    13216  0 
cryptd                 20359  1 ghash_clmulni_intel
e1000e                254433  0 
drm                   302817  5 ttm,drm_kms_helper,radeon
psmouse               102222  0 
ahci                   25819  4 
ptp                    18933  1 e1000e
libahci                32168  1 ahci
pps_core               19382  1 ptp
wmi                    19177  0 
video                  19476  0 
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
lk@lk-Predator-G3620:~$ iwlist chan
ra0       32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 36 : 5.18 GHz
          Channel 40 : 5.2 GHz
          Channel 44 : 5.22 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz
          Channel 128 : 5.64 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Current Frequency:2.447 GHz (Channel 8)

eth0      no frequency information.

lo        no frequency information.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
lk@lk-Predator-G3620:~$ sudo iwlist scan
ra0       Scan completed :
          Cell 01 - Address: 08:96:D7:51:1B:D7
                    Protocol:802.11a/n
                    ESSID:"LKWIRELESS5GHZ"
                    Mode:Managed
                    Frequency:5.18 GHz (Channel 36)
                    Quality=86/100  Signal level=-56 dBm  Noise level=-92 dBm
                    Encryption key:on
                    Bit Rates:300 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD1D0050F204104A0001101044000102103C0001031049000600372A000120
          Cell 02 - Address: 08:96:D7:51:1B:D8
                    Protocol:802.11b/g/n
                    ESSID:"LKWIRELESS"
                    Mode:Managed
                    Frequency:2.447 GHz (Channel 8)
                    Quality=94/100  Signal level=-53 dBm  Noise level=-92 dBm
                    Encryption key:on
                    Bit Rates:54 Mb/s
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD1D0050F204104A0001101044000102103C0001031049000600372A000120

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.
1
2
lk@lk-Predator-G3620:~$ dmesg | grep rt5
[   41.837532] rt5572sta: module verification failed: signature and/or  required key missing - tainting kernel
1
lk@lk-Predator-G3620:~$ uname -a

Vielen Dank Lucien

frostgram

Anmeldungsdatum:
27. März 2008

Beiträge: 155

Hat jemand eine Idee wie man mit den Patches von oben ein funktionstüchtiges Modul von rt2800usb bauen kann?

lkrys

Anmeldungsdatum:
1. Juni 2014

Beiträge: 6

Hallo

Habe noch einmal alles neu installiert.Ubuntu komplett neu aufgesetzt. Das gleiche Problem, wie beschrieben.

Gruss Lucien

lkrys

Anmeldungsdatum:
1. Juni 2014

Beiträge: 6

Hallo

Kann niemand mir helfen. Glaube dass es am Modul liegt.

elektronenblitz63

Avatar von elektronenblitz63

Anmeldungsdatum:
16. Januar 2007

Beiträge: 29307

Wohnort: NRW

@frostgram

Hallo,
man muss den Quellcode für rt2800usb aus den jeweiligen Kernelsourcen verwenden und patchen. Der Quellcode in den Linux-Wireless Paketen ist fehlerhaft, wie ich gerade festgestellt habe. Dazu ist das Paket linux-source zu installieren.

Anschließend kann man den Quellcode für das Modul kopieren, patchen, kompilieren und wieder in den Kernel einbauen.