0

This question already has an answer here:

I extracted the Huwaei Linux driver on my desktop directory and then ran the following commands:

cd Desktop/driver
./install /home/<name>/Desktop/driver

DRIVER COPY START
STA_PATH_FLAG=.
STA_PATH_FULL=/home/pratik/Desktop/driver/install
START_PATH_DRIVER=/home/pratik/Desktop/driver
CURRENT install from ./install
INSTALL_PATH=/home/pratik/Desktop
DRIVER COPY END
make -C src/ clean
make[1]: Entering directory `/home/pratik/Desktop/driver/ndis_driver/ndis_src/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
/home/pratik/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh  "clean" "/lib/modules/3.8.0-19-generic/build/include/linux/usb"
rmmod -f hw_cdc_driver
make[1]: Leaving directory `/home/pratik/Desktop/driver/ndis_driver/ndis_src/src'
make -C src/ modules
make[1]: Entering directory `/home/pratik/Desktop/driver/ndis_driver/ndis_src/src'
#/home/pratik/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh  "modules" "/lib/modules/3.8.0-19-generic/build/include/linux/usb"
make -C /lib/modules/3.8.0-19-generic/build SUBDIRS=/home/pratik/Desktop/driver/ndis_driver/ndis_src/src modules
make[2]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  CC [M]  /home/pratik/Desktop/driver/ndis_driver/ndis_src/src/hw_cdc_driver.o
make[2]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make[1]: Leaving directory `/home/pratik/Desktop/driver/ndis_driver/ndis_src/src'
make -C src/ install
make[1]: Entering directory `/home/pratik/Desktop/driver/ndis_driver/ndis_src/src'
#install -m 744 -c hw_cdc_driver.o /lib/modules/3.8.0-19-generic/kernel/drivers/usb/net
#depmod -a
#modprobe hw_cdc_driver
/home/pratik/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh  "install"
modprobe hw_cdc_driver
make[1]: Leaving directory `/home/pratik/Desktop/driver/ndis_driver/ndis_src/src'
#[31;1m
Install NDIS driver failed.
The compiling environment is not all ready.
Please check gcc, make and kernel buid(/lib/modules/3.8.0-19-generic/build) to be all installed?
#[34;1mNow please enter any key to finish other installations.#[0;0m
#[31;1mNDIS is disabled, and only Modem can be used.#[0;0m
USBSERIAL_TARGET_PATH = 
ACM_TARGET_PATH = 
have usb_modeswitch rules to HUAWEI DataCard: COUNT=1
RULESFILE =/lib/udev/rules.d/40-usb_modeswitch.rules
COUNT_START=1
COUNT_END=0
3
ttyUSB%n COUNT=3
2-1.3:1.3 unbind and bind option
COUNT_END=2
2-1.3:1.2 unbind and bind option
COUNT_END=1
2-1.3:1.0 unbind and bind option
COUNT_END=0
ADDRUNLEVEL=/etc/rc5.d
ADDRUNLEVEL=/etc/rc3.d
ADDRUNLEVEL=/etc/rc2.d
ADDRUNLEVEL=/etc/rc4.d

marked as duplicate by Avinash Raj, txwikinger, kiri, Eliah Kagan, mikewhatever Jan 18 '14 at 6:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Please refer to fix the NDIS - askubuntu.com/a/368669/44518 – karan Jan 17 '14 at 10:05
  • @karan - from your link i successfully installed the driver. But how to start inetnet now? – user3181411 Jan 17 '14 at 10:49
  • If the answer to that question solved your problem then this is a duplicate. If you have a new question, please post a new question using the Ask Question button top right with further details. – David Edwards Jan 17 '14 at 11:34

Browse other questions tagged or ask your own question.