Use javasweie220usb1_modem In debian to access the Internet

Source: Internet
Author: User
Use javasweie220usb1_modem In debian to access the Internet-Linux Release Technology-Debian information. For more information, see the following. In fact, I tried it a month ago and posted vodafone-mobile-connect-card-driver-for-linux on the official website of vodafone.

Someone succeeded on the Internet. I tried it and it needed python2.5, but my version is 2.4. This is a big problem because if you delete version 2.4, my system is about to change a lot, and many software, including openoffice, need to be changed, so this is stranded.

Inspired by a netizen today, wvdial dialing is successful.



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // response); ">



(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // response); ">


My kernel is 2.6.21-1-amd64, so I don't need any patches. I can simply plug in the modem.

Debian :~ # Ls-la/dev/ttyUSB *
Crw-rw -- 1 root dialout 188, 0 2008-02-13/dev/ttyUSB0
Crw-rw -- 1 root dialout 188, 1 2008-02-13/dev/ttyUSB1
Crw-rw -- 1 root dialout 188, 2/dev/ttyUSB2

There are three, one is modem, the other is cdrom, and the other is data interface.
The dial-up tool wvdial is required. It is used in combination with ppp.

Install wvdial
Debian :~ # Apt-get install wvdial

If you cannot access the Internet. You need to download it from another place or system. This is cumbersome.
Wvdial_1.56-1.2_amd64.deb
Libuniconf4.2 _ 4.2.2-2.2 _ amd64.deb
Libwvstreams4.2-extras_4.2.2-2.2_amd64.deb
Libwvstreams4.2-base_4.2.2-2.2_amd64.deb
Libxplc0.3.13 _ 0.3.13-running amd64.deb
Reinstall
Debian :~ # Dpkg-I wvdial_1.56-1.2_amd64.deb libuniconf4.2 _ 4.2.2-2.2 _ amd64.deb libwvstreams4.2-extras_4.2.2-2.2_amd64.deb libwvstreams4.2-base_4.2.2-2.2_amd64.deb libxplc0.3.13 _ 0.3.13-runtime amd64.deb

Configure the dialing parameters to enable/etc/wvdial. conf.
# The configuration of singapore m1 (singapore mobile one) is as follows:
# In fact, you only need to change the phone number.
# In fact, the user name and password are not usable, but wvdial is required, so it should be filled in.
# There is also the DNS settings. I have seen a tutorial written on it, but in fact it is not necessary, because when connected, the ip address and dns ip address can be dynamically obtained.

[Dialer Defaults]
Phone = * 99 *** 2 #
Username = Username
Password = Password
Stupid Mode = 1
Dial Command = ATDT
Modem =/dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
ISDN = 0
Modem Type = Analog Modem

Save the configuration and you will be able to dial

Debian :~ # Wvdial
?> WvDial: Internet dialer version 1.56
?> Cannot get information for serial port.
?> Initializing modem.
?> Sending: ATZ
ATZ
OK
?> Sending: ATZ
ATZ
OK
?> Sending: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
OK
?> Modem initialized.
?> Sending: ATDT * 99 *** 2 #
?> Waiting for carrier.
ATDT * 99 **** 2 #
CONNECT
?> Carrier detected. Starting PPP immediately.
?> Starting pppd at Wed Feb 13 18:32:57 2008
?> Pid of pppd: 5514
?> Using interface ppp0
?> Pppd: v +
?> Pppd: v +
?> Pppd: v +
?> Pppd: v +
?> Pppd: v +
?> Pppd: v +
?> Pppd: v +
?> Pppd: v +
?> Local IP address 124.197.XX.XX
?> Pppd: v +
?> Remote IP address 10.64.XX.XX
?> Pppd: v +
?> Primary DNS address 202.65.247.152
?> Pppd: v +
?> Secondary DNS address 202.65.247.151
?> Pppd: v +

You can see that both the DNS address and your own address have been obtained.
Debian :~ # Ifconfig ppp0
Ppp0 Link encap: Point-to-Point Protocol
Inet addr: 124.197.70.236 P-t-P: 10.64.64.64 Mask: 255.255.255.255
Up pointopoint running noarp multicast mtu: 1500 Metric: 1
RX packets: 5745 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 4740 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 txqueuelen: 3
RX bytes: 7658609 (7.3 MiB) TX bytes: 281511 (274.9 KiB)

It's so easy to use. I'm so excited ~~~~~~
You can add a script in/etc/rc2.d/to enable automatic dialing upon startup.

In addition, huawei officially provides the latest firmware to speed 3.6 M to 7.2 M.
E220Firmware_Update_11.117.09.00.00.exe
I want to brush it under xp, but it doesn't make much sense, because my monthly bandwidth package is 512kbitps, the fact is that the fastest 64 kbyetps, and how to brush it is useless.
This speed is a little uncomfortable. The landlord did not access the Internet on his own, so he signed this for me and received my 200 deposit. I knew it was okay to sign starhub by myself. After all, the cable was stable, easy to use.

Huawei utps11.002.03.16.03.b266.exe
When I got this cat, it was VMCLite_E220, and Mobile Partner. It feels better than VMC. Just fill in the number before dialing.
However, it is meaningless for linux.

Comments are closed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.