From d15bff31a269a2e05c1296110564a466954d4049 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Fri, 4 Dec 2015 18:05:13 +0000 Subject: writeup: Added note about using more then 5 rtlsdr dongles --- md/writeup/rtlsdr_usage.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'md/writeup') diff --git a/md/writeup/rtlsdr_usage.md b/md/writeup/rtlsdr_usage.md index 68ec170..2bbec78 100644 --- a/md/writeup/rtlsdr_usage.md +++ b/md/writeup/rtlsdr_usage.md @@ -186,6 +186,18 @@ to setup with rtlsdr stick. Once there was sync error when was trying to use rtl_test or rtl_adsb. To fix that changes for better quality usb cable. +### 4.2.More then 1 dongle + +When you run you run usually more then 5 dongles you could get error saying +something about libusb error (-5) you need to decrese buffer as default one +is (16 * 16384) and it should work + +```bash +rtl_test -b [NEW_SIZE] +``` + +thx goes to freenode/##rtlsdr chan + # 5.Links 1. [http://kmkeen.com/rtl-demod-guide/](http://kmkeen.com/rtl-demod-guide/) -- cgit v1.2.3 From e72d80f9f8d2843960fd301b2093273f81467ffd Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 12 Dec 2015 17:15:03 +0000 Subject: Added basic description how to use qemu --- md/writeup.md | 4 +- md/writeup/compile_linux_kernel.md | 11 ++++++ md/writeup/qemu_usage.md | 75 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 md/writeup/compile_linux_kernel.md create mode 100644 md/writeup/qemu_usage.md (limited to 'md/writeup') diff --git a/md/writeup.md b/md/writeup.md index 136b7ed..d37efde 100644 --- a/md/writeup.md +++ b/md/writeup.md @@ -5,7 +5,9 @@ [Using RTLSDR](writeup/rtlsdr_usage.md) [Using mitmproxy](writeup/mitmproxy.md) [Linux syscall table](notes/syscalls.md) -[Using GDB](writeup/using_gdb.md) +[Using GDB](writeup/using_gdb.md) + +[QEMU usage](writeup/qemu_usage.md) # Archive [Create ELF file from scratch](http://archive.main.lv/writeup/create_elf_file_from_scratch.html) diff --git a/md/writeup/compile_linux_kernel.md b/md/writeup/compile_linux_kernel.md new file mode 100644 index 0000000..1682125 --- /dev/null +++ b/md/writeup/compile_linux_kernel.md @@ -0,0 +1,11 @@ +# Getting sources + +## Installing modules + +## Compile module + +# Linux patches + +## Gr security + +## Tomoyo \ No newline at end of file diff --git a/md/writeup/qemu_usage.md b/md/writeup/qemu_usage.md new file mode 100644 index 0000000..38fc3e0 --- /dev/null +++ b/md/writeup/qemu_usage.md @@ -0,0 +1,75 @@ + +# QEMU + +## Create image + +```bash +qemu-img create -f raw image_file 4G +``` + +Run iso with image + +```bash +qemu-system-i386 -cdrom _iso_image_ -boot order=d _qemu_image_ +``` + + +### Setting up memory + +> -m 512 + +### Setting up network card + +-net nic + +### Lunching image + +If everything installed then image could be runed just with + +```bash +qemu-system-i386 _options_ _disk_image_ +``` + + + + +## Compile qemu + +To get qemu you can download file or just clone git repo here is page to +download files [http://wiki.qemu.org/Download](http://wiki.qemu.org/Download) +and git repo located at + +```bash +git clone git://git.qemu-project.org/qemu.git +``` + +To see avaliable targets run +```bash +./configure --help +``` +there alos many different options and targets just choose one that you need +most + +Configure targets: + +```bash +./configure --target-list=arm-softmmu,arm-linux-user +``` + +or could be choosen to compile all targets + +```bash +./configure --enable-system +``` + +Compile + +```bash +make +``` + +## Reference + +1. [https://wiki.archlinux.org/index.php/QEMU](https://wiki.archlinux.org/index.php/QEMU) +2. [http://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/](http://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/) +3. [https://wiki.linaro.org/PeterMaydell/KVM/HowTo/BuildQEMU](https://wiki.linaro.org/PeterMaydell/KVM/HowTo/BuildQEMU) \ No newline at end of file -- cgit v1.2.3