There are two parts to networking within QEMU:
- The virtual network device that is provided to the guest (e.g. a PCI network card).
- The network backend that interacts with the emulated NIC (e.g. puts packets onto the host's network).
| #!/bin/sh | |
| mount -t devtmpfs devtmpfs /dev | |
| mount -t proc none /proc | |
| mount -t sysfs none /sys | |
| mkdir -p /var/run/ | |
| mkdir -p /etc/network/if-down.d | |
| mkdir -p /etc/network/if-post-down.d | |
| mkdir -p /etc/network/if-post-up.d |
check the device ID with this command lsusband the output should look like this.
Bus 001 Device 008: ID 1c88:0007 Somagic, Inc. SMI Grabber (EasyCAP DC60+ clone) (no firmware) [SMI-2021CBE]
If you get this same output with lsusb then follow on with these link's
| =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.03.17 21:30:14 =~=~=~=~=~=~=~=~=~=~=~= | |
| BCM338031 TP0 | |
| 1 | |
| Sync:1 | |
| 346890 | |
| MemSize: 64 M | |
| BootLoader Version: 10.1.2 Release Gnu spiboot reduced DDR drive | |
| Build Date: Dec 23 2009 |
This guide is to save other sorry plebs from needing to RTFM in figuring out how to use wget to scrape images from 4chan and other imageboards. There are lots of image downloaders in existence, but they are usually outdated and broken. You will save time following this guide to learn how to use a powerful and general purpose tool instead.
Wget is a command-line file downloader that can handle just about any file downloading task normal and power users will ever need to do. It has versions available for Windows, Mac, and Linux. If it is not already installed on your machine, install it now.
| 10 SA!=&H7DAD:EA!=&H7FFF:COLOR 15,4,4:KEY OFF:SCREEN 0:IF PEEK(&H2D)=0 THEN W%=40:GOTO 20 ELSE PRINT "Display in [4]0 or [8]0 columns?" | |
| 15 K$=INPUT$(1):IF K$="4" THEN W%=40 ELSE IF K$="8" THEN W%=80 ELSE 15 | |
| 20 WIDTH W%:CLS:C%=0:I%=0:J%=0:K%=0 | |
| 25 IF W%=80 THEN MX%=16:CH%=7:CA%=58:CC%=78 ELSE MX%=8:CH%=5:CA%=29:CC%=38 | |
| 30 DEF FN H$(I%)=RIGHT$("0"+HEX$(I%),2):DEF FN W$(I!)=RIGHT$("000"+HEX$(I!),4) | |
| 40 FOR I!=SA! TO EA!:J%=PEEK(I!):C%=C% XOR J%:IF K%=0 THEN LOCATE 0:PRINT FN W$(I!); | |
| 45 LOCATE 3*K%+CH%:PRINT FN H$(J%);" "; | |
| 50 LOCATE K%+CA%:IF J%<32 THEN PRINT "."; ELSE PRINT CHR$(J%); | |
| 55 K%=K%+1:IF K%=MX% THEN LOCATE CC%:PRINT FN H$(C%);:K%=0 | |
| 60 IF CSRLIN>22 THEN PRINT "Scroll?";:K$=INPUT$(1):CLS |
| // Xorg dependency graph (dot) | |
| // BLFS 7.8 | |
| // | |
| // style=solid : required | |
| // style=dashed : recommended | |
| // style=dotted : optional | |
| // style=solid arrowhead=dot color=grey : required at runtime | |
| strict digraph xorg { | |
| label="Xorg dependencies |
| # Fuzzy Logic experiment (WIP) | |
| # By the Tutorial Doctor | |
| # Objects are not always in one of two states (true or false), but rather in several states at one time. | |
| #(val-min)/(max-min) | |
| #--------------------------------------------------------------------------- | |
| #VARIABLES | |
| #------------------------------------------------------------------------------ | |
| cold =(1,213) |
sudo dfu-util -l
It will show like...
Found DFU: [0483:df11] ver=2100, devnum=32, cfg=1, intf=0, alt=3, name="@Device Feature/0xFFFF0000/01*004 g", serial="3262355B3231"
Found DFU: [0483:df11] ver=2100, devnum=32, cfg=1, intf=0, alt=2, name="@OTP Memory /0x1FFF7800/01*512 g,01*016 g", serial="3262355B3231"
Found DFU: [0483:df11] ver=2100, devnum=32, cfg=1, intf=0, alt=1, name="@Option Bytes /0x1FFFC000/01*016 g", serial="3262355B3231"
| #! /bin/bash | |
| set -e | |
| trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
| trap 'echo FAILED COMMAND: $previous_command' EXIT | |
| #------------------------------------------------------------------------------------------- | |
| # This script will download packages for, configure, build and install a GCC cross-compiler. | |
| # Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
| # If you get an error and need to resume the script from some point in the middle, | |
| # just delete/comment the preceding lines before running it again. |