Fedora :: Vpnc Not Connecting / Error Can't Open /dev/net/tun, Check That It Is Either Device Char?
May 30, 2011
i need to install vpnc in amazon ec2 fedor 8 instance. i have installed with yum install vpnc commaned. And i have placed config file in /etc/vpnc/some.conf. but it is not connecting and giving the following error.
vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device.
With fc12 vpnc starts allows me to connect to my work site then everything works fine til I try and start a remote desktop connections to a windows client use tsclient. All I get is a blackscreen and my laptop is hung.
At work without the vpnc it works fine if I start the vpnc from nm it performs the exact same way and I get the blackscreen.
I have disable selinux.I also disabled the firewall
there was another gentlemen on here with the same issue.
The only way out is a hard reboot and there are no messages in the logs that say there were any problems.
I'm trying to setup a VPN using VPNC. All is well and I can create the VPN.
The problem is that CNTLM does not want to connect in the VPN Further more I am not sure what to look for? The logs are empty and CNTLM only reports 502 Parent proxy unreacheable.
How can I trace what the problem is?
My setup: Ubuntu 10.10 64 CNTLM 0.91~rc6-0ubuntu1.1 VPNC 0.5.3r449-2
I am having problems accessing my work desktop through my home computer running Fedora 13. I am able to remote into work through MAC and Windows XP. I loaded vpnc and was able to connect to the concentrator. I also able to ping it too. I cannot connect to my desktop using rdesktop. I get error message �Unable to connect, socket is unavailable. I cannot ping to the desktop.
I would like to create a small C tool. I encounter a problem of how to make a function to check an input chars contains numbers (started from the second element).
Some samples:
char *mychar= "a3547"; (The result of function checking this is true) char *another_char = "t6548"; (The result of function checking this is true) char *next_char = "appl3"; (The result of function checking this is false) char *new_char = "b1aa3"; (The result of function checking this is false)
I am having difficulties in establishing a vpn connection using vpnc (or NetworkManaager-vpnc).
As long as the openswan IPsec daemon is running, vpnc-helper quits with the error message
Quote:
Failed to bind to 0.0.0.0:500: Address already in use [user@computer ...]# vpnc-helper --local--port 0
If I use NetworkManager-vpnc, then establishing the connection simply fails. Using the --local-port 0 option does not change anything.
If I stop the ipsec service (service ipsec stop) then establishing the connectiong works, both with NetworkManager-vpnc and the console tool, but apparently the network traffic is not routed via the VPN - in my case this means that I cannot access hosts within the vpn and stuff.
Funny thing is - on my notebook from where I connect via WLAN, everything works fine. With Fedora 13 everything works fine, too.
Does anybody have an idea how to enforce that the vpn connection is actually used?
I've been trying to connect to my office Cisco VPN several time using the network-manager-vpnc GUI in Ubuntu Karmic with no success. I read a couple of articles and i tried using the direct command line way:
Code: sudo vpnc office with the following /etc/vpnc/office.conf file:This is fictional data Code: IPSec gateway vpn.office.com IPSec ID office IPSec secret 0ff1c3 which worked perfecly.
So i went back to the Network Manager GUI way and i used the same credentials. Same fictional data I got a libnotify message telling me it couldn't connect.Anyone know how i could troubleshoot this issue? Would be great to have it integrated in gnome instead of running a background command which is not tracked by nwm.
Programming in C.I have two char arrays.char buf1[1024];char buf2[1024];Aren't buf1 and buf2 also pointers?I read in 1024 bytes into buf1 which contain about 300 bytes of characters with newlines. The data is basically a few English sentences. I'm trying to scan buf1 for newlines and then stop at the 1st newline and copy the rest of the data from that 1st newline into buf2.So I run a for loop to look for that new line.
Line 43 points at the snprintf() command.I think the error has to do with the function being virtual and the const after the function definition, however although I have been looking really hard I have not being able to find the reason nor the solution to the problem.
One workaround that I know is moving the block of source withing the virtual function, in the constructor, however having read around (boost library exceptions tutorials) it specifically said that formating of errors messages should not take place withing the construction of objects because we are risking throwing an exceptions and messing up the flow order.
i define variable of type char (range -128 to 127). when i tried to print the value after assigning a -ve value to it it displaying a +ve value of that -ve value(256+value).
My scanner is Benq 5000 ,the default scanning software (xsane) give me the following message whenever I plug the scanner to the pc : Failed to Open Device 'Snapscan:libusb:005:002' Invalid Argument. I tried the gnome image scanning software too but it didn't recognize the scanner at all. The only software that worked is vuescan but unfortunately it is non-free software !!!!
this error spams about 100 times, then the scanner does indeed work. So I'm not completely broken, but the error messages are of concern, and it slows down the process of scanning for the time it takes to do the messages.
Error in console:
libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes.
I install Debian on a Power book g3 and i need the right click function. I try mouseemu but it give me an error: open: No such file or directory No uinput device found! Make sure the uinput module is loaded or CONFIG_INPUT_UINPUT is compiled in kernel. if there are other way for the right click function?
I'm running Fedora 11 64bit on an Acer Aspire 3935, dual boot with Windows Vista. I installed three days ago and the system is supposedly fully updated. While doing some routine configuring I noticed that I am unable to access the Preference window of File Management.
I want to check the box for 'always open in browser windows', but therefore I need the Preference window. When I try to access through System > Preferences > File Management, it says starting for a few seconds and then nothing. When I try to access through Computer > Edit > Preferences, the window crashes and disappears. I suppose there are other ways to change that setting, but in any case I'd like to get the general problem solved, not only the setting changed.
I tried to see if my port was open but got a message saying Error: I could not see your service on 58.164.165.88 on port (80) Reason: Connection refused could someone us out here
i ,musing mysql5 at fedora12 i have just installed it but i ,m using mysqladmin -p root password mypassword it says ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqladmin -uroot password 123456' at line 1
Greetings, I have installed a VMware host on Windows 7 64bit and followed with a 10.04LTS 64 bit guest install. Everything went smooth. I have used VMware before, but the other way around.. Linux host and Windows guest.
So this time I am installing the VMWare tools on the guest, ubuntu 10.04, but it seems to be failing. The vmware tools install ran fine the first time with no errors, but I was getting the follwoing error after logging into the Ubuntu guest afterwards.
Could Not Apply the Start Configuration for Monitors Error Line 1: Char 1 Whitespace or empty file
So I re installed the VMware tools once again, but still the same.
I am hoping that someone here has come across this before and hs a workaround. I don't think the vmware tools was installed correctly.
I rebooted my server and out of nowhere the RAID5 array won't assemble. I've tried everything I could think of to reassemble the thing. I fear that the array is ruined, but I can't imagine how. Here are various bits of information: The simplest failure (with and without partition numbers, which have not been needed in the past):
Code:
richard@nas:~$ sudo mdadm --assemble --verbose /dev/md0 /dev/sd[bcd] mdadm: looking for devices for /dev/md0 mdadm: cannot open device /dev/sdb: Device or resource busy
Got a little problem after the install of Fedora 12. First there was not problem in opening the raid-device, after i tryed to automount it with crypttab and fstab im not longer able to open it. Here some outputs code...
So I've tried some hours ago to install the new kernel 2.6.38 and when I did the reboot, it prompted this error: "Error 11: Unrecognize device strong
Press any key to continue..." I know this is such a general question but how to install the new kernel with Fedora 14? I think I did compiled and configured it ok and did something that wasn't recognized by grub or perhaps when I ran the command to make the new initrd.
I have an HP OfficeJet 5610v installed on my system, and cups can print the test page. I can also get the test page to print via [URL] which appears to be printed under the anonymous user. Now if I attempt to print the test page via the printer control panel from windows, I get the following sets of error:
D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes. D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied. D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes. D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied. D [11/Feb/2010:11:21:29 -0500] [Job 6] libusb requires write access to USB device nodes.
CUPS is showing that the "user" is my XP login name so I added that user to Linux and even added that account to the "lp" group and still get the above errors.
I have been working with a project pc. I have a new HD loaded with Linspire. After loading the o/s I replaced the motherboard and cpu. I now have a Biostar A780L (Didn't see it listed on the HCL) and an AMD Athalon II Multi-Core Processor. Now when the pc boots I get an error:VFS: Cannot open root device "343" or 03:43 append a correct "root" boot option Kernel panic: VFS: Unable to mount the root fs on 03:43 I tried reloading the o/s but the disk won't read from the DVD ROM. Checked my BIOS and it appears to me that it should read from the DVD ROM first but it goes to the HD and tries to load the o/s there.