Install open VPN client (apt-get update) (solved)

Raspberry Pi related support

Install open VPN client (apt-get update) (solved)

Postby frengo » 09 Apr 2016, 10:08

Hello, I am Frengo .... how are you?

I wrote about the command line interface through SSH Putty
I try to login as root and write apt-get update to get the packages Linux updates, but I get:
-bash: apt-get: command not found

Does anyone know why? There 's some way to unlock?

Thanks in advance.
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

Re: apt-get update

Postby hondagx35 » 09 Apr 2016, 10:19

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: apt-get update

Postby frengo » 10 Apr 2016, 22:29

Thank You so much, hondagx35. Now I know that I can type pacman -Syu to update my system.

THANX.
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

Re: apt-get update

Postby hondagx35 » 10 Apr 2016, 22:59

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: apt-get update

Postby frengo » 11 Apr 2016, 10:59

Yes, but i need to install open VPN client on Odroid C1+ to reach it via web mobile (3G/4G).

I can't use two Odroid (one for Rune and one for reach it......)
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

Re: apt-get update

Postby hondagx35 » 11 Apr 2016, 22:05

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: apt-get update

Postby frengo » 13 Apr 2016, 14:29

From time to time I participate with a friend to the creation of something new for a small local private radio. They have a repeater in the mountains and they need a pcm quality remotized player to send music when sometimes goes faulty radio uplink that connects the studios with the repeater......
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

Re: apt-get update

Postby frengo » 09 May 2016, 22:45

I installed openvpn with:

pacman -Sy openvpn

but while on Debian I wrote:

service openvpn restart

and then:

service openvpn status

and the service was restarted fine, here on Archlinux to do the same thing I typed:

systemctl restart openvpn

and then:

systemctl status openvpn

but it gives me the following errors:

Failed to restart openvpn.service: Unit openvpn.service failed to load: No such file or directory

and

-bash: $: command not found.

What are the correct commands ?


THANX
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

Re: apt-get update

Postby hondagx35 » 10 May 2016, 11:10

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: apt-get update

Postby frengo » 10 May 2016, 16:11

Actually I have to install OpenVPN only as Client (not as Bridge) but I see that I have always a large amount of error messages.

On Debian I succeeded to make working fine OpenVPN in seconds ....

apt-get install openvpn

then:

service openvpn restart
service openvpn status

now copy the certificates, the key and config files in /etc/openvpn with:

cp ca.crt /etc/openvpn
cp client.crt /etc/openvpn
cp client.key /etc/openvpn
cp client.ovpn /etc/openvpn

-To connect to the server type on /etc/openvpn:

openvpn --config client.ovpn & exit

And the Client connect to the server.

I use the ODROID C1 +. Perhaps the codes are different from those for the Raspberry ?
frengo
 
Posts: 42
Joined: 04 Dec 2015, 19:03

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 26 guests