I have been solved the problem of CDMA, Thank you jin0828

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
头像
mymathersname
帖子: 2870
注册时间: 2008-09-18 23:40
系统: Ubuntu 15.04 x64
来自: Mars
送出感谢: 1 次
接收感谢: 1 次

I have been solved the problem of CDMA, Thank you jin0828

#1

帖子 mymathersname » 2008-10-10 11:59

The problem has been solved, Thanks all the people in Chinese Ubuntu Forum, Right now, I will share other ubuntuers with my experience,

At first. You must check that what kinds of cards do you using, I use PC CARD, the other may be using Express CARD, I think they are the same, And the other appliance-setserial, that you must install before you run the code in your Terminal. Now, as discuss below.

1. use "dmesg | grep tty" in your Terminal, You will see somethings like this:

dmesg | grep tty
[ 28.805391] console [tty0] enabled
[ 51.146744] ttyS0: detected caps 00000700 should be 00000100
[ 51.146765] 0.0: ttyS0 at I/O 0x3f8 (irq = 3) is a 16C950/954

" ttyS0: detected caps 00000700 should be 00000100 " . This is my important problem, Using this code in Terminal will be accomplish.

" sudo ln -sf /dev/ttyS1 /dev/modem ". You must pay your attention to the ttyS1. This will not be S1, Mine is S0. So your must check it and replace it.
" sudo ln -sf /dev/ttyS1 /dev/modem 将你的无线上网卡 映射到你的调制解调器上。应该没有任何反应。注意 ttyS1 应该是你的无线网卡的位子千万不要写错了".

2. use " sudo gedit /etc/wvdial.conf 将打开一个文本编辑器, 然后将如下内容覆盖到 文件中".

[Modem0]
Modem = /dev/modem
Baud = 57600
SetVolume =1
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer Defaults]
Username = CARD
Password = CARD
Phone = #777
Stupid Mode = 1
Inherits = Modem0

3. " sudo apt-get install setserial 安装一个软件 在 7.10 中自带了( But, 8.04 do not have this package).
sudo setserial /dev/ttyS1 baud_base 230400 注意 ttyS1 应该是你的无线网卡的位子千万不要写错了".

If you could not download this software in Ubuntu, you could use Windows go to the site: http://packages.ubuntu.com/zh-cn/hardy/setserial and install it to your ubuntu.

4. sudo wvdial

In my opinion, everythings will be all right and take care.

--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
OK
--> Re-Sending: ATZ
OK
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
OK
--> Re-Sending: ATZ
OK
--> Initializing modem.
--> Sending: ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} }=}!}$}%(}"}&} } } } }#}%B#}%}%}&Qlb}(}'}"}(}"3|~
--> PPP negotiation detected.
--> Starting pppd at Sun Jun 3 22:29:44 2007
--> Pid of pppd: 6586
--> Using interface ppp0
--> pppd: H8 [08][0b][06][08] [06][08]
--> pppd: H8 [08][0b][06][08] [06][08]
--> pppd: H8 [08][0b][06][08] [06][08]
--> pppd: H8 [08][0b][06][08] [06][08]
--> pppd: H8 [08][0b][06][08] [06][08]
--> pppd: H8 [08][0b][06][08] [06][08]
--> local IP address 220.197.11.202
--> pppd: H8 [08][0b][06][08] [06][08]
--> remote IP address 220.192.96.7
--> pppd: H8 [08][0b][06][08] [06][08]
--> primary DNS address 220.192.8.58
--> pppd: H8 [08][0b][06][08] [06][08]
--> secondary DNS address 220.192.32.103
--> pppd: H8 [08][0b][06][08] [06][08]

5. Pay your attention to this: " 依照我的方法连接上的,如果你能确定你的硬件配置方面没有问题的话,你应该看看FireFox的设置了,文件选项下面不是有个脱机工作吗?看看那个有没有打钩,如果有打钩就把钩去掉".

Keeping Running and take care.

:em11
回复

回到 “网卡问题以及网络和拨号”