Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: removal/uninstall of neorouter
PostPosted: Mon Jul 26, 2010 5:14 am 
Offline

Joined: Sun Jul 25, 2010 11:25 am
Posts: 7
hi-

after having no joy with installation, i am now trying to completely uninstall the software. However i have found nothing that allwos me to do this, and can still see neorouter running in my logs, and contributing to random reboots.

please can anyone advise how to totally stop and remove.


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Mon Jul 26, 2010 6:40 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
Which version do you use? Mac, Linux or in-a-box?

Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Mon Jul 26, 2010 7:53 am 
Offline

Joined: Sun Jul 25, 2010 11:25 am
Posts: 7
sorry, i should have mentioned: mac, snow leopard.


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Mon Jul 26, 2010 10:02 am 
Offline

Joined: Sun Nov 16, 2008 6:41 am
Posts: 1878
You can simply use the following command to remove it.

Uninstall server:
sudo /Library/NeoRouter/rmnrserver.sh

Uninstall client:
sudo /Library/NeoRouter/rmnrclient.sh

For more information, please check out Wiki or user manual.

http://www.neorouter.com/wiki/index.php ... er_for_Mac

http://www.neorouter.com/wiki/index.php ... nt_for_Mac


Thanks,
KevinZ - NeoRouter team


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Mon Jul 26, 2010 10:43 am 
Offline

Joined: Mon Dec 22, 2008 10:19 pm
Posts: 436
hi spyke23,

I am sorry that NeoRouter did not work out for you. To help us improve, do you mind sharing more details on the issue you experienced?
We did not expect that NeoRouter could contribute to random reboot. We would like to investigate the issue. How can we reproduce the issue? Can you find any system log/core dump or other debug information?
Thanks for trying NeoRouter and we hope to fix the issues before our next major release.

Thanks,

_________________
Luke - NeoRouter Team


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Tue Jul 27, 2010 3:36 am 
Offline

Joined: Sun Jul 25, 2010 11:25 am
Posts: 7
hi-

terminal comes up with command not found

i have deleted the relevant folders previously in an attempt to remove.

this is still showing in the system log

Jul 27 00:31:56 Mac-mini com.apple.launchd[1] (com.neorouter.nrserver[6071]): posix_spawn("/Library/NeoRouter/nrserver", ...): No such file or directory
Jul 27 00:31:56 Mac-mini com.apple.launchd[1] (com.neorouter.nrserver[6071]): Exited with exit code: 1

luk: will get back to you, didn't find it immediately easy to set up or run at all, and found that when downloading files/torrents, it rebooted and neoserver was the only change in recent set up,


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Tue Jul 27, 2010 8:54 am 
Offline

Joined: Mon Dec 22, 2008 10:19 pm
Posts: 436
hi spyke23,

On Snow Leopard, you need to use pkgutil to remove installed packages. I posted the content of rmnrserver.sh and rmnrclient.sh below and please manually execute the pkgutil commands.

Code:
#!/bin/bash
# name:        rmnrserver.sh
# description: Stop daemon and remove previous version before package is upgraded
# os:          Mac OSX
# contact:     support@neorouter.com

printusage()
{
    echo $"Usage: $0 {userdata}"
}

# ensure nrserver is not running
launchctl unload /Library/LaunchDaemons/nrserver.plist
killall nrserver

if [ "$1" = '' ] || [ "$1" = 'userdata' ]; then
    #remove NeoRouter server package
    rm /Library/NeoRouter/nrserver
    rm /Library/NeoRouter/openssl.cnf
    rm -rf /Library/StartupItems/nrserver
    rm /Library/LaunchDaemons/nrserver.plist
    #remove receipts
    rm -rf /Library/Receipts/NeoRouterServer.pkg
    rm -rf /Library/Receipts/NeoRouterServerLaunchDaemons.pkg
    if  [ -f "/usr/sbin/pkgutil" ]; then
        pkgutil --forget NeoRouter.nrserver.pkg
        pkgutil --forget NeoRouter.nrserver.startupitems.pkg
        pkgutil --forget NeoRouter.nrserver.launchdaemons.pkg
        pkgutil --forget com.neorouter.server.pkg
        pkgutil --forget com.neorouter.serverlaunchdaemons.pkg
    fi
    #remove userdata
    if [ "$1" = 'userdata' ]; then
        #remove user data used by NeoRouter server package
        NEOROUTERROOT=/usr/local/ZebraNetworkSystems/NeoRouter
        rm $NEOROUTERROOT/*.db
        rm $NEOROUTERROOT/server.key
        rm $NEOROUTERROOT/server.crt
    fi

    #remove this script
    rm /Library/NeoRouter/rmnrserver.sh
else
    printusage
    exit 1
fi


Code:

#!/bin/bash
# name:        rmnrclient.sh
# description: Stop daemon and remove previous version before package is upgraded
# os:          Mac OSX
# contact:     support@neorouter.com

printusage()
{
    echo $"Usage: $0 {userdata|taptun}"
}

# ensure nrservice is not running
launchctl unload /Library/LaunchDaemons/nrservice.plist
killall nrservice

if [ "$1" = 'taptun' ]; then
    #remove taptun
    rm -rf /Library/Extensions/tap.kext
    rm -rf /Library/Extensions/tun.kext
    rm -rf /Library/StartupItems/tap
    rm -rf /Library/StartupItems/tun
    exit 0
elif [ "$1" = '' ] || [ "$1" = 'userdata' ]; then
    #remove NeoRouter client package
    rm /Library/NeoRouter/nrservice
    rm /Library/NeoRouter/nrclientcmd
    rm -rf /Library/StartupItems/nrservice
    rm /Library/LaunchDaemons/nrservice.plist
    rm -rf /Applications/NeoRouter.app
    #remove receipts
    rm -rf /Library/Receipts/NeoRouterClient.pkg
    rm -rf /Library/Receipts/NeoRouterClientLaunchDaemons.pkg
    if  [ -f "/usr/sbin/pkgutil" ]; then
        pkgutil --forget NeoRouter.nrclient.pkg
        pkgutil --forget NeoRouter.nrclient.startupitems.pkg
        pkgutil --forget NeoRouter.nrclient.launchdaemons.pkg
        pkgutil --forget com.neorouter.clientui.pkg
        pkgutil --forget com.neorouter.clientlaunchdaemons.pkg
        pkgutil --forget com.neorouter.client.pkg
    fi
    #remove userdata
    if [ "$1" = 'userdata' ]; then
        #remove user data used by NeoRouter client package
        NEOROUTERROOT=/usr/local/ZebraNetworkSystems/NeoRouter
        rm $NEOROUTERROOT/Client.xml
        rm $NEOROUTERROOT/DNSCache.xml
    fi
    #remove this script
    rm /Library/NeoRouter/rmnrclient.sh
    exit 0
else
    printusage
    exit 1
fi


_________________
Luke - NeoRouter Team


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Tue Jul 27, 2010 1:37 pm 
Offline

Joined: Sun Jul 25, 2010 11:25 am
Posts: 7
output from terminal, not sure if this is a yay or a nay.



launchctl: Error unloading: com.neorouter.nrserver
No matching processes belonging to you were found
rm: /Library/NeoRouter/nrserver: No such file or directory
rm: /Library/NeoRouter/openssl.cnf: No such file or directory
override rw-r--r-- root/wheel for /Library/LaunchDaemons/nrserver.plist? yes
rm: /Library/LaunchDaemons/nrserver.plist: Permission denied
No receipt for 'NeoRouter.nrserver.pkg' found at '/'.
No receipt for 'NeoRouter.nrserver.startupitems.pkg' found at '/'.
No receipt for 'NeoRouter.nrserver.launchdaemons.pkg' found at '/'.
Unknown error Error Domain=NSCocoaErrorDomain Code=513 UserInfo=0x100111820 "“com.neorouter.server.pkg.bom” couldn’t be removed because you don’t have permission to access it.".
Forgot package 'com.neorouter.server.pkg' on '/'.
Unknown error Error Domain=NSCocoaErrorDomain Code=513 UserInfo=0x10020e6f0 "“com.neorouter.serverlaunchdaemons.pkg.bom” couldn’t be removed because you don’t have permission to access it.".
Forgot package 'com.neorouter.serverlaunchdaemons.pkg' on '/'.
rm: /Library/NeoRouter/rmnrserver.sh: No such file or directory
Mac-mini:~ spyke23$


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Tue Jul 27, 2010 2:25 pm 
Offline

Joined: Mon Dec 22, 2008 10:19 pm
Posts: 436
you need to su / sudo before running rmnr*.sh.

_________________
Luke - NeoRouter Team


Top
 Profile  
 
 Post subject: Re: removal/uninstall of neorouter
PostPosted: Thu Jul 29, 2010 3:32 am 
Offline

Joined: Sun Jul 25, 2010 11:25 am
Posts: 7
still getting command not found in terminal/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: