Sangoma wanpipe driver Uninstal - Reinstall - upgrade
Topic: how to uninstall-reinstall-upgrade the sangoma wanipipe driver
Overview: Sangoma - wanpipe
What is Wanpipe?
Wanpipe is Sangoma's suite of linux/windows kernel device drivers and utilities that enable all Sangoma TDM boards. Sangoma kernel device driver (WanpipeTM) is a unified linux & windows code base offering OS agnostic hardware support for all Sangoma TDM boards
Blog Topic: Wanpipe uninstall or reinstall
Steps to uninstall-reinstall-upgrade wanpipe
Step 1: Current wanpipe version
Before proceeding with uninstalling, you need to have the source code currently installed wanpipe, if the source code is not available you can download the same version of the wanpipe driver from sangoma repository to the server.Running the below command, you will get the wanpipe version installed in your server
wanrouter version
Step 2: Download Current Version wanpipe
If you dont have the currently installed wanpiper driver, you can download the same version of wanpipe driver from the below sangoma ftp repository and place it in the /usr/src directory.
https://ftp.sangoma.com/linux/current_wanpipe/
Step 3: Removing wanpipe driver
Navigate to the wanpipe driver source code directory and follow the steps to remove the wanpipe driver .
for example my wanpipe driver version is 7.0.22,
Navigate to the wanpipe driver source code directory
cd /usr/src/wanpipe-7.0.22
Stop the wanrouter first, run the blow command to wanrouter
wanrouter stop
Confirm no wanpipe driver modules running by running below command
wanrouter modules
Finally remove the wanpipe by running the below command
./Setup remove
cd /usr/src/wanpipe-7.0.22
./Setup dahdi
Note: You need to have dahdi driver installed and dahdi source code available in same server, you may need to specify the location of dahdi while running above command.
Follow the below link to install dahdi driver
https://www.striker24x7.com/2013/05/steps-to-reinstall-or-upgrade-dahdi.html
Wanpipe upgrade:
If you are planning to upgrade the currently installed wanpipe without removing the existing one, follow the below steps
Download the latest version of wanpipe which you want to upgrade.
Navigate to the downloaded wanpipe driver folder
for example the latest version is 7.0.34
cd /usr/src/wanpipe-7.0.34cd /util/wan_aftup
./update_aft_firm.sh
Conclusion:
Hope this article is helpful, for support reach me at skype:striker24x7