当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : I have been solved the problem of CDMA, Thank you jin0828
帖子发表于 : 2008-10-10 11:59 
头像

注册: 2008-09-18 23:40
帖子: 2870
地址: Mars
系统: Ubuntu 15.04 x64
送出感谢: 1
接收感谢: 2
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


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译