Sign in
Explore Diverse Guest Blogging Opportunities on Our Online Diary Platform
Explore Diverse Guest Blogging Opportunities on Our Online Diary Platform
Your Position: Home - Broadcast Intercom System - How to establish GSM / USB modem connection from ...
Guest Posts

How to establish GSM / USB modem connection from ...

May. 13, 2024

How to establish GSM / USB modem connection from Terminal?

Martux Joined: 04 Feb 2005 Posts: 1917 VeteranJoined: 04 Feb 2005Posts: 1917

If you are looking for more details, kindly visit gsm modem 64 port.

Posted: Mon Jul 30, 2012 12:26 am Post subject: How to establish GSM / USB modem connection from Terminal?

Hi folks. Lately I am heavily dependent on a GSM modem. On my shiny desktop it works great with KDE and NetworkManager and all. But I was really thinking, can that thing be used in a console environment only? NetworkManager seems to have this purpose, but it seems only to talk to wireless connections or did I get it wrong? Any ideas?
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"

eccerr0r Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA WatchmanJoined: 01 Jul 2004Posts: 9691Location: almost Mile High in the USA

Posted: Mon Jul 30, 2012 6:50 am Post subject:

It seems GSM modems end up being...well... modems. The ones I've seen so far end up being some sort of fake RS232 modem. Though I don't have details but this is possible. You will need to load your modem's driver which tends to make a /dev/ttyUSBxxxxx type device, which is a character serial device. Using pppd you can create a chat script that will "dial" into the service and start a PPP link - just like a dial-up modem... I'm going to be lazy and let NetworkManager do it for now. Mainly because I don't have my phone hooked up to my computer all the time...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD

What am I supposed watching?

Martux Joined: 04 Feb 2005 Posts: 1917 VeteranJoined: 04 Feb 2005Posts: 1917

Posted: Mon Jul 30, 2012 7:11 am Post subject: It's just like that I didn't see any obvious or easygoing way to do that without a GUI. I would really like something which works on many live CDs or if my KDE doesn't boot or or or... There are many scenarios where this could be handy. NetworkManager comes with every distro I care about, so it would still be the preferred way.
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"

Hell, I am going to be lazy tooIt's just like that I didn't see any obvious or easygoing way to do that without a GUI. I would really like something which works on many live CDs or if my KDE doesn't boot or or or... There are many scenarios where this could be handy. NetworkManager comes with every distro I care about, so it would still be the preferred way._________________"Coincidence is God's way of remaining anonymous."Albert Einstein"The road to success is always under construction"

lamarque Joined: 11 Jan 2006 Posts: 49 Location: Rio de Janeiro / Brasil n00bJoined: 11 Jan 2006Posts: 49Location: Rio de Janeiro / Brasil

Posted: Mon Jul 30, 2012 3:15 pm Post subject: nmcli con up id <connection name> Of course, you can switch 'up' with 'down' to deactivate the connection.
_________________
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 -

You can use the command below to activate a connection from command line: nmcli con up id Of course, you can switch 'up' with 'down' to deactivate the connection._________________Lamarque V. SouzaLinux User #57137 - http://counter.li.org

eccerr0r Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA WatchmanJoined: 01 Jul 2004Posts: 9691Location: almost Mile High in the USA

Posted: Mon Jul 30, 2012 4:08 pm Post subject:

Is that still NetworkManager :D (What package is it? newer NetworkManager?) Anyway another issue is that a lot of this is carrier dependent, as well as the fact that a lot of carriers charge by the byte and people may get pissed off if installing Gentoo started costing them money...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD

What am I supposed watching?

lamarque Joined: 11 Jan 2006 Posts: 49 Location: Rio de Janeiro / Brasil n00bJoined: 11 Jan 2006Posts: 49Location: Rio de Janeiro / Brasil

Posted: Tue Jul 31, 2012 12:14 pm Post subject:
_________________
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 -

nmcli comes with networkmanager package. As far as I know it is not a new tool. I think you would still need to use a GUI tool to create the connections. You can create them using dbus-send but that is really painful._________________Lamarque V. SouzaLinux User #57137 - http://counter.li.org

eccerr0r Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA WatchmanJoined: 01 Jul 2004Posts: 9691Location: almost Mile High in the USA

Posted: Thu Aug 02, 2012 12:30 am Post subject:

Ahh... nice, didn't know about nmcli, neat. Looks like that dbus/consolekit/??? needs to be setup before using it, I tried logging in without GDM and it didn't see any of my nm-applet created entries...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD

What am I supposed watching?

Logicien Joined: 16 Sep 2005 Posts: 1555 Location: Montréal VeteranJoined: 16 Sep 2005Posts: 1555Location: MontréalAdditional reading:
What are the information that can GSM modem get?

Are you interested in learning more about Custom 128 Ports SMS Modem Pool? Contact us today to secure an expert consultation!

Posted: Thu Aug 02, 2012 7:24 am Post subject:

The wvdialconf command searches the /dev directory for characters nodes that can be used for a ppp connection and creates the configuration file /etc/wvdial.conf. You have to edit it to enter the login and password. Then you can connect in a terminal with the wvdial command. It's the main way I use with a GSM USB modem to connect to the Internet. You need to emerge the wvdial package for that.
_________________
Paul

