LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-19-2006, 08:40 PM   #1
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Ndiswrapper and D-Link DWL-G122


I'm using SUSE 10.1 and I've installed ndiswrapper and installed the windows drivers from the cd for my dlink usb wireless adapter. Everything appears to be working. I can access my routers configuration page, I get an IP address with correct ESSID and KDE WiFiManager says signal strength is 100%. I can do everything except connect to the internet. The output of 'iwlist wlan0 scan' looks like this:

Cell 01 - Address: 00:09:5B:39:B7:4C
ESSID:"default"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:0/100 Signal level:-50 dBm Noise level:-256 dBm
Encryption keyff
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Extra:atim=0

As you can see, Quality is 0/100, which probably isn't good. There's also and entry for Cell 02 which has the same info, though I don't know where it came from since I only set up one. It's probably something simple, but I can't figure it out. Any ideas?
 
Old 05-19-2006, 11:17 PM   #2
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Could you print out a output of ifconfig wlan0? If you can talk to your router, the net connection itself seems to be okay. Can other computers on your network connect to the net? If so, you might need to set the gateway or dns servers manually.
 
Old 05-20-2006, 12:47 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Sure it's not a firewall issue?

Anyway, doesn't that card have an rt2500 chipset? What're you doing messing around with ndiswrapper?
 
Old 05-20-2006, 02:53 PM   #4
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Original Poster
Rep: Reputation: 33
ifconfig wlan0:

wlan0
Link encap:Ethernet HWaddr 00:13:46:E8:22:4D
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::213:46ff:fee8:224d/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1579 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:2 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:241719 (236.0 Kb) TX bytes:2280 (2.2 Kb)

I can't find the rt2500/2570 module on any of the 10.1 discs. I don't know if this is a firewall issue but I don't have any trouble connecting wirelessly to the internet with my iBook or with ethernet on my linux box.
 
Old 05-20-2006, 03:10 PM   #5
lagu2653
Member
 
Registered: Jun 2005
Distribution: Lubuntu 16.04 LTS
Posts: 104

Rep: Reputation: 15
Have you seen this:
http://forums.suselinuxsupport.de/in...=15183&hl=g122

I followed this guide to get my D-Link DWL-G122 to work under SuSE 9.3.
###########################################################
Hi, I just wanted to post a procedure on how to get the DWL-G122 working under SUSE 9.3 PRO. I am fairly new to Linux, so feel free to correct me if you find a mistake. Note that I'm experiencing random disconnection problems, and occasional hangs AND I WOULD GREATLY APPRECIATE ANY HELP IN THIS AREA. Therefore, the following procedure is to get you card working with these glitches. (I am using WEP HEX Shared Key encryption, maybe that's why.... I have not tried to fiddle with the encryption settings too much)

0. First of all make sure you remove your wireless adapter using YAST. In other words, make sure no previous configuration of the wireless adapter exists before following this procedure.

1. Use YAST to install ndiswrapper. You don't need to install the sources.

2. Once ndiswrapperis installed, insert your D-Link CD or download the drivers from the D-Link Site

3. Open a command shell and type su (superuser) and type in the password you assigned to the root user.

4. Using the cd command, navigate to where the .inf files reside. In case you are using the D-Link CD, type cd /media and then use dir to navigate to the Drivers until you find the inf file and the sys file under the same directory

5. Once in the inf file directory type ndiswrapper -i NAMEOFINFFILE.INF where NAMEOFINFFILE is the of your driver

6. Check the driver was properly installed by typing ndiswrap -l You should see that the driver is installed and the hardware is present.

7. Once you checked the driver was installed, type ndiswrapper -m to write to the modprobe configuration file.

8. type modprobe ndiswrapper This will initialize the ndis wrapper. You can now close the command shell

9. Now, go to the network devices administrator in YAST. Add a new device and under module name type in ndiswrapper The type (the dropdown box at the top left area of the dialog) should be set to wireless so the wizard will give you wireless network setup options. I left the checkboxes at the bottom (usb and the other I can't remember) unchecked.

10. Click Next and provide the info needed to connect to your wireless network. Maybe after this ste restarting might not be needed but I did it anyways and the next time I started up my usb DWL-G122 was working. I do get system hangups and random disconnections. I have kinternet running so I have no idea if that might be causing the problem.

Hope this helps some people.
###########################################################

You should use KInternet and the "on cable connect" option in yast. Right click, dial, hang up, dial. Now your DSN should be correct.

Here it is:
http://forums.suselinuxsupport.de/in...=26391&hl=g122

Last edited by lagu2653; 05-20-2006 at 03:37 PM.
 
Old 05-20-2006, 03:36 PM   #6
lnxmomo
LQ Newbie
 
Registered: May 2006
Posts: 29

Rep: Reputation: 15
Hi

im using suse 10.1 and the same adapter as you, i got errors using the inf and sys files of the xp install directory. However, when i used the windows 98 inf and sys files, it all worked perfect. Try these files from the install cd. It should go well.
BTW, the two cell thingy, one is probably 802.11b and the other is 802.11g, its not an error, its normal as u'r router might except different types of signal.

Also, after modprobe, I did the following

iwlist wlan0 scan
ifconfig wlan0 essid your_essid
ifconfig wlan0 up
dhcpcd wlan0 &

insert your essid where it says your_essid (obviously :')

lnxmomo

Last edited by lnxmomo; 05-20-2006 at 03:46 PM.
 
  


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
d link dwl g122 iconn Linux - Wireless Networking 23 03-29-2008 07:26 AM
Ndiswrapper for Netgear DWL G122 ptmitch Linux - Wireless Networking 2 10-17-2005 03:19 PM
ndiswrapper and D-link DWL G122 problems Adrian Baker Linux - Wireless Networking 1 07-09-2005 09:40 PM
ndiswrapper and dlink dwl-g122 flex447 Linux - Software 0 04-17-2005 04:03 PM
D-Link DWL-G122 (USB) not working with ndiswrapper Anders1 Linux - Wireless Networking 8 02-27-2005 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:00 AM.

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