LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   D-Link DWL-122 driver for FreeBSD 5.x (https://www.linuxquestions.org/questions/%2Absd-17/d-link-dwl-122-driver-for-freebsd-5-x-193682/)

CyberBotX 06-15-2004 03:28 AM

D-Link DWL-122 driver for FreeBSD 5.x
 
Does anyone know if there any FreeBSD 5.x drivers that will allow the wireless adapter DWL-122 from D-Link to function? I'm currently using Windows 2000 Pro but I so want to move to FreeBSD for my main OS and I need to know if this is available.

cnjohnson 06-15-2004 07:51 AM

IIRC, the DWL-122 is a Prism chipset and freeBSD supports 2/2.5/3 Prism sets. It also has excellent USB support, so I would give it a shot! Then post your results here.

Cheers--
Charles

CyberBotX 06-18-2004 03:14 AM

Thanks for the suggestion. Anyways, I took the adapter out of my PC and put it into my other one that does have FreeBSD 5.x on it, FreeBSD successfully recognized it as a D-Link product. However, it could not be used for an Internet connection. I think I need some software to make it work. Anything like that for FreeBSD, or something similar?

cnjohnson 06-18-2004 08:53 AM

Quote:

Originally posted by CyberBotX
Thanks for the suggestion. Anyways, I took the adapter out of my PC and put it into my other one that does have FreeBSD 5.x on it, FreeBSD successfully recognized it as a D-Link product. However, it could not be used for an Internet connection. I think I need some software to make it work. Anything like that for FreeBSD, or something similar?
I will need a bit more information.

Can you see the device when you do an ifconfig? How about posting the output from ifconfig?

What does dmesg say about the device?

You may also have to put the ifconfig information in rc.conf. So what does that file look like?

Cheers--
Charles

CyberBotX 06-18-2004 05:39 PM

OK, in dmesg.boot it shows this:

ugen0: D-Link product 0x3700, rev 1.10/1.32, addr 2

In ifconfig, it doesn't even show up:

dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::204:5aff:fe71:65d1%dc0 prefixlen 64 scopeid 0x1
ether 00:04:5a:71:65:d1
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

And I added this line to rc.conf, with no success:

ifconfig_ugen0="inet 192.168.0.150 netmask 255.255.255.0"

I know that for Windows, I needed a special software program that D-Link gives with the adapter for it to function. I think I need a FreeBSD equivilent for that, even if it's generic.

cnjohnson 06-20-2004 03:07 PM

Quote:

Originally posted by CyberBotX
OK, in dmesg.boot it shows this:

ugen0: D-Link product 0x3700, rev 1.10/1.32, addr 2

In ifconfig, it doesn't even show up:

dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::204:5aff:fe71:65d1%dc0 prefixlen 64 scopeid 0x1
ether 00:04:5a:71:65:d1
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

Which device is dc0?

Cheers--
Charles

CyberBotX 06-20-2004 04:51 PM

dc0 is the on-board LAN connection. I read the FreeBSD manual online, it says it supports wireless networking internally. I think the problem might be that it's not being recognized as a wireless adapter because it is a USB one. I figure I'd have a wi0 or something if it was detected properly.

cnjohnson 06-21-2004 01:06 PM

OK, dc0 is the onboard lan.

With the USB device unplugged, do an "ls /dev" to get a listing of the devices in /dev.

Plug the device in and do the "ls /dev" again, and see what the new device is (if any).

Is it called ugen0??

Cheers--
Charles

PS. Forgive me if you have already done this. I can be pretty dense sometimes. :)

CyberBotX 06-22-2004 02:18 AM

OK, the only things added to /dev after putting in the USB device are ugen0, ugen0.1, ugen0.2, and ugen0.3, if that helps any.

cnjohnson 06-22-2004 01:47 PM

Yes, it does, and I am afraid you will have to see if you can find a driver somewhere. The ugen device is the generic USB storage device. That is not exactly what you want. :)

Sorry about that. Have a look around the net and see what you can find. You might try e-mailing the manufacturer and see what they have to say.

Cheers--
Charles


All times are GMT -5. The time now is 05:07 PM.