How can I use a different qemu network type?
Hello everyone, after doing some research I wasn't able to find a answer to how to use a network type in qemu like bridge or tap so I can access a running service directly in my device or lan, can someone help me out?
I'm rooted.
Note: Repost from reddit
6 Replies
Your device must properly support bridged networking without even breaking things up, I believe Android may not have required tools or required kernel configuration to support bridging out of the box, but the procedure on setting up bridge on QEMU is almost the same, just you need to work with the former
User networking is generally much secure and easier imo
Unless you wanted to have seamless access within your home network
*Depends on kernel or device config, I have it on my device
And how did you set up the bridge?
I haven't yet, only on regular Linux systems
I believe someone had setup bridge on Android before
If you got it all wrong, you'll end up losing internet access temporarily
You can follow the guidelines how bridging was done
https://www.baeldung.com/linux/bridging-network-interfaces
Baeldung on Linux
Bridging Network Interfaces in Linux | Baeldung on Linux
A quick and practical guide to bridging network interfaces in Linux.
The error occures here:
~/alpine-linux $ sudo brctl addif br0 wlan0
brctl: ioctl 89a2: Operation not supported on transport endpoint
It is because we are trying to do a bridge between Ethernet and wifi
That is what my search gave me and where I got stuck
yeah I don't think its that straightforward