Bug 15900

Summary: Mageia does not connect to cdma mobile broadband. keeps asking for PIN.
Product: Mageia Reporter: Jude Ashvin Lobo Shenoy <ashvinlobo>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED OLD QA Contact:
Severity: major    
Priority: Normal CC: mageia, marja11, thierry.vignaud, tmb
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: drakx-net (?) CVE:
Status comment:
Attachments: draknetworkcenter detects modem as ppp0 - Huawei
When i click the configure button, am asked for the PIN
Then i get this insert sim message.
Now i try to set up a edge connection through network center in MCC.
USB cdma modem detected.
Am asked for the pin.
Again this annoying insert sim messge popup.
Output of lsusb shows huawei modem detected. Vendor 0x12d1 Product 0x140b.
Dmesg output
iptables output
journalctl output
lspcidrake output
route -n
cat /etc/resolv
shorewall interfaces

Description Jude Ashvin Lobo Shenoy 2015-05-10 12:21:57 CEST
Hi Guys,

I was really shocked to find out that the cdma mobile broadband dongle i had purchased does not work with mageia here in India and its a major drawback if this feature can't be used here when am trying to promote Mageia in a big way.

The problem is as soon as i connect it to my sys, i find it in kde network center then i try to go through adding a new broadband connection using the available gui and i fill in details but when it comes to asking me to enter a 4 digit pin i enter 0000 as its the right one for the dongle. Then i get a pop up asking me to insert a sim when the dongle has no sim at all.

This dongle works on my ubuntu after i went through a painful process. All is well there. I uninstalled opensuse as it did not accommodate this dongle and did the same for Mageia but i miss Mageia badly but as am heading into a village near my town i need connectivity. Fedora 22 just accepts my dongle like none other and very smooth. I tried lsusb and it detects my dongle. 

Am proving a few links that helped me get moving on ubuntu and they are as:

blog.championswimmer.in/2012/using-tata-photon-huawei-e156-on-ubuntu/

http://www.tataindicom.com/download/dialers/dialup-internet-on-linux.pdf

http://www.tatadocomo.com/photon-plus.aspx

I tried the tips provided by both the links in Mageia and the Konsole did 
show me all was working but i could not connect to the internet. As per lsusb
my product id was 0x140b and vendor was0x12d1

Bio-data of my dongle is as :

Telecom provider : Tata Teleservices India or Tata Indicom.
Dongle Name : Tata Photon+
Dongle Make : Huawei Mobile Broadband.
Dongle Model : EC156 HSIA usb stick.

Please help me guys and thanks for all help.
Comment 1 Jude Ashvin Lobo Shenoy 2015-05-10 12:26:06 CEST
Forgot to add this link : http://www.tatadocomo.com/photon-plus.aspx
Comment 2 Jude Ashvin Lobo Shenoy 2015-05-10 18:15:33 CEST
Hey Guys,

Just found this https://forums.mageia.org/en/viewtopic.php?t=4193

Seems like someone else had the same problem and hit a dead end but on another model of a usb modem from the same service provider.
Comment 3 Marja Van Waes 2015-05-11 00:43:07 CEST
(In reply to Jude Ashvin  Lobo Shenoy from comment #0)

<snip>

> The problem is as soon as i connect it to my sys, i find it in kde network
> center then i try to go through adding a new broadband connection using the
> available gui and i fill in details but when it comes to asking me to enter
> a 4 digit pin i enter 0000 as its the right one for the dongle. Then i get a
> pop up asking me to insert a sim when the dongle has no sim at all.

<snip>

> As per lsusb
> my product id was 0x140b and vendor was0x12d1

> Bio-data of my dongle is as :
> 
> Telecom provider : Tata Teleservices India or Tata Indicom.
> Dongle Name : Tata Photon+
> Dongle Make : Huawei Mobile Broadband.
> Dongle Model : EC156 HSIA usb stick.


Thanks for the bug report

What do you mean by kde network center? Did you click the network icon on the KDE panel and add it with draknetcenter
http://doc.mageia.org/mcc/4/en/content/draknetcenter.html ?

If so, please try whether adding it in MCC => Network & Internet => Set up a new network interface (LAN, ISDN, ADSL, ...), so with drakconnect, 
http://doc.mageia.org/mcc/4/en/content/drakconnect.html works better.

If that doesn't help, then please attach dmesg.txt that results from running 
dmesg > /tmp/dmesg.txt

and lspcidrake-v.txt resulting from: 
lspcidrake -v > lspcidrake-v.txt

and journalctl-b.txt that results from running (as root)
journalctl -b > journalctl-b.txt

to this bug report

Keywords: (none) => NEEDINFO
CC: sysadmin-bugs => mageia, marja11, thierry.vignaud, tmb
Component: Release (media or process) => RPM Packages
Source RPM: (none) => drakx-net (?)

Comment 4 Jude Ashvin Lobo Shenoy 2015-05-11 08:11:13 CEST
Hi Marja,

Kde network center and draknetworkcenter are the same sorry for my mistake. I tried all those steps as suggested by you with those 2 links and still i was asked for pin and later after that was asked to insert a sim.

Will give you an update in a week as am a bit busy getting out of town. Will be in touch regarding the diagnostics...:)
Comment 5 Thomas Backlund 2015-05-11 08:19:43 CEST
is usb_modeswitch installed ?

if not, unplug the dongle, install usb_modeswitch-2.2.1-1.mga5 and usb_modeswitch-data-20150115-1.mga5.

then plug in the dongle and try to configure it again
Comment 6 Jude Ashvin Lobo Shenoy 2015-05-11 08:30:24 CEST
Hi Thomas,

I did install usb modeswitch and usb modeswitch data along with wvdial and tried it as per the 2 links above in my bug report. It did show that it was connected but browsing was not at all possible. Tried wvdialconf /etc/wvdial.conf where i did add the number and password along with the id (id- internet, Password- internet, number #777)
Comment 7 Thomas Backlund 2015-05-11 08:43:04 CEST
ok, so maybe a routing or firewalling issue...

when it's connected, what does theese commands show:

route -n

cat /etc/resolv.conf

cat /etc/shorewall/interfaces 

iptables -L


you could also try to disable the firewall
Comment 8 Jude Ashvin Lobo Shenoy 2015-05-11 09:12:24 CEST
Hi Thomas,

Please give me a week's time to revert back to you as am heading out of town early tomorrow morning. I am sure it's not a firewall issue as it's connected on Ubuntu. The main headache is the prompt for a pin when adding a 3g connection using draknetcenter and after adding the pin 0000 it throws up another pop-up suggesting i insert a sim into the dongle where there is no slot for a sim.
Comment 9 Jude Ashvin Lobo Shenoy 2015-05-11 14:43:51 CEST
Hi Guys,

Right now am attaching a few pics of what i see over here and will be updating a few diagnostics later.
Comment 10 Jude Ashvin Lobo Shenoy 2015-05-11 14:45:44 CEST
Created attachment 6492 [details]
draknetworkcenter detects modem as ppp0 - Huawei
Comment 11 Jude Ashvin Lobo Shenoy 2015-05-11 14:46:58 CEST
Created attachment 6493 [details]
When i click the configure button, am asked for the PIN
Comment 12 Jude Ashvin Lobo Shenoy 2015-05-11 14:47:46 CEST
Created attachment 6494 [details]
Then i get this insert sim message.
Comment 13 Jude Ashvin Lobo Shenoy 2015-05-11 14:49:10 CEST
Created attachment 6495 [details]
Now i try to set up a edge connection through network center in MCC.
Comment 14 Jude Ashvin Lobo Shenoy 2015-05-11 14:51:12 CEST
Created attachment 6496 [details]
USB cdma modem detected.
Comment 15 Jude Ashvin Lobo Shenoy 2015-05-11 14:52:04 CEST
Created attachment 6497 [details]
Am asked for the pin.
Comment 16 Jude Ashvin Lobo Shenoy 2015-05-11 14:53:04 CEST
Created attachment 6498 [details]
Again this annoying insert sim messge popup.
Comment 17 Jude Ashvin Lobo Shenoy 2015-05-11 14:54:29 CEST
Created attachment 6499 [details]
Output of lsusb shows huawei modem detected. Vendor 0x12d1 Product 0x140b.
Comment 18 Jude Ashvin Lobo Shenoy 2015-05-11 14:55:48 CEST
Hi guys,

Sorry for the quality of the pics cos i had to do all this in a jiffy. Did not use snapshot. More details to follow. Hope you get the picture now.
Comment 19 Thomas Backlund 2015-05-11 15:00:35 CEST
The message also states "leave *empty* if no pin needed"

So dont enter any pin code
Comment 20 Jude Ashvin Lobo Shenoy 2015-05-11 15:05:38 CEST
Hi Thomas,

Same result without the pin. I get the insert sim popup :(
Comment 21 Jude Ashvin Lobo Shenoy 2015-05-11 16:46:33 CEST
Attaching results of diagnostics in text and pics.
Comment 22 Jude Ashvin Lobo Shenoy 2015-05-11 16:47:20 CEST
Created attachment 6502 [details]
Dmesg output
Comment 23 Jude Ashvin Lobo Shenoy 2015-05-11 16:47:45 CEST
Created attachment 6503 [details]
iptables output
Comment 24 Jude Ashvin Lobo Shenoy 2015-05-11 16:48:14 CEST
Created attachment 6504 [details]
journalctl output
Comment 25 Jude Ashvin Lobo Shenoy 2015-05-11 16:48:50 CEST
Created attachment 6505 [details]
lspcidrake output
Comment 26 Jude Ashvin Lobo Shenoy 2015-05-11 16:51:26 CEST
Created attachment 6506 [details]
route -n
Comment 27 Jude Ashvin Lobo Shenoy 2015-05-11 16:52:28 CEST
Created attachment 6507 [details]
cat /etc/resolv
Comment 28 Jude Ashvin Lobo Shenoy 2015-05-11 16:53:13 CEST
Created attachment 6508 [details]
shorewall interfaces
Rémi Verschelde 2015-05-11 18:18:30 CEST

Keywords: NEEDINFO => (none)

Samuel Verschelde 2015-06-06 15:24:11 CEST

Whiteboard: (none) => MGA5TOO

Comment 29 Marja Van Waes 2016-10-20 10:36:02 CEST
@ Jude

Is this bug still valid?

If so, in which Mageia version(s)?

Guessing this is or was a kernel/firmware issue. Already assigning to kernel and drivers maintainers, to decrease the chance that no one sees Jude's reply, if this bug is still valid.

Assignee: bugsquad => kernel
Keywords: (none) => NEEDINFO

Comment 30 Marja Van Waes 2021-05-27 11:34:29 CEST
(In reply to Marja Van Waes from comment #29)
> @ Jude
> 
> Is this bug still valid?
> 
> If so, in which Mageia version(s)?
> 
Over 5 years later, no reply.

Closing as OLD

Resolution: (none) => OLD
Status: NEW => RESOLVED