LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Unable to configure Idea 3G datacard in RHEL6 (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-configure-idea-3g-datacard-in-rhel6-4175502279/)

Priya5145 04-19-2014 09:02 AM

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.

John VV 04-19-2014 01:09 PM

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

TB0ne 04-20-2014 10:35 AM

Quote:

Originally Posted by Priya5145 (Post 5155514)
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.

Priya5145 04-22-2014 09:18 AM

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..

TB0ne 04-22-2014 10:28 AM

Quote:

Originally Posted by Priya5145 (Post 5157091)
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.


All times are GMT -5. The time now is 02:39 AM.