Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Driver installation fails, should be easy for you guys

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-05-2008   #1 (permalink)
Just Joined!
 
Join Date: Nov 2008
Posts: 1
Driver installation fails, should be easy for you guys

OK, get a PCI WiFi card from ebay, 13 bucks, works great in Windows after driver installation, (also works great for web browsing using ndiswrapper, but I'll talk later about how I want the actual drivers not to work, not ndiswrapper) I want to get it to work in Linux, has a Realtek 8185 chipset, so I check the website, download a .tar.gz driver file.

Decompress it.

OK, easy enough, got some files, one is a readme, should be simple

(NOTE: Since then I have now run all of this rubbish as root, no difference)

< Installation >
Running the scripts can finish all operations of building up modules from source code and start the nic:

(1)Build up the driver from the source code
./makedrv

(2)Load the driver module to kernel and start up nic
./wlan0up
(if "insmod: error inserting 'r8180.ko': -File exists." met,
./wlan0rmv
./wlan0down
./wlan0up
should be OK.
)

So I open terminal, go to my folder, which is on my desktop, type in "./makedrv"

Code:
john@john-desktop:~/Desktop/rtl8185_linux_26.1027.0823.2007$ ./makedrv
./ieee80211/
./ieee80211/ieee80211_module.c
./ieee80211/ieee80211_rx.c
./ieee80211/tags
./ieee80211/Makefile
./ieee80211/ieee80211_crypt_tkip.c
./ieee80211/ieee80211_softmac.c
./ieee80211/readme
./ieee80211/ieee80211_crypt_ccmp.c
./ieee80211/ieee80211.h
./ieee80211/ieee80211_tx.c
./ieee80211/ieee80211_softmac_wx.c
./ieee80211/ieee80211_crypt.h
./ieee80211/ieee80211_wx.c
./ieee80211/license
./ieee80211/ieee80211_crypt_wep.c
./ieee80211/ieee80211_crypt.c
rtl8185/
rtl8185/README.adhoc
rtl8185/r8180_sa2400.h
rtl8185/Makefile
rtl8185/copying
rtl8185/README.master
rtl8185/r8180.h
rtl8185/install
rtl8185/r8180_max2820.h
rtl8185/r8180_max2820.c
rtl8185/r8180_rtl8225.h
rtl8185/r8180_wx.h
rtl8185/authors
rtl8185/tags
rtl8185/r8180_pm.c
rtl8185/r8180_hw.h
rtl8185/r8180_gct.c
rtl8185/r8180_gct.h
rtl8185/r8180_rtl8225.c
rtl8185/readme
rtl8185/r8180_93cx6.h
rtl8185/ieee80211.h
rtl8185/license
rtl8185/r8180_pm.h
rtl8185/changes
rtl8185/r8180_rtl8225z2.c
rtl8185/r8180_wx.c
rtl8185/r8180_rtl8255.c
rtl8185/r8180_93cx6.c
rtl8185/r8180_sa2400.c
rtl8185/r8180_core.c
rtl8185/r8180_rtl8255.h
rtl8185/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko 
rm -rf /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/tmp
make -C /lib/modules/2.6.24-21-generic/build M=/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.o
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2236: warning: assignment from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2237: warning: assignment from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2238: warning: assignment from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2239: warning: assignment from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2240: warning: assignment from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2241: warning: assignment from incompatible pointer type
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_rx.o
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_tx.o
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_wx.o
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_module.o
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac_wx.o
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt.o
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.o
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_aes_encrypt’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:88: warning: passing argument 1 of ‘crypto_cipher_encrypt_one’ from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_init’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:110: warning: assignment from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:127: warning: passing argument 1 of ‘crypto_free_cipher’ from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_deinit’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:144: warning: passing argument 1 of ‘crypto_free_cipher’ from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_set_key’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:422: warning: passing argument 1 of ‘crypto_cipher_setkey’ from incompatible pointer type
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.o
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.c: In function ‘ieee80211_tkip_encrypt’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.c:417: error: ‘struct scatterlist’ has no member named ‘page’
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.c: In function ‘ieee80211_tkip_decrypt’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.c:511: error: ‘struct scatterlist’ has no member named ‘page’
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.c: In function ‘michael_mic’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.c:613: error: ‘struct scatterlist’ has no member named ‘page’
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.c:617: error: ‘struct scatterlist’ has no member named ‘page’
make[2]: *** [/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.o] Error 1
make[1]: *** [_module_/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/tmp
make -C /lib/modules/2.6.24-21-generic/build M=/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
  CC [M]  /home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.o
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘rtl8180_proc_module_init’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:588: error: ‘proc_net’ undeclared (first use in this function)
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:588: error: (Each undeclared identifier is reported only once
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:588: error: for each function it appears in.)
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘rtl8180_proc_module_remove’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:594: error: ‘proc_net’ undeclared (first use in this function)
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘rtl8180_init’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3159: warning: assignment from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3522: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3522: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c: In function ‘rtl8180_pci_probe’:
/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:4213: error: implicit declaration of function ‘SET_MODULE_OWNER’
make[2]: *** [/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.o] Error 1
make[1]: *** [_module_/home/john/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make: *** [modules] Error 2
john@john-desktop:~/Desktop/rtl8185_linux_26.1027.0823.2007$
Seems screwed up, lets try wlan0up to make sure

Code:
john@john-desktop:~/Desktop/rtl8185_linux_26.1027.0823.2007$ ./wlan0up
insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
insmod: can't read 'r8180.ko': No such file or directory
wlan0: ERROR while getting interface flags: No such device
john@john-desktop:~/Desktop/rtl8185_linux_26.1027.0823.2007$
OK, rubbish, lets try ./wlan0rmv and then do as it says to do wlan0down then wlan0up, or whatever it says in the readme, turns out there is no ./wlan0rmv in the folder...nice, in the readme it says to use it, but it doesn't exist.

Now as I said, ndiswrapper gets it working, but I want to also mess around with some wep cracking (for real just cracking my own for fun) but, when I go to do I think it is airmon-ng stop start or whatever, it says ndiswrapper drivesr aren't supported.

So I need to get this fricking driver working on my system, which is the latest ubuntu linux clean install with all of the updates (got it to a wired connection to download all of the updates) the driver for the wifi card says it is for linux kernel 2.6.22 so do you think that could be the issue?

I don't know really what to do when it comes to linux, I am very smart and good with computers so I can do whatever you want me to, just I don't know what to do....

Thanks!
then00bking is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:54 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2