bb_usb_sniffer | Tools to set up a usb sniffer on a beagleboard xM

 by   matlo Shell Version: Current License: No License

kandi X-RAY | bb_usb_sniffer Summary

kandi X-RAY | bb_usb_sniffer Summary

bb_usb_sniffer is a Shell library. bb_usb_sniffer has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Tools to set up a usb sniffer on a beagleboard xM. This is based on the work of Nicolas Boichat.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              bb_usb_sniffer has a low active ecosystem.
              It has 57 star(s) with 7 fork(s). There are 12 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 3 have been closed. On average issues are closed in 66 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of bb_usb_sniffer is current.

            kandi-Quality Quality

              bb_usb_sniffer has no bugs reported.

            kandi-Security Security

              bb_usb_sniffer has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              bb_usb_sniffer does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              bb_usb_sniffer releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of bb_usb_sniffer
            Get all kandi verified functions for this library.

            bb_usb_sniffer Key Features

            No Key Features are available at this moment for bb_usb_sniffer.

            bb_usb_sniffer Examples and Code Snippets

            No Code Snippets are available at this moment for bb_usb_sniffer.

            Community Discussions

            No Community Discussions are available at this moment for bb_usb_sniffer.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install bb_usb_sniffer

            (where X is the device letter of the sd card, e.g. /dev/sdc, /dev/sdd…​) Before removing the sd card, make sure to run sync.
            Clone this git repo.
            Clone this git repo ``` cd ~ git clone git://github.com/matlo/bb_usb_sniffer.git ``` 2. Format the sd card ``` cd ~/bb_usb_sniffer/sdcard sudo sh mkcard.txt /dev/sdX sudo mkdir -p /media/bb/boot /media/bb/Angstrom sudo mount /dev/sdX1 /media/bb/boot sudo mount /dev/sdX2 /media/bb/Angstrom ``` (where X is the device letter of the sd card e.g. /dev/sdc, /dev/sdd...) 3. Install the bootloader: ``` cd ~/bb_usb_sniffer/sdcard wget http://downloads.angstrom-distribution.org/demo/beagleboard/MLO wget http://downloads.angstrom-distribution.org/demo/beagleboard/u-boot.img wget https://raw.github.com/matlo/bb_usb_sniffer/master/sdcard/uEnv.txt sudo cp MLO u-boot.img uEnv.txt /media/bb/boot ``` 4. Copy the rootfs: ``` cd ~/bb_usb_sniffer wget http://downloads.angstrom-distribution.org/demo/beagleboard/Angstrom-Beagleboard-demo-image-glibc-ipk-2011.1-beagleboard.rootfs.tar.bz2 sudo tar xjvf Angstrom-Beagleboard-demo-image-glibc-ipk-2011.1-beagleboard.rootfs.tar.bz2 -C /media/bb/Angstrom ``` 5. Get a toolchain: ``` mkdir ~/bb_usb_sniffer/tools cd ~/bb_usb_sniffer/tools wget http://www.angstrom-distribution.org/toolchains/angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain.tar.bz2 sudo tar xjvf angstrom-2011.03-x86_64-linux-armv7a-linux-gnueabi-toolchain.tar.bz2 -C / ``` 6. Compile the kernel: ``` cd ~/bb_usb_sniffer git clone https://github.com/matlo/beagleboard-usbsniffer-kernel.git cd beagleboard-usbsniffer-kernel patch -p1 < ../patches/xmc.patch sudo apt-get install u-boot-tools make ARCH=arm CROSS_COMPILE=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi- uImage sudo cp arch/arm/boot/uImage /media/bb/Angstrom/boot/uImage ``` 7. Compile and install the modules: ``` cd ~/bb_usb_sniffer/beagleboard-usbsniffer-kernel make ARCH=arm CROSS_COMPILE=/usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi- modules sudo make ARCH=arm INSTALL_MOD_PATH=/media/bb/Angstrom modules_install ``` 8. Copy libpcap and tcpdump packages: ``` cd ~/bb_usb_sniffer wget http://feeds.angstrom-distribution.org/feeds/2011.03/ipk/glibc/armv7a/base/tcpdump_4.1.1-r1.5_armv7a.ipk wget http://feeds.angstrom-distribution.org/feeds/2011.03/ipk/glibc/armv7a/base/libpcap_1.1.1-r1.6_armv7a.ipk sudo cp tcpdump_4.1.1-r1.5_armv7a.ipk libpcap_1.1.1-r1.6_armv7a.ipk /media/bb/Angstrom/home/root ``` 9. Copy the helper-scripts: ``` sudo cp ~/bb_usb_sniffer/helper-scripts/* /media/bb/Angstrom/home/root ``` 10. Final steps: * Before removing the sdcard, make sure to run sync. * Boot angstrom and login as root. * Run depmod -a on the beagleboard for the kernel to find the modules. * Install libpcap and tcpdump: ``` opkg install libpcap_1.1.1-r1.6_armv7a.ipk tcpdump_4.1.1-r1.5_armv7a.ipk rm libpcap_1.1.1-r1.6_armv7a.ipk tcpdump_4.1.1-r1.5_armv7a.ipk ```

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/matlo/bb_usb_sniffer.git

          • CLI

            gh repo clone matlo/bb_usb_sniffer

          • sshUrl

            git@github.com:matlo/bb_usb_sniffer.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link