OpenConnectIOS icon indicating copy to clipboard operation
OpenConnectIOS copied to clipboard

/dev/tun%d file could not found

Open dawei101 opened this issue 4 years ago • 4 comments

customer tunnelScript '/usr/local/etc/vpnc-script' exited abnormally (1)
Failed to open tun device: No such file or directory
Set up tun device failed

How to fix it?

dawei101 avatar Apr 25 '20 02:04 dawei101

I think the reason is that some step may lose. I see some scripts in the floder ./core

@AnhTVc cloud you please write more guide to help us bootstrap it? Thanks

dawei101 avatar Apr 25 '20 03:04 dawei101

I track the error below, there is no /dev/tun%d file

		for (i = 0; i < 255; i++) {
			sprintf(tun_name, "/dev/tun%d", i);
			tun_fd = bsd_open_tun(tun_name);
			if (tun_fd >= 0)
				break;
		}
		if (tun_fd < 0) {
			vpn_progress(vpninfo, PRG_ERR,
				     _("Failed to open tun device: %s\n"),
				     strerror(errno));
			return -EIO;
		}

dawei101 avatar Apr 25 '20 04:04 dawei101

connect to me via skype: [email protected] get full source code

Vào Th 7, 25 thg 4, 2020 vào lúc 11:03 David [email protected] đã viết:

I track the error below, there is no /dev/tun%d file

  for (i = 0; i < 255; i++) {
  	sprintf(tun_name, "/dev/tun%d", i);
  	tun_fd = bsd_open_tun(tun_name);
  	if (tun_fd >= 0)
  		break;
  }
  if (tun_fd < 0) {
  	vpn_progress(vpninfo, PRG_ERR,
  		     _("Failed to open tun device: %s\n"),
  		     strerror(errno));
  	return -EIO;
  }

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AnhTVc/OpenConnectIOS/issues/4#issuecomment-619315982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7IICK44IEQE5PHUQ3UKN3ROJOJFANCNFSM4MQRVYJA .

AnhTVc avatar Apr 25 '20 09:04 AnhTVc

Why should we have to contact you via Skype to get “the full source code”? Is this just a moneymaking scam?

brettwooldridge avatar Sep 13 '20 08:09 brettwooldridge