[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 을 자신의 리눅스 환경에 맞도록 수정하라고 하는것 같은데 어쩌라는건지 이해가 안되네요 도움부탁드립니다..감사합니다.
번호 | 제목 | 글쓴이 | 조회 | 날짜 |
---|---|---|---|---|
1446 | 가입인사 안내 1 | 컴퓨터매니아 | 49562 | 2014.01.16 |
» | [Kali Linux] 무선랜카드 설치 문제 2 | 팡기 | 26257 | 2016.07.22 |
1444 | 리눅스포럼 레이아웃 14 | 컴퓨터매니아 | 12764 | 2014.06.07 |
1443 | 루분투 만큼 가벼운 리눅스 추천 좀 해주세요. 10 | 린군 | 10792 | 2013.10.28 |
1442 | 기쁜 소식 전합니다..GetDataBack for NTFS 4.33 최고입니다. 5 | 고감맨 | 10371 | 2013.12.14 |
1441 | 한 권의 책을 위하여... 13 | audacious | 9779 | 2014.07.09 |
1440 | 리눅스에서 ActiveX를 해결할수 있는지요? 9 | 마니또우 | 7760 | 2013.10.22 |
1439 | 리눅스의 리 자도 모르는 완전 왕초보자들을 위한 쉬운 리눅스 설치및 사용법 강좌가 매우 절실합니다. 8 | myfree21 | 7215 | 2013.10.25 |
1438 |
카조님의 복구용pe
9
![]() | audacious | 6765 | 2014.05.10 |
1437 |
iptime 공유기에서 Telnet 실행
11
![]() | 컴퓨터매니아 | 6598 | 2015.01.10 |
1436 | 문의 드립니다. 7 | 옥돌 | 6042 | 2014.08.24 |
1435 |
Windows XP dongtie WIM image - update 20140509
4
![]() | 김명숙 | 5860 | 2014.06.06 |
1434 | 우분투 14.04 삼총사 배포시작 11 | audacious | 5749 | 2014.04.18 |
1433 | 전화인증방법 ms윈도우 1 | 둥지 | 5705 | 2014.09.20 |
1432 | 우분투 , 주분투 13.10 문제점 5 | 거지왕초 | 5639 | 2013.10.19 |
1431 |
우분투 14.04 버젼 설치 해보실분..
3
![]() | 태엽 | 5637 | 2013.11.17 |
1430 |
XBMC 가 좋아졌어요.
3
![]() | 플라타너스 | 5572 | 2013.10.29 |
1429 | 어도비 플래시 플러그인 3 | 카리스마조 | 5500 | 2013.10.23 |
1428 | 13.10 한영 전환 성공^^ 8 | 카리스마조 | 5486 | 2013.10.20 |
1427 | 드림 PE 의견 52 | 카리스마조 | 5442 | 2014.08.19 |
커널 소스코드가 없어서 빌드가 실패하는 것 같습니다.
apt-get install linux-headers-$(uname -r)
위 명령어를 실행하시면 빌드가 어느 정도 되기는 할 것입니다. 다만 다른 오류가 발생할 수 있습니다.
일단 위 명령어 실행 후 회신 부탁드립니다.