[SOLVED] Network-Manager VPN Problem

Issues related to configuring your network
mrMash
Posts: 6
Joined: 2012/02/16 20:20:45

[SOLVED] Network-Manager VPN Problem

Post by mrMash » 2012/02/16 20:39:27

Hello everyone,


this is my first post and i'm not a native english speaker. I hope I can make my troubles clear, and do not reopen solved issues.

I'm using CentOS 6.2 with centos plus kernel and want to establish a VPN connection using network-manager. I have installed openvpn and pptp plugin, but cant get it running. The first time I configured openvpn and clicked on "anwenden" (english: accept?) a message occured telling me that there is a problem with writing something somewhere. The same happened when tying it with pptp plugin. Root privileges have been granted.

Here's the message: >> [b]Saving connection failed: (0) Can't write connection type 'vpn'[/b] <<

Now if I want to configure VPN again, I can input all settings, but the button to accept these settings is not clickable anymore! Googled a lot but found nothing useful.

Can someone help me get my VPN up an running?


Greetings,
mrMash

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] Network-Manager VPN Problem

Post by pschaff » 2012/02/17 16:04:04

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

There was (and may still be) a bug in the VPN plugin that required a reboot before it would work. See if it works after a reboot. If not, then please [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]provide more information about your system[/url] by running "./getinfo.sh" and showing us the output file.

mrMash
Posts: 6
Joined: 2012/02/16 20:20:45

Re: Network-Manager VPN Problem

Post by mrMash » 2012/02/18 09:23:58

Hi

After reboot, pptp connection can be set up but wouldn't connect to vpn because 'vpn service could not be started' (german error message translated). Openvpn did not change, I still can not click to accept my settings.


Heres my getinfo output, many thanks for your effort.


[code]

Information for general problems.
[code]
== BEGIN uname -rmi ==
2.6.32-220.4.2.el6.centos.plus.i686 i686 i386
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
rpmforge-release-0.5.2-2.el6.rf.i686
epel-release-6-5.noarch
centos-release-6-2.el6.centos.7.i686
remi-release-6-1.el6.remi.noarch
adobe-release-i386-1.0-1.noarch
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 6.2 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 2020 1103 916 0 69 497
-/+ buffers/cache: 536 1483
Swap: 4063 113 3950
== END free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.6.6-29.el6.i686
rpm-libs-4.8.0-19.el6.i686
rpm-python-4.8.0-19.el6.i686
yum-3.2.29-22.el6.centos.noarch
yum-metadata-parser-1.1.2-16.el6.i686
yum-plugin-fastestmirror-1.1.30-10.el6.noarch
yum-plugin-priorities-1.1.30-10.el6.noarch
yum-plugin-security-1.1.30-10.el6.noarch
yum-utils-1.1.30-10.el6.noarch
== END rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
adobe-linux-i386.repo
adobe-linux-i386.repo~
CentOS-Base.repo
CentOS-Base.repo~
CentOS-Debuginfo.repo
CentOS-Media.repo
epel.repo
epel-testing.repo
mirrors-rpmforge
mirrors-rpmforge-extras
mirrors-rpmforge-testing
remi.repo
rpmforge.repo
rpmforge.repo~
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.atrpms.net
* centosplus: mirror.atrpms.net
* epel: mirror.karneval.cz
* extras: mirror.atrpms.net
* rpmforge: ftp-stud.fht-esslingen.de
* rpmforge-extras: ftp-stud.fht-esslingen.de
* updates: mirror.atrpms.net
1500 packages excluded due to repository priority protections
repo id repo name status
adobe-linux-i386 Adobe Systems Incorporated enabled: 17
base CentOS-6 - Base enabled: 4,764
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus enabled: 28
contrib CentOS-6 - Contrib enabled: 0
debug CentOS-6 - Debuginfo disabled
epel Extra Packages for Enterprise Linux 6 enabled: 4,729+964
epel-debuginfo Extra Packages for Enterprise Linux 6 disabled
epel-source Extra Packages for Enterprise Linux 6 disabled
epel-testing Extra Packages for Enterprise Linux 6 disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 6 disabled
epel-testing-source Extra Packages for Enterprise Linux 6 disabled
extras CentOS-6 - Extras enabled: 4
remi Les RPM de remi pour Enterprise Linux disabled
remi-test Les RPM de remi en test pour Enterpris disabled
rpmforge RHEL 6 - RPMforge.net - dag enabled: 4,255+15
rpmforge-extras RHEL 6 - RPMforge.net - extras enabled: 54+522
rpmforge-testing RHEL 6 - RPMforge.net - testing disabled
updates CentOS-6 - Updates enabled: 307
repolist: 14,158
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
priority = 1 [adobe-linux-i386]
priority = 1 [base]
priority = 1 [centosplus]
priority = 1 [extras]
priority = 1 [updates]
priority = 2 [contrib]
priority = 10 [rpmforge]
priority = 11 [rpmforge-extras]
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Fri Jan 13 18:08:30 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_zenbox-lv_root / ext4 defaults 1 1
UUID=7e2e83d9-a16f-4c33-a99d-a4fb1a0a830c /boot ext4 defaults 1 2
/dev/mapper/vg_zenbox-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_zenbox-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_zenbox-lv_root
50G 5.2G 44G 11% /
tmpfs 1011M 436K 1010M 1% /dev/shm
/dev/sda1 485M 112M 348M 25% /boot
/dev/mapper/vg_zenbox-lv_home
20G 14G 4.9G 75% /home
== END df -h ==

