Hi, I am using USb cdma modem to surf net in Windows. but I want to use same device in Ubuntu for surfing net.
How can I do that? I tried but while scanning modems ubuntu displays the message that no usb modems were detected.
Now please provide me the way how can I get connected to internet in ubuntu using same usb modem of G-Link CDMA 1X, China.

Dani AI

Generated

asked about using a G‑Link CDMA 1X USB stick in Ubuntu. ’s point about searching is fair, and ’s Wine suggestion is common — but important correction: Wine runs Windows user programs only and cannot install Windows kernel drivers. Installing the Windows installer inside Wine will not make the Linux kernel expose the modem ports.

Basic diagnostics and what to look for:

lsusb
dmesg | tail -n 40
ls /dev/ttyUSB* /dev/ttyACM* 2>/dev/null

If the stick shows up as a USB storage or "virtual CD", it must be switched into modem mode (many manufacturers ship an installer on a virtual CD). The usual Linux path is to use usb_modeswitch (or the distro-provided rules) so the device re-enumerates as a serial modem.

Common steps (generic):

sudo apt-get update
sudo apt-get install usb-modeswitch usb-modeswitch-data wvdial
sudo modprobe option

After mode-switching the kernel should create devices like /dev/ttyUSB0. If it does not, capture the vendor:product IDs from lsusb and add them to the option driver:

# replace VVVV PPPP with the hex vendor and product IDs from lsusb
sudo sh -c 'echo VVVV PPPP > /sys/bus/usb-serial/drivers/option1/new_id'

Connecting: NetworkManager’s Mobile Broadband wizard will work when the kernel exposes a tty device. Otherwise use wvdial or a ppp configuration; a minimal /etc/wvdial.conf uses a carrier-specific dial number and credentials (placeholders below):

[Dialer Defaults]
Phone = <dial-number>
Username = <user or blank>
Password = <pass or blank>
Stupid Mode = 1

Notes and cautions: do not rely on Wine to make a modem usable; the right solution is kernel support + mode switching or a Linux driver. Device-specific quirks (dial string, username/password) depend on the carrier and the modem USB IDs — use the lsusb/dmesg outputs above to match a known device entry or distro bug report.

Recommended Answers

All 2 Replies

I suggest googling this, it's a very specific question, unless somebody has that same device.

1. You can easily install Wine through the repositories. Ubuntu will automatically configure and install it for you. You can go to System, then Administration and Synaptic Package Manager, search for it and mark for installation.

You may also use the command line. Simply run:

sudo apt-get install wine

2. plug your USB CDMA stick, and open it and You should install your Ms Windows driver using the Wine emulator , this is the case the driver of USB sdma stick is inside your stick.

If you got the driver on a CD or a directory, Using Wine will help you to install it as you do using MS windows,

if you need some assistance, just browse here:
https://help.ubuntu.com/community/Wine

Have Fun !!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.