T
Termux9mo ago
aikoo7

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
Reddit
From the termux community on Reddit
Explore this post and more from the termux community
6 Replies
marcusz
marcusz9mo ago
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
aikoo7
aikoo7OP9mo ago
And how did you set up the bridge?
marcusz
marcusz9mo ago
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
marcusz
marcusz9mo ago
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.
aikoo7
aikoo7OP9mo ago
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
Furry
Furry9mo ago
yeah I don't think its that straightforward
Want results from more Discord servers?
Add your server