-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple internet source setup? #89
Comments
Your current VM will work fine. Beside from setting Bridge adapter to Wi-Fi is change in VM IP address. When your VM connect to new network, you'll get different IP address. Just use Some mobile hotspots may block access between connected clients. In this case, you can't do anything but try different mobile hotspot on other phone. |
Wait, so i just need to change the bridge adapter to wireless, and then change the default gateway on my PS5? I dont need to even setup a new iptables or the vm_ip in the mac terminal? |
An update, I tried it and I think it works. It just didn't post actions in the VM terminal. There's slightly more latency, but I was still able to double weave and it was better compared to before I installed the latency mitigator. Is there away to make it so that it post actions in the VM terminal? |
You are correct. Since changing network might also change the subnet. You can use the following command instead for simplicity. It will allow iptables MASQUERADE rule for any IP on outgoing interface. So you don’t need to use your IP in this command.
However, you still need to find your VM IP for PS5 network gateway with Anyway, iptables rules normally reset after each reboot. You can check if the rule is still there by this command.
Or if you want to make sure rule is saved, try installing iptables-persistent
Once installed. You can save iptables rule and it will persist on each reboot.
|
You still need to run the script every time via terminal after your VM started. Then you should see the log right there. |
by "need to run the script every time" do you mean these script? I tried running the iptables comman you recommended: When I tried using the wired connection, it works fine. it detected a new login, then posts actions in the vm terminal like usual. When i switched to mobile phones after restarting everything and changing my bridge adapter to wireless, the vm terminal still hasn't post anything. but it still works. there are actions i would never be able to perform without using the latency mitigator. It just kind of made me doubt myself not knowing if it's working or not hahaha |
Yes, you need to run this command every time you start your VM
For the bridge adapter, you need to shutdown VM before changing it. Connect to your new network (i.e. mobile hotspot) and then start the VM. Can you also show me the result of this command?
|
Yes I tried changing the bridge adapter after powering down the VM, because you can't change it while it's running I think. I didn't restart virtualbox though, I thought it was unnecessary. Here you go: root@debian:/home/orca# sudo iptables -t nat -L POSTROUTING -n -v |
iptables rule is fine for any network you are going to use in the future now. You need to restart VM every time you changed network related settings. After restarted, check your VM IP ( |
root@debian:/home/orca# ip a Ah I mistyped 172.20.10.1 instead of 172.20.10.14 on the ps5 default gateway. but now that I have the correct default gateway for the ps5, it won't connect to the internet, just like what you said might happened earlier. so all this time I thought it was working, i don't think it wasn't :( |
It means you can double weave some skills if your heart believe it 😁. In theory, you may try using mobile hotspot via USB cable with your MacBook. Then goto System Preferences -> Sharing (or something around this. I'm not sure, I haven't use Mac for years already) and create Wi-Fi hotspot with your MacBook instead. Anyway, in this case, I'm also not sure what adapter name to set in VirtualBox bridge network setting too. |
🤣🤣 I truly believed it was smoother… I just wanted to believe the lies.. anyways. I’ll try it again tonight, see if I might did something wrong. Ah it might be a good idea to turn the mac into a hotspot. For the adapter name set.. maybe wired? If i’m not mistaken it also has a thunderbolt settings too. |
I actually tried using the Iphone usb method. sadly when I connected it through USB cable, my laptop just won't connect to the internet the way a wi-fi personal hotspot does. The VM actually has an Iphone usb bridge adapter settings. I was so close... I guess it's just the ISP. I'll try other ISP to see if there's anything that will allow this. |
Sorry for coming back so early lol. I just wanted to ask if this is possible and for future reference just in case I have to change my source of internet.
Let's say I have multiple sources of internet connection, and want them to be able to run the latency mitigator.
What's the best way of doing this?
Is it setting up another debian VM in Virtualbox and going through all the steps again? or can I just redo all the steps in the same VM, but with different IP addresses this time? I haven't tried it because i'm scared i'll mess the config up.
At certain times, my primary internet connection can be very unstable while running FFXIV, so I tend to use my mobile phone data instead of my primary internet. I thought maybe if I set the adapter bridge to wifi and use my mobile phone data as wifi, it would work. I want to test it out.
The text was updated successfully, but these errors were encountered: