생명과학쟁이

익명 사용자의 이미지

우여곡절 끝에 데비안과 윈도우즈 듀얼부팅에 성공했습니다.

아직 인터넷은 안되는 상황입니다.

무선 장치를 위한 드라이버를 찾았습니다. iwlwifi-9000-pu-b0-jf-b0-34

여지지 껏 apt-get install OR dpkg -i 등으로 우분투에서 패키지 설치는 좀 해봤지만, 이번 경우 설치 문서를 보니 커널설정을 해야 하네요.

아래 펌웨어를 복사하는 것이야 쉽게 하겠습니다만, 커널 설정은 어떻게 해야 하는지 설명 부탁드립니다.

커널 컴파일이라는 거 말만 들어왔지 해본적은 없습니다. 현재 데비안 안정판(stretch)로 standard package와 DE, Xfce 가 설치된 상황입니다. 혹시 커널 설정시 추가적인 패키지가 필요하다면(예를 들어 몇몇 라이브러리나, 컴파일러?), 인터넷이 안되는 상황에서 어떻게 설치해야 하는지도 난감한 상황이네요. 참고로 펌웨어 압축을 풀었을 때 나온 README파일의 Installation 부분을 첨부합니다.

2. INSTALLATION
 
The iwlwifi driver will look for the file iwlwifi-9000-pu-b0-jf-b0-34.ucode
using the kernel's firmware_class infrastructure.
More information can be found under Documentation/firmware_class in kernel
source. In order to function correctly, you need to have this support enabled
in your kernel.  When you configure the kernel, you can find this option in
the following location:
 
        Device Drivers ->
                Generic Driver Options ->
                        Userspace firmware loading support
 
 
You can determine if your kernel currently has firmware loader support
by looking for the CONFIG_FW_LOADER definition on your kernel's
.config.
 
In addition to having the firmware_class support in your kernel, you
must also have a working udev and uevent infrastructure configured.
The steps for installing and configuring udev are very
distribution specific.
 
Once you have the firmware loader in place (or if you aren't sure and
you just want to try things to see if it works), you need to install
the microcode file into the appropriate location.
 
Where that appropriate location is depends (again) on your system
distribution.  You can typically find this location by looking in the
udev scripts of your distro, the default is /lib/firmware.
 
Installation of the firmware is simply:
 
        % cp iwlwifi-9000-pu-b0-jf-b0-34.ucode /lib/firmware
 
You can now load the driver (see the INSTALL and README.iwlwifi provided with
the iwlwifi package for information on building and using that driver.)
생명과학쟁이의 이미지

제목에 실수로 작성자명(?)을 적었네요. 죄송합니다.

chanik의 이미지

잘은 모르지만, 올려주신 내용을 보면 크게 아래의 두 단계 정도같네요.

[1] 커널에 Userspace firmware loading support 가 켜져있는지 확인
[2] 안켜져있으면 켜고, 켜져있다면 microcode를 적당한 위치로 복사

[1]은 CONFIG_FW_LOADER 설정이 켜져있는지를 보라고 나와있는데, 여기를 보니 아래 명령 정도로 확인 가능한 것 같습니다.

$ grep CONFIG_FW_LOADER /boot/config-$(uname -r)
CONFIG_FW_LOADER=y
CONFIG_FW_LOADER_USER_HELPER=y
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set

데비안계열인 Ubuntu-18.04에서 해본 결과인데 해당 설정이 켜져있네요 (데비안계열은 아니지만 오래된 CentOS-5에서도 같은 식으로 확인 가능했고 켜져있었습니다). 커널빌드는 이 설정이 꺼져있을때 고민하시면 되겠습니다만, 지금 쓰시는 데비안 시스템의 커널에도 켜져있을 것으로 예상합니다.

[2]단계는 올려주신 설명에 나온대로 아래와 같이 하면 되겠네요.

% cp iwlwifi-9000-pu-b0-jf-b0-34.ucode /lib/firmware

제가 쓰는 우분투의 /lib/firmware 디렉토리를 보니 비슷한 microcode 파일들이 많이 들어있습니다. 데비안 시스템에서도 위치가 같을 것으로 생각합니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.