DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th July 2008
ronaldmcdonald9 ronaldmcdonald9 is offline
New User
 
Join Date: Jul 2008
Posts: 6
Thanked 0 Times in 0 Posts
Post USB wireless network adapter, ndis problem

Hi. I have the D-Link DWL-G122 Rev. A2 USB wireless network adapter (the one not supported by FreeBSD 7), so I am trying to get it to work with ndis. I run
Code:
ndisgen PRISMA02.inf PRISMA02.sys
where PRISMA02.* are the Windows XP drivers for this USB wireless network adapter. This part works fine, and I get the PRISMA02_sys.ko file. I am able to load it with
Code:
kldload PRISMA02_sys.ko
and I have also copied it to /boot/modules and edited /boot/loader.conf to load it on boot. Everything up to this point works fine. But after PRISMA02_sys.ko, if_ndis.ko and ndis.ko are loaded, I am not able to use the ndis0 device, that is, when I run
Code:
ifconfig ndis0
it tells me that the device cannot be found. I've looked at the handbook, and also searched for solutions to similar problems, but everything I find on this issue is like 4 years old and says that USB is not yet supported by ndis. I'm not sure if it is, but I looked at the FreeBSD CVS repository and it does look like USB support has been implemented. Obviously I am doing something wrong or missing something, but I am not sure what it is. Please let me know if you have any ideas. Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 7th July 2008
ronaldmcdonald9 ronaldmcdonald9 is offline
New User
 
Join Date: Jul 2008
Posts: 6
Thanked 0 Times in 0 Posts
Default

It looks like my USB wireless network adapter is appearing as ugen0, but
Code:
ifconfig ugen0
says that ugen0 is not an interface. Interestingly, it also identifies the chipset as GlobespanVirata Cohiba 3887 rev0. It turns out that GlobespanVirata has merged with Conexant, and on the Conexant drivers page there is a link for Linux drivers for this product to www.linuxant.com who have developed the product DriverLoader for Linux which works just like ndiswrapper, but they don't have any equivalent for BSD. But I haven't found a solution yet.

Last edited by ronaldmcdonald9; 8th July 2008 at 12:04 AM.
Reply With Quote
  #3   (View Single Post)  
Old 8th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

ugen(4) is the USB "generic" device, it will attach when no other driver can.

Please read man pages.

Last edited by BSDfan666; 8th July 2008 at 04:40 PM.
Reply With Quote
  #4   (View Single Post)  
Old 8th July 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

FreeBSD does not yet fully support USB devices through NDIS - read : it doesnt work.

Instead, try p54u driver from prism54 project: www.prism54.org

It is available as port net/p54u

Last edited by richardpl; 8th July 2008 at 04:32 PM.
Reply With Quote
  #5   (View Single Post)  
Old 9th July 2008
ronaldmcdonald9 ronaldmcdonald9 is offline
New User
 
Join Date: Jul 2008
Posts: 6
Thanked 0 Times in 0 Posts
Default

Hi. This looks exactly like what I've been looking for. However, I am now having some difficulty installing it in FreeBSD 7. I run the following commands as root:
Code:
cd /usr/ports/net/p54u
make install clean
and I get compilation errors, of the type where symbols are not defined, and so on. (I don't have the exact output with me, because I don't have Internet access without this driver.) I have also tried installing it using the www.prism54.org method (not as a port, I just run the make command provided with the p54u-0.8.tar.bz2 file), and this is where I am getting the compilation errors. What should I do? Note that this is now a port installation problem.

Note: I have tried every previous version of this driver and each one fails to compile. Does this have something to do with the fact that these drivers were written for FreeBSD 6, but I have FreeBSD 7? Or is it possible that I am missing some kernel header files somewhere or something (even though this port has no dependencies other than itself)?

Also, according to http://portsmon.freebsd.org/chartsan...ph.i386-7.html, net/p54u "should be in sync with the kernel to work correctly"? Could this be the problem?

Last edited by ronaldmcdonald9; 9th July 2008 at 03:40 AM.
Reply With Quote
  #6   (View Single Post)  
Old 9th July 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

Absolutely, post output of error, and maybe something will come up, also send bug for that port.
Reply With Quote
Reply

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Network Loses Connection JMJ_coder NetBSD General 5 17th February 2009 09:14 PM
Nvidia nForce MCP77 network adapter issue padmanabh FreeBSD Installation and Upgrading 5 17th January 2009 12:18 PM
Wireless Network Problem fuma218 NetBSD General 8 8th January 2009 12:00 AM
Wireless Network Config working -- almost JMJ_coder General software and network 4 20th November 2008 05:10 PM
Wireless + wired = confused network setup davidgurvich FreeBSD General 3 27th May 2008 06:10 PM


All times are GMT. The time now is 07:26 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick