[Kali Linux] 무선랜카드 설치 문제
2016.07.22 18:02
ipTIME A1000UA(USB형식) 무선 랜카드를 구입하여 본체에 장착을 하고 ipTIME 공식 홈페이지에서 드라이버를 다운받아
tar.bz2 파일을 압축해제하고 터미널로 해당 디렉토리로 들어가 make 명렁어를 사용하여 설치를 시도하는데 오류가발생합니다.
일단 도움은 안될것 같지만 lsusb 명령어를 쳐보면 mediatek 장치(무선랜카드)가 인식이 되긴합니다.
root@panggi:~/다운로드/mt7610u_wifi_sta_v3002_dpo_20130916# sudo make
make -C tools
make[1]: Entering directory '/root/다운로드/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/root/다운로드/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
/root/다운로드/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /root/다운로드/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/4.3.0-kali1-686-pae/build SUBDIRS=/root/다운로드/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1]: *** /lib/modules/4.3.0-kali1-686-pae/build: 그런 파일이나 디렉터리가 없습니다. 멈춤.
Makefile:393: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
댓글 2
-
-
팡기
2016.07.23 16:11
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
E: linux-headers-4.3.0-kali1-686-pae 패키지를 찾을 수 없습니다
E: Couldn't find any package by glob 'linux-headers-4.3.0-kali1-686-pae'
E: 'linux-headers-4.3.0-kali1-686-pae' 정규식에 해당하는 패키지가 없습니다.라는 오류가 발생하네요.
/etc/apt/sources.list 에서
## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://http.kali.org/kali main contrib non-free
라느 구분을 추가하고 다시 시도해 봤더니 똑같은 오류가 발생하네요.. 그것보다 저 드라이버 설치 디렉터리안에서 readme 파일을 발견했는데 설치 순서가 아래와 같습니다.
1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.
2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d4> $make
# compile driver source code
# To fix "error: too few arguments to function ‥iwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c5> $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
6> load driver, go to "os/linux/" directory.
#[kernel 2.4]
# $/sbin/insmod rt2870sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up
#[kernel 2.6]
# $/sbin/insmod rt2870sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2870sta그런데 2 번단계에서 makefile 을 자신의 리눅스 환경에 맞도록 수정하라고 하는것 같은데 어쩌라는건지 이해가 안되네요 도움부탁드립니다..감사합니다.
번호 | 제목 | 글쓴이 | 조회 | 날짜 |
---|---|---|---|---|
1266 | 언제나 너그러운 마음으로 1 | 언제나당당 | 417 | 2016.01.11 |
1265 | 내가 먼저 마음의 문을 열면...... 1 | 언제나당당 | 381 | 2016.01.01 |
1264 |
새해 첫날 삐리리 인사 올립니다~~~!!! ^^
3
![]() | 삐리리 | 412 | 2016.01.01 |
1263 |
수처작주(隨處作主)
3
![]() | 옥돌 | 434 | 2015.12.31 |
1262 | 건강한 하루하루 되십시오 1 | 박정규 | 332 | 2015.12.31 |
1261 |
새해 福 배 터지도록 드시길 바랍니다...^^
1
![]() | 초원의빛 | 361 | 2015.12.31 |
1260 | 한 해 동안 수고 많으셨습니다. 4 | 언제나당당 | 322 | 2015.12.31 |
1259 | 새해 복 많이 받으세요..꾸벅~ 4 | 풍운 | 327 | 2015.12.29 |
1258 |
Merry Christmas!!
4
![]() | 언제나당당 | 405 | 2015.12.24 |
1257 | 열어보지 않은 선물 1 | 언제나당당 | 457 | 2015.12.07 |
1256 | 미움도 괴롭고 사랑도 괴롭다. 4 | 언제나당당 | 439 | 2015.12.04 |
1255 | 11월 한달도 수고 많으셨습니다. 3 | 언제나당당 | 412 | 2015.11.30 |
1254 | 아름다운 당신의 손 입니다. 3 | 언제나당당 | 543 | 2015.11.19 |
1253 | 다리가 아파서...... 4 | 언제나당당 | 553 | 2015.11.18 |
1252 | 행복을 열어 가는 길...... 1 | 언제나당당 | 535 | 2015.11.10 |
1251 | 향기로운 한 잔의 차 2 | 언제나당당 | 578 | 2015.11.08 |
1250 | 가장 행복한 기다림...... | 언제나당당 | 541 | 2015.11.07 |
1249 | 크롬의 전력관리 3 | 야밤 | 842 | 2015.10.24 |
1248 |
이 메세지때문에 부팅이 안되는데 원인 좀 알려주세요
![]() | 스위스 | 839 | 2015.10.23 |
1247 | 이런 일도 있었네요......^^ 5 | 언제나당당 | 931 | 2015.10.23 |
커널 소스코드가 없어서 빌드가 실패하는 것 같습니다.
apt-get install linux-headers-$(uname -r)
위 명령어를 실행하시면 빌드가 어느 정도 되기는 할 것입니다. 다만 다른 오류가 발생할 수 있습니다.
일단 위 명령어 실행 후 회신 부탁드립니다.