To use TATA DOCOMO 3G e-stick in Ubuntu 10.10
I recently purchased TATA DOCOMO 3G HSUPA e-stick. According to manual, it supports Ubuntu 9.04
I successfully installed the required modem software in Ubuntu 10.04, even though it was not officially supported.
Now when I connect the e-stick to my laptop, where I am using Ubuntu Net-book 10.10, it's not recognized.
network manager prompts to configure a new connection. Even after configuring from network manager, I can't access the internet.
So what should i do? Is there any alternative?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Sudeep Kulkarni
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I have made some progress...
I copied the installation files using a pendrive and tried to install
the software.
But when I installed, following error occurred in terminal -
Install NDIS driver failed.
The compiling environment is not all ready.
Please check gcc, make and kernel
buid(/lib/
What does it mean?
On 2/16/11, Sudeep Kulkarni <email address hidden> wrote:
> New question #145598 on Ubuntu:
> https:/
>
> I recently purchased TATA DOCOMO 3G HSUPA e-stick. According to manual, it
> supports Ubuntu 9.04
>
> I successfully installed the required modem software in Ubuntu 10.04, even
> though it was not officially supported.
>
> Now when I connect the e-stick to my laptop, where I am using Ubuntu
> Net-book 10.10, it's not recognized.
>
> network manager prompts to configure a new connection. Even after
> configuring from network manager, I can't access the internet.
>
> So what should i do? Is there any alternative?
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Sudeep Kulkarni
Revision history for this message
|
#2 |
i think you get weak/shimmering support for 3g in ubuntu,so i advice you to file a bug for this.also whats the output of lsusb.the following links might help
http://
thanks
Revision history for this message
|
#3 |
What software have you installed with your pendrive? Your post #2 might indicate some unfulfilled dependencies.
Important for the supporters is to see the output of lsusb when you have your device plugged in. Please provide that output.
Revision history for this message
|
#4 |
I will try to tell in detail....
First of all, when I plug in the actual 3G device, network manager detects it. I configured all the necessary settings for connection, still I could not connect to internet.
So, using another compatible OS (Ubuntu 10.04), I copied the necessary files for installing the s/w on ubuntu netbook 10.01
When I ran the "install" file in terminal, I got the aforesaid error message.
Revision history for this message
|
#5 |
I am copying contents of "install file" over here. perhaps that will help.
Revision history for this message
|
#6 |
#!/bin/bash
#
#######
# #
# »ªÎªÖÕ¶ËÊý¾Ý¿¨linux ºǫ́ע²áÈí¼þ #
# °æȨÊôÓÚ»
# Huawei linux MobilePartner licensed software #
# Copyright (c) 2007-2008 by Huawei Tech. Corp. Ltd.. #
# ×÷ÕߣºÕÅǬ´º 2008.7.8 #
# #
#######
#
BAKCURRENTPATH=
SOFTWARENAME="TATA DOCOMO 3G"
# g122020 2010.01.11 modify AJ2D15737
INSTALLWORKPATH
CONFIG_
HOOK_FILE=
USERDATA_
# g122020 2010.01.29 AJ2D15962
PPPD_PATH=
FULLVERSION=
SOFTWARENAMEIND
SOFTWARENAME=$(echo $SOFTWARENAME | sed s\#\ \#_\#g)
INSTALLPATH=
TEMPWORKPATH=
TEMPFILE=
#Language String
LANGUAGESTRING[
LANGUAGESTRING[
LANGUAGECODE[0]=0
LANGUAGECODE[1]=1
LANGCODE=
i=0
while [ ".${LANGUAGESTR
do
if [ ${LANGUAGESTRIN
then
break
fi
i=`expr ${i} + 1`
done
unset i
LYouMustBeRoot[
LYouMustBeRoot[
LPlsInputInstal
LPlsInputInstal
LInstallPath[
LInstallPath[
LIllegal[0]="·Ç·¨"
LIllegal[
LNoFile[
LNoFile[1]="Can not find file: "
LCanNotCreateDi
LCanNotCreateDi
LMobilePartnerI
LMobilePartnerI
LStartInstallPa
LStartInstallPa
LCompleteInstal
LCompleteInstal
LLocalPath[
LLocalPath[
LOverwriteInsta
LOverwriteInsta
LInstallJRE[
LInstallJRE[
LInstallMP[
LInstallMP[
LInstallAll[
LInstallAll[
LQuitInstall[
LQuitInstall[
LPlsSelect[
LPlsSelect[
LYouMustSelect[
LYouMustSelect[
LInstallEnd[
LInstallEnd[
LInstallingVers
LInstallingVers
LInstallingVers
LInstallingVers
LInstalledVersi
LInstalledVersi
LInstallingVers
LInstallingVers
LProgramRunning
LProgramRunning
# /*yes or no ¹«¹²º¯Êý, yes·µ»Ø0, no·µ»Ø1*/
yes_or_no()
{
if [ ${#} -ne 2 ]
then
echo -e "yes_or_or: ${ErrorPara[
return 1
fi
if [ "${2}" = "Y" ]
then
DEFVAL="Y"
else
DEFVAL="N"
fi
echo -e "${1} ${DEFPMPT}"
read ANS
while [ "${ANS}" != "Y" -a "${ANS}" != "y" -a "${ANS}" != "N" -a "${ANS}" != "n" -a ! -z "${ANS}" ]
do
echo -e "${1} ${DEFPMPT}"
read ANS
done
: ${ANS:="${DEFVAL}"}
if [ "${ANS}" != "Y" -a "${ANS}" != "y" ]
then
unset ANS
return 1
fi
unset ASN
return 0
}
#¼ì²éÆô¶
CheckID()
{
if [ `id | awk '{print $1}'` != "uid=0(root)" ]
then
echo -e "${LYouMustBeRo
echo -e "\n${LInstallEn
read -n 1
clear
exit
fi
}
#¼ì²éµ±
CheckRunning()
{
RUNJAR=`ps -ef |grep -v grep |grep MobilePartner.jar | awk '{print $2}'`
RUNBIN=`ps -ef |grep -v grep |grep MobilePartner.bin | awk '{print $2}'`
if [ "x${RUNJAR}" != "x" ]
then
echo -e "Program is running, you need close it before installing."
read RESP
exit
fi
if [ "x${RUNBIN}" != "x" ]
then
echo -e "Program is running, you need close it before installing."
read RESP
exit
fi
}
#¼ì²éÏà¹ØÎļþ£
PreInstall()
{
#¼ì²é°²×°°üÎļþ
if [ ! -f "${INSTALLWORKP
then
echo -e "${LNoFile[
exit
fi
if [ ! -f "${INSTALLWORKP
then
echo -e "${LNoFile[
exit
fi
if [ ! -f "${INSTALLWORKP
then
echo -e "${LNoFile[
exit
fi
if [ ! -d "${TEMPWORKPATH}" ]
then
mkdir ${TEMPWORKPATH}
fi
if [ ! -d "${TEMPWORKPATH}" ]
then
echo -e "\n${LCanNotCre
exit
fi
#¿½±
cp -f "${INSTALLWORKP
cp -f "${INSTALLWORKP
cp -f "${INSTALLWORKP
chmod +x ${TEMPWORKPATH}/7zr
#¿½±
cp -f "${INSTALLWORKP
chmod a+x ${TEMPWORKPATH}
#add by liuzhiqiang... begin
if [ -f $CONFIG_FILE ]
then
. $CONFIG_FILE
echo "${LInstalledVe
echo "${LInstallingV
while [ 1 ]
do
if [ $VRVERSIONINSTALLED -ne $VRVERSIONINSTA
then
fi
if [ $CUSTOMIZEVERSI
then
fi
if [ $BUILDVERSIONIN
then
elif [ $BUILDVERSIONIN
then
fi
if [ $DEVELOPVERSION
then
elif [ $DEVELOPVERSION
then
fi
if [ $SPVERSIONINSTALLED -gt $SPVERSIONINSTA
then
elif [ $SPVERSIONINSTALLED -lt $SPVERSIONINSTA
then
fi
break
done
else
echo -e "\n ${LPlsInputInst
read ANS
: ${ANS:=
if [[ ${INSTALLPATH} != /* ]]
then
echo -e "\n${LInstallPa
exit
fi
if [ -d "${INSTALLPATH}" ]
then
fi
fi
#´´½¨°²×°Ä¿Â¼
if [ ! -d "${INSTALLPATH}" ]
then
mkdir ${INSTALLPATH}
fi
if [ ! -d "${INSTALLPATH}" ]
then
echo -e "\n${LCanNotCre
exit
fi
echo -e "\n${LLocalPath
}
InstallLaterVer
{
#а
yes_or_no "\n${LInstallin
if [ ${?} -ne 0 ]
then
exit
fi
}
InstallSameVers
{
#Èç¹ûÒÔÇ°
yes_or_no "\n${LOverwrite
if [ ${?} -ne 0 ]
then
exit
fi
}
InstallOlderVer
{
#°²×
yes_or_no "\n${LInstallin
if [ ${?} -ne 0 ]
then
exit
fi
}
InstallDifferen
{
#Èç¹ûÒÔÇ°
yes_or_no "\n${LOverwrite
if [ ${?} -ne 0 ]
then
exit
fi
}
#°²×°ºǫ́
InstallMobilePa
{
# Madhu added to set the library path
echo -e "LD_LIBRARY_
echo -e -n "\n${LStartInst
cd "${INSTALLPATH}"
#ÔÚ°²×°
# tar jxf ${TEMPWORKPATH}
"${
"${
# chmod -R a+w "${INSTALLPATH}
# chmod -R a+w "${INSTALLPATH}
chmod -R a+w "${INSTALLPATH}
#ÔËÐÐÇý¶
chmod -R a+x ./driver/*
#./
./driver/
#Joven 2009.09.03 add
#°²×°CommMgr²¢
# chmod +x ./CommMgr/*
# cd CommMgr
# ./install_CommMgr ${INSTALLPATH} >/dev/null 2>&1
# cd ..
#copyÏà¹ØÎļþµ½
#¿½±
chmod a+x ./sbin/*
chmod -R a+w ./hw_pppd
chmod -R a+x ./hw_pppd
cp -rf ./hw_pppd /usr/local/
#copy QT libs to Mobile Partner directory
cp -lrf ${INSTALLPATH}
#copyÔÚÏßÉý
#copy only when UpdateDog directory exists
if [ -d ${INSTALLPATH}
then
cp -lrf ${INSTALLPATH}
cp -lrf ${INSTALLPATH}
cp -lrf ${INSTALLPATH}
fi
#uncommenting this to create /usr/local/
#¿½±
if [ ! -d ${USERDATA_PATH} ]
then
mkdir $USERDATA_PATH
mkdir ${USERDATA_
#20091112 c00106366 add - create userdata folder
mkdir ${USERDATA_
# do not create userdata directory.
# cp -rf ./userdata ${USERDATA_
chmod -R a+w ${USERDATA_PATH}
chmod -R a+r ${USERDATA_PATH}
else
if [ ! -d ${USERDATA_
then
mkdir ${USERDATA_
mkdir ${USERDATA_
# do not create userdata directory.
# cp -rf ./userdata ${USERDATA_
chmod -R a+w ${USERDATA_PATH}
chmod -R a+r ${USERDATA_PATH}
fi
fi
#20091112 c00106366 add - set the permission of userdata folder
chmod -R a+rwx ${USERDATA_
# create userdata/log directory for ui.
# mkdir -p ${USERDATA_
#ÐÞ¸
grep -v "MobilePartner.sh" /etc/sudoers >/tmp/${TEMPFILE} 2>&1
DELETECOMME
REQUIRETTY=
if [ "x${REQUIRETTY}" != "x" ]
then
else
if [ "x${REQUIRETTY}" != "x" ]
then
sed -i "s/${REQUIRETTY}/# ,${REQUIRETTY}
fi
fi
# Shashank: Defect fix AJ2D13470: Begin
echo -e "ALL ALL=(ALL) NOPASSWD:ALL" >> /tmp/${TEMPFILE}
# Madhu added a new batch file
# Shashank [s72814] added to generate .bin file and to give access permissions in user mode: Begin
# AJ2D14022 karthik exec ${INSTALLPATH}
#echo -e "#!/bin/bash \n LD_LIBRARY_
#DTS2010072
echo -e "#!/bin/bash \n LD_LIBRARY_
#DTS2010072
mv ${INSTALLPATH}
mv ${INSTALLPATH}
chmod a+x ${INSTALLPATH}
chmod a+x ${INSTALLPATH}
chmod 777 -R ${INSTALLPATH}/*
# w00159557 2010-6-18 add for customization begin
CURRENT_
VERSION_
sed -e 's/'"${
mv -f RunInfo.tmp ${INSTALLPATH}
CURRENT_
OPERATOR_
sed -e 's/'"${
mv -f RunInfo.tmp ${INSTALLPATH}
# w00159557 2010-6-18 add for customization end
# Shashank [s72814] added to generate .bin file and to give access permissions in user mode: End
# Shashank: Defect fix AJ2D13470: End
cp -f /tmp/${TEMPFILE} /etc/sudoers
#±à¼²¢
sed "s#\${HW_
sed "s#\${HW_
if [ -d /root/Desktop ]
then
cp -f ./MobilePartner
else
cp -f ./MobilePartner
fi
cp -f ./MobilePartner
#±à¼²¢
sed "s#\${HW_
sed "s#\${HW_
cp -f ./UninstallMobi
#±à¼²¢´´½¨ÔËÐнű¾
echo -e "#!/bin/bash" > ./MobilePartner.sh
# for Ubuntu
UBUNTURELEA
if [ "x${UBUNTURELEASE}" = "xUbuntu" ]
then
if [ ! -d /usr/share/
then
mkdir -p /usr/share/
fi
fi
# for Debian
DEBIANRELEA
if [ "x${DEBIANRELEASE}" = "xDebian" ]
then
if [ ! -d /usr/share/
then
mkdir -p /usr/share/
fi
fi
# for OpenSuSE
if [ -f /etc/SuSE-release ]
then
if [ ! -d /usr/share/
then
mkdir -p /usr/share/
fi
# AJ2D14022 karthik put this in our bat file.
# echo -e "export DISPLAY=:0" >> ./MobilePartner.sh
echo -e "export DISPLAY=:0" >> ${INSTALLPATH}
fi
#insert hook
if [ -d /etc/pm/sleep.d ]
then
cp -f ${INSTALLPATH}
chmod +x /etc/pm/
fi
# for jre compatibility
echo -e "export LIBXCB_
# Shashank [s72814]: added for executing MobilePartner.bin file from MobilePartner.sh file: Begin
echo -e "APPDIR=
echo -e "cd \${APPDIR}" >> ./MobilePartner.sh
echo -e "\${APPDIR}
# AJ2D14022 karthik now put the executable
echo -e "exec ${INSTALLPATH}
# Shashank [s72814]: added for executing MobilePartner.bin file from MobilePartner.sh file: End
chmod +x ./MobilePartner.sh
chmod a+x ./MobilePartner
#±à¼²¢´´½¨Ð¶Ôؽű¾
sed -i "s/{LYouMustBeR
sed -i "s/{LInstallEnd
sed -i "s/{LProgramRun
sed -i "s#{HOOK_
sed -i "s#{INSTALLPATH
sed -i "s#{CONFIG_
if [ "x${REQUIRETTY}" != "x" ]
then
sed -i "s/{REQUIRETTY}
sed -i "s/{DELETECOMME
else
grep -v {REQUIRETTY} ./UninstallMobi
cp -f /tmp/${TEMPFILE} ./UninstallMobi
fi
chmod +x ./UninstallMobi
DonePrompt "${LStartInstal
#echo -e "\n${SOFTWARENA
#20100104 c00106366 add
#After install succeed, create a new file to let onlineupdate know it's finished
#This file should be delete by onlineupdate program
touch "${USERDATA_
#Çå³ý±¾µØÎļþ
# rm -rf ./userdata
rm -rf ./hw_pppd
rm -rf ./*.desktop
rm -f /tmp/${TEMPFILE}
rm -rf ${TEMPWORKPATH}
}
DonePrompt()
{
LOGCHARNUM=
TERMCHARNUM
LOGCHARNUM=
echo "[ done ] " | awk '{printf "%"'"$LOGCHARNU
echo -e ""
}
# /*ÌṩѡÔñÓïÑÔ*/
SelectLanguage()
{
while :
do
case ${LANGCODE} in
0)
: ${RESP:="1"}
;;
*)
: ${RESP:="2"}
;;
esac
case ${RESP} in
[1,2])
;;
*)
;;
esac
done
}
# /*ÏÔʾ³ÌÐòÆô¶
DisplayStartMsg()
{
clear
}
# /*ÏÔʾ³ÌÐò½áÊøÊ
DisplayEndMsg()
{
cd "${BAKCURRENTPATH}"
rm -rf "${TEMPWORKPATH}"
echo -e "\n${LInstallEn
read -n 1
clear
}
GenConfigFile()
{
cd $INSTALLPATH
echo "path=$INSTALLPATH" > $CONFIG_FILE
echo "name=MobilePar
echo "Exec=$
echo "FullVersion=
}
clear
CheckID
CheckRunning
#SelectLanguage
DisplayStartMsg
#µ±ÈÃÓû
PreInstall
InstallMobilePa
GenConfigFile
#luanying add 20081229
#echo "Download Programs finished!" > "$INSTALLPATH/
DisplayEndMsg
exit 0
#²»ÈÃÓû
while :
do
echo -e - "***\t\
echo -e - "${LPlsSelect[
echo -e - "\t1) ${LInstallMP[
echo -e - "\t0) ${LQuitInstall[
echo -e - "Choice: [0]\c"
read RESP
: ${RESP:="0"}
case ${RESP} in
1)
;;
0)
exit 0
;;
*)
echo -e - "${LYouMustSele
;;
esac
done
Revision history for this message
|
#7 |
My summary from the above:
The script that you provides seems to install some software from Huawei.
As this most probably is proprietary software, you cannot expect to get much support by the ubuntu community on it.
If you device is also from Huawei ( the lsusb output should answer that), then you might be able to use your device even without that software, because Ubuntu has built-in support for several device types from Huawei.
You still have not provided the output of the command lsusb. The output of that command delivers some kind of fingerprint of your device, which is important for the supporters to see. Please provide that output.
Revision history for this message
|
#8 |
Here is the output of lsusb command as requested. I am extremely apologetic to have delayed it so long -
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 15d9:0a33 Dexon Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
As is said, this device is indeed from Hauwei. In ubuntu netbook 10.01, it's recognised too. But I am unable to connect it despite providing all the necessary information in Network Manger. The s/w, as I said is successfully installed in Ubuntu 10.04, even though the manufacturer has support only for Ubuntu 9. Therefore I think that it should work also in ubuntu 10.01. I have also tried installing s/w for unsupported OS like Slax and have been successfull.
Revision history for this message
|
#9 |
The lsusb output confirms that it is a Huawei device.
I see two possibilities to go on:
1. Try to get the Huawei device running without the proprietary software
2. Try to get the errors at installing the proprietary software solved (and hope that with that software the device will work well)
For option 1 it would be interesting to see logs from the steps that are executed by udev and other processes when you plug in the device. (Plug your device in, try to connect, and if it fails look at the end of /var/log/syslog for messages with respect to the modem device.) If network-
For option 2 it would be necessary to see the exact error messages that show up when trying to install the Huawei software (preferably by copy and paste). Most probably you do not have all required software installed. Maybe "sudo apt-get install build-essential linux-headers-
P.S. If you write Ubuntu 10.01 I assume you talk about 10.10, there is no 10.01 release.
Revision history for this message
|
#10 |
Hello:
I bought a Tata Docomo 3G e-stick (model Huwaei E367) today.
I've installed it on Ubuntu 10.10 without using the supplied Linux install kit. This is what I did:
I assume Network Manager is installed and working for your existing network connections.
1. Plug in the 3G e-stick into a USB port.
2. Wait for about 30 seconds for Ubuntu to detect the device. Left click on the Network Manager. The following new entries will be displayed:
TATA DOCOMO UMTS
New Mobile Broadband (GSM) Connection ...
(the first item above will be greyed out and cannot be clicked)
3. Click on "New Mobile Broadband (GSM) Connection ..." A dialog box will open
4. Click the "Forward" button. A list of countries will be displayed.
5. Select "India", and click the "Forward" button. A service provider list will be displayed.
6. DO NOT select "Tata Docomo" from the list. Instead, select the Radio Button at the bottom labeled "I can't find my provider and I wish to enter manually ..."
7. Enter "TATA DOCOMO UMTS" in the edit box provided. Click the "Forward" button. The "Choose Billing Plan" window will be displayed.
8. The drop-down list will have "My plan is not listed". In the edit box labeled "Select plan APN (Access Point Name) enter "tatadocomo3g"
9. Click the "Confirm" button and then the "Apply" button.
10. Left click the Network Manager. Under the "Available" heading for Mobile Broadband you should see "TATA DOCOMO UMTS connection" listed.
11. Click on this item. The 3G stick should connect within a few seconds.
I tried the speed test on www.speedtest.net. I got a dowload speed of 4+ Mbps.
Here are the connection details in Network Manager:
Number: *99#
Username: <blank> (no username)
Password: <blank> (no password)
APN: tatadocomo3g
Network ID: <blank> (no network id)
Type: 3G UMTS/HSPA
PIN: <blank> (no pin)
Note: The install kit provided with the 3G e-stick must be a ndiswrapper installation.
Regards
Revision history for this message
|
#11 |
@Varghese Philip: What you told indeed works. Than you so much! Now I see where I went wrong - specifying the access point. Great.