== BEGIN fdisk -l ==
Disk /dev/mapper/vg_zenbox-lv_root doesn't contain a valid partition table
Disk /dev/mapper/vg_zenbox-lv_swap doesn't contain a valid partition table
Disk /dev/mapper/vg_zenbox-lv_home doesn't contain a valid partition table

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009d437

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 9726 77611008 8e Linux LVM

Disk /dev/sdb: 250.1 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9d7366d5

Device Boot Start End Blocks Id System
/dev/sdb1 1 1913 15360000 7 HPFS/NTFS
/dev/sdb2 1913 30401 228834304 7 HPFS/NTFS

Disk /dev/mapper/vg_zenbox-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_zenbox-lv_swap: 4261 MB, 4261412864 bytes
255 heads, 63 sectors/track, 518 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_zenbox-lv_home: 21.5 GB, 21520973824 bytes
255 heads, 63 sectors/track, 2616 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

== END fdisk -l ==

== BEGIN blkid ==
/dev/sda1: UUID="7e2e83d9-a16f-4c33-a99d-a4fb1a0a830c" TYPE="ext4"
/dev/sda2: UUID="Yzfr7J-i8G6-czUy-xZ2v-xJy3-szk3-WHlmYF" TYPE="LVM2_member"
/dev/sdb1: LABEL="Virt-Speicher" UUID="9C84006F84004E68" TYPE="ntfs"
/dev/sdb2: LABEL="250er" UUID="F0200A41200A0EF2" TYPE="ntfs"
/dev/mapper/vg_zenbox-lv_root: LABEL="_CentOS-6.2-i386" UUID="8c348e41-45d0-4837-81a5-5ddd5833b91b" TYPE="ext4"
/dev/mapper/vg_zenbox-lv_swap: UUID="4d7160f8-c8c7-4870-8743-607b79c73337" TYPE="swap"
/dev/mapper/vg_zenbox-lv_home: UUID="4b1be177-e45a-40c1-b5c9-3c788b41abea" TYPE="ext4"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/sda2 vg_zenbox lvm2 a-- 74.01g 0
== END pvs ==

== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
vg_zenbox 1 3 0 wz--n- 74.01g 0
== END vgs ==