Configuring a Connection to a Modem or Phone

Home » Documentation » Configuring a connection to a modem/phone

Configuring a Connection of SMS Enabler to a Modem or Phone

Connecting to a USB modem

First, install the USB modem drivers for your modem. Next, plug your modem into your computer. Open the Settings dialog box in SMS Enabler, and select the Connection page. In the Connect using list, select the name of your modem (or the COM port corresponding to your modem). If necessary, change the Baud rate and/or RTS/CTS flow control settings.

NOTES:
- Some modems require a particular baud rate and flow control mode. This information is usually mentioned in the modem's documentation.
- Some phones and USB modems support dual mode operation: as a storage medium or a modem. These devices should be switched to modem mode.

1) Many modern USB modems install the drivers automatically when you plug them in for the first time. Check your modem's manual.

Connecting to a GSM Modem

Connecting via a hardware COM port (RS-232)

Plug your modem into your computer using an RS-232 cable. Open SMS Enabler's Settings dialog box and select the Connection page. In the Connect using list, select the COM port to which your modem is connected. Change the Baud rate and/or RTS/CTS flow control settings if required.

NOTE: Some modems require a particular baud rate and flow control mode. This information is usually mentioned in the modem's documentation.

Connecting using a USB-to-COM port Adapter (Converter)

Install the drivers for your USB-to-COM port (RS-232) adapter, then plug the modem into your computer using the adapter. Open the Device Manager in Windows. In the Ports section, find the serial (COM) port name that is assigned to the virtual COM port created for the adapter. Open SMS Enabler's Settings dialog box, and select the same COM port name in the Connect using list on the Connection page. Change the Baud rate and/or RTS/CTS flow control settings if necessary.

NOTE: Some modems require a particular baud rate and flow control mode. This information is usually mentioned in the modem's documentation.

Connecting via USB

If your GSM modem can be connected via a USB port to your PC directly (i.e. without a USB-to-COM port adapter), then follow the instructions on Connecting to a USB modem.

Connecting to smartphones (Android, iPhone)

Currently, smartphones (Android, iPhone) are not supported.

Connecting to feature phones

Many feature phones can be used as GSM/3G modems, which allows using them with SMS Enabler. If you have a Nokia feature phone manufactured in the 2000s or in the first half of the 2010s, use this method for connecting it with SMS Enabler. For other feature phones read the following instructions:

Connecting to a phone via USB
First, you should install the modem driver for your phone. Next, follow the 'Connecting to a USB modem' instructions.

Connecting to a phone via Bluetooth
Install the drivers for your Bluetooth adapter. Turn on your phone's Bluetooth interface and pair your phone and Windows Bluetooth. Go to the properties page of the phone Bluetooth device in Windows Bluetooth Settings, and enable the Dial-Up Networking profile; this will install the Windows Bluetooth Modem driver. Open the Settings dialog box in SMS Enabler and select the Connection page. In the Connect using list, select the Bluetooth modem. Finally, change the Baud rate and/or RTS/CTS flow control settings if needed.

Connecting to Nokia phones

To use SMS Enabler with most NOKIA feature phones manufactured in the 2000s or in the first half of 2010s, you must have Nokia PC Suite installed on your PC. (You can use Nokia OVI Suite as well.) You can download Nokia PC Suite here.

1) Start by adding your phone within PC Suite. To do so, open PC Suite, and from its main menu, select Settings->Add more phones.... Then follow the instructions provided.

2) After adding your phone, enable notifications for incoming messages within PC Suite. To do so, select Settings->Settings... from PC Suite's main menu.

3) In the dialog box opened, select the General tab page, and enable Notifications for incoming messages in the Windows notification area.

4) Verify if notifications for incoming messages are supported by your phone by clicking Check notifications supported by this device: <your phone name>.
In the dialog box opened (see figure below), you will see if your phone supports notifications for the given connection type or not: If message notifications are not supported, you can try a different type of connection. For example: some phones do not support message notifications when connected via Bluetooth but do support them when connected via cable. Note: support of message notifications is required.

5) After adding your phone and enabling message notifications, open SMS Enabler's Settings dialog box and select the Connection page. Select your phone in the Connect using list. The phone will have the same name as in PC Suite, but prefixed with "(Nokia PC Suite)". For example, if your phone is labeled "Nokia 6233" in PC Suite, it will be named "(Nokia PC Suite) Nokia 6233" in the Connect using list. Click OK.

NOTE: Some older Nokia phones, such as the Nokia 6230 and 6610, can be used with SMS Enabler without having Nokia PC Suite installed. These phones can be connected using the same methods as non-Nokia phones/modems.

The company is the world’s best voip to gsm gateway supplier. We are your one-stop shop for all needs. Our staff are highly-specialized and will help you find the product you need.

Comments

0 of 2000 characters used

All Comments (0)
Get in Touch

  |   Transportation   |   Toys & Hobbies   |   Tools   |   Timepieces, Jewelry, Eyewear   |   Textiles & Leather Products   |   Telecommunications   |   Sports & Entertainment   |   Shoes & Accessories   |   Service Equipment