LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-19-2014, 09:02 AM   #1
Priya5145
LQ Newbie
 
Registered: Sep 2012
Location: Hyderabad
Posts: 2

Rep: Reputation: Disabled
Unable to configure Idea 3G datacard in RHEL6


Hi Friends,

I have the problem with 3G data card configuration in RHEL6.4.
I configured wvdial.conf file with the entries : ( Device detected under /dev/ttyUSB0)
# vim /etc/wvdial
[Dailer Defaults]
Modem=/dev/ttyUSB0
Init1=ATZ
Init2=ATQ0 V1 E1 S0=0&C1 +FCLASS=0
Init3=AT+CRM=1
Stupid Mode=1
Phone=*99#
Username=""
Password=""


I'm using Idea Huwaei Datacard and its unlocked using Aircel Sim. Do i need to install usb_modeswitch package for this.
I already configured file for the modem switch /etc/udev/rules.d/15.huwaei-e1732.rules.

Still I'm getting the below error :

# wvdial
Cannot get information for serial port.
Initializing modem.
Sending: ATZ
Sending: ATQ0
Re-Sending: ATZ
Modem not responding.

Pealse help..!!!!

Thanks in advance.

Last edited by Priya5145; 04-19-2014 at 09:03 AM.
 
Old 04-19-2014, 01:09 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this is redhat
so you have the required paid for license
Did you do a search on the redhat knowledge-base for that hardware
you DO have access to it with that license

-- login to your redhat account on the site
then do a search
https://access.redhat.com/search/bro...#?&language=en
 
Old 04-20-2014, 10:35 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Priya5145 View Post
Hi Friends,
I have the problem with 3G data card configuration in RHEL6.4. I configured wvdial.conf file with the entries : ( Device detected under /dev/ttyUSB0)
# vim /etc/wvdial
[Dailer Defaults]
Modem=/dev/ttyUSB0
Init1=ATZ
Init2=ATQ0 V1 E1 S0=0&C1 +FCLASS=0
Init3=AT+CRM=1
Stupid Mode=1
Phone=*99#
Username=""
Password=""

I'm using Idea Huwaei Datacard and its unlocked using Aircel Sim. Do i need to install usb_modeswitch package for this.I already configured file for the modem switch /etc/udev/rules.d/15.huwaei-e1732.rules. Still I'm getting the below error :

# wvdial
Cannot get information for serial port.
Initializing modem.
Sending: ATZ
Sending: ATQ0
Re-Sending: ATZ
Modem not responding.
Your modem isn't responding, because you haven't run usb_modeswitch on it. You may have modified the rules, but you also may have a problem in the ruleset, or the device isn't getting updated. Try running the usb_modeswitch command, then run wvdialconf.
 
Old 04-22-2014, 09:18 AM   #4
Priya5145
LQ Newbie
 
Registered: Sep 2012
Location: Hyderabad
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi,

Again I tried the below..

1. Installed Redhat 6.4

2. Installed wvdial, usb_modeswitch-data, usb_modeswitch packages

3. # lsusb
Bus 002 Device 005: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)

4. # dmesg
usb 2-1.2: new high speed USB device number 4 using ehci_hcd
usb 2-1.2: New USB device found, idVendor=12d1, idProduct=1446
usb 2-1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 2-1.2: Product: HUAWEI Mobile
usb 2-1.2: Manufacturer: HUAWEI Technology
usb 2-1.2: configuration #1 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 9:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
sd 9:0:0:0: Attached scsi generic sg4 type 0
sd 9:0:0:0: [sdd] Attached SCSI removable disk
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbserial_generic 2-1.2:1.0: generic converter detected
usb 2-1.2: generic converter now attached to ttyUSB0


5. # vim /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1, "IP","Aircelgprs" # I'm using unlocked idea datacard and using Aircel network.
Stupid Mode = 1
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem=/dev/ttyUSB0
ISDN=0
Phone=*99#
Carrier Check = no
Username = ""
Password = ""
FlowControl=Hardware(CRTSCTS)


6. # wvdial

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

7. # vim /etc/resolv.conf

nameserver 125.22.47.102
nameserver 125.22.47.103

8. # usb-devices

T: Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1446 Rev=00.00
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usbserial_generic
I: If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

But still I am not able to connect to the internet. Still I'm getting the below error...

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding

I am unable to find where the problem is..
Now, i did not used the usb_modeswitch. Is there any problem with the nameserver IP's which I mentioned above..

Last edited by Priya5145; 04-22-2014 at 09:19 AM.
 
Old 04-22-2014, 10:28 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,689

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by Priya5145 View Post
Hi,
Again I tried the below..

1. Installed Redhat 6.4
Which you SHOULD NOT DO unless you are PAYING FOR IT. And RHEL is not a good distro to use for 'consumer' hardware..it is meant for SERVERS, which typically don't have devices like this, blutooth, sound, etc.
Quote:
2. Installed wvdial, usb_modeswitch-data, usb_modeswitch packages
Great...and did you actually RUN the usb_modeswitch command???
Quote:
3. # lsusb
Bus 002 Device 005: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)
4. # dmesg
usb 2-1.2: new high speed USB device number 4 using ehci_hcd
usb 2-1.2: New USB device found, idVendor=12d1, idProduct=1446
usb 2-1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
usb 2-1.2: Product: HUAWEI Mobile
usb 2-1.2: Manufacturer: HUAWEI Technology
usb 2-1.2: configuration #1 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 9:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
sd 9:0:0:0: Attached scsi generic sg4 type 0
sd 9:0:0:0: [sdd] Attached SCSI removable disk
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbserial_generic 2-1.2:1.0: generic converter detected
usb 2-1.2: generic converter now attached to ttyUSB0
...which was EXACTLY what you had before, so there was NO NEED to do a reinstallation. What was the point?
Quote:
But still I am not able to connect to the internet. Still I'm getting the below error...

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding

I am unable to find where the problem is..Now, i did not used the usb_modeswitch.
If you don't use the modeswitch command, the device WILL NOT act like a modem, period. You did a complete re-installation for NO REASON, when all you had to do is run usb_modeswitch, then run wvdialconf. That was told to you very clearly before.
Quote:
Is there any problem with the nameserver IP's which I mentioned above..
No idea, since we don't know who you use for internet...call them and ask.
 
  


Reply



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
[SOLVED] Unable to configure ipa-client in RHEL6 environment pix9 Linux - Server 1 03-08-2013 02:13 AM
how to configure iptables in rhel6 sai krishna Linux - Security 1 07-11-2012 08:30 AM
How to configure Quata for user in RHEL6 prasad83 Linux - Virtualization and Cloud 1 01-30-2012 05:38 AM
How to configure ltsp server in rhel6 raj2428 Linux - Server 4 12-16-2011 09:09 AM
How to Configure Wireless Network EVDO Datacard over Puppy Linux? yugal13 Linux - Newbie 1 01-21-2011 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration