- Jan 10, 2023
- 184
- 48
I'm following up your journey .
Keep it up and good luck bro .
Keep it up and good luck bro .
I used Sony phones in the previous guide as an example, but I am also using other brands. I didn't want to write a guide for every brand and model because the concept is always the same or very similar.Why do you use Sony phones ? Its for músic automations ?
npm install mockttp
openssl req -x509 -new -nodes -keyout example.key -sha256 -days 3650 -out example.pem -subj '/CN=Mockttp CA'
openssl x509 -outform der -in example.pem -out example.crt
(async () => {
const server = require("mockttp").getLocal({
https: {
keyPath: './example.key',
certPath: './example.pem'
}
});
await server.start(8100);
console.log(`Server running on port ${server.port}`);
server.forGet('https://SOME_URL_THAT_MAYBE_INTERESTING')
.withQuery({ key: 'value' })
.always()
.thenFromFile(200, './cache/SOME_RESPONSE_YOU_MAY_WANT_TO_OUTPUT.json', {
'access-control-allow-credentials': 'true',
/* You can add more here too... */
'access-control-max-age': '86400',
'connection': 'keep-alive',
'content-type': 'application/json; charset=UTF-8',
/* Add even more if you want... */
});
/* You can add more interesting URLs here... */
/* The rest goes through */
server.forAnyRequest().thenPassThrough();
})();
That is true, sometimes it can be a pain looking for a LineageOS version for a phone. I always check if one is available before I purchase a new phone model.Great posts, OP. I've been wanting to move to LineageOS as well but my phone doesn't have a compatible version
Regarding the proxies, this may sound like a stupid question but is it "safe" from a health POV to have that many Wifi dongles running inside the house (as in, if there are 10-20)? I'm probably being paranoid, but wanted to ask regardless.
Will the proxies method work for CentOS7 as well?
yeah I just run a small farm of devices and I want it to be as far away from me as possible. I'm thinking of getting one of those outdoor CCTV boxes and installing the proxy setup inside it, and wall mounting it outside my house.In regards to "proxies and health": I have been concerned about this too, which is why I have everything operating in a separate office room. The small 4G USB sticks do not concern me as much as all of the 5G phones and 5G routers I also have running. I might have to look into renting an additional office or something physically further away from me for my setup.
Glad the guide and scripts helped you!@Neptun2020, thank you so so much for the detailed proxy guide and your scripts! Using those I was able to set up my first ever working proxy
Make sure that your Huawei E3372 USB stick is in HiLink mode. Can you see the web UI visiting the IP address of your device in your browser?@Neptun2020
Hey, I have a little problem. The setup works fine, but when I try to rotate IP, the dongle goes into some kind of state, that can't find the network(green light blinking). I need to physically put the dongle out and put it in back then it work again. Maybe you have some ideas?
Yep, it's in HiLink mode. I can reach the web GUI. The only thing that doesn't work is rotating. It looks like the dongle can't find the network after dropping the previews network. But if I put it out and than back it finds the network in seconds.Make sure that your Huawei E3372 USB stick is in HiLink mode. Can you see the web UI visiting the IP address of your device in your browser?
Interesting. I‘ll see if I can find a solution to the problem you are facing and let you know. It could take a couple of days, because I am very busy atm.Yep, it's in HiLink mode. I can reach the web GUI. The only thing that doesn't work is rotating. It looks like the dongle can't find the network after dropping the previews network. But if I put it out and than back it finds the network in seconds.
Yep, it's in HiLink mode. I can reach the web GUI. The only thing that doesn't work is rotating. It looks like the dongle can't find the network after dropping the previews network. But if I put it out and than back it finds the network in seconds.
I get monthly plans (with unlimited bandwidth). Every country has different offers, so I can’t really help you here. Check what your local mobile providers have to offer.Very informative journey!
For each of the E3372 USB sticks. What method are you using to buy the mobile 4g SIMs? Do you just buy those online, or go to the store & get a bunch of pre-paid mobile plans?