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.
  • Posts

    • Precisely. I didn't give Reddit permission to sell my posts to any AI vendor from any of my accounts. Since I've been on Reddit since before the current pseudo-AI existed, I don't think anyone did...
    • The character tech looks awful, like something from 10 years ago.
    • lol net-negative? They're worth $29 billion, so they aren't hurting. They're just money hungry and don't care at all about the free videos on their platform. They shouldn't be making money off of those, but they are. Those content creators that are uploading their videos they made aren't making anything, but YouTube is making tons of money off of them, along with being exorbitant. If they want to do what they did before and lock Premium videos in a paywall, then fine. But no one is going to put up with them strong-arming people into paying just to have an ad-free experience while watching super old videos uploaded by John Doe at 360p.
    • Sony unveil Marvel fighting game 'Tōkon: Fighting Souls' for PlayStation 5 and PC by Pulasthi Ariyasinghe Sony held a massive surprise in store for those who made to the end of its State of Play presentation today. Coming in as a collaboration between PlayStation Studios, Arc System Works, and Marvel Games, Tōkon: Fighting Souls is slated to be a tag team fighter featuring everyone's favorite heroes and villains from the Marvel comics universe. Watch the debut trailer above. Developer Arc System Works, which has previously worked on series like Guilty Gear and Blazblue, has revealed that the focus on this project was making sure it was easy to pick up and play by anyone. To put this into perspective, the studio says that while other fighting games require learning each character's moves to play them effectively, Tōkon will only have one way of playing for all available fighters. "From the beginning, we aimed to make MARVEL Tōkon: Fighting Souls a title that could be enjoyed by a wide variety of players," explains Game Director and Lead Battle Designer, Kazuto Sekine. "We have designed the mechanics in such a way that you can perform a variety of actions with either traditional fighting game inputs or simple inputs. With the press of a few buttons, multiple characters can appear on screen to provide backup or attack together – creating a new and exciting team VS battle experience." So far, Captain America, Iron Man, Spider-Man, Doctor Doom, Storm, Ms. Marvel, Star-Lord, and Ghost Rider (Robbie Reyes) have been revealed as playable characters, neatly filling the trailer's four versus four battle. Each character has a Japanese flair to them too, such as Iron Man's unique Gundam style for his armor. As for why the studio went with the 4v4 Tag Team battle solution, the team said that the team-up nature of superheroes was the inspiration for that, making sure that players can fill the screen with all sorts of powers they are familiar with. Tōkon: Fighting Souls is coming to both PlayStation 5 consoles as well as PC sometime in 2026. More announcements with reveals for characters, stages, gameplay modes, and online mechanics will be coming up until launch as well.
    • Nothing surprising there. Anyone expecting privacy on ANY social media platform is delusional at best. Let alone one controlled by the same creep that owns Tesla (a.k.a. facecrook on wheels), which blatantly violates user privacy with Tesla vehicles as reported by Louis Rossman. This action of his is just another prime example of why ANYTHING from him is trust-worthy as the same from Zuckerberg...i.e. not at all.
  • Recent Achievements

    • First Post
      James courage Tabla earned a badge
      First Post
    • Reacting Well
      James courage Tabla earned a badge
      Reacting Well
    • Apprentice
      DarkShrunken went up a rank
      Apprentice
    • Dedicated
      CHUNWEI earned a badge
      Dedicated
    • Collaborator
      DarkShrunken earned a badge
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      347
    2. 2
      snowy owl
      167
    3. 3
      +FloatingFatMan
      164
    4. 4
      ATLien_0
      162
    5. 5
      Xenon
      127
  • Tell a friend

    Love Neowin? Tell a friend!