Проблема при установке драйвера модема Huwaei E303C
Я извлек драйвер Huwaei Linux в папку на рабочем столе, а затем выполнил следующие команды:
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