Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-19-2014, 10:02 AM
|
#1
|
LQ Newbie
Registered: Sep 2012
Location: Hyderabad
Posts: 2
Rep:
|
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 10:03 AM.
|
|
|
04-19-2014, 02:09 PM
|
#2
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667
|
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
|
|
|
04-20-2014, 11:35 AM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,418
|
Quote:
Originally Posted by Priya5145
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.
|
|
|
04-22-2014, 10:18 AM
|
#4
|
LQ Newbie
Registered: Sep 2012
Location: Hyderabad
Posts: 2
Original Poster
Rep:
|
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 10:19 AM.
|
|
|
04-22-2014, 11:28 AM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,418
|
Quote:
Originally Posted by Priya5145
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 12:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|