Mailinglist Archive: opensuse (924 mails)

< Previous Next >
Re: [opensuse] How to get 'rooter' than root?
Op 23-10-12 17:37, Oddball schreef:
Op 23-10-12 17:28, Meike Stone schreef:
After making all files executable, i opened a terminal, became root, went to
the dir and: './install'

EeePc-Rob-SFN9:/home/oddball/Downloads/Huawei/Linux # ./install
The Script uses:

[ `id | awk '{print $1}'` != "uid=0(root)" ]

to check root.

Look what "id" says:

~# id | awk '{print $1}'

.. and if wrong, login native as root or use "su -" (=> make the shell
a login shell)

Kindly regards

Indeed, a subtle mistake, carlos pointed it out to me...
Thanx for your reply ;-)

Only the interface to make connection was installed, not the drivers.
(took too little time anyway)
Apparently not all dependencies were fulfilled.

Please input the absolute path for install[/usr/local/Movistar_3.5G]: /usr/local/Mobile_Partner/

Local path is: /usr/local/Mobile_Partner//Movistar_3.5G

Installing Movistar 3.5G.../usr/local/Mobile_Partner//Movistar_3.5G/driver/ndis_driver
Usage: modinfo [-0][-F field][-k kernelversion][-b basedir] module...
Prints out the information about one or more module(s).
If a fieldname is given, just print out that field (or nothing if not found).
Otherwise, print all information out in a readable form
If -0 is given, separate with nul, not newline.
If -b is given, use an image of the module tree.
ERROR: Removing 'cdc_ether': No such file or directory
ERROR: Removing 'usbnet': No such file or directory
ERROR: Removing 'hw_cdc_driver': No such file or directory
make -C src/ clean
make[1]: Entering directory `/usr/local/Mobile_Partner/Movistar_3.5G/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
/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src/ "clean" "/lib/modules/3.4.11-2.16-desktop/build/include/linux/usb"
rmmod -f hw_cdc_driver
ERROR: Removing 'hw_cdc_driver': No such file or directory
make[1]: *** [clean] Error 1
make[1]: Leaving directory `/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src'
make: *** [clean] Error 2
make -C src/ modules
make[1]: Entering directory `/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src'
#/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src/ "modules" "/lib/modules/3.4.11-2.16-desktop/build/include/linux/usb"
make -C /lib/modules/3.4.11-2.16-desktop/build SUBDIRS=/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src modules
make: Entering an unknown directory
make: *** /lib/modules/3.4.11-2.16-desktop/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src'
make: *** [modules] Error 2
make -C src/ install
make[1]: Entering directory `/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src'
#install -m 744 -c hw_cdc_driver.o /lib/modules/3.4.11-2.16-desktop/kernel/drivers/usb/net
#depmod -a
#modprobe hw_cdc_driver
/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src/ "install"
modprobe hw_cdc_driver
FATAL: Module hw_cdc_driver not found.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/local/Mobile_Partner/Movistar_3.5G/driver/ndis_driver/ndis_src/src'
make: *** [install] Error 2

Install NDIS driver failed.
The compiling environment is not all ready.
Please check gcc, make and kernel buid(/lib/modules/3.4.11-2.16-desktop/build) to be all installed?
Now please enter any key to finish other installations.

gcc, make are installed.
But how do i find kernel buid(/lib/modules/3.4.11-2.16-desktop/build) i can not find..
How would i be able to come by those?

Kind Regards.


Have a nice day,

OS: Linux 3.4.11-2.16-desktop i686
Huidige gebruiker: oddball@EeePc-Rob-SFN9
Systeem: openSUSE 12.2 (i586)
KDE: 4.8.5 (4.8.5) "release 2"

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups