You might need to build an image with the "real" wget included: BR2_PACKAGE_WGET=y
-Philip Nedi wrote: > Itry this to: > wget -q -O /dev/null --post-data="DEST=0796003185&HEXTEXT=Test&Send=Send > Now" http://192.168.1.131/smsSendNow.cgi > and get error: > allversal ~ # wget -q -O > /dev/null --post-data="DEST=0796003185&HEXTEXT=Test&Send=Send Now" > http://192.168.1.131/smsSendNow.cgi > wget: unrecognized option > `--post-data=DEST=0796003185&HEXTEXT=Test&Send=Send Now' > BusyBox v1.1.3 (2007.04.22-16:26+0000) multi-call binary > > Usage: wget [-c|--continue] [-q|--quiet] [-O|--output-document file] > [--header 'header: value'] [-Y|--proxy on/off] [-P DIR] url > wget retrieves files via HTTP or FTP > > Options: > -c continue retrieval of aborted transfers > -q quiet mode - do not print > -P Set directory prefix to DIR > -O save to filename ('-' for stdout) > -Y use proxy ('on' or 'off') > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, December 03, 2008 6:13 AM > Subject: Astlinux-users Digest, Vol 29, Issue 7 > > > >> Send Astlinux-users mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> or, via email, send a message with subject or body 'help' to >> [EMAIL PROTECTED] >> >> You can reach the person managing the list at >> [EMAIL PROTECTED] >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Astlinux-users digest..." >> >> >> Today's Topics: >> >> 1. send a SMS to trough GSM Gateway to my Mobile if I have >> missed call (Nedi) >> 2. Wanrouter, hwclock, zaptel, et al (Philip Prindeville) >> 3. Re: Wanrouter, hwclock, zaptel, et al (Kristian Kielhofner) >> 4. Re: Wanrouter, hwclock, zaptel, et al (Darrick Hartman) >> 5. Re: Wanrouter, hwclock, zaptel, et al (Kristian Kielhofner) >> 6. Re: send a SMS to trough GSM Gateway to my Mobile if I have >> missed call (David Kerr) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Tue, 2 Dec 2008 22:57:29 +0100 >> From: "Nedi" <[EMAIL PROTECTED]> >> Subject: [Astlinux-users] send a SMS to trough GSM Gateway to my >> Mobile if I have missed call >> To: "Astlinux list" <[email protected]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; >> reply-type=original >> >> Hi List >> I have a GSM Gateway from portech.com.tw and Astlinux 0.4.5 >> If I log into GSM Gateway I can send SMS from a Form >> is there a way to send SMS from Ssterisk trough GSM Gateway >> The Form is very smal and the Form use postsend and CGI here is the code: >> my VOIP GSM GW IP is 192.168.1.131 i can access the form without login and >> password. >> ....................... >> <html> >> <form method=post action=http://192.168.1.131/smsSendNow.cgi >> name=SendFrom> >> <input type=text name=DEST value="0796003185"> >> <textarea name=HEXTEXT>Test Nachricht</textarea> >> <input type=submit value="Send Now" name=Send id=SendBTN> >> </form> >> </html> >> ....................... >> >> I used in my Astlinux the bash script for sending email if I have a missed >> call. >> I should edit my script to send a SMS to through GSM Gateway to my Mobile >> if I have a missed call? >> here is my code that I used in bash script >> ..................................... >> #!/bin/bash >> [EMAIL PROTECTED] >> [EMAIL PROTECTED] >> echo -e "Subject: Incoming call from: $1 <$2>\nDate: `date -R`\nFrom: >> ${FROM_EMAIL}\nTo: ${TO_EMAIL}\n\nIncoming call from: $1 <$2>"| >> /usr/sbin/msmtp "${TO_EMAIL}" & >> exit 0 >> .......................... >> >> someone told me i can use curl to simulate post process and I think I >> don't >> have curl on astlinux >> >> curl -d "DEST=0796003185&HEXTEXT="Test" >> "http://192.168.1.131/smsSendNow.cgi" >> is there a way to install curl or edit my bash script to send sms through >> sms gw >> can anyone help me with >> >> best regards >> Nedi >> >> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Mon, 01 Dec 2008 13:20:10 -0800 >> From: Philip Prindeville <[EMAIL PROTECTED]> >> Subject: [Astlinux-users] Wanrouter, hwclock, zaptel, et al >> To: AstLinux Users Mailing List <[email protected]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> I just realized that the same script /etc/init.d/zaptel that loads up >> "ztdummy" (which interferes with the "hwclock" command and setting the >> time) also starts/stops "wanrouter" for DSL or T1 or T3 users (who >> connect to the Internet via the latter)... >> >> So if you're thinking you can run "/etc/init.d/zaptel stop", synchronize >> your ntpd, write out the time to the clock via "hwclock -wu", and >> restart zaptel... well, you're in for a surprise. >> >> You can't, because the "zaptel stop" will bring down your outside >> connectivity. >> >> Oops. >> >> -Philip >> >> >> >> >> >> ------------------------------ >> >> Message: 3 >> Date: Tue, 2 Dec 2008 17:15:08 -0500 >> From: "Kristian Kielhofner" <[EMAIL PROTECTED]> >> Subject: Re: [Astlinux-users] Wanrouter, hwclock, zaptel, et al >> To: "AstLinux Users Mailing List" >> <[email protected]> >> Message-ID: >> <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> On Mon, Dec 1, 2008 at 4:20 PM, Philip Prindeville >> <[EMAIL PROTECTED]> wrote: >> >>> I just realized that the same script /etc/init.d/zaptel that loads up >>> "ztdummy" (which interferes with the "hwclock" command and setting the >>> time) also starts/stops "wanrouter" for DSL or T1 or T3 users (who >>> connect to the Internet via the latter)... >>> >>> So if you're thinking you can run "/etc/init.d/zaptel stop", synchronize >>> your ntpd, write out the time to the clock via "hwclock -wu", and >>> restart zaptel... well, you're in for a surprise. >>> >>> You can't, because the "zaptel stop" will bring down your outside >>> connectivity. >>> >>> Oops. >>> >>> -Philip >>> >> ...and "wanrouter start" should bring it back... >> >> >> -- >> Kristian Kielhofner >> http://blog.krisk.org >> http://www.submityoursip.com >> http://www.astlinux.org >> http://www.star2star.com >> >> >> >> ------------------------------ >> >> Message: 4 >> Date: Tue, 02 Dec 2008 16:42:48 -0600 >> From: Darrick Hartman <[EMAIL PROTECTED]> >> Subject: Re: [Astlinux-users] Wanrouter, hwclock, zaptel, et al >> To: AstLinux Users Mailing List <[email protected]> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="UTF-8" >> >> On Tue, 2 Dec 2008 17:15:08 -0500, "Kristian Kielhofner" >> <[EMAIL PROTECTED]> wrote: >> >>> On Mon, Dec 1, 2008 at 4:20 PM, Philip Prindeville >>> <[EMAIL PROTECTED]> wrote: >>> >>>> I just realized that the same script /etc/init.d/zaptel that loads up >>>> "ztdummy" (which interferes with the "hwclock" command and setting the >>>> time) also starts/stops "wanrouter" for DSL or T1 or T3 users (who >>>> connect to the Internet via the latter)... >>>> >>>> So if you're thinking you can run "/etc/init.d/zaptel stop", synchronize >>>> your ntpd, write out the time to the clock via "hwclock -wu", and >>>> restart zaptel... well, you're in for a surprise. >>>> >>>> You can't, because the "zaptel stop" will bring down your outside >>>> connectivity. >>>> >>>> Oops. >>>> >>>> -Philip >>>> >>> ...and "wanrouter start" should bring it back... >>> >> Which would be hard if you were in say Seattle and your router was in >> Boise... With the changes committed the other day, new releases will >> again >> properly do this on shutdown. The safest bet would be to reboot. >> >> Darrick >> >> >> >> >> >> ------------------------------ >> >> Message: 5 >> Date: Tue, 2 Dec 2008 17:46:31 -0500 >> From: "Kristian Kielhofner" <[EMAIL PROTECTED]> >> Subject: Re: [Astlinux-users] Wanrouter, hwclock, zaptel, et al >> To: "AstLinux Users Mailing List" >> <[email protected]> >> Message-ID: >> <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> On Tue, Dec 2, 2008 at 5:42 PM, Darrick Hartman >> <[EMAIL PROTECTED]> wrote: >> >>> Which would be hard if you were in say Seattle and your router was in >>> Boise... With the changes committed the other day, new releases will >>> again >>> properly do this on shutdown. The safest bet would be to reboot. >>> >>> Darrick >>> >>> >> screen? >> >> Just better hope it comes back... ;) >> >> Yes it's a hack but it might just work. >> >> -- >> Kristian Kielhofner >> http://blog.krisk.org >> http://www.submityoursip.com >> http://www.astlinux.org >> http://www.star2star.com >> >> >> >> ------------------------------ >> >> Message: 6 >> Date: Wed, 3 Dec 2008 00:13:02 -0500 >> From: "David Kerr" <[EMAIL PROTECTED]> >> Subject: Re: [Astlinux-users] send a SMS to trough GSM Gateway to my >> Mobile if I have missed call >> To: "AstLinux Users Mailing List" >> <[email protected]> >> Message-ID: >> <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="iso-8859-1" >> >> can't you just email to your mobile phone? Many carriers will take email >> sent to <phone-number>@<carrier-url> and send it to you as an SMS. >> David >> >> On Tue, Dec 2, 2008 at 4:57 PM, Nedi <[EMAIL PROTECTED]> wrote: >> >> >>> Hi List >>> I have a GSM Gateway from portech.com.tw and Astlinux 0.4.5 >>> If I log into GSM Gateway I can send SMS from a Form >>> is there a way to send SMS from Ssterisk trough GSM Gateway >>> The Form is very smal and the Form use postsend and CGI here is the >>> code: >>> my VOIP GSM GW IP is 192.168.1.131 i can access the form without login >>> and >>> password. >>> ....................... >>> <html> >>> <form method=post >>> action=http://192.168.1.131/smsSendNow.cginame=SendFrom> >>> <input type=text name=DEST value="0796003185"> >>> <textarea name=HEXTEXT>Test Nachricht</textarea> >>> <input type=submit value="Send Now" name=Send id=SendBTN> >>> </form> >>> </html> >>> ....................... >>> >>> I used in my Astlinux the bash script for sending email if I have a >>> missed >>> call. >>> I should edit my script to send a SMS to through GSM Gateway to my >>> Mobile >>> if I have a missed call? >>> here is my code that I used in bash script >>> ..................................... >>> #!/bin/bash >>> [EMAIL PROTECTED] >>> [EMAIL PROTECTED] >>> echo -e "Subject: Incoming call from: $1 <$2>\nDate: `date -R`\nFrom: >>> ${FROM_EMAIL}\nTo: ${TO_EMAIL}\n\nIncoming call from: $1 <$2>"| >>> /usr/sbin/msmtp "${TO_EMAIL}" & >>> exit 0 >>> .......................... >>> >>> someone told me i can use curl to simulate post process and I think I >>> don't >>> have curl on astlinux >>> >>> curl -d "DEST=0796003185&HEXTEXT="Test" >>> "http://192.168.1.131/smsSendNow.cgi" >>> is there a way to install curl or edit my bash script to send sms through >>> sms gw >>> can anyone help me with >>> >>> best regards >>> Nedi >>> >>> >>> >> - ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
