Skip to content

iPXE를 이용한 WPA/WAP2-PSK 인증 관련 이슈 #7

@tyburn117

Description

@tyburn117

참고 : http://etherboot.org/wiki/wiki/qemupxe
https://wiki.tudos.org/QEmu

  1. cd ~
  2. mkdir pxe; cd pxe
  3. wget http://etherboot.org/gtest/gtest.gpxe
  4. wget http://etherboot.org/gtest/bz2bzImage
  5. wget http://etherboot.org/gtest/initrd.bz2
  6. gtest.gpxe를 다음과 같이 수정
#!gpxe
kernel tftp://10.0.0.88//bz2bzImage root=100
initrd tftp://10.0.0.88//initrd.bz2
boot

ps. 여기서 아이피를 이렇게 주었는데 나중에 실행할려면 dhcp에 해당 아이피가 등록되어야 하는 것 같다. 거기에 대해선 좀 더 찾은 후 수정하겠다.

  1. gpxe.dsk 파일을 다운로드 받자
    1. link : http://rom-o-matic.net/ 에 들어간다.
    2. 아래에 보면 gPXE Release 들이 보이고, 가장 최신의 (current-top) Release버전으로 들어간다
    3. 아무것도 건들지 말고 4번의 Get Image버튼을 눌러 다운로드 받는다.
  2. gpxe.dsk가 있는 경로로 이동한다.
  3. qemu를 실행한다.
    qemu-system-i386 -bootp tftp://10.0.0.88//gtest.gpxe -tftp /home/[yourName]/pxe/ -fda gpxe.dsk
  4. 실행되지 않는 것을 볼 수 있다.
    원인 : 추후 찾겠음.
  5. 실행되는 것을 보고 싶으면 다음과 같이 치면 된다.
    qemu-system-i386 -fda gpxe.dsk -net nic -net user -bootp http://etherboot.org/gtest/gtest.gpxe

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions