ipTime N150UA-4dBi
환경
chip set : ralink MT7601STA
os : ubuntu 14.04
driver
DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2
준비
tar jxvf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2
소스 수정
cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913
vi os/linux/rt_linux.c
아래와 같이 소스 수정
1111 static inline void __RtmpOSFSInfoChange(OS_FS_INFO * pOSFSInfo, BOOLEAN bSet)
1112 {
1113 if (bSet) {
1114 /* Save uid and gid used for filesystem access. */
1115 /* Set user and group to 0 (root) */
1116 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
1117 pOSFSInfo->fsuid = current->fsuid;
1118 pOSFSInfo->fsgid = current->fsgid;
1119 current->fsuid = current->fsgid = 0;
1120 #else
1121 pOSFSInfo->fsuid = current_fsuid().val;
1122 pOSFSInfo->fsgid = current_fsgid().val;
1123 #endif
1124 pOSFSInfo->fs = get_fs();
1125 set_fs(KERNEL_DS);
1126 } else {
1127 set_fs(pOSFSInfo->fs);
1128 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
1129 current->fsuid = pOSFSInfo->fsuid;
1130 current->fsgid = pOSFSInfo->fsgid;
1131 #endif
1132 }
1133 }
빌드
make
sudo make install
로딩
sudo modprobe mt7601Usta.ko
-> 나는 이부분에서 sudo modprobe mt7601Usta 하니까 됏음 (.ko를 빼고, 넣고하면 not found야)
확인
$ > iwconfig
ra0 Ralink STA ESSID:"11n-AP" Nickname:"MT7601STA"
Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off
Link Quality=10/100 Signal level:0 dBm Noise level:0 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.
eth1 no wireless extensions.
eth2 no wireless extensions.
eth3 no wireless extensions.
lo no wireless extensions.
'Kali' 카테고리의 다른 글
설치 시 mirror 안잡힘 (0) | 2016.03.19 |
---|---|
airmon-ng n150ua설치 + 모니터모드 (0) | 2015.07.24 |
kali vmware tools 설치때 (0) | 2015.07.13 |
kali 랜 안잡힐때 확인사항 (0) | 2015.02.18 |
kali 한글 타자 추가 (0) | 2015.02.17 |