Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: vpnc under QEMU?, having problems running vpnc< Next Oldest | Next Newest >
rhlee Offline





Group: Members
Posts: 3
Joined: Dec. 2004
Posted: Dec. 22 2004,00:19 QUOTE

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
Back to top
Profile PM 
dirtbag
Unregistered






Posted: Mar. 26 2005,01:44 QUOTE

im getting the same thing.. anyone gotta clue?!?!

-DB
Back to top
XaerioN
Unregistered






Posted: April 21 2005,04:22 QUOTE

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?
Back to top
2 replies since Dec. 22 2004,00:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: vpnc under QEMU?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code