== BEGIN lvs ==
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv_home vg_zenbox -wi-ao 20.04g
lv_root vg_zenbox -wi-ao 50.00g
lv_swap vg_zenbox -wi-ao 3.97g
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-220.2.1.el6.centos.plus.i686
kernel-2.6.32-220.2.1.el6.i686
kernel-2.6.32-220.4.1.el6.centos.plus.i686
kernel-2.6.32-220.4.1.el6.i686
kernel-2.6.32-220.4.2.el6.centos.plus.i686
kernel-firmware-2.6.32-220.4.2.el6.centos.plus.noarch
== END rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation 82Q963/Q965 Memory Controller Hub [8086:2990] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82Q963/Q965 PCI Express Root Port [8086:2991] (rev 02)
00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 02)
00:1a.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 02)
00:1a.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 02)
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 02)
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 02)
00:1d.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 02)
00:1d.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 02)
00:1d.2 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 02)
00:1d.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev f2)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller [8086:2810] (rev 02)
00:1f.2 IDE interface [0101]: Intel Corporation 82801H (ICH8 Family) 4 port SATA Controller [IDE mode] [8086:2820] (rev 02)
00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 02)
00:1f.5 IDE interface [0101]: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 2 port SATA Controller [IDE mode] [8086:2825] (rev 02)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV516 [Radeon X1300/X1550 Series] [1002:7183]
01:00.1 Display controller [0380]: ATI Technologies Inc RV516 [Radeon X1300 Pro] (Secondary) [1002:71a3]
03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express [14e4:167a] (rev 02)
== END lspci -nn ==

== BEGIN lsusb ==
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 008: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 003 Device 009: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
== END lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
== END rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
eth0 Link encap:Ethernet HWaddr 00:19:B9:43:1B:D2
inet addr:10.201.10.11 Bcast:10.201.255.255 Mask:255.255.0.0
inet6 addr: fe80::219:b9ff:fe43:1bd2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:97055 errors:0 dropped:0 overruns:0 frame:0
TX packets:50876 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:129354515 (123.3 MiB) TX bytes:4807224 (4.5 MiB)
Interrupt:16

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:173 errors:0 dropped:0 overruns:0 frame:0
TX packets:173 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20359 (19.8 KiB) TX bytes:20359 (19.8 KiB)

== END ifconfig -a ==

== BEGIN brctl show ==
bridge name bridge id STP enabled interfaces
== END brctl show ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
85.17.173.156 10.201.0.1 255.255.255.255 UGH 0 0 0 eth0
10.201.0.0 0.0.0.0 255.255.0.0 U 1 0 0 eth0
0.0.0.0 10.201.0.1 0.0.0.0 UG 0 0 0 eth0
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
# Generated by NetworkManager
nameserver 10.201.0.1
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
network 0:off 1:off 2:off 3:off 4:off 5:off 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Network-Manager VPN Problem

Post by pschaff » 2012/02/18 11:57:36

You have a dangerous mix of repos but do have yum-plugin-priorities installed and some priorities set. No priorities are set for enabled repo EPEL so it will default to 99. Remi (which replaces core packages) is installed but disabled. If it were enabled the default priority of 99 would prevent its effective use. You have RPMforge enabled at priority 10 and RPMforge Extras (which replaces core packages) nominally enabled, but the priority of 11 makes it effectively disabled so no core packages will be replaced by it. CentOSplus is enabled at priority 1 so it will and apparently has replaced core packages. Any particular reason for using it, and the plus kernel?

I don't understand the [b]route[/b] information - specifically the 85.17.173.156 with gateway 10.201.0.1 and mask 255.255.255.255. Can you explain what that is about? There is no [url=http://en.wikipedia.org/wiki/IPv4#Link-local_addressing]169.254.0.0 link-local address[/url] that would normally be present, and no tun0 for a VPN connection. Is networking working without the VPN?

Are you trying to create a VPN server or connect to an existing VPN? What does[code]rpm -qa | grep vpn[/code]show?

mrMash
Posts: 6
Joined: 2012/02/16 20:20:45

Re: Network-Manager VPN Problem

Post by mrMash » 2012/02/19 09:53:19

