Guest mastana Posted December 2, 2004 Report Share Posted December 2, 2004 Hi Everyone, I am new to Linux and I have a D-Link DWL-122 and I have tried everything I know to try and configure it under version 10.1 of Mandrake without success. Can anyone help? Thanks, Jack Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 2, 2004 Report Share Posted December 2, 2004 Is that a usb wireless adapter? There are two things you'll have to do - find the right driver or module for the device and do a network configuration file for it. If it's a usb, I believe you should use the prism2_usb module. Quote Link to comment Share on other sites More sharing options...
Guest mastana Posted December 2, 2004 Report Share Posted December 2, 2004 Is that a usb wireless adapter?There are two things you'll have to do - find the right driver or module for the device and do a network configuration file for it. If it's a usb, I believe you should use the prism2_usb module. <{POST_SNAPBACK}> It is a USB adapter and prism2_usb. I tried configuring the adapter by selecting it from the list provided when I went to the system configuration but nothing happened. I just thought of something, do I have to log on to Linux as root? Thanks Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 2, 2004 Report Share Posted December 2, 2004 Let's see if the driver is loaded. Open a console and run: $ su <enter root password> # lsmod That will print out a list of all the loaded modules. If you don't see the prism driver, run: # modprobe prism2_usb That will manually load the driver if it's not already loaded. Next run: # iwconfig This command will list the detected network devices and whether any wireless extensions are detected. Post the printout of this command. With any luck, it will be detected and we can try to come up with the network configuration file for it. I always wind up doing it by hand but it's not that hard. Quote Link to comment Share on other sites More sharing options...
Guest mastana Posted December 3, 2004 Report Share Posted December 3, 2004 I followed your instruction and the following is waht I got: [root@austin jack]# iwconfig lo no wireless extensions. eth0 no wireless extensions. eth2 no wireless extensions. wlan0 no wireless extensions. Thanks. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 3, 2004 Report Share Posted December 3, 2004 That output would indicate that the driver is either not loaded or that the prism driver is not the correct driver. Could you post your lsmod output. You won't get anywhere till you get the right driver loaded for that device if one is available. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted December 3, 2004 Report Share Posted December 3, 2004 (edited) You need: ftp://ftp.linux-wlan.org/pub/linux-wlan-n...1-pre20.tar.bz2 Install the kernel-source that matches your running kernel urpmi kernel-source-2.6 Then tar -jxvf linux-wlan-ng-0.2.1-pre20.tar.bz2 cd linux-wlan-ng-0.2.1-pre20 ./Configure make all make install Now you need to configure your network accordingly with your access point. Edit /etc/wlan/wlan.conf and set your SSID as follows: SSID_wlan0="mywlan" ENABLE_wlan0=y This means you will need a /etc/wlan/wlancfg-mywlan file. Of course if you made this: SSID_wlan0="TrunkMonkey" You need a /etc/wlan/wlancfg-TrunkMonkey file You can use the included wlancfg-DEFAULT for reference. You might want to try first with the default configuration, disabling WEP on your access point, but do not forget to enable it once you know it works: cp /etc/wlan/wlancfg-DEFAULT /etc/wlan/wlancfg-mywlan Make sure you look at this file and edit it to suit your needs. Note: When enabling WEP make sure there are NO spaces/tabs after "=" in the line dot11WEPDefaultKey0=00:01.... otherwise it WILL NOT WORK !!!. I have submitted this info, and hopefully will be corrected in future versions. Configure your IP: ifconfig wlan0 192.168.0.2 netmask 255.255.255.0 route add -net default gw 192.168.0.1 (The above may have to be adapted to fit your needs) This info taken from http://julian.coccia.com/article-53.html and translated to Mandrake Newbie. Edited December 3, 2004 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
Guest mastana Posted December 6, 2004 Report Share Posted December 6, 2004 Hi Steve, I tried what you suggested and some other ideas I received without success. I followed the steps you outlined except the tar file I used was linux-wlan-ng-0.2.1-pre23.tar.bz2. Maybe the result I received when I typed the iwconfig might help. wlan0 IEEE 802.11-b ESSID:"5a91" Nickname:"5a91" Mode:Managed Frequency:2.437GHz Access Point: 00:0E:9B:2A:2B:E1 Bit Rate:11Mb/s Tx-Power:-282994688 dBm Retry min limit:8 RTS thr:off Fragment thr:off Encryption key:off Link Quality:64/92 Signal level:-52 dBm Noise level:-97 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 Thanks, mastana Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 7, 2004 Report Share Posted December 7, 2004 The driver seems to be working but your config file is probably wrong. Please post it. Also try running: # iwlist wlan0 scan That should list all the wireless access points detected with some details about them. Post the output. Next run: # ifconfig wlan0 and post the output. Hopefully with this info we can figure out what's wrong with the config file. The main problem I see is this: Tx-Power:-282994688 dBm That can't be right. Mine is Tx-Power:25 dBm. I'm hoping the above will shed some light on what's wrong. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted December 9, 2004 Report Share Posted December 9, 2004 Also, can you post the output of ifconfig (as root)? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.