1 |
On Sun, 15 Jan 2017 12:49:09 +0100, Meino.Cramer@×××.de wrote: |
2 |
|
3 |
> for the purpose of online banking I want to install Linux on an |
4 |
> USB-stick. |
5 |
> |
6 |
> All attempts currently fail because the guest OS does not see |
7 |
> any internet connection / eth0 |
8 |
> |
9 |
> I tried this without success: |
10 |
> sudo qemu-system-x86_64 -cpu core2duo -cdrom <isoimage> -boot order=d |
11 |
> -usbdevice host:<my usbsick> -m 1G --enable-kvm -machine q35,accel=kvm |
12 |
> -device intel-iommu -netdev |
13 |
> user,id=mynet0,net=192.168.178.0/24,dhcpstart=192.168.178.9 |
14 |
> |
15 |
> The image boots successfully...but withoyt any connection to the |
16 |
> internet. |
17 |
|
18 |
You need to allow the guest to access the network via the host's network |
19 |
interface, which is usually done by setting up a bridge. Details are on |
20 |
the qemu page of the Gentoo wiki. Alternatively you can set up vde, also |
21 |
documented on the wiki page. vde is simpler to set up but has |
22 |
disadvantages that probably won't apply to your situation |
23 |
|
24 |
|
25 |
-- |
26 |
Neil Bothwick |
27 |
|
28 |
Windows Error #09: Mouse not found. Press mouse button to continue. |