바뀜

둘러보기로 가기 검색하러 가기
6,317 바이트 추가됨 ,  2018년 8월 25일 (토) 18:02
iwlwifi-6000g2b-6.ucode 관련 내용을 기록함.
ff:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
</syntaxhighlight>
 
펌웨어를 설치하지 않은 채 데비안을 설치했다면, 부팅할 때마다 아래와 같은 내용이 /var/log/message 파일에 기록됩니다.
Aug 11 22:46:43 dell-laptop kernel: [ 15.777418] b43 ssb0:0: firmware: direct-loading firmware b43/lp0bsinitvals15.fw
</pre>
 
 
==== 없는 펌웨어 파일은: iwlwifi-6000g2b-6.ucode ====
Intel Corporation Centrino Advanced-N 6235(무선랜)을 사용한다면 이 장치의 펌웨어를 수동으로 설치해야 합니다.
 
메인 노트북 (Samsung NT900X4C-A58)에 데비안(buster alpha3)을 설치할 때, 네트워크 설정 부분에서 아래 사진과 같은 문제가 발생했습니다.
 
[[File:20180819_214050.jpg|800px]]
 
윈도우10 환경에서 버추얼박스에 데비안을 설치할 때는 위 문제는 발생하지 않습니다. 하지만 컴퓨터(노트북)에서 ISO 파일을 구운 CD 또는 DVD로 자체적으로 부팅하여 데비안을 설치할 때 이 문제가 발생합니다. 왜냐하면 데비안 설치 ISO 파일 자체에 Intel Corporation Centrino Advanced-N 6235(무선랜)의 펌웨어(iwlwifi-6000g2b-6.ucode)를 포함하고 있지 않기 때문입니다.
 
반면에 윈도우10은 Intel Corporation Centrino Advanced-N 6235 드라이버(펌웨어)를 포함하고 있습니다. 따라서 윈도우10 환경에서 버추얼박스를 이용하여 데비안을 설치할 때, 펌웨어(iwlwifi-6000g2b-6.ucode)가 없다는 메시지는 발생하지 않습니다(예를 들어 버추얼박스에서 해당 가상머신의 네트워크 설정을 '브리지 어댑터'로 설정한 경우).
 
아래의 실행 결과는 데비안을 설치고나서, 네트워크 장치의 펌웨어를 설치한 후에 확인한 제 메인 노트북의 네트워크 장치 정보입니다.
<syntaxhighlight lang="text" highlight="2">
westporch@nt900x4c-a58:~$ sudo lshw -short | grep network
/0/100/1c/0 wlp1s0 network Centrino Advanced-N 6235
/0/100/1c.3/0 enp2s0 network RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
</syntaxhighlight>
 
<syntaxhighlight lang="text" highlight="13">
westporch@nt900x4c-a58:~$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM75 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
</syntaxhighlight>
 
만약 펌웨어를 설치하지 않은 채 데비안을 설치했다면, 해당 펌웨어가 설치될 때까지 부팅할 때마다 아래와 같은 내용이 /var/log/message 파일에 기록됩니다.
 
<pre>
Aug 19 22:08:01 nt900x4c kernel: [    4.010499] iwlwifi 0000:01:00.0: Direct firmware load for iwlwifi-6000g2b-6.ucode failed with error -2
</pre>
 
===== 해결 방법 =====
Intel Corporation Centrino Advanced-N 6235(무선랜)의 펌웨어를 직접 설치해야 합니다.
 
====== 펌웨어 설치 ======
firmware-iwlwifi 패키지는 정보는 https://packages.debian.org/buster/firmware-iwlwifi 에서 확인 및 다운로드를 할 수 있습니다.
non-free 이므로 /etc/apt/sources.list를 아래처럼 수정합니다.
 
<syntaxhighlight lang="diff">
#
 
# deb cdrom:[Debian GNU/Linux buster-DI-alpha3 _Buster_ - Official Snapshot amd64 DVD Binary-1 20180612-18:53]/ buster contrib main
 
# deb cdrom:[Debian GNU/Linux buster-DI-alpha3 _Buster_ - Official Snapshot amd64 DVD Binary-1 20180612-18:53]/ buster contrib main
 
- deb http://ftp.kaist.ac.kr/debian/ buster main
+ deb http://ftp.kaist.ac.kr/debian/ buster main non-free
deb-src http://ftp.kaist.ac.kr/debian/ buster main
 
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib
</syntaxhighlight>
 
apt-get update를 실행합니다.
 
<pre>
westporch@nt900x4c:~$ sudo apt-get update
</pre>
 
이제 [https://packages.debian.org/buster/firmware-iwlwifi firmware-iwlwifi]를 설치합니다.
 
<pre>
westporch@nt900x4c:~$ sudo apt-get install firmware-iwlwifi
</pre>
 
리부팅을 합니다.
 
<pre>
westporch@nt900x4c:~$ sudo reboot
</pre>
 
====== 펌웨어 설치 확인 ======
리부팅 후에 /var/log/message를 확인했을 때 아래 메시지를 볼 수 있다면, 펌웨어가 제대로 설치된 것입니다.
 
<pre>
Aug 19 22:29:22 nt900x4c kernel: [ 4.157755] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6235 AGN, REV=0xB0
(..생략..)
Aug 19 22:29:22 nt900x4c kernel: [ 3.987498] iwlwifi 0000:01:00.0: firmware: direct-loading firmware iwlwifi-6000g2b-6.ucode
Aug 19 22:29:22 nt900x4c kernel: [ 3.987783] iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm
</pre>
 
이제 ‘/etc/apt/sources.list’를 원상태로 복구합니다.
 
<syntaxhighlight lang="diff">
#
 
# deb cdrom:[Debian GNU/Linux buster-DI-alpha3 _Buster_ - Official Snapshot amd64 DVD Binary-1 20180612-18:53]/ buster contrib main
 
# deb cdrom:[Debian GNU/Linux buster-DI-alpha3 _Buster_ - Official Snapshot amd64 DVD Binary-1 20180612-18:53]/ buster contrib main
 
+ deb http://ftp.kaist.ac.kr/debian/ buster main
- deb http://ftp.kaist.ac.kr/debian/ buster main non-free
deb-src http://ftp.kaist.ac.kr/debian/ buster main
 
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib
</syntaxhighlight>

둘러보기 메뉴