LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2010, 04:12 PM   #1
jacquesbg
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
edimax ew-7326ig wireless 11b/g PCI adapter


I have bought a edimax ew-7326ig wireless 11b/g PCI adapter that - according to the box - also supports linux.

The CD contains a file rtl8185_linux_26[1].1027.0823.2007.tar.gz.

when I unpack the file I get a directory containg a.o.:
stack.tar.gz
rtl8185.tar.gz

and a script file makedrv, listing:

#!/bin/bash
tar -zvxf stack.tar.gz
tar -zvxf rtl8185.tar.gz
cd ieee80211
make clean
make
cd ../rtl8185
make clean
make
cd ../

Readme says a.o.:

RTL8185 Linux Driver v1027.0823.2007 for linux kernel 2.6
- Support Client mode for either infrastructure or adhoc mode
- Support WEP and WPAPSK/WPA2PSK connection

When I run makedrv, I get the following error messages:
(...)
make -C /lib/modules/2.6.29.6-smp/build M=/root/Desktop/wireless/Driver-Utility for Linux/rtl8185_linux_26.1027.0823.2007/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.29.6'
make[1]: *** No rule to make target 'for' . Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.29.6'
make: *** [modules] Error 2.
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /root/Desktop/wireless/Driver-Utility for Linux/rtl8185_linux_26.1027.0823.2007/rtl8185/tmp
make -C /lib/modules/2.6.29.6-smp/build M=/root/Desktop/wireless/Driver-Utility for Linux/rtl8185_linux_26.1027.0823.2007/rtl8185 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-2.6.29.6'
make[1]: *** No rule to make target 'for' . Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.29.6'
make: *** [modules] Error 2.

It is a fresh install of slackware. I attached the Makefile in rtl8185.tar.gz

Thanks for any help in resolving this

Listing Makefile:
#EXTRA_CFLAGS += -DCONFIG_IEEE80211_NOWEP=y
#EXTRA_CFLAGS += -DCONFIG_RTL8180_IOMAP
EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/wireless
EXTRA_CFLAGS += -std=gnu89
EXTRA_CFLAGS += -O2
CC = gcc
#EXTRA_CFLAGS += -mhard-float -DCONFIG_FORCE_HARD_FLOAT=y

#ieee80211-r8180-objs := ieee80211.o ieee80211_rx.o ieee80211_tx.o ieee80211_wx.o ieee80211_module.o

#ieee80211_crypt-r8180 := ieee80211_crypt-r8180.o

r8180-objs := r8180_core.o r8180_sa2400.o r8180_93cx6.o r8180_wx.o r8180_max2820.o r8180_gct.o r8180_rtl8225.o r8180_rtl8225z2.o r8180_rtl8255.o

#ieee80211_crpt_wep-r8180-objs := ieee80211_crypt_wep-r8180.o

obj-m += r8180.o
#obj-m +=ieee80211-r8180.o
#obj-m +=ieee80211_crypt-r8180.o
#obj-m +=ieee80211_crypt_wep-r8180.o

MODULES_LST := r8180.ko
#ieee80211-r8180.ko ieee80211-r8180_crypt.ko
#MODULES_ALG_LST := ieee80211_crypt_wep-r8180.ko

KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
INSTALL_PREFIX :=

all: modules

clean:
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf $(PWD)/tmp

modules:
# $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) MODVERDIR=$(PWD) modules
$(MAKE) -C $(KSRC) M=$(PWD) CC=$(CC) modules

MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless
#MOD_ALGDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/alg

install: modules
mkdir -p $(MODDESTDIR)
# mkdir -p $(MOD_ALGDESTDIR)
install -p -m 644 $(MODULES_LST) $(MODDESTDIR)
# install -p -m 644 $(MODULES_ALG_LST) $(MOD_ALGDESTDIR)

uninstall:
cd $(MODDESTDIR) && rm $(MODULES_LST)
# cd $(MOD_ALGDESTDIR) && rm $(MODULES_ALG_LST)

load:
./module_load

unload:

./module_unload
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
EDIMAX Lan PCI Adapter chipset Ralink RT2561/RT61 802.11g xcristi Linux - Wireless Networking 1 02-21-2009 09:30 AM
problem figuring out the Edimax wireless hi-gain USB Adapter glasgow SUSE / openSUSE 1 02-11-2007 09:22 AM
ZyAIR g-302 802.11b/g wireless pci adapter on ubuntu iguanagurl Linux - Hardware 1 07-06-2006 09:10 PM
Cisco 350 wireless adapter 802.11B D_Linux Linux - Software 4 04-19-2005 09:30 AM
Netgear MA311 802.11b Wireless PCI Adapter [DRIVERS]? gujuboy Linux - Wireless Networking 39 10-15-2004 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration