LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Open VPN NTFS Problems (https://www.linuxquestions.org/questions/linux-software-2/open-vpn-ntfs-problems-4175530721/)

Debianhiilfe 01-11-2015 04:38 PM

Open VPN NTFS Problems
 
Thanks for your help with my problems, I think this will be complicated:
My setup:
Complete noob with:
Acer Aspire E1-510 Notebook with 64 bit and no CD/DVD drive and no WIFI or touchpad drivers.
Linux Debian wheezy (Version 7.7 in German as Iam a german speaker) for 64 bit, I already had the apt-get update run while I was connected on the internet so everything should be up to date now. Further Iam root as I inserted my name in the /etc/sudoers.tmp file with the visudo command. “My username ALL=(ALL :ALL) ALL” under the line “#Allow members of group sudo to execute any command”. All commands you will read are started in the root terminal (as administrator)
Problems:
Installing OpenVPN
Trying “apt-get install openvpn”. It starts and asks me if I want to proceed and I go [Y]. But then it asks me to insert the media with the name >>Debian GNU/Linux 7.70_Wheezy_-Official amd64 DVD Binary-1 20141018-13:06 in the drive >>/media/cdrom/<< and press Enter. But I don’t have a CD/DVD drive.
So I added an openvpn-2.3.6 folder via USB Stick with FAT 32. But I cant get it to work. neither with terminal nor with clicking on everything there, pushing it into the terminal then pressing enter or using “apt-get install whatever” does not work. I already installed Truecrypt, so I thought I know what to do……obviously not.

NTFS : Error mounting: mount exited with exit code 1: helper failed with: Unpriviliged user can not mount NTFS block devices using external FUSE library. Either mount the volume as root or rebuild NTFS-3G with integrated FUSE support and make it setuid root. Please see more information at ………..
So I tried to insert an USB Stick in NTFS from my windows as the Image that the “apt-get install openvpn” command wants is more than 4GB. I do it this way ‘cause I have no WIFI drivers and have to connect over Ethernet to the routher which sucks cause the router is somewhere else far away and not easy to access(No I do not hack WIFIS). And then this error message above occurred (in fat letters). But I already inserted and mounted NTFS sticks on this system prior and could also copy stuff from USB sticks but now it’s not working anymore with NTFS. Typing “ntfs-3g” it says “No device specified”. So I looked on the net and found I can change the “/etc/fstab” as this is a possible way to fix it but the terminal just tells me: “no permission” when I just type “/etc/fstab”. But Iam root, so WTF! Why can I not access!


Rest: Not so important:
Where can I get touchpad and WIFI drivers for debian. My touchpad just jumps randomly but most of the time does nothing if I try to use it. Not usable!
Why does debian make an odd and funny sound sometimes when I hit backshlash or arrow down in the terminal? That’s useless and annoying. What can I do about this?
I really don’t know what to do right now! I am greatful for any help but I do not want to migrate to another distro as I do not want to give up now!

sudowtf 01-12-2015 01:43 PM

I don't know German, but here is my english attempt at a solution.

1) For the apt-get error: edit your /etc/sources.list making sure the section containing "deb cdrom" is commented-out with a "#".
To edit the file, try:
Code:

sudo nano /etc/apt/sources.list
and add the "#" preceding "deb cdrom"... example:
Code:

#deb cdrom:[Debian GNU/Linux 7.70_Wheezy_-Official amd64 DVD Binary-1]
You may also consider adding "contrib" and "non-free" to the debian URL's in /etc/sources.list since you are editing it.
example:
Code:

deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free

2) i'll skip this ntfs issue for now.

3) As afore-mentioned, "contrib" and "non-free" is likely required for wireless drivers. Firstly, i prefer "aptitude" rather than "apt-get". so let's install it.
Code:

sudo apt-get update
sudo apt-get install aptitude

Now, let's search for firmware package names:
Code:

aptitude search "firmware-"
Search through the list and if any of the drivers are for your wireless device, then install them. For example "Intel Wireless" would be:
Code:

sudo aptitude install firmware-iwlwifi
Lastly, I am unsure about the touch-pad issue.

Debianhiilfe 01-14-2015 03:41 PM

Hi thanks for the fast help, it worked.

thanks I could install openVPN. I changed sources, updated and installed it. But where can I find it? I searched my Laptop but cannot find it.

I used apt get-install openvpn and also $ wget http://swupdate.openvpn.org/as/openv...u12.amd_64.deb from

http://www.unixmen.com/install-openv...ubuntu-debian/





NTFS solved: I just tried:
sudo nano etc/fstab or etc/apt/fstab and deleted the last line. The reason for this was because I just installed the thing over my USB Stick.

Debianhiilfe 01-15-2015 03:12 PM

Got another prob. Truecrypt.

Iam sudo. But when I try to mount my TC file on the laptop i already made and mounted before it says that Iam not in the f.cking sudoers file! But Iam!
The PW is right 100%.

sudowtf 01-16-2015 08:05 AM

Quote:

Originally Posted by Debianhiilfe (Post 5301015)
[...]
thanks I could install openVPN. I changed sources, updated and installed it. But where can I find it? I searched my Laptop but cannot find it.

I used apt get-install openvpn and also $ wget http://swupdate.openvpn.org/as/openv...u12.amd_64.deb from [...]

don't add many Ubuntu packages into Debian, you could break things.

You usually just install directly from repositories
Code:

sudo aptitude update
aptitude search openvpn
sudo aptitude install openvpn

Now to answer you main question, you can either do command-line or use the gui that will be a part of the Network Manager.

You may need one or more of the following:
Code:

gadmin-openvpn-client          - GTK+ configuration tool for openvpn (client)
network-manager-openvpn        - network management framework (OpenVPN plugin core)
network-manager-openvpn-gnome  - network management framework (OpenVPN plugin GNOME GUI)

This (http://steronius.blogspot.com/2013/0...applet-in.html) might help if you are using xfce, if not read through it and maybe you can get an idea, then work something out with your own desktop environment (gnome?)

sudowtf 01-16-2015 10:40 AM

Quote:

Originally Posted by Debianhiilfe (Post 5301508)
Got another prob. Truecrypt.

Iam sudo. But when I try to mount my TC file on the laptop i already made and mounted before it says that Iam not in the f.cking sudoers file! But Iam!
The PW is right 100%.

try lauching truecrypt via commandline "sudo truecrypt" (assuming "truecrypt" is a valid commandline).

or change to root account with "sudo su" or "su -" (need actual root password for this one) and you will be root.

Debianhiilfe 01-21-2015 05:26 PM

Hi,

all things apart from touchpad and wifi solved.

Thanks!

But please one more thing:

How can I copy and paste 2 folders into the /etc/openvpn folder? Thanks

PS: And why can I not just open that folder?

sudowtf 01-22-2015 09:03 AM

/etc/ has rights set for only root has rights as it holds very sensitive configurations.

you will need to use sudo to copy (cp) or move (mv), or launch a file-manager.

ex:
Code:

sudo nautilus
or
Code:

sudo thunar
or (asumming 'myfolder' is in your home folder)
Code:

sudo cp ~/myfolder /etc/openvpn/


All times are GMT -5. The time now is 06:12 PM.