Problems setting up PPP using GSM modem

I am trying to setup a PC with Solaris 10 installed to use a 3G USB modem to connect to the internet.
bash-3.00# cat /etc/release
Solaris 10 10/09 s10x_u8wos_08a X86
bash-3.00# uname -a
SunOS gateway 5.10 Generic_141445-09 i86pc i386 i86pc
I have the modem working in so far as I can tip to it and get a response back:-
bash-3.00# tip -460800 /dev/cua/0
connected
at
OK
ati
Manufacturer: huawei
Model: E17X
Revision: 11.311.05.02.67
IMEI: 358108024400748
GCAP: CGSM,+FCLASS,+DS
OK
~
[EOT]
when I run the following command: pppd debug call mtn
I get the following in the pppd log:-
Aug 7 19:44:00 gateway pppd[463]: [ID 860527 daemon.notice] pppd 2.4.0b1 (Sun Microsystems, Inc.) started by root, uid 0
Aug 7 19:44:00 gateway pppd[463]: [ID 702911 daemon.debug] serial speed set to 460800 bps
Aug 7 19:44:01 gateway pppd[463]: [ID 702911 daemon.debug] connect option: '/usr/bin/chat -Vv -f /etc/ppp/mtn-connect' started (pid 464)
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] timeout set to 5 seconds
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] abort on (\nBUSY\r)
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] abort on (\nERROR\r)
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] abort on (\nNO ANSWER\r)
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] abort on (\nNO CARRIER\r)
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] abort on (\nNO DIALTONE\r)
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] abort on (\nRINGING\r\n\r\nRINGING\r)
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] report (CONNECT)
Aug 7 19:44:02 gateway chat[465]: [ID 702911 local2.info] expect (OK)
Aug 7 19:44:07 gateway chat[465]: [ID 702911 local2.info] alarm
Aug 7 19:44:07 gateway chat[465]: [ID 702911 local2.info] Failed
Aug 7 19:44:07 gateway pppd[463]: [ID 702911 daemon.error] Connect script failed
Aug 7 19:44:08 gateway pppd[463]: [ID 834084 daemon.info] Exit.
the peer file is as follows:-
bash-3.00# more /etc/ppp/peers/mtn
# MTN PPP initialisation/termination script
# Do not ask the remote to authenticate.
noauth
# Modem chat scripts
connect "/usr/bin/chat -Vv -f /etc/ppp/mtn-connect"
disconnect "/usr/bin/chat -Vv -f /etc/ppp/mtn-disconnect"
# Serial device to which the modem is connected.
/dev/cua/0
# Speed of the serial line.
460800
# Use this connection as the default route.
defaultroute
# ISP supplies us with a local IP address during IPCP negotiation
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Username for authentication
user "username"
# Password for authentication
password "password"
# Always try to reconnect, when connection fails or is lost
# persist
# Never give up after failed connect attempts
# maxfail 0
# Debugging
debug
and the connect script is as follows:-
# MTN PPP CONNECT script
TIMEOUT 5
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
REPORT CONNECT
OK 'ATZ'
OK 'AT+cgdcont=1,"IP","apn1.mtn.net"'
OK 'AT+cgdcont=2,"IP","apn2.mtn.net"'
OK 'ATD*99***1#'
I am sure I have missed something really obvious but I can't see where.

Don't use the setup CD.  Connect manually via wired computer to 192.168.1.1 username blank, password 'admin'.  Now configure the router manually like everyone else.

Similar Messages

  • How can i send an sms to any mobile without using gsm modem or mobile using

    how can i send an sms to any mobile without using gsm modem or mobile using oracle . note again. without using gsm mobile or modem. again note. i want to send sms 100% free sms. :) is it posible ?

    Hi,
    Check this one.
    http://www.oracle.com/technology/products/ias/portal/point/sms/installation.html
    regards,
    Dipankar.

  • Sending MMS from PC using GSM modem

    hi all,
    i want to develop an application to send image to mobile using GSM modem connected to my PC
    i need a java library for that purpose and a sample code to show how to use the library

    Good luck with that.

  • Can We Send SmS To Any Mobile, Without Using Gsm Modem, Through Oracle

    Can We Send SmS To Any Mobile, Without Using Gsm Modem, Through Oracle ?
    suppose you don't have mobile connected to ur com port.

    is this helps?
    http://inside-apex.blogspot.com/2007/05/sending-sms-to-mobile-phone.html or
    Re: Send Message From Oracle To Mobile Device

  • [SOLVED] Set up ZTE mf627 GSM Modem - almost there...

    Hi eve!
    I have this goddamn dongle that never worked...
    I read alot of posts about it, tried installing usb_modeswitch and everything, but the device never showed up on NM.
    Plus i saw a big change in the last year and logs show a very strange situation that it's not yet documented on any forum. In fact, i still can't understand how the hardware is abstracted now that HAL is deprecated... Kernel magic powder? Keel anyway, HAL was a bit junky ;-)
    So when i stick it in, it first tell me
    Apr 27 00:03:24 myhost kernel: usb 1-4: new high speed USB device using ehci_hcd and address 4
    Apr 27 00:03:24 myhost kernel: scsi8 : usb-storage 1-4:1.0
    Apr 27 00:03:29 myhost kernel: scsi 8:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2
    Apr 27 00:03:29 myhost kernel: sr1: scsi-1 drive
    Apr 27 00:03:29 myhost kernel: sr 8:0:0:0: Attached scsi CD-ROM sr1
    Apr 27 00:03:29 myhost kernel: sr 8:0:0:0: Attached scsi generic sg2 type 5
    Apr 27 00:03:35 myhost kernel: usb 1-4: USB disconnect, address 4
    !! Then! The device automatically shut down and restart givin theese new messages:
    Apr 27 00:03:40 myhost kernel: usb 1-4: new high speed USB device using ehci_hcd and address 5
    Apr 27 00:03:40 myhost kernel: option 1-4:1.0: GSM modem (1-port) converter detected
    Apr 27 00:03:40 myhost kernel: usb 1-4: GSM modem (1-port) converter now attached to ttyUSB0
    Apr 27 00:03:40 myhost kernel: scsi9 : usb-storage 1-4:1.1
    Apr 27 00:03:40 myhost kernel: option 1-4:1.2: GSM modem (1-port) converter detected
    Apr 27 00:03:40 myhost kernel: usb 1-4: GSM modem (1-port) converter now attached to ttyUSB1
    Apr 27 00:03:45 myhost kernel: scsi 9:0:0:0: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
    Apr 27 00:03:45 myhost kernel: sd 9:0:0:0: Attached scsi generic sg2 type 0
    Apr 27 00:03:45 myhost kernel: sd 9:0:0:0: [sdb] Attached SCSI removable disk
    At this point one may think that HAL now see a new modem and dbusses NM to create a new connection through the frendly wizard... but it doesn't...
    Plus i get a ZTE MMC Storage on my "Computer" that i can't "safely remove"
    Error detaching: helper exited with exit code 1: Detaching device /dev/sdb
    USB device: /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3)
    SYNCHRONIZE CACHE: FAILED: No such file or directory
    (Continuing despite SYNCHRONIZE CACHE failure.)
    STOP UNIT: FAILED: No such file or directory
    So i tried usb_modeswitch with the setting i saw on http://ubuntuforums.org/showthread.php?t=1017630&page=3 and it just worsened the situation since it would only mound as an MMC once restarted.
    HAL infos, gathered from the link above, made no difference...
    lsusb give "Bus 001 Device 009: ID 19d2:0064 ONDA Communication S.p.A. ZTE MF627 AU" with various Interface descriptor ("bInterfaceClass         8 Mass Storage" and various "bInterfaceClass       255 Vendor Specific Class" , no modem though...)
    Damn, i'm afraid that these dongles only work fine if you are a teenager with an unsure personality that needs to check her facebook profile every 5 minutes on a windlords svista...
    Last edited by Cape (2010-04-28 12:01:20)

    F*#ç s>*t!!! You mean modemmanager is the opt depend for NM to bring up the modem?!!!
    sorry... thought it was wvdial...
    So cool! This gives ZTE mf627 full linux support out of the box ;-)
    And even the MMC reader seems to work! WoW
    Love you all guys!
    Cheers

  • Problems setting up WRT310N using setup disk

    I have cable internet. I can connect straight to the cable modem and get internet. I start the Linkys disk and it gets to step 4/4 (where i have connected all the wires to the router/modem/computer and am told to plug in the router.) The router powers up but after a few minutes, the installer says it can't connect to the router, make sue I'm not connecting to an old router, etc... How do I get past this step?
    It's worked once before, the first time I installed it, but the router was reset last night and now it's a no go.

    Don't use the setup CD.  Connect manually via wired computer to 192.168.1.1 username blank, password 'admin'.  Now configure the router manually like everyone else.

  • Read this for all having problem setting up Routers with Broadband Modems

    I have used Netgear and Linksys for years now, but hadn't setup a new router for a while. Hence, struggled installing a new Airport Extreme to replace my Linksys Router which was not providing enough signal strength for my Mac Mini based iTunes database to stream to my Apple TV wirelessly. Here is what I did finally to resolve the issue:
    My setup: Arris TM502G broadband modem provided by Comcast
    1. I kept the old router powered up and removed the WAN connection from it and connected it to the AE.
    2. After I installed the Airport Utility, I powered up the AE and let it go thru the installation process and allowed it to pick up the settings from the old router. This step is simple and can be done manually.
    3. After that the struggle began as "Renew DHCP" wouldn't get me a valid 71.xxx.xxx.xxx series IP address from the Modem. I read all the posts (and felt the same pain as others). Saw very helpful posts with good intention to help others like "remove the power", "remove the battery from the modem", "let it sit without power for 24hrs", etc.. I couldn't use some of these suggestions as my house will be without an internet connection for a long time.
    4. Finally, I pressed the "Reset" switch behind the modem for a few seconds until all but the power indicator had turned off indicating a reset. Once it came up and all the LEDs were lit, a few seconds later the LED on the AE turned solid Green indicating success. Looked at the Airport Utility and indeed it had got the new IP address.
    There are not too many broadband modem manufacturers and so it shouldn't be too difficult to publish the installation procedure under FAQ on Apple support website for all the modems that Apple's test team has tested with. It could save a lot of grief. Even for a geek like me, I had to burn the midnight oil.
    PS: My Apple TV is now streaming the movies/tv shows/home videos from my Mac Mini smoothly. That was the reason I purchased this expensive router. And I found the "guest access" feature which I wasn't aware of. Excellent feature to let my son's friends hook up their laptops during a study/school project session without letting them access our other home computers.

    do you mean to see that the XP machine is working as a VPN server ?? if yes then you need not require to forward ports on the router...the laptop should be able to connect to the VPN server remotely ..
    if not , then connect the VPN server directly to the modem and check whether you can connect to the VPN server remotely from the router ..

  • How to send SMS using GSM modem?

    Hi everyone.
    I'm trying to send SMS through GSM Model connected to my PC using java Program.
    I've downloaded the javax.comm jar file.
    But they've specified that there is no such jar file for Windows OS. Also they've told to use the RXTX.org site to get the windows specific jar file.
    But i dont know how to do it.
    Can anyone help me with this issue?
    Thanks in advance..

    Also they've told to use the RXTX.org site to get the windows specific jar file.
    But i dont know how to do it.You don't know how to use the rxtx.org site?
    Is that a networking question? A Java networking question?

  • Problem setting paragraph style using FindChangeByList

    am trying to apply a paragraph style using FindChangeByList. I can apply character styles but not paragraph styles.
    I need to apply the paragraph style "price" to every paragraph that begins with a "$"
    I have tried it everyway I can think of.
    any suggestions?

    Hi Carolyn,
    Try something like this (assuming JavaScript, and also assuming that the paragraph style is not in a paragraph style group):
    text<tab>{findWhat:"$"}<tab>{appliedParagraphStyle:app.documents.item(0).paragraphStyles.i tem("price")}<tab>{includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false}
    (Where <tab> is a tab character.)
    Thanks,
    Ole

  • Error connecting GSM Modem with system using java (error no is 20)

    hi!
    I'm new to jms, i want to send sms using GSM Modem.I used sony Ericsion mobile. I got one sample application , when i run it thows the following exceptions.
    Feb 27, 2008 4:31:27 PM org.jsmsengine.CSerialDriver open
    INFO: Connecting...
    Feb 27, 2008 4:31:28 PM org.jsmsengine.CSerialDriver close
    INFO: Disconnecting...
    Connection to mobile failed, error: -20
    i used the following code
    import org.jsmsengine.*;
    class SendMessage
    public static void main(String[] args)
    int status;
    // Create jSMSEngine service.
    CService srv = new CService("COM6",9600);
    System.out.println();
    System.out.println("SendMessage(): sample application.");
    System.out.println(" Using " + srv._name + " " + srv._version);
    System.out.println();
    try
    // Initialize service.
    srv.initialize();
    // Set the cache directory.
    srv.setCacheDir(".");
    // Set the phonebook.
    // srv.setPhoneBook("../misc/phonebook.xml");
    // Connect to GSM device.
    status = srv.connect();
    // Did we connect ok?
    if (status == CService.ERR_OK)
    // Set the operation mode to PDU - default is ASCII.
    srv.setOperationMode(CService.MODE_PDU);
    // Set the SMSC number (set to default).
    srv.setSmscNumber("");
    // Print out GSM device info...
    System.out.println("Mobile Device Information: ");
    System.out.println(" Manufacturer : " + srv.getDeviceInfo().getManufacturer());
    System.out.println(" Model : " + srv.getDeviceInfo().getModel());
    System.out.println(" Serial No : " + srv.getDeviceInfo().getSerialNo());
    System.out.println(" IMSI : " + srv.getDeviceInfo().getImsi());
    System.out.println(" S/W Version : " + srv.getDeviceInfo().getSwVersion());
    System.out.println(" Battery Level : " + srv.getDeviceInfo().getBatteryLevel() + "%");
    System.out.println(" Signal Level : " + srv.getDeviceInfo().getSignalLevel() + "%");
    // Create a COutgoingMessage object and dispatch it.
    // *** Please update the phone number with one of your choice ***
    COutgoingMessage msg = new COutgoingMessage("+919830645175", "Ripon");
    // Character set is 7bit by default - lets make it UNICODE :)
    // We can do this, because we are in PDU mode (look at line 63). When in ASCII mode,
    // this does not make ANY difference...
    msg.setMessageEncoding(CMessage.MESSAGE_ENCODING_UNICODE);
    if (srv.sendMessage(msg) == CService.ERR_OK) System.out.println("Message Sent!");
    else System.out.println("Message Failed!");
    // Disconnect from GSM device.
    srv.disconnect();
    else System.out.println("Connection to mobile failed, error: " + status);
    catch (Exception e)
    e.printStackTrace();
    System.exit(0);
    In my jre path i added win32.dll to use comm.jar
    please help me

    Thanks so much; you just helped me fit together the last few pieces of this puzzle. I did a little more digging and found a [url http://support.webecs.com/KB/a375/how-do-i-configure-sql-server-express-to-allow-remote.aspx]knowledge base article that explains how to set a static TCP port. According to the article, SQL Server 2005 selects a random dynamic port on installation, and my experience bears out the fact that it does survive server reboots.
    TheAvalanche wrote:
    If you don't want that, make sure the SQL Server Browser service is running and connect to your SQL Server using the instance name, and not use a port in the JDBC-url.
    BTW: I am not sure if jtds supports usage of the browser service, the Microsoft SQL Server JDBC drivers since version 1.2 (I think) do.It would appear that jTDS doesn't support the browser service, at least not by default, because I tried using the instance name rather than the port to connect (along with just about every other possible combination) and it didn't work. In my opinion, using a static port makes a lot more sense anyway, since you don't have to rely on the browser service, and you'll always know what port to set in your firewall exceptions. (For anyone out there wondering about firewall exceptions, in addition to the static port for the server, an exception has to be created for the browser on UDP 1434 if you're going to use it, which most programs apparently do.)
    Once again, thanks for all the good information!
    Edited by: javadecaf on May 27, 2011 8:03 AM
    Insert link button on toolbar generated link syntax that doesn't work: text. What's up with that?

  • Problem with java communication api for gsm modem port

    Hi,every body
        Am using gsm modem in my project previously my linux is 32bit with 32 bit jvm of sun that time there was no problem at the time of working with gsm modem port .But now am using 64bit linux then 32bit files are not supporting to communicate with gsm modem port .How can i get java communication api for unix 64bit ,64bit jvm of sun.please any body help me ...i am searching in sun/oracle also for downloading java communication files of 64bit jvm but i didn't get the link... i need bellow java communication api files.
           ex:1)libLinuxSerialParallel.so
                2)javax.comm.properties
                3)comm.jar
                4)commtest.jar

    Moderator Action:
    This duplicate cross-post is locked.
    Stay with your original post.
    https://forums.oracle.com/thread/2602063
    (... and your hijack reply to a third thread has been removed.)

  • Problems setting up used ipa2 with ios7 due to Find My My Ipad Feature being left on by previous owner

    Hi!! Im having problems setting up a used ipad 2.with ios7. The previous owner forgot to turn off the find my ipad feature so now its asking me for her itunes username an password. I dont have that info and i lost her phone number

    yes my friend ios 7 was already loaded on when i bought it.    The person who sold it to me left the find my ipad feature ON. I called her and she said she would be in the next day to buy it back and since i actually belived her  i threw away her phone number. i dont know what i was thinking

  • Send SMS through GSM modem

    Hello,
    We have a requirement of sending SMS after PGI . Could anybody please help me on how to use GSM Modem to send SMS through SAP?

    Hey, I can give you another tip. I am using a very reliable integration program. Its name is Ozeki NG SMS Gateway. I hope they dont cut my tip out, because this software is very useful and stable. You are also able to add this message sending function to different clients for example HP Openview or Sharepoint etc.
    Sorry again, I did not intend to advertise or something like that.
    http://www.sms-integration.com/
    Have a nice day
    Jozef

  • Establish a connection through RF modem's on client & server side & to set up PPP communication for data transfer

    hi
    can any1 over here help me out in how to establish connection between 2 RF modem's for data transfer , between client & server USing LABVIEW?
    I want to establish a connection between 2 PC's through  RF modem on client & server side & to set up PPP communication for data transfer.
    (I have tried data transfer through RS-232 using TCP/IP whn the 2 PC's are connected over ethernet... which is working.
    I also tried connecting loopback cable between 2 PC's COM port & geting data transfer using VIsa configure serial port & other visa functions  ... which is working)
    can u guide me how to establish connection between 2 RF modem's using LABview?
    & how does the data transfer take place between 2 RF modems through RS-232?
    is it using TCP/IP?
    If you got any links to go abt this issue do send me related links .. or any examples .....
    I am currently using Labview version 8.
    Waiting in anticipation.. reply ASAP..
    thanking you
    Regards
    Yogan..

    Howdy yogan,
    Maybe you could clarify a few things for me, and we'll see how we can help ya. TCP/IP protocol occurs through an ethernet connection; RS-232 communication occurs through an RS-232 serial connection, typically through a cable that has a DB9 connector on both ends. Do you mean that the RF modems in question have the option to communicate via RS-232 and/or via TCP/IP ethernet? Specific information like the manufacturer of your RF modems, the model number of your RF modems, and how you connect the modems to the PC would enable us to give you more efficient support.
    You can check our Instrument Driver Network (IDNet) to see if a plug-and-play/IVI driver already exists for your RF modem. (You'll need to know its manufacturer and model number.) In the case that you do find an IDNet driver for your modem, you can use this KnowledgeBase article for instructions on how to use the driver.
    Another excellent resource to consider is the NI Example Finder. You can access this within LabVIEW by navigating to Help»Find Examples and then searching for serial or TCP/IP examples.
    Message Edited by pBerg on 03-10-2008 04:35 PM
    Warm regards,
    pBerg

  • Hi, every time i try downloading ios5 it reaches 100% and then the connection times out and nothing happens after that; though the internet connection is fine as i can access other sites etc. what could be the problem?i tried using 2 different modems.

    Hi, every time i try downloading ios5 it reaches 100% and then the connection times out and nothing happens after that; though the internet connection is fine as i can access other sites etc. what could be the problem?i tried using 2 different modems. Where can i download the ios5 from as my itunes is on my desktop which uses windows xp. Please help

    Download iOS 5.1
    iOS 5.1 (build 9B176) is compatible with iPad 1, iPad 2, iPhone 3GS, iPhone 4, iPhone 4S, iPod touch 3rd & 4th gen, and iPad 3. Additional builds are available for Apple TV 2 and Apple TV 3. The below download links are all direct downloads of iOS 5.1 from Apple.
    iPad 1
    iPad 2 Wi-Fi
    iPad 2 GSM (AT&T)
    iPad 2 CDMA (Verizon)
    iPad 2,4
    iPhone 3GS
    iPhone 4 GSM (AT&T)
    iPhone 4 CDMA (Verizon)
    iPhone 4S
    iPod touch 3G
    iPod touch 4G
    iPad 3 Wi-Fi
    iPad 3 GSM
    iPad 3 CDMA
    Apple TV 2 (9B179b1)
    Apple TV 3 (9B179b1)
    Source: http://osxdaily.com/2012/03/07/ios-5-1-download/

Maybe you are looking for