PDA

View Full Version : Problems with Mobile Broadband Connections



RiDD13R
2013-04-03, 20:54
Am using Kali Linux on a 64 bit Core i5 processor. I have dual booted it with Windows 7. Am facing problems connecting to the internet using my Reliance Netconnect+ Modem( ZTE modem )over the Mobile Broadband option(which obviously uses a PPP protocol). I created a network connection profile using the default configuration that available.

Whenever I connect my modem and try to dial, it doesn't usually work in the first attempt. It just tries to dial and then stops after a minute or so. Then I try doing the same thing over all the other USB ports unless I finally get connected. I have to repeat the same thing over and over,everytime I disconnect. How do I avoid this ?

Rahulrj762
2014-02-18, 13:34
Same issue here. Anybody there to help? :(

lightvader
2014-02-25, 17:41
i used my mobile as modem once when my wireless card fried (remember me to not mess with txpower). here are the settings i used.
you have to edit /etc/wvdial.conf


[Dialer Defaults]
Init1=AT+CGDCONT=1,"ip","YOURAPNHERE"
#"ip" stays ip,don't change it. yourapn=your apn
Modem Type= Analog Modem
Phone =*99***1#
ISDN=0
Username = password
Password = password
Modem=/dev/ttyACM0
Baud=460800
pin=0000

then,you have to edit
/etc/chatscripts/gprs




#ECHO ON
ABORT 'BUSSY'
ABORT 'ERROR'
AORT 'NO CARRIER'
"ATI
OK ATZ
OK 'ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0'
OK ATI
+CGDCONT=1,"IP","yourapnhere"
OK ATDT*99*1#


then,you have to make /etc/PPP/gprs

/dev/ttyACM0
460800
connect 'chat -f /ect/ppp/chat/gprs'
defaultroute
usepeerdns


don't forget to save the files

then,open terminal and run wvdial.
you'll have an output similar to this


root@kali:~# wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"ip","web.digicelsr.com"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} }9}"}&} } } } }#}%B#}%}%}&*inf}'}"}(}"4[02]~
--> PPP negotiation detected.
--> Starting pppd at Tue Feb 25 13:53:22 2014
--> Pid of pppd: 4297
--> Using interface ppp0
--> pppd: �Sa
--> pppd: �Sa
--> pppd: �Sa
--> pppd: �Sa
--> local IP address 10.109.28.28
--> pppd: �Sa
--> remote IP address 10.109.28.28
--> pppd: �Sa
--> primary DNS address 172.20.6.65
--> pppd: �Sa
--> secondary DNS address 172.20.6.66
--> pppd: �Sa



the bad thing is you can"t exit the terminal,so i usually just move it to worksace 4
also,your connection manager will keep showing not connected,but you will have internet

lightvader
2014-02-25, 17:57
i used my mobile as a modem once when my wireless card fried (remind me to never mess with txpower again)
anyhow,you must edit /etc/wvdial.conf


[Dialer Defaults]
Init1=AT+CGDCONT=1,"ip","YOURapn"
Modem Type= Analog Modem
Phone =*99***1#
ISDN=0
Username = randomuser
Password = randompassword
Modem=/dev/ttyACM0
Baud=460800
pin=0000

save.
now edit /etc/chatscripts/gprs



#ECHO ON
ABORT 'BUSSY'
ABORT 'ERROR'
AORT 'NO CARRIER'
"ATI
OK ATZ
OK 'ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0'
OK ATI
+CGDCONT=1,"IP","yourapn"
OK ATDT*99*1#

save
then create /etc/PPP/gprs


/dev/ttyACM0
460800
connect 'chat -f /ect/ppp/chat/gprs'
defaultroute
usepeerdns

save

open terminal ,run wvdial.
you should have an output similar to


root@kali:~# wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"ip","web.digicelsr.com"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} }9}"}&} } } } }#}%B#}%}%}&t@5[1e]}'}"}(}"[08]H~
--> PPP negotiation detected.
--> Starting pppd at Tue Feb 25 13:44:19 2014
--> Pid of pppd: 3903
--> Using interface ppp0
--> pppd: �S�
--> pppd: �S�
--> pppd: �S�
--> pppd: �S�
--> local IP address 10.109.2.249
--> pppd: �S�
--> remote IP address 10.109.2.249
--> pppd: �S�
--> primary DNS address 172.20.6.65
--> pppd: �S�
--> secondary DNS address 172.20.6.66
--> pppd: �S�
--> pppd: �S�
--> pppd: �S�


do not close the terminal. move it to workspace 4 so it doesnt irritate you or something
.

Escargoo
2014-04-13, 09:54
help me
in mya network manager
mobile broadband not enabled
how i fix that?