1
QB64 Discussion / Re: QB64 on Raspberry Pi (again)
« on: October 17, 2020, 02:58:55 pm »
Excellent :) I can see the output from shell commands now. So I can press on.
VPN was just an example. There is no supplied VPN program or app, Just a set of instructions. I am planning to "WGET" the list of VPN servers from the provider's website, and display the list for selection in my program. This would then edit the vpn config file, with IP address and port, then edit sysctl.conf, and issue sudo sysctl -p to avoid a reboot, and finally start vpn.
After closing vpn, the program would reverse the edit to sysctl. conf, issue another sudo sysctl -p, sudo ifconfig eth0 down, and sudo ifconfig eth0 up. No reboots required. I'm just lazy ;-)
As I am the only user of the Pi, I have no qualms about using chmod 666 on such files.
Thanks again - starting QB64 from the terminal would not have occurred to me, especially as the nice QB64 devs have created an entry point in the Programming category
VPN was just an example. There is no supplied VPN program or app, Just a set of instructions. I am planning to "WGET" the list of VPN servers from the provider's website, and display the list for selection in my program. This would then edit the vpn config file, with IP address and port, then edit sysctl.conf, and issue sudo sysctl -p to avoid a reboot, and finally start vpn.
After closing vpn, the program would reverse the edit to sysctl. conf, issue another sudo sysctl -p, sudo ifconfig eth0 down, and sudo ifconfig eth0 up. No reboots required. I'm just lazy ;-)
As I am the only user of the Pi, I have no qualms about using chmod 666 on such files.
Thanks again - starting QB64 from the terminal would not have occurred to me, especially as the nice QB64 devs have created an entry point in the Programming category