Search Results

Search: Posts Made By: jeetz
1,551
Posted By jeetz
Hi Corona, thanks for the help but that didn't...
Hi Corona, thanks for the help but that didn't work. :(




Thanks Walter, just what I wanted. Sorted my issue. (Y)
1,551
Posted By jeetz
Weird Error (: No such file or directory)
Hi Everyone,

I am trying to make this script to use, to find out the DAHDI channel status. Every thing works fine, I even get proper results, however I have this weird error that comes along.
Can...
19,587
Posted By jeetz
absolutely right, just tried it without the sleep...
absolutely right, just tried it without the sleep in the end and it would not work. amazing!!

Thanks
1,878
Posted By jeetz
show adsl also doesnt work. your suggestion...
show adsl also doesnt work.

your suggestion in the other post has solved my problem, but dont know why I am feeling that the telnet session seems flakey there (can let me down anytime), therefore...
19,587
Posted By jeetz
Lovely, it works! :D But I have no clue as...
Lovely, it works! :D

But I have no clue as to why would it work with sleep duration reduced.


echo open 192.168.1.1
sleep 1
echo admin
sleep 1
echo pass
sleep 0
echo show adsl
echo...
1,878
Posted By jeetz
no it doesnt execute, because I tried show adsl...
no it doesnt execute, because I tried show adsl instead of sys reboot. no joy :(
19,587
Posted By jeetz
Hi RudiC, you again mate! :) Lemme quickly...
Hi RudiC, you again mate! :)

Lemme quickly try your given solution.

---------- Post updated at 11:24 AM ---------- Previous update was at 11:15 AM ----------

:( :( :( No luck :(


Sat...
19,587
Posted By jeetz
Telnet Bash Script (Connection closed by foreign host.)
Hello Everyone,

My following script is giving me problems, when the SIP trunk goes down and the telnet session is started and just when the command is about to complete the connection is closed...
1,878
Posted By jeetz
Cannot sshpass router
Hi,

I am trying to use sshpass to login to my router and then execute a reboot command. But the command never executes, can someone please help me.
This doesnt work....
sshpass -p 'password' ssh...
3,895
Posted By jeetz
Totally agree to that. Am already trying...
Totally agree to that. Am already trying different things on it. :) Thanks :) :)
3,895
Posted By jeetz
Perfect!
Hi Klashxx,

This is perfect! Just what I wanted, however there's just one small problem.

During the sleep period of 600 secs (i.e ten mins break) the script does not look for registration...
3,895
Posted By jeetz
Run Bash Script thrice & then interval for 10 mins.
Hi...

I am very new to shell scripting. I have written a script with help of this forum and some googling and it works the way I want it to. Currently this script checks for my SIP trunk...
3,877
Posted By jeetz
Hi RudiC, Sorry for a delayed response. I...
Hi RudiC,

Sorry for a delayed response. I have not yet tried the code as I have been able to narrow down the problem cause. However the solution to the problem is a quick reboot of router.
...
3,877
Posted By jeetz
Thanks, sure I will add in the fi and will run...
Thanks, sure I will add in the fi and will run the script tomorrow and share the results. Much appreciated!
3,877
Posted By jeetz
Hi Rudi, Thanks for your help. I would like...
Hi Rudi,

Thanks for your help. I would like the network to be restarted and then Asterisk, in both cases where IP is chaned from ip1 to ip2 or ip2 to ip1. Should I try this?

ifconfig eth0 |awk...
3,877
Posted By jeetz
As I said earlier, my trunks go offline...
As I said earlier, my trunks go offline (UNREACHABLE) every few days. The only work around is to have the local IP change and do a restart of asterisk service and network service. Changing the local...
3,877
Posted By jeetz
Shell Script for Auto IP Change
Hi,

I am newbie to Linux/Asterisk. I am trying to write a shell script that would look for my SIP trunk registration, if found UNREACHABLE then it would execute a command and check my local IP, if...
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 09:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy