This should fix DHCP-managed interfaces from getting thrown a:
"no IP found for $IFACE" error message
2: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether d0:57:7b:8f:21:59 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.40/24 brd 192.168.1.255 scope global dynamic wlp1s0
valid_lft 76951sec preferred_lft 76951sec
inet6 fe80::8aa8:51b1:4088:d7c0/64 scope link
valid_lft forever preferred_lft forever
|
||
|---|---|---|
| LICENSE | ||
| README.md | ||
| kernel-qemu-4.4.34-jessie | ||
| qemu-pi.sh | ||
README.md
qemu-raspbian-network
Launch a raspbian image on qemu with network connectivity
git clone https://github.com/nachoparker/qemu-raspbian-network.git
cd qemu-raspbian-network
wget https://downloads.raspberrypi.org/raspbian_lite_latest -O raspbian_lite_latest.zip
unzip raspbian_lite_latest.zip
sudo ./qemu-pi.sh *-raspbian-jessie-lite.img
Note that it is recommended to use qemu-arm not older than 2.8.0 (see code)
See details on https://ownyourbits.com/2017/02/06/raspbian-on-qemu-with-network-access/