vpnc under QEMU?Forum: Networking Topic: vpnc under QEMU? started by: rhlee Posted by rhlee on Dec. 22 2004,00:19
Hi,I'm trying to run vpnc in my DSL install under QEMU and I'm running into problems. I'm not sure if these problems are at all related to the fact that I'm running under the emulator. apt-get install vpnc seems to complete fine, but when I try to run it, I get error messages like: % vpnc-connect tun: applet not found Warning, /dev/net/tun does not exist. Possible reasons: - tun driver not available - device file needs to be created (howto: cd /dev/; /sbin/MAKEDEV tun) /sbin/MAKEDEV tun also fails with the applet not found error. I've checked that the tun kernel module is installed: % lsmod -a | grep tun tun 3904 0 (unused) % ls /lib/modules/2.4.26/kernel/drivers/net/tun.o /lib/modules/2.4.26/kernel/drivers/net/tun.o I'm completely stumped as to what is going on (I've never used vpnc or TUN before); hoping somebody here can shed some light on my situation.... thanks, -Rob Posted by dirtbag on Mar. 26 2005,01:44
im getting the same thing.. anyone gotta clue?!?!-DB Posted by XaerioN on April 21 2005,04:22
I ran into the same problem. The only solution to that I've come across is to enable apt (dpkg-restore), then apt-get coreutils (to get rid of the busybox). I've tried updating busybox, but it always seemed to break something else. Once I've installed coreutils, you'll have to make /dev/net (mkdir /dev/net) then make the device manually with mknod (mknod /dev/net/tun c 10 200). But now, I am running into a different problem, that I *think* is qemu (nat'd network). I can connect to my vpn without problems, but once connected, all network connectivity dies. And I mean ALL. I get an IP address on tun0, route gets made, etc, but no traffic passes. If I take my remastered dsl-embedded and make an ISO out of it, it works flawlessly in vmware (bridged network). I snooped the interface on my router, and when I try to ssh to a server behind the VPN, even though I try to connect by IP address, QEMU forwards it out as a DNS request (looks for PITR lookups - 11.10.168.192.in-addr-arpa) Anyone have any ideas? |