hi
i configure my new usb 3g net stick but some time it work or some time not work
it will hangup modem
when i connect from knetworkmanager it connect first time
then when it disconnected due to network problem i can not to re connect it again.
i must unplug or replug device or restart suse 11.4 then it work again so what should i do
i know my device id is new so i can not get help from any where
see this link for detail of my configuration
http://forums.opensuse.org/english/get- ... -card.html
I think you can get help here ...gaurav42 wrote:i know my device id is new so i can not get help from any where
First it might help to read a bit more about the mode switching issue, to understand what is going on and how usb_modeswitch is working. I think you know the main documentation page by now, right?
The next step is trying to switch modes of your device manually with a custom config file or with the command line parameters.
If you have found a working configuration, make the switching automatic by adding the values to the right folders and files.
Note: please do not use the global configuration file "/etc/usb_modeswitch.conf" for device-specific configurations!
You can create a little text file with any name you like and then use it with "usb_modeswitch -c <yourconfigfile>".
- Remember to run every command with "sudo".
- Re-plug the device before each new attempt.
- Check with "dmesg" if there were any visible changes after running a test command.
I assume you have installed the data package too. There is a config file containing the same vendor ID which you could try to copy and adapt to your values: "230d:0001".
/etc/wvdial.confhi i am posting my configured file i don’t know what should i do which step is right or what is wrong so please help me or suggest me to right configuration of my device
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Phone = *99#
Modem = /dev/ttyACM0
Username = 0000
Password = 0000
Baud = 460800
[Dialer 3g]
Auto DNS = 1
Init1 = ATZ
Init2 = at+cgdcont=1,"ip","bsnlnet"
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
Idle Seconds = 300
Ask Password = 0
Compuserve = 0
Phone = *99***1#
Modem = /dev/ttyACM0
Dial Command = ATDT
Baud = 460800
Modem = /dev/ttyACM0
#Modem = /dev/ttyUSB0
/etc/usb_modeswitch.conf
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# This file is evaluated by the wrapper script "usb_modeswitch_dispatcher"
# in /usr/sbin
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
DisableSwitching=0
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_<interface-name>" (and probably others)
EnableLogging=1
/etc/usb_modeswitch.d/230d:0007
#######################################################
# Linktop LW272/LW273 (BSNL VISIONTEK )
DefaultVendor= 0x230d
DefaultProduct=0x0007
TargetClass=0xff
Configuration=3
CheckSuccess=20
/etc/udev/rules.d/95-visiontek-udev.rules
# SUBSYSTEM=="usb", SYSFS{idProduct}=="product", SYSFS{idVendor}=="vendor",
# RUN+="/sbin/modprobe usbserial vendor=0xproduct product=0xvendor"
# So for your hardware (vendor=0x230d product=0x0007),
# you could create a file called /etc/udev/rules.d/95-ZTE-MF636.rules with this line contained:
# SUBSYSTEM=="usb", SYSFS{idProduct}=="0007", SYSFS{idVendor}=="230d", RUN+="/sbin/modprobe usbserial vendor=0x230d product=0x0007"
#ATTRS{idVendor}=="230d", ATTRS{idProduct}=="0007", ATTRS{bConfigurationValue}!="2", ATTR{bConfigurationValue}="2"
#ACTION!="add", GOTO="modeswitch_rules_end"
#SUBSYSTEM!="usb", GOTO="modeswitch_rules_end"
LABEL="modeswitch_rules_begin"
ATTRS{idVendor}=="230d", ATTRS{idProduct}=="0007", ATTRS{bConfigurationValue}!="2", ATTR{bConfigurationValue}="2"
LABEL="modeswitch_rules_end"
/lib/udev/rules.d/40-usb_modewsitch.rules
# Part of usb-modeswitch-data, version 20101222
#
# This file is intended for USB_ModeSwitch version >= 1.1.2
# but will not break anything if used with versions >= 1.0.3
#
ACTION!="add", GOTO="modeswitch_rules_end"
# This adds a symlink "gsmmodem[n]" to ttyUSB ports with interrupt transfer;
# will work only with wrapper from 1.1.4 and above (otherwise ignored)
KERNEL=="ttyUSB*", ATTRS{bNumConfigurations}=="*", PROGRAM="usb_modeswitch --symlink-name %p %s{idVendor} %s{idProduct} %E{PRODUCT}", SYMLINK="%c"
SUBSYSTEM!="usb", GOTO="modeswitch_rules_end"
# This adds the device ID to the "option" driver after a warm boot
# in cases when the device is yet unknown to the driver
ATTR{bInterfaceClass}=="ff", ATTR{bInterfaceNumber}=="00", ATTRS{bNumConfigurations}=="*", RUN+="usb_modeswitch --driver-bind %p %s{idVendor} %s{idProduct} %E{PRODUCT}"
# Most known install partitions are on interface 0, one on 5, one on 9
ATTRS{bInterfaceNumber}!="0[059]", GOTO="modeswitch_rules_end"
# only storage class devices are handled; negative
# filtering here would exclude some quirky devices
ATTRS{bDeviceClass}=="08", GOTO="modeswitch_rules_begin"
ATTRS{bInterfaceClass}=="08", GOTO="modeswitch_rules_begin"
GOTO="modeswitch_rules_end"
LABEL="modeswitch_rules_begin"
# Linktop LW272/LW273 (BSNL VISIONTEK )
ATTRS{idVendor}=="230d", ATTRS{idProduct}=="0007", RUN+="usb_modeswitch '%b/%k'"
LABEL="modeswitch_rules_end"
now finish my all configuration but i dont know what is right or what is wrong i search all configuration on Google or some linux site so i mix all configuration or i dont know which is work or which is unnecessary so please help me to short or right configuration
i can also connect thru networkmanager or when i am connected i also can use visiontek driver source which is located on usb net stick on /dev/sr1
help me i am waiting for your help......
yes
my usb 3g modem also work fine with above configuration with knetworkmanager mobile broadband,
but when network disconnected,
then i can not reconnect net.
i must plug out then plug in my usb net stick then i can re connect net.
so this is not proper way i think i will damage my usb port or usb 3g net stick if i always replug before connect .
after first disconnection i can not reconnect thru my modem it is hangup so please give me solution what should i do for solve this problem
my usb 3g modem also work fine with above configuration with knetworkmanager mobile broadband,
but when network disconnected,
then i can not reconnect net.
i must plug out then plug in my usb net stick then i can re connect net.
so this is not proper way i think i will damage my usb port or usb 3g net stick if i always replug before connect .
after first disconnection i can not reconnect thru my modem it is hangup so please give me solution what should i do for solve this problem
solved visiontek 3g
hi my problem solved
hi thanks to all for give me best support
today i solved all problem.
i update knetworkmanager to plazmoid-networkmanager with command
zypper install plasmoid-networkmanagement
& now i connect my visiontek usb net stick without any problem
i can use internet without any problem.
thanks again to all ...
hi my problem solved
hi thanks to all for give me best support
today i solved all problem.
i update knetworkmanager to plazmoid-networkmanager with command
zypper install plasmoid-networkmanagement
& now i connect my visiontek usb net stick without any problem
i can use internet without any problem.
thanks again to all ...