Remove Virtual Interface


Recommended Posts

Hey Guys wassup?

I stopped using Hamachi2 for Mac a few months ago but i've noticed it's still hanging around:

Last login: Fri Nov 26 11:28:43 on ttys001
Chris-Presslands-MacBook-Pro:~ cpressland$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 60:33:4b:17:38:7c 
	inet6 fe80::6233:4bff:fe17:387c%en1 prefixlen 64 scopeid 0x4 
	inet 192.168.19.140 netmask 0xffffff00 broadcast 192.168.19.255
	media: autoselect
	status: active
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
	lladdr 60:33:4b:ff:fe:95:d9:72 
	media: autoselect <full-duplex>
	status: inactive
en2: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 60:33:4b:17:27:aa 
	media: autoselect
	status: inactive
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether c4:2c:03:33:fc:9b 
	inet6 fe80::c62c:3ff:fe33:fc9b%en0 prefixlen 64 scopeid 0x7 
	inet 192.168.20.13 netmask 0xffffff00 broadcast 192.168.20.255
	media: autoselect (1000baseT <full-duplex,flow-control>)
	status: active
ham0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1200
	ether 86:50:95:29:d7:a7 
	inet 5.163.16.158 netmask 0xff000000 broadcast 5.255.255.255
	open (pid 66)
vmnet1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:50:56:c0:00:01 
	inet 192.168.64.1 netmask 0xffffff00 broadcast 192.168.64.255
vmnet8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:50:56:c0:00:08 
	inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
Chris-Presslands-MacBook-Pro:~ cpressland$ 

It's ham0

Anyone have any idea how to remove it?

Link to comment
https://www.neowin.net/forum/topic/956460-remove-virtual-interface/
Share on other sites

Found something that might help you out

  Quote
Ah ha! I found it.

I have been having the same problem and finally decided to fix it.

I deleted all the hamachi files yesterday

/usr/bin/hamachi & /usr/bin/hamachi-init & /usr/sbin/tuncfg

but launchd is still trying to run tuncfg without success. (even less success than before; tuncfgd was continually dying even before i deleted it)

Hamachi's install apparently does a very bad thing. It puts the launchd plist in the SYSTEM/Library/LaunchDaemons folder, as opposed to the /Library/LD's or ~/Library/LD's ! bad programmer, bad!

The Answer:

anyways, basically you gotta remove this file as well:

/System/Library/LaunchDaemons/tuncfgd.plist

and to be extra clean about it, BEFORE removing that file you could do a

sudo launchctl unload /System/Library/LaunchDaemons/tuncfgd.plist

(in the Terminal of course)

which will get launchd to forget about tuncfgd and it's launchd config file before deleting said config file. Ah ha! I found it.

I have been having the same problem and finally decided to fix it.

I deleted all the hamachi files yesterday

/usr/bin/hamachi & /usr/bin/hamachi-init & /usr/sbin/tuncfg

but launchd is still trying to run tuncfg without success. (even less success than before; tuncfgd was continually dying even before i deleted it)

Hamachi's install apparently does a very bad thing. It puts the launchd plist in the SYSTEM/Library/LaunchDaemons folder, as opposed to the /Library/LD's or ~/Library/LD's ! bad programmer, bad!

The Answer:

anyways, basically you gotta remove this file as well:

/System/Library/LaunchDaemons/tuncfgd.plist

and to be extra clean about it, BEFORE removing that file you could do a

sudo launchctl unload /System/Library/LaunchDaemons/tuncfgd.plist

(in the Terminal of course)

which will get launchd to forget about tuncfgd and it's launchd config file before deleting said config file.

Source

Hey, thanks for your post, but I ended up fixing it myself:

used mdfind hamachid to find the exact location of the process, then rebooted into Single User Mode (cmd+s) and rm -rf'ed the directory.

/Library/Application Support/LogMeIn Hamachi2/

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.