Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize Linux system to surf the Internet wirelessly through mobile phone GPRS

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to realize the Linux system to access the Internet wirelessly through the mobile phone GPRS". In the daily operation, I believe that many people have doubts about how to realize the Linux system to access the Internet wirelessly through the mobile phone GPRS. The editor has consulted all kinds of materials and sorted out the simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to realize the Linux system to surf the Internet wirelessly through the mobile phone GPRS". Next, please follow the editor to study!

First of all, to have a mobile phone with GPRS and modem function, take the palm treo 650s as an example.

The USB modem software is downloaded and installed on the 650s without modem function. The software supports Bluetooth and usb data line modes!

Let's first see if the system can detect modem.

Sudo wvdialconfEditing `/ etc/wvdial.conf'.Scanning your serial ports for a modem.Modem Port Scan: S0 S1 S2 S3 WvModem: Cannot get information for serial port.ttyACM0: ATQ0 V1 E1-- OKttyACM0: ATQ0 V1 E1 Z-- OKttyACM0: ATQ0 V1 E1 S0room0-- OKttyACM0: ATQ0 V1 E1 S0room0 & C1 & D2-- OKttyACM0: ATQ0 V1 E1 S0room0 & C1 & D2 + FCLASS=0-- OKttyACM0: Modem Identifier: ATI-- ENZOttyACM0: Speed 4800: AT-- OKttyACM0: Speed 9600: AT-OKttyACM0: Speed 19200: AT-- OKttyACM0: Speed 38400: AT-- OKttyACM0: Speed 57600: AT-- OKttyACM0: Speed 115200: AT-- OKttyACM0: Speed 230400: AT-- OKttyACM0: Speed 460800: AT-- OKttyACM0: Max speed is That should be safe.ttyACM0: ATQ0 V1 E1 S0room0 & C1 & D2 + FCLASS=0-- OKFound an USB modem on / dev/ttyACM0.Modem configuration written to / etc/wvdial.conf.ttyACM0: Speed 460800; init "ATQ0 V1 E1 S0room0 & C1 & D2 + FCLASS=0"

If the following information appears, the modem can be detected and the configuration is automatically written to the / etc/wvdial.conf file. The device file of your modem is / dev/ttyACM0

Since the profile is set up for normal dialing, it is not suitable for grps dialing. The following modifications should be made

[Dialer defaults] Init1 = at+cgdcont=1, "ip", "cmwap" Modem Type = USB ModemISDN = 0Phone = * 99***1#Modem = / dev/ttyACM0Username = anyCarrier Check = noPassword = anyBaud = 460800

After saving, use wvdial to dial

Sudo wvdial

Use superuser actions, otherwise you will not be able to prompt the device to be busy or change user permissions.

-- > WvDial: Internet dialer version 1.60 Initializing modem.---> Cannot get information for serial port.-- > Initializing modem.-- > Sending: at+cgdcont=1, "ip", "cmwap" at+cgdcont=1, "ip", "cmwap" OK-- > Modem initialized.-- > Sending: ATDT*99***1#-- > Waiting for carrier.ATDT*99***1#CONNECT~ [7f]} # @!}! [06]}}

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report