NetworkManager电信无线上网卡断开联网后需重新插一次网卡才能连接。。。。

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
湘黛钗
帖子: 14
注册时间: 2010-11-01 12:42
送出感谢: 0
接收感谢: 0

NetworkManager电信无线上网卡断开联网后需重新插一次网卡才能连接。。。。

#1

帖子 湘黛钗 » 2011-03-06 13:26

如题,设备是华为EC189。首次插入EC189,Ubuntu10.10的NetworkManager就能直接识别,连华为的linux驱动都不用装,
配置自动发现China Telecom Connection,然后点击可连接。
这点比较好(10.04还要usb-modswitch + wvdial 拨号)。


问题是每次插入设备,第一次联网断开后就不能再次重连,只有拔
下来再插一次网卡才行。注销都不管用。


请问是配置问题吗?有没有人遇到类似的问题,郁闷啊。。。。。


求高手帮解决!
lubcat
帖子: 2061
注册时间: 2010-09-27 12:59
送出感谢: 0
接收感谢: 0

Re: NetworkManager电信无线上网卡断开联网后需重新插一次网卡才能连接。。。。

#2

帖子 lubcat » 2011-03-06 14:39

装了驱动试试?

ID.... :em03
生活里,有很多转瞬即逝,像在车站的告别,刚刚还相互拥抱,转眼已各自天涯。很多时候,你不懂,我也不懂,就这样,说着说着就变了,听着听着就倦了,看着看着就厌了,跟着跟着就慢了,走着走着就散了,爱着爱着就淡了,想着想着就算了。
湘黛钗
帖子: 14
注册时间: 2010-11-01 12:42
送出感谢: 0
接收感谢: 0

Re: NetworkManager电信无线上网卡断开联网后需重新插一次网卡才能连接。。。。

#3

帖子 湘黛钗 » 2011-03-08 15:48

第一次插上:dmesg |grep ttyUSB
[ 11.604562] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 11.604751] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 11.604930] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB2

联网后:dmesg |grep ttyUSB
[ 11.604562] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 11.604751] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 11.604930] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB2

断网后:dmesg |grep ttyUSB
[ 11.604562] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 11.604751] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 11.604930] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB2

拔下网卡重插再次:dmesg |grep ttyUSB
[ 11.604562] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 11.604751] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 11.604930] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 519.280804] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 519.280916] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 519.281013] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 530.284754] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 530.287631] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 530.292868] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB2

可见networkmanager手动断开连接后没有释放。。。。。
连usb_modeswitch也不能配置了:
sudo usb_modeswitch -W

* usb_modeswitch: handle USB devices with multiple modes

* Version 1.1.4 (C) Josua Dietze 2010

* Based on libusb0 (0.1.12 and above)



! PLEASE REPORT NEW CONFIGURATIONS !



DefaultVendor= not set

DefaultProduct= not set

TargetVendor= not set

TargetProduct= not set

TargetClass= not set

TargetProductList=""



DetachStorageOnly=0

HuaweiMode=0

SierraMode=0

SonyMode=0

GCTMode=0

MessageEndpoint= not set

MessageContent=""

NeedResponse=0

ResponseEndpoint= not set

Interface=0x00



InquireDevice enabled (default)

Success check disabled

System integration mode disabled



usb_set_debug: Setting debugging level to 15 (on)

usb_os_find_busses: Found 006

usb_os_find_busses: Found 005

usb_os_find_busses: Found 004

usb_os_find_busses: Found 003

usb_os_find_busses: Found 002

usb_os_find_busses: Found 001

usb_os_find_devices: Found 001 on 006

usb_os_find_devices: Found 001 on 005

usb_os_find_devices: Found 001 on 004

usb_os_find_devices: Found 007 on 003

usb_os_find_devices: Found 003 on 003

skipped 1 class/vendor specific interface descriptors

usb_os_find_devices: Found 001 on 003

error obtaining child information: Inappropriate ioctl for device

error obtaining child information: Inappropriate ioctl for device

usb_os_find_devices: Found 001 on 002

usb_os_find_devices: Found 001 on 001

No default vendor/product ID given. Aborting.



有谁知道到底是为什么呢?networkmanager BUG?
lijiwe24
帖子: 206
注册时间: 2010-07-27 9:44
送出感谢: 0
接收感谢: 0

Re: NetworkManager电信无线上网卡断开联网后需重新插一次网卡才能连接。。。。

#4

帖子 lijiwe24 » 2011-03-10 16:28

试试wcid
ubuntu 10.10 + RedOffice + Firefox + thunderbird
湘黛钗
帖子: 14
注册时间: 2010-11-01 12:42
送出感谢: 0
接收感谢: 0

Re: NetworkManager电信无线上网卡断开联网后需重新插一次网卡才能连接。。。。

#5

帖子 湘黛钗 » 2011-03-13 17:50

lijiwe24 写了:试试wcid
算啦,终端wvdial。。。。
回复

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