Öncelikle Arşivimizi açıp içerisindeki install betiğine calıştırma hakkı verelim.
Şimdide Sudo ile Çalıştıralım. Çıktılar Aşağıda.
//Çıktı
Please input the absolute path for install[/usr/local/VINN]:
Local path is: /usr/local/VINN
Installing VINN...DRIVER COPY START
STA_PATH_FLAG=.
STA_PATH_FULL=/usr/local/VINN/driver/install
START_PATH_DRIVER=/usr/local/VINN/driver
CURRENT install from ./driver/install
INSTALL_PATH=/usr/local/VINN
DRIVER COPY END
/usr/local/VINN/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/VINN/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/VINN/driver/ndis_driver/ndis_src/src/add_header.sh "clean" "/lib/modules/3.2.0-23-generic/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/VINN/driver/ndis_driver/ndis_src/src'
make: *** [clean] Error 2
make -C src/ modules
make[1]: Entering directory `/usr/local/VINN/driver/ndis_driver/ndis_src/src'
#/usr/local/VINN/driver/ndis_driver/ndis_src/src/add_header.sh "modules" "/lib/modules/3.2.0-23-generic/build/include/linux/usb"
make -C /lib/modules/3.2.0-23-generic/build SUBDIRS=/usr/local/VINN/driver/ndis_driver/ndis_src/src modules
make[2]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
CC [M] /usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.o
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘rx_tlp_parse’:
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:1084:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘cdc_ncm_config’:
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2035:24: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2036:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2036:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2040:21: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c: In function ‘hw_cdc_probe’:
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:3021:26: warning: ‘ctx’ may be used uninitialized in this function [-Wuninitialized]
/usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c:2794:21: note: ‘ctx’ was declared here
Building modules, stage 2.
MODPOST 1 modules
CC /usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.mod.o
LD [M] /usr/local/VINN/driver/ndis_driver/ndis_src/src/hw_cdc_driver.ko
make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
strip --strip-debug hw_cdc_driver.o
make[1]: Leaving directory `/usr/local/VINN/driver/ndis_driver/ndis_src/src'
make -C src/ install
make[1]: Entering directory `/usr/local/VINN/driver/ndis_driver/ndis_src/src'
#install -m 744 -c hw_cdc_driver.o /lib/modules/3.2.0-23-generic/kernel/drivers/usb/net
#depmod -a
#modprobe hw_cdc_driver
/usr/local/VINN/driver/ndis_driver/ndis_src/src/add_header.sh "install"
modprobe hw_cdc_driver
make[1]: Leaving directory `/usr/local/VINN/driver/ndis_driver/ndis_src/src'
The Linux NDIS driver is installed successfully.
have usb_modeswitch rules to HUAWEI DataCard: COUNT=1
RULESFILE =/lib/udev/rules.d/40-usb_modeswitch.rules
COUNT_START=1
COUNT_END=0
ADDRUNLEVEL=/etc/rc2.d
`/etc/rc2.d/S99runhwactivator' -> `/etc/init.d/runhwactivator'
`/etc/rc2.d/K10runhwactivator' -> `/etc/init.d/runhwactivator'
ADDRUNLEVEL=/etc/rc3.d
`/etc/rc3.d/S99runhwactivator' -> `/etc/init.d/runhwactivator'
`/etc/rc3.d/K10runhwactivator' -> `/etc/init.d/runhwactivator'
ADDRUNLEVEL=/etc/rc4.d
`/etc/rc4.d/S99runhwactivator' -> `/etc/init.d/runhwactivator'
`/etc/rc4.d/K10runhwactivator' -> `/etc/init.d/runhwactivator'
ADDRUNLEVEL=/etc/rc5.d
`/etc/rc5.d/S99runhwactivator' -> `/etc/init.d/runhwactivator'
`/etc/rc5.d/K10runhwactivator' -> `/etc/init.d/runhwactivator'
ls: cannot access /lib/libc.so.*: No such file or directory
[ done ]
Finished, press any key to exit
caylak@caylak-HP-nx9010 ~/Masaüstü/Linux $
Çıktıda Belirtildiği gibi Kernel modulunun eklenip eklenmediğini kontrol edelim.
Herşey Yolunda Görünüyor Ne Güsel :)
// kod
sudo depmod -a
şimdi insmod komutu ile kontrol edelim Kernel yeni modulu yüklüyormu?
Evet Herşey yolunda Görünüyor. En üst satırda modul listelenmiş halde :) Fevkalade :)
Normalde insmod komutunu kullanmamız gerekmiyor. Udev bunu bizim için yapıyor zaten.
Sisteme Kurulan WINN yazılımını çalıştıralım. Menu -> internet -> WINN tıklayalım.
Beni üzen tek şey test edecek cihazın elimde bulunmaması.
Şimdi Tüm kablolu ve kablosuz Ağ bağlantılarını kapatıp, makinamızı reboot edelim.
WINN modem usb portta takılı iken boot ettiğimizde cihazın tanınmış olması gerekiyor.
Benim Yaptıklarım bu kadar.
Tabiki Server Hocamız Bide Dmesg Çıktısını mailden yollamasını beklemek var :(
Edit: saat: 16:34 Hocamız Dmesg Çıktısını yolladı.
Modem Kullanılmaya Başlandı :)
[ 663.997285] sr 7:0:0:0: Attached scsi CD-ROM sr0
[ 663.998161] sr 7:0:0:0: Attached scsi generic sg2 type 5
[ 663.999903] sd 8:0:0:0: Attached scsi generic sg3 type 0
[ 664.003817] sd 8:0:0:0: [sdc] Attached SCSI removable disk
[ 664.865098] option 1-1:1.0: GSM modem (1-port) converter detected
[ 664.868963] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 664.869435] option 1-1:1.3: GSM modem (1-port) converter detected
[ 664.870079] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 664.870411] option 1-1:1.4: GSM modem (1-port) converter detected
[ 664.870965] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Mutlu Son :)
Server ACİM hocamız Blog Girdisi Yazmış.
http://serveracim.blogspot.com/2012/09/vinn-linux-ve-mutlu-son.html
Teşekkürler. Ben de yaptıklarımı aşağıdaki adreste anlattım. Şu anda zaten VINN ile bağlanarak yapmaktayım herşeyi.
YanıtlaSilhttp://serveracim.blogspot.com/2012/09/vinn-linux-ve-mutlu-son.html
Anlatım için teşekkürler, çok faydalı oldu.
YanıtlaSil