Go to advanced search

by pister
Sat Nov 09, 2019 8:42 pm
Forum: Networking and servers
Topic: Accessing SSH outside local network
Replies: 50
Views: 204182

Re: Accessing SSH outside local network

Hi just as an alternative you could try this: http://web-console.org/
Thanks
by pister
Thu Oct 31, 2019 7:22 am
Forum: Networking and servers
Topic: Have access to 4g or 3g network
Replies: 7
Views: 453

Re: Have access to 4g or 3g network

HI, Take a look at this: https://magpi.raspberrypi.org/articles/raspberry-pi-cellular Thanks Hi, I know 4g/3g is a bit overkill but this one does have a 2g option and the problem with radio is you have to be within the 50m radius we don't know how far away they are. With a cellular network, you cou...
by pister
Wed Oct 30, 2019 1:05 pm
Forum: Networking and servers
Topic: Have access to 4g or 3g network
Replies: 7
Views: 453

Re: Have access to 4g or 3g network

This is another hat for cellular access up to 4g https://www.pianywhere.com/
by pister
Wed Oct 30, 2019 12:51 pm
Forum: Networking and servers
Topic: OpenVPN Export .ovpn files?
Replies: 1
Views: 352

Re: OpenVPN Export .ovpn files?

Hi, **You may need sudo for all of this as I have forgotten and don't have a pi to hand** Go to the folder and run: python -m SimpleHttpServer It should be pre-installed and you should get a mini HTTP server running that you can access your OpenVPN profiles on. If it doesn't work try running: python...
by pister
Tue Sep 17, 2019 10:24 am
Forum: Networking and servers
Topic: Migrate wordpress to hosting
Replies: 3
Views: 298

Re: Migrate wordpress to hosting

Hi thanks for replying. I have already read this but how would I find the databases
by pister
Mon Sep 16, 2019 3:51 pm
Forum: Networking and servers
Topic: Migrate wordpress to hosting
Replies: 3
Views: 298

Migrate wordpress to hosting

Hi, I've never done it before, but does anyone know how I would migrate my WordPress site to official hosting. Thanks in advance.
by pister
Wed Aug 28, 2019 5:21 pm
Forum: Networking and servers
Topic: PiVPN(OpenVPN)
Replies: 6
Views: 914

Re: PiVPN(OpenVPN)

I use it to connect to my samba server
by pister
Mon Jul 22, 2019 3:29 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 13533

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

HI. I am not 100% sure but I don't think it's anything to do with speed or complexity, but the fact that it requires less work on the admins part. To stop the students from installing apps, they just stop all installs. It is then very difficult to make an exception for when c compiles. However, a la...
by pister
Sun Jul 21, 2019 11:15 am
Forum: Python
Topic: Syntax error when opening/reading file
Replies: 14
Views: 457

Re: Syntax error when opening/reading file

I know this is a different question but it's the same script. from flask import * import os app = Flask(__name__) fn = "files/demofile.txt" if os.path.exists(fn): file = open(fn).read() else: open(fn, "x").close() file = "" @app.route('/') def index(): return render_template('form.html', current_edi...
by pister
Sun Jul 21, 2019 5:55 am
Forum: Python
Topic: Syntax error when opening/reading file
Replies: 14
Views: 457

Re: Syntax error when opening/reading file

Hi thank you so much the finished code looks like this: from flask import * app = Flask(__name__) fn = "files/demofile1.txt" try: f = open(fn, "x") f.close() f = open(fn, "r") saved = (f.read()) f.close() except: f = open(fn, "r") saved = (f.read()) f.close() @app.route('/') def index(): return rend...
by pister
Sat Jul 20, 2019 12:57 pm
Forum: Networking and servers
Topic: Connect raspberry pi with laptop via USB Ethernet Adapter
Replies: 16
Views: 812

Re: Connect raspberry pi with laptop via USB Ethernet Adapter

You can connect to ssh via usb straight into the pi zero. On a mac you can literally use the following command ssh [email protected].local You could then set up a network on your laptop and connect the pi. Once this is done you then would just install VNC and connect. https://www.raspberrypi.org/docume...
by pister
Sat Jul 20, 2019 12:47 pm
Forum: Python
Topic: Syntax error when opening/reading file
Replies: 14
Views: 457

Syntax error when opening/reading file

