LinuxQuestions.org
Visit Jeremy's Blog.
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 05-30-2005, 09:42 PM   #1
Lacertosum
LQ Newbie
 
Registered: May 2005
Posts: 8

Rep: Reputation: 0
Wireless Network Setup, PCI Card


Hey Everyone,
I just bought a D-Link DWL-520 2.4Gz Wirless PCI Adapter revision D2 card.
I searched but couldnt find much on this card but I came to conclusion that I think that the chipset for the card is the RealTek 8180L chipset. I found the linux drivers for this chipset right here:
http://www.realtek.com.tw/downloads/...2002121Unix%20
I downloaded the 2.6.x driver from that website as I am currently running on a 2.6.11.8 kernel. Does anyone know how I set this driver up on linux as I am having a really hard time getting wireless to work. I have no internet connection so I downloaded this zip file on windows. I can easily transfer this to linux. What do I do to install the driver and put it in the source for every time I log on. There is a make file in the zipper files so I am guessing I need to do make, make install. Do i need to do anything afterwards with modprobe or edit anything in source or anything?

Thanks for all the help

~lacertosum

Last edited by Lacertosum; 05-30-2005 at 09:43 PM.
 
Old 05-30-2005, 10:03 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
I think this is the same chipset that has a thread on the wireless networking forum here at LQ that is hundreds of posts long. I would search there. There were directions posted there for using the linux driver or using ndiswrapper and using the XP driver.
 
Old 05-30-2005, 10:13 PM   #3
Lacertosum
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
hmm, I could not find it.

I searched for my chipset in the netowrking part of these forums
http://www.linuxquestions.org/questi...by=&sortorder=
I did not see any larg threads. That article near the top on how to install the driver was just confusing. I dont use the same kernel or distro and did not download the same driver. Mine is a newer one for 2.6.x kernels. Do you happen to know where this thread is?
 
Old 05-30-2005, 10:54 PM   #4
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
http://www.linuxquestions.org/questi...5&pagenumber=1
is the one I was thinking of, I also see this one that may apply to you
http://www.linuxquestions.org/questi...hreadid=125839

I just looked at the page you linked to, did you try the ndiswrapper how to... that is what I use now and it worked fine.

Last edited by ringwraith; 05-30-2005 at 11:10 PM.
 
Old 05-31-2005, 12:25 AM   #5
Lacertosum
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
wow this is hard, i gotta fix the make file before i can do make, make install to get the .ko file
this is what teh make file currently looks like

Code:
#-----------------------------------------------
#Specify kernel version and include path
#-----------------------------------------------
KERNELRELEASE=$(shell uname -r)
INCLUDEPATH=-I /usr/src/linux-$(KERNELRELEASE)/include/
INSTALLPATH=/lib/modules/$(KERNELRELEASE)/kernel/drivers/net/wireless


#-----------------------------------------------
#Specify compiler and compile flags.
#-----------------------------------------------
XCC = gcc
LD = ld
MODCFLAGS := -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX


#-----------------------------------------------
#IO_FLAGS
#Specify pci I/O space mapping
#if High memory configuration has been turned on,
#RTL_IO_MAP is the suggestion since ioremap 
#would fail. 
#-----------------------------------------------
#IO_FLAGS = RTL_MEM_MAP
IO_FLAGS = RTL_IO_MAP

#-----------------------------------------------
#ENDIAN_FLAGS
#Specify memory access mothed. 
#RTL_LITTLE_ENDIAN is the suggestion on i386.
#-----------------------------------------------
#ENDIAN_FLAGS = RTL_BIG_ENDIAN
ENDIAN_FLAGS = RTL_LITTLE_ENDIAN


#-----------------------------------------------
# Wireless LAN operation mode. 
#-----------------------------------------------
#OP_MODE_FLAGS = RTL_ACT_AS_AP
OP_MODE_FLAGS = RTL_ACT_AS_STA



#-----------------------------------------------
# Wireless LAN driver flags.
#-----------------------------------------------
DRV_FLAGS = -D$(IO_FLAGS) -D$(ENDIAN_FLAGS) -D${OP_MODE_FLAGS} -DRTL8180_DRV_ON_PC -DENABLE_DBG_PRINT


#-----------------------------------------------
# Driver Target
#-----------------------------------------------
RTL8180_TARGET = rtl8180_24x.o


#-----------------------------------------------
#module initialization and interface.
#-----------------------------------------------
OPEN_SRCS = r8180_pci_init.c r8180_if.c

OPEN_OBJS = ${OPEN_SRCS:.c=.o}



# SUFFIXES fules
.SUFFIXES: .c .o
.c.o:
	$(XCC) $(MODCFLAGS) $(INCLUDEPATH) ${DRV_FLAGS} -c -o $*.o $<


#.PHONY: all clean

all: $(RTL8180_TARGET)


$(RTL8180_TARGET): open_part
	@echo "--- Generate rtl8180 linux driver  $(RTL8180_TARGET) on $(KERNELRELEASE) ---"
	@$(LD) -r -o $@ ${^:=.o} priv_part.o
	@rm -f ${^:=.o};
	@echo ""

open_part: ${OPEN_OBJS}
	@echo "--- Generate open part open_part.o ---"
	@$(LD) -r -o $@.o ${OPEN_OBJS}
	@rm -f ${OPEN_OBJS}
	@echo ""


${OPEN_OBJS}: %.o: %.h r8180_type.h r8180_export.h

install:
	cp $(RTL8180_TARGET) $(INSTALLPATH)


clean:
	mv priv_part.o priv_part;\
	rm -f *.o;\
	mv priv_part priv_part.o
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Belkin Wireless PCI Network Card SUSE 9.0 Skute Linux - Wireless Networking 5 09-20-2006 11:36 PM
I need to find Drivers for a US Robotics PCI wireless network card newlinuxuser03 Linux - Wireless Networking 7 02-20-2005 02:42 PM
Wireless Network with DWL-520+ pci card and DI-614+ router v_a_p23 Linux - Hardware 3 12-11-2004 09:37 PM
How do I setup Netgear ma311 wireless network card on Mandrake 10? smolo Linux - Wireless Networking 2 09-28-2004 06:44 PM
Wireless PCI Mandrake 9.2 Setup pnh73 Linux - Wireless Networking 0 02-20-2004 11:58 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration