December 21, 2014 - 8:03am, 6943 views
Hi.I want to connect my PC to the Internet via BGS2t-RS232 (using BGS2T as usual modem).But when I try to connect I have an Error 628 - Connection closedWhat problem with the modem?Operation system Windows XP SP3.
Could you please describe how did you configure the modem? Have you provided required network parameters via AT^CGDCONT command in advance setting tab for this modem?
I configured a BGS2T for XP SP3. I installed the BGS2 Modem Driver first and created a modem "BGS2". I added "at+cgdcont=1,ip,internet" to the modem "Advanced" properties.To the dial-up connection i chose this same modem "BGS2" and used the phone number *99***1# to use the first context.I used a FTDI USB-to-RS232 cable and configured the modem to use the right port number.115.2k serial speed and hw handshaking in all settings work fine in my old laptop.
The BGS2T connected fine to the internet. With my old SIM card subscription I got 68kbit/s download and 6,15kbit/s upload speed with a speed test on a Firefox browser. - please check the last parameter in the string "at+cgdcont=1,ip,internet" With my other m2m SIM the parameter is "m2m.dna.fi". "internet" normally refers to the public internet that can be used with any SIM cards
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
Hi,230,4kbit/s serial speed and GPRS protocol instead of RLP also works fine. In these tests AT+SCQ is 22...24,99.
Thank you all!I'm check the settings, and found that there was wrong settings for connection speed for COM-port. When I set properly settings - all work.But now I have another problem.I'm connect my PC to the network. Connection establishing is good. The modem connected to GPRS network (I check the LED status), and I can browse the internet. Then I'm leave the PC for some time, and then I see, that PC not connected to the Internet, and COM-port is closed. But modem connected on the network (again regarding the orange LED status). And if I try to establish the connection - PC can't connect to the modem. COM-port can be opened (I try to use the HyperTerminal - COM-port can be opened), but there no any answers from the modem. This looks like the UART in the modem is goes down. If I switch off the modem, and again switch on it, the connection can be established, but after some time the connection again goes down.What problem can be?My main goal - the PC must be connected to the Internet any time and all time, and if the connection is go down - it must establishing automatically, with out any action from me.
Could you please use any terminal which will show which lines of the modules serial interface are UP/DOWN? Please try the line states before you connect to dialup and after you can't connect, and let us know.
I think it would be also worst to try to use a serial port monitor to log what happens on RS232. Can you please try to collect such a log?
What terminal you can reccomend?
You may use this SW to log changes on the serial.http://freeserialanalyzer.com/
Dear Michal.Ok, I will try.But now I start the modem again - so, the modem (and the PC) in the Network more than 1 day, and work properly.I will test this for a few days, and hope, that all be Ok.
Dear Antero.You say that you install a modem driver, but, I use a driver for "Standard modem 33600 bps", and use a speed 115200 bps.I use a dial number *99#, and set the CGDCONT=1,"IP","internet"This work, but after some time port COM1 (physically present in my system, and the modem connect to it) closed (of course the internet connection closed too). And I can't connect again to the modem - there error that modem not connected. To resolve this I must switch off the modem, and switch on it again. Then connection established, but after some time closes again.
Happy New Year!!!
© 2013-2022 THALES DIS AIS Deutschland GmbH