Hi i am just experimenting with flask and mixing it with file reads/writes. My code: from flask import * app = Flask(__name__) fn = "files/demofile.txt" try: f = open(fn, "x") f.close f = open(fn, "r") saved = (f.read()) f.close @app.route('/') def index(): return render_template('form.html', editin...
by pister
Sat Nov 10, 2018 9:36 am
Forum: Networking and servers
Topic: User permissions in samba file shares
Replies: 4
Views: 441

Re: User permissions in samba file shares

Thanks
didn't see valid user =
by pister
Fri Nov 09, 2018 7:10 pm
Forum: Networking and servers
Topic: User permissions in samba file shares
Replies: 4
Views: 441

Re: User permissions in samba file shares

Thanks,
surely if you just add the user both will be able to access all shares
by pister
Fri Nov 09, 2018 4:55 pm
Forum: Networking and servers
Topic: User permissions in samba file shares
Replies: 4
Views: 441

User permissions in samba file shares

Hi, I have a rpi running samba smb config: https://docs.google.com/document/d/1NPxMwZtAfRqx1fs5nTYxvm7r1zFjQ4_EVNzb1v-QcPY/edit?usp=sharing I would like to set certain rpi/smb accounts to only be able to access the share other. So a user called user1 could access share, other and application-storage...
by pister
Sat Aug 04, 2018 7:01 am
Forum: Networking and servers
Topic: PiVPN/OpenVPN suddenly stopped working
Replies: 9
Views: 4230

Re: PiVPN/OpenVPN suddenly stopped working

Don't worry I've done it, the reason it was invalid was because it wouldn't accept letters in the box so I cancelled it and then manually changed it in nano.

Thank you to epoch1970 who helped me so manny times ;) :D
by pister
Sat Aug 04, 2018 6:17 am
Forum: Networking and servers
Topic: PiVPN/OpenVPN suddenly stopped working
Replies: 9
Views: 4230

Re: PiVPN/OpenVPN suddenly stopped working

Hi I worked out that I wasn't clicking space on the options but now when I enter the hostname from no-ip it says it's invalid.

Thanks again
by pister
Sat Aug 04, 2018 6:05 am
Forum: Networking and servers
Topic: PiVPN/OpenVPN suddenly stopped working
Replies: 9
Views: 4230

Re: PiVPN/OpenVPN suddenly stopped working

Hi Thanks,
sorry I haven't replied for so long I've been on holiday but I tried to uninstall PIVPN and when it came up with DNS entry I selected custom but It didn't do anything and I can't find a tutorial online. Can you show me one.

Thanks for everything and all the answers and help. :D
by pister
Tue Jul 24, 2018 3:47 pm
Forum: Networking and servers
Topic: PiVPN/OpenVPN suddenly stopped working
Replies: 9
Views: 4230

Re: PiVPN/OpenVPN suddenly stopped working

My computer is trying to connect to 90.254.86.63 but the public ip of the pi is 90.252.138.230
by pister
Tue Jul 24, 2018 3:37 pm
Forum: Networking and servers
Topic: PiVPN/OpenVPN suddenly stopped working
Replies: 9
Views: 4230

Re: PiVPN/OpenVPN suddenly stopped working

Hi
I had a look through the log and I found that the public IP it was trying to connect to is different from the one of the pi please help.
by pister
Tue Jul 24, 2018 2:59 pm
Forum: Networking and servers
Topic: PiVPN/OpenVPN suddenly stopped working
Replies: 9
Views: 4230

Re: PiVPN/OpenVPN suddenly stopped working

Hi epoch1970,

Thanks this is probably the third time you helped me with this, but what do you mean what does the server have to declare? The IP address of the server hasn't changed. It is a public ip because I use it to access my nas and plex server on the same pi.
by pister
Tue Jul 24, 2018 6:37 am
Forum: Networking and servers
Topic: PiVPN/OpenVPN suddenly stopped working
Replies: 9
Views: 4230

PiVPN/OpenVPN suddenly stopped working

Hi guys, I've been running a Pi vpn/OpenVPN server on a raspberry pi 3 for about a month when three days ago I suddenly couldn't connect the log file on my computer is: Tue Jul 24 07:30:23 2018 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018 Tue Jul ...
by pister
Thu Jul 12, 2018 4:55 pm
Forum: Networking and servers
Topic: SAMBA broadcasting pi directory on file server
Replies: 1
Views: 785

Sorry for being an idiot but....

I found an answer myself I wasn't deleting the whole block of code I needed to delete [homes] comment = Home Directories browseable = no # By default, the home directories are exported read-only. Change the # next parameter to 'no' if you want to be able to write to them. read only = yes # File crea...
by pister
Thu Jul 12, 2018 3:11 pm
Forum: Networking and servers
Topic: SAMBA broadcasting pi directory on file server
Replies: 1
Views: 785

SAMBA broadcasting pi directory on file server

Hi guys, I've been working on a nas for a while and it's finally working but it's broadcasting the pi directory. I know it's not necessary to stop but it's annoying. I tried editing the config file but it stopped me from accessing the server. This is what my config file looks like # # Sample configu...

Go to advanced search