[quote]
pschaff wrote:
You have a dangerous mix of repos but do have yum-plugin-priorities installed and some priorities set.
[/quote]
Thats because i had to install them in order to get some multimedia codecs and newest firefox/thunderbird etc. Unfortunately i found no explanation of how to get the right mix of repos and priorities for normal home-user desktop software like the mentioned. Some advanced guy (i think it was in this forum) even said, that priorities are dangerous per se, which confused me even more.

[quote]
CentOSplus is enabled at priority 1 so it will and apparently has replaced core packages. Any particular reason for using it, and the plus kernel?
[/quote]
Thought it would provide some nice extra features like the codecs mentioned above. Should I disable it?

[quote]
I don't understand the [b]route[/b] information - specifically the 85.17.173.156 with gateway 10.201.0.1 and mask 255.255.255.255. Can you explain what that is about?
[/quote]
Since I'm living in a student residential home, i have to set a fixed IP, and 10.201.0.1 is my gateway and dns server. I simply modified "auto eth0" in network-manager gui. I Also disabled ipv6, just to mention it. 85.17.173.156 would be my external IP at that time i think.

[quote]
There is no [url=http://en.wikipedia.org/wiki/IPv4#Link-local_addressing]169.254.0.0 link-local address[/url] that would normally be present, and no tun0 for a VPN connection. Is networking working without the VPN?
[/quote]
normal networking is up and running without any problems.

[quote]
Are you trying to create a VPN server or connect to an existing VPN? What does[code]rpm -qa | grep vpn[/code]show?[/quote]
[/quote]
I want to connect to a commercial vpn service to get some more privacy.

Heres the output, I added the output for pptp since I also installed these packages by a way of trial:
[code]
[root@localhost ~]# rpm -qa | grep vpn
stonevpn-0.4.12-1.el6.noarch
openvpn-auth-ldap-2.0.3-6.el6.i686
openvpn-2.2.0-3.el6.rf.i686
NetworkManager-openvpn-0.8.1-0.1.git20100609.el6.i686
[root@localhost ~]# rpm -qa | grep pptp
pptp-1.7.2-8.1.el6.i686
NetworkManager-pptp-0.8.0-1.git20100411.el6.i686
[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Network-Manager VPN Problem

Post by pschaff » 2012/02/19 14:33:39

[quote]
mrMash wrote:
...
Thats because i had to install them in order to get some multimedia codecs and newest firefox/thunderbird etc. Unfortunately i found no explanation of how to get the right mix of repos and priorities for normal home-user desktop software like the mentioned. Some advanced guy (i think it was in this forum) even said, that priorities are dangerous per se, which confused me even more.[/quote]
I would not call it dangerous [i]per se[/i] but it can be complex and confusing to set up correctly. The apparent confusion about RPMforge Extras and Remi repos that I pointed out in my last post illustrates the point. I have yet to find a case where I needed [rpmforge-extras], but I do use some of Dag's multimedia and other packages. You don't need Remi unless setting up a web or other server that requires later package versions than CentOS provides.

[quote]
Thought it would provide some nice extra features like the codecs mentioned above. Should I disable it? [/quote]
No codecs or other multimedia packages are provided in CentOSplus. It provides replacements for core packages, primarily for server use. The kernel has some additional drivers not in the distro kernel, but should [u][i]only[/i][/u] be used if those are required, and you are sure you know what you are doing. I would recommend disabling [centosplus], getting rid of the plus kernel, and running the standard kernel, unless you have a need for the plus capabilities. The procedure to do that would be something like:
1. As root: Change "enabled=1" to "enabled-0" for [centosplus]
2. Reboot to kernel-2.6.32-220.4.1.el6
3. As root:[code]
yum remove kernel-2.6.32-220.4.2.el6.centos.plus
yum install kernel-2.6.32-220.4.2.el6[/code]
4. Reboot to kernel-2.6.32-220.4.2.el6

I'm frankly not sure what to do about kernel-firmware-2.6.32-220.4.2.el6.centos.plus.noarch but I think leaving it would be OK. Perhaps [b]toracat[/b] or [b]AlanBartlett[/b] will comment on that.

[quote]
Since I'm living in a student residential home, i have to set a fixed IP, and 10.201.0.1 is my gateway and dns server. I simply modified "auto eth0" in network-manager gui. I Also disabled ipv6, just to mention it. 85.17.173.156 would be my external IP at that time i think.
...
normal networking is up and running without any problems.[/quote]
Still seems strange to me, but I guess "If it ain't broke, don't fix it." applies.

[quote]
I want to connect to a commercial vpn service to get some more privacy.

Heres the output, I added the output for pptp since I also installed these packages by a way of trial: ...
[/quote]
Now we get to the heart of the matter. It looks like you have been trying to use packages for a VPN server and not a client. On my VPN clients for a Cisco server I have:
[code]$ rpm -qa \*vpn\* \*pptp\*
vpnc-0.5.3-4.el6.i686
NetworkManager-vpnc-0.8.0-1.git20100411.el6.i686[/code]

Perhaps you could provide a link to the requirements of the provider you are trying to use.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Network-Manager VPN Problem

Post by AlanBartlett » 2012/02/19 21:56:21

[quote]
I'm frankly not sure what to do about kernel-firmware-2.6.32-220.4.2.el6.centos.plus.noarch but I think leaving it would be OK. Perhaps [b]toracat[/b] or [b]AlanBartlett[/b] will comment on that.
[/quote]
Having looked around to make sure that no one else is watching, I'll say that judicious use of the [i]--nodeps[/i] flag to the [i]rpm[/i] command, followed by a [i]yum install[/i] will be appropriate --

[code]
[b]rpm -e --nodeps kernel-firmware-2.6.32-220.4.2.el6.centos.plus.noarch
yum install kernel-firmware[/b]
[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Network-Manager VPN Problem

Post by pschaff » 2012/02/19 22:14:30

Did I hear the sound of a [b][i]big hammer[/i][/b] in use? :-) I guess sometimes that's the only tool to get the job done.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Network-Manager VPN Problem

Post by AlanBartlett » 2012/02/19 22:38:34

[quote]
Did I hear the sound of a [b][i]big hammer[/i][/b] in use? :-)
[/quote]
How else can we ensure that [b]toracat[/b] is awake? (Rhetorical question.) :-P

mrMash
Posts: 6
Joined: 2012/02/16 20:20:45

Re: Network-Manager VPN Problem

Post by mrMash » 2012/02/21 09:11:52

[quote]
Having looked around to make sure that no one else is watching, I'll say that judicious use of the [i]--nodeps[/i] flag to the [i]rpm[/i] command, followed by a [i]yum install[/i] will be appropriate --

[code]
[b]rpm -e --nodeps kernel-firmware-2.6.32-220.4.2.el6.centos.plus.noarch
yum install kernel-firmware[/b]
[/code][/quote]

I have no clue what that does, and removing the packages with
[code] yum remove kernel*plus*
[/code]
and afterwards installing kernel and firmware worked perfectly. you probably want to rip out some hair, now would be the right time ;)


Okay so now I switched to normal kernel and installed vpnc and NetworkManager-vpnc as well as pptp client.
[code]# rpm -qa \*vpn\* \*pptp\*
pptp-1.7.2-8.1.el6.i686
vpnc-0.5.3-4.el6.i686
NetworkManager-vpnc-0.8.0-1.git20100411.el6.i686
NetworkManager-pptp-0.8.0-1.git20100411.el6.i686
[/code]
but after successfully configuring vpn via pptp another message tells me that there are no valid vpn secrets available (translated).
vpnc seems not to work for me since there are more and and not matching settings to enter. I simply have a username and password.

The Link to my vpn provider is: http://wwws.linkideo.com/howto
Sadly there is no specification of requirements in detail.

Should I post the new getinfo output?

Post Reply