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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283 | zyz@zyz-desktop:~$ sudo apt-get install linux-headers-generic build-essential git
[sudo] password for zyz:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
linux-headers-generic è già alla versione più recente.
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
linux-headers-generic-lts-utopic linux-image-generic-lts-utopic
Usare "apt-get autoremove" per rimuoverli.
I seguenti pacchetti saranno inoltre installati:
dpkg-dev g++ g++-4.8 git-man libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl liberror-perl
libstdc++-4.8-dev
Pacchetti suggeriti:
debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-bzr git-cvs git-mediawiki git-svn libstdc++-4.8-doc
I seguenti pacchetti NUOVI saranno installati:
build-essential dpkg-dev g++ g++-4.8 git git-man libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl liberror-perl
libstdc++-4.8-dev
0 aggiornati, 11 installati, 0 da rimuovere e 13 non aggiornati.
È necessario scaricare 20,0 MB di archivi.
Dopo quest'operazione, verranno occupati 59,5 MB di spazio su disco.
Continuare? [S/n] s
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev i386 4.8.4-2ubuntu1~14.04 [1.058 kB]
Scaricamento di:2 http://security.ubuntu.com/ubuntu/ trusty-security/main dpkg-dev all 1.17.5ubuntu5.5 [726 kB]
Scaricamento di:3 http://it.archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 i386 4.8.4-2ubuntu1~14.04 [14,8 MB]
Scaricamento di:4 http://security.ubuntu.com/ubuntu/ trusty-security/main git-man all 1:1.9.1-1ubuntu0.2 [699 kB]
Scaricamento di:5 http://security.ubuntu.com/ubuntu/ trusty-security/main git i386 1:1.9.1-1ubuntu0.2 [2.651 kB]
Scaricamento di:6 http://it.archive.ubuntu.com/ubuntu/ trusty/main g++ i386 4:4.8.2-1ubuntu6 [1.500 B]
Scaricamento di:7 http://it.archive.ubuntu.com/ubuntu/ trusty/main build-essential i386 11.6ubuntu6 [4.824 B]
Scaricamento di:8 http://it.archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21,1 kB]
Scaricamento di:9 http://it.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50,0 kB]
Scaricamento di:10 http://it.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl i386 0.04-2build4 [13,1 kB]
Scaricamento di:11 http://it.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12,7 kB]
Recuperati 20,0 MB in 11s (1.814 kB/s)
Selezionato il pacchetto libstdc++-4.8-dev:i386 non precedentemente selezionato.
(Lettura del database... 226338 file e directory attualmente installati.)
Preparativi per estrarre .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04_i386.deb...
Estrazione di libstdc++-4.8-dev:i386 (4.8.4-2ubuntu1~14.04)...
Selezionato il pacchetto g++-4.8 non precedentemente selezionato.
Preparativi per estrarre .../g++-4.8_4.8.4-2ubuntu1~14.04_i386.deb...
Estrazione di g++-4.8 (4.8.4-2ubuntu1~14.04)...
Selezionato il pacchetto g++ non precedentemente selezionato.
Preparativi per estrarre .../g++_4%3a4.8.2-1ubuntu6_i386.deb...
Estrazione di g++ (4:4.8.2-1ubuntu6)...
Selezionato il pacchetto dpkg-dev non precedentemente selezionato.
Preparativi per estrarre .../dpkg-dev_1.17.5ubuntu5.5_all.deb...
Estrazione di dpkg-dev (1.17.5ubuntu5.5)...
Selezionato il pacchetto build-essential non precedentemente selezionato.
Preparativi per estrarre .../build-essential_11.6ubuntu6_i386.deb...
Estrazione di build-essential (11.6ubuntu6)...
Selezionato il pacchetto liberror-perl non precedentemente selezionato.
Preparativi per estrarre .../liberror-perl_0.17-1.1_all.deb...
Estrazione di liberror-perl (0.17-1.1)...
Selezionato il pacchetto git-man non precedentemente selezionato.
Preparativi per estrarre .../git-man_1%3a1.9.1-1ubuntu0.2_all.deb...
Estrazione di git-man (1:1.9.1-1ubuntu0.2)...
Selezionato il pacchetto git non precedentemente selezionato.
Preparativi per estrarre .../git_1%3a1.9.1-1ubuntu0.2_i386.deb...
Estrazione di git (1:1.9.1-1ubuntu0.2)...
Selezionato il pacchetto libalgorithm-diff-perl non precedentemente selezionato.
Preparativi per estrarre .../libalgorithm-diff-perl_1.19.02-3_all.deb...
Estrazione di libalgorithm-diff-perl (1.19.02-3)...
Selezionato il pacchetto libalgorithm-diff-xs-perl non precedentemente selezionato.
Preparativi per estrarre .../libalgorithm-diff-xs-perl_0.04-2build4_i386.deb...
Estrazione di libalgorithm-diff-xs-perl (0.04-2build4)...
Selezionato il pacchetto libalgorithm-merge-perl non precedentemente selezionato.
Preparativi per estrarre .../libalgorithm-merge-perl_0.08-2_all.deb...
Estrazione di libalgorithm-merge-perl (0.08-2)...
Elaborazione dei trigger per man-db (2.6.7.1-1ubuntu1)...
Configurazione di libstdc++-4.8-dev:i386 (4.8.4-2ubuntu1~14.04)...
Configurazione di g++-4.8 (4.8.4-2ubuntu1~14.04)...
Configurazione di g++ (4:4.8.2-1ubuntu6)...
update-alternatives: viene usato /usr/bin/g++ per fornire /usr/bin/c++ (c++) in modalità automatica
Configurazione di dpkg-dev (1.17.5ubuntu5.5)...
Configurazione di build-essential (11.6ubuntu6)...
Configurazione di liberror-perl (0.17-1.1)...
Configurazione di git-man (1:1.9.1-1ubuntu0.2)...
Configurazione di git (1:1.9.1-1ubuntu0.2)...
Configurazione di libalgorithm-diff-perl (1.19.02-3)...
Configurazione di libalgorithm-diff-xs-perl (0.04-2build4)...
Configurazione di libalgorithm-merge-perl (0.08-2)...
zyz@zyz-desktop:~$ git clone https://github.com/porjo/mt7601.git
Cloning into 'mt7601'...
remote: Counting objects: 455, done.
remote: Total 455 (delta 0), reused 0 (delta 0), pack-reused 455
Ricezione degli oggetti: 100% (455/455), 1.58 MiB | 1.18 MiB/s, done.
Risoluzione dei delta: 100% (176/176), done.
Checking connectivity... fatto.
zyz@zyz-desktop:~$ cd mt7601/src
zyz@zyz-desktop:~/mt7601/src$ make
make -C tools
make[1]: ingresso nella directory "/home/zyz/mt7601/src/tools"
gcc -g bin2h.c -o bin2h
make[1]: uscita dalla directory "/home/zyz/mt7601/src/tools"
/home/zyz/mt7601/src/tools/bin2h
cp -f os/linux/Makefile.6 /home/zyz/mt7601/src/os/linux/Makefile
make -C /lib/modules/3.16.0-57-generic/build SUBDIRS=/home/zyz/mt7601/src/os/linux modules
make[1]: ingresso nella directory "/usr/src/linux-headers-3.16.0-57-generic"
CC [M] /home/zyz/mt7601/src/os/linux/../../os/linux/rt_profile.o
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/assoc.o
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/auth.o
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/auth_rsp.o
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/sync.o
/home/zyz/mt7601/src/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/zyz/mt7601/src/os/linux/../../sta/sync.c:2183:12: warning: passing argument 8 of ‘StaAddMacTableEntry’ from incompatible pointer type [enabled by default]
ie_list->CapabilityInfo) == FALSE)
^
In file included from /home/zyz/mt7601/src/include/rt_config.h:59:0,
from /home/zyz/mt7601/src/os/linux/../../sta/sync.c:28:
/home/zyz/mt7601/src/include/rtmp.h:7892:9: note: expected ‘struct IE_LISTS *’ but argument is of type ‘struct BCN_IE_LIST **’
BOOLEAN StaAddMacTableEntry(
^
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/sanity.o
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/rtmp_data.o
/home/zyz/mt7601/src/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/zyz/mt7601/src/os/linux/../../sta/rtmp_data.c:523:4: warning: passing argument 2 of ‘MacTableLookup’ from incompatible pointer type [enabled by default]
pEntry = MacTableLookup(pAd, &pHeader->Addr2);
^
In file included from /home/zyz/mt7601/src/include/rt_config.h:59:0,
from /home/zyz/mt7601/src/os/linux/../../sta/rtmp_data.c:28:
/home/zyz/mt7601/src/include/rtmp.h:8429:18: note: expected ‘UCHAR *’ but argument is of type ‘UCHAR (*)[6]’
MAC_TABLE_ENTRY *MacTableLookup(RTMP_ADAPTER *pAd, UCHAR *pAddr);
^
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/connect.o
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/wpa.o
CC [M] /home/zyz/mt7601/src/os/linux/../../sta/sta_cfg.o
/home/zyz/mt7601/src/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwgenie’:
/home/zyz/mt7601/src/os/linux/../../sta/sta_cfg.c:7618:13: warning: assignment from incompatible pointer type [enabled by default]
eid_ptr = pAd->StaCfg.pWpaAssocIe;
^
CC [M] /home/zyz/mt7601/src/os/linux/../../common/crypt_md5.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/crypt_sha2.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/crypt_hmac.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/crypt_aes.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/crypt_arc4.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/mlme.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_wep.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/action.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_data.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rtmp_init.o
/home/zyz/mt7601/src/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/home/zyz/mt7601/src/os/linux/../../common/rtmp_init.c:1656:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rtmp_init_inf.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_tkip.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_aes.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_sync.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/eeprom.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_sanity.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_info.o
/home/zyz/mt7601/src/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/home/zyz/mt7601/src/os/linux/../../common/cmm_info.c:5730:3: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 5 has type ‘UCHAR *’ [-Wformat=]
rv = sscanf(arg, "%d-%d-%x", &(bank_id), &(rf_id), &(rf_val));
^
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_cfg.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_wpa.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_radar.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/spectrum.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rtmp_timer.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rt_channel.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_profile.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_asic.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/scan.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_cmd.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/uapsd.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/ps.o
CC [M] /home/zyz/mt7601/src/os/linux/../../rate_ctrl/ra_ctrl.o
CC [M] /home/zyz/mt7601/src/os/linux/../../rate_ctrl/alg_legacy.o
CC [M] /home/zyz/mt7601/src/os/linux/../../rate_ctrl/alg_ags.o
CC [M] /home/zyz/mt7601/src/os/linux/../../chips/rtmp_chip.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/txpower.o
CC [M] /home/zyz/mt7601/src/os/linux/../../mac/rtmp_mac.o
CC [M] /home/zyz/mt7601/src/os/linux/../../mgmt/mgmt_hw.o
CC [M] /home/zyz/mt7601/src/os/linux/../../mgmt/mgmt_entrytb.o
CC [M] /home/zyz/mt7601/src/os/linux/../../phy/rtmp_phy.o
CC [M] /home/zyz/mt7601/src/os/linux/../../phy/rlt_phy.o
CC [M] /home/zyz/mt7601/src/os/linux/../../phy/rlt_rf.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/ba_action.o
CC [M] /home/zyz/mt7601/src/os/linux/../../mgmt/mgmt_ht.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rt_os_util.o
CC [M] /home/zyz/mt7601/src/os/linux/../../os/linux/sta_ioctl.o
CC [M] /home/zyz/mt7601/src/os/linux/../../os/linux/rt_linux.o
/home/zyz/mt7601/src/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/home/zyz/mt7601/src/os/linux/../../os/linux/rt_linux.c:2054:4: warning: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [enabled by default]
file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
^
/home/zyz/mt7601/src/os/linux/../../os/linux/rt_linux.c:2054:4: note: expected ‘const char *’ but argument is of type ‘UINT32 *’
CC [M] /home/zyz/mt7601/src/os/linux/../../os/linux/rt_main_dev.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_mac_usb.o
/home/zyz/mt7601/src/os/linux/../../common/cmm_mac_usb.c: In function ‘RTMPAllocTxRxRingMemory’:
/home/zyz/mt7601/src/os/linux/../../common/cmm_mac_usb.c:562:31: warning: initialization from incompatible pointer type [enabled by default]
PTX_CONTEXT pNullContext = &(pAd->NullContext);
^
CC [M] /home/zyz/mt7601/src/os/linux/../../common/cmm_data_usb.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rtusb_io.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rtusb_data.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rtusb_bulk.o
/home/zyz/mt7601/src/os/linux/../../common/rtusb_bulk.c: In function ‘RTUSBCancelPendingBulkOutIRP’:
/home/zyz/mt7601/src/os/linux/../../common/rtusb_bulk.c:1680:15: warning: assignment from incompatible pointer type [enabled by default]
pNullContext = &(pAd->NullContext);
^
CC [M] /home/zyz/mt7601/src/os/linux/../../os/linux/rt_usb.o
/home/zyz/mt7601/src/os/linux/../../os/linux/rt_usb.c: In function ‘cmd_rsp_event_tasklet’:
/home/zyz/mt7601/src/os/linux/../../os/linux/rt_usb.c:537:22: warning: assignment from incompatible pointer type [enabled by default]
pCmdRspEventContext = (PRX_CONTEXT)RTMP_USB_URB_DATA_GET(pUrb);
^
CC [M] /home/zyz/mt7601/src/os/linux/../../common/ee_prom.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/ee_efuse.o
CC [M] /home/zyz/mt7601/src/os/linux/../../mcu/rtmp_and.o
CC [M] /home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.o
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c: In function ‘MCUBurstWrite’:
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c:32:2: warning: passing argument 3 of ‘RTUSBMultiWrite_nBytes’ from incompatible pointer type [enabled by default]
RTUSBMultiWrite_nBytes(pAd, Offset, Data, Cnt * 4, 64);
^
In file included from /home/zyz/mt7601/src/include/rt_config.h:59:0,
from /home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c:28:
/home/zyz/mt7601/src/include/rtmp.h:7553:10: note: expected ‘PUCHAR’ but argument is of type ‘UINT32 *’
NTSTATUS RTUSBMultiWrite_nBytes(
^
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c: In function ‘ChipOpsMCUHook’:
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c:64:25: warning: assignment from incompatible pointer type [enabled by default]
pChipOps->Calibration = AndesCalibrationOP;
^
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c:71:25: warning: assignment from incompatible pointer type [enabled by default]
pChipOps->RandomWrite = AndesRandomWrite;
^
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c:72:27: warning: assignment from incompatible pointer type [enabled by default]
pChipOps->RFRandomWrite = AndesRFRandomWrite;
^
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c: In function ‘MCUBurstWrite’:
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c:33:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c: In function ‘MCURandomWrite’:
/home/zyz/mt7601/src/os/linux/../../mcu/rtmp_mcu.c:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
CC [M] /home/zyz/mt7601/src/os/linux/../../mcu/rtmp_M51.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rt_rf.o
CC [M] /home/zyz/mt7601/src/os/linux/../../chips/mt7601.o
/home/zyz/mt7601/src/os/linux/../../chips/mt7601.c: In function ‘MT7601DisableTxRx’:
/home/zyz/mt7601/src/os/linux/../../chips/mt7601.c:1491:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]
return;
^
/home/zyz/mt7601/src/os/linux/../../chips/mt7601.c: In function ‘MT7601_Init’:
/home/zyz/mt7601/src/os/linux/../../chips/mt7601.c:3387:24: warning: assignment from incompatible pointer type [enabled by default]
pChipOps->DisableTxRx = MT7601DisableTxRx;
^
CC [M] /home/zyz/mt7601/src/os/linux/../../mac/ral_omac.o
CC [M] /home/zyz/mt7601/src/os/linux/../../os/linux/rt_usb_util.o
/home/zyz/mt7601/src/os/linux/../../os/linux/rt_usb_util.c: In function ‘rausb_autopm_get_interface’:
/home/zyz/mt7601/src/os/linux/../../os/linux/rt_usb_util.c:155:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
CC [M] /home/zyz/mt7601/src/os/linux/../../os/linux/usb_main_dev.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/rtusb_dev_id.o
CC [M] /home/zyz/mt7601/src/os/linux/../../common/frq_cal.o
LD [M] /home/zyz/mt7601/src/os/linux/mt7601Usta.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/zyz/mt7601/src/os/linux/mt7601Usta.mod.o
LD [M] /home/zyz/mt7601/src/os/linux/mt7601Usta.ko
make[1]: uscita dalla directory "/usr/src/linux-headers-3.16.0-57-generic"
cp -f /home/zyz/mt7601/src/os/linux/mt7601Usta.ko /tftpboot 2>/dev/null || :
zyz@zyz-desktop:~/mt7601/src$ sudo make install
make -C /home/zyz/mt7601/src/os/linux -f Makefile.6 install
make[1]: ingresso nella directory "/home/zyz/mt7601/src/os/linux"
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/zyz/mt7601/src/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/3.16.0-57-generic/kernel/drivers/net/wireless/
install -m 644 -c mt7601Usta.ko /lib/modules/3.16.0-57-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 3.16.0-57-generic
make[1]: uscita dalla directory "/home/zyz/mt7601/src/os/linux"
zyz@zyz-desktop:~/mt7601/src$ sudo mkdir -p /etc/Wireless/RT2870STA/
zyz@zyz-desktop:~/mt7601/src$ sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/
zyz@zyz-desktop:~/mt7601/src$ sudo modprobe mt7601Usta
zyz@zyz-desktop:~/mt7601/src$ cd mt7601/src
|