LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-24-2009, 11:50 AM   #1
bishu
LQ Newbie
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Slackware64 13
Posts: 4

Rep: Reputation: 0
problem with connecting to internet via usb modem


Hi everyone..
i am using slackware13 x64 on a dell vostro laptop..i use a Huawei EC325 wireless modem to access the internet.. slackware detects it as E620 anyway but i am having a weird problem.. just 2 days back i went through all blogs regarding connecting to internet with an usb modem and did the necessary..ie
1. installed wvstreams and wvdial packages obtained from slackbuilds.org
2. modified /etc/wvdial.conf as below
bash-3.1# nano /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttyUSB0
Modem Type = Analog Modem
ISDN = 0
Baud = 9600
SetVolume = 0
Dial Command = ATDT
init1 = ATZ
init2=AT+CRM=1
FlowControl = Hardware (CRTSCTS)
[Dialer bsnl]
Username = 165
Password = 165
Phone = #777
Stupid Mode = 1
Auto DNS = 1

bsnl is the ISP in my region...
3.after giving the command 'wvdial bsnl' i was connected , everything went fine.. i got connected instantly...the surfing speed was good...
but after rebooting i tried to connect back but here is the outcome
bash-3.1#wvdial bsnl
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
4. lsusb still recognizes my modem
bash-3.1# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 007: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
5. dmesg also shows it
bash-3.1# dmesg
usb 5-1: new full speed USB device using uhci_hcd and address 5
hub 5-0:1.0: unable to enumerate USB device on port 1
usb 5-1: new full speed USB device using uhci_hcd and address 6
hub 5-0:1.0: unable to enumerate USB device on port 1
usb 5-1: new full speed USB device using uhci_hcd and address 7
usb 5-1: New USB device found, idVendor=12d1, idProduct=1001
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: Huawei Mobile
usb 5-1: Manufacturer: Huawei Technologies
usb 5-1: configuration #1 chosen from 1 choice
usb-storage: probe of 5-1:1.0 failed with error -5
usb-storage: probe of 5-1:1.1 failed with error -5
usb_storage: module is already loaded

i have tried various alternate locations for the Modem=/dev/ttyUSB0 by /dev/ttyUSB1 2 3 but it still doesn't work the same error everytime...

for this i need to go back to windows everytime i need to access the internet which is very irritating... so plz help

thanks in advance
 
Old 09-24-2009, 02:03 PM   #2
bishu
LQ Newbie
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Slackware64 13
Posts: 4

Original Poster
Rep: Reputation: 0
someone suggest something.....please
 
Old 09-24-2009, 02:12 PM   #3
rg3
Member
 
Registered: Jul 2007
Distribution: Slackware Linux
Posts: 512

Rep: Reputation: Disabled
Try as root "modprobe option". It doesn't seem to be detecting the USB modem properly. I have a Huawei E220 and this shows up in dmesg when it creates the ttyUSB devices:

Code:
usb 2-2: new full speed USB device using ohci_hcd and address 30
usb 2-2: New USB device found, idVendor=12d1, idProduct=1003
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2: Product: HUAWEI Mobile
usb 2-2: Manufacturer: HUAWEI Technologies
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: USB disconnect, address 30
usb 2-2: new full speed USB device using ohci_hcd and address 31
usb 2-2: New USB device found, idVendor=12d1, idProduct=1003
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2: Product: HUAWEI Mobile
usb 2-2: Manufacturer: HUAWEI Technologies
usb 2-2: configuration #1 chosen from 1 choice
option 2-2:1.0: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
option 2-2:1.1: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
Edit: also, you can check the presence of any ttyUSB devices with "ls -l /dev/ttyUSB*".

Last edited by rg3; 09-24-2009 at 02:14 PM.
 
Old 09-24-2009, 03:23 PM   #4
bishu
LQ Newbie
 
Registered: Sep 2009
Location: Kolkata, India
Distribution: Slackware64 13
Posts: 4

Original Poster
Rep: Reputation: 0
thank u rg3...the problem was that a highly intellectual person had blacklisted option .....so dmesg cud not detect the modem properly.... thanks a lot
 
  


Reply

Tags
modem, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opensuse 11.1 modem wireless usb, C270 Bandluxe connecting internet judepeomichael Linux - Networking 2 06-19-2009 12:02 AM
ADSL USB Modem / Router connecting ( through USB ) but cannot connect to internet DJ Shaji Linux - Networking 1 03-28-2008 03:24 AM
Connecting to Internet with SmartAX MT841 ADSL USB Modem under Ubuntu 6.06 leibinitz Ubuntu 1 08-22-2006 04:13 PM
Connecting to Internet with SmartAX MT841 ADSL USB Modem under Ubuntu 6.06 leibinitz Linux - Networking 0 08-22-2006 02:45 PM
Connecting to internet with dsl modem, USB connection. darth_vader Linux - Networking 3 06-12-2006 05:11 PM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration