LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2006, 09:57 AM   #1
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Rep: Reputation: 15
Question newbie cant get D link dwl g510 on mandriva 2006


hi im really new to linux i have played with kubuntu and ubuntu but im now back to mandriva which seems like the easiest one to learn on.
im running a p3 single boot with mandriva free cd 2006 installed and i have one lan card and a wireless and the moment i have a cat 5 cable linked to my p4 with xp which has a wlan bridged with the lan to supply my linux box. i have a d-link dwl g510 h/w ver.: c1 pci card

i cant get it working i have ndiswrapper installed i tried using the drivers of the cd which "seemed" to install fine but when i search for networks i get nothing or set one up i get nothing so any help would be good i have searched everywhere and im a bit stuck because i dont even know how to install something of the net.

please let me know if you want more info.

thanks in advance
 
Old 04-06-2006, 05:12 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://www.linuxquestions.org/questi...hreadid=257741
Can help to search for the solution in other posts ... have you tried the ndiswrapper wiki? It has a section on how to get your card going in mandrivia I read.
 
Old 04-06-2006, 12:01 PM   #3
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
ok thank you so ive looked at that link and gone right through the process on the ndiswrapper site and i now have a wlan0 connection but i have tried setting the essid and wep and tried scanning(in both the console and the gui) and i get nothing no matter what i change everytime i run "iwconfig wlan0" it just comes back saying
Quote:
[root@kubntu ~]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"default" Nickname:"kubntu"
Mode:Auto Frequency:2.437 GHz Access Point: 00:00:00:00:00:00
Bit Rate=54 Mb/s Tx-Power:20 dBm Sensitivity=-121 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:A1B2-C3D4-E5 Security modepen
Power Managementff
Link Quality:100/100 Signal level:135/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:
 
Old 04-06-2006, 09:41 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
OK - but show the command you use to change essid and security mode.
 
Old 04-06-2006, 11:30 PM   #5
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
ok i went in to the root concole and typre

iwconfig wlan0 managaged

iwconfig wlan0 essid mshome

iwconfig wlan0 key open xxxxxxxxxx

iwconfig wlan0 and
Quote:
[root@kubntu ~]# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"default" Nickname:"kubntu"
Mode:Auto Frequency:2.437 GHz Access Point: 00:00:00:00:00:00
Bit Rate=54 Mb/s Tx-Power:20 dBm Sensitivity=-121 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:A1B2-C3D4-E5 Security modepen
Power Managementff
Link Quality:100/100 Signal level:135/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:
Thanks for the reply any help is good help :-)
 
Old 04-07-2006, 03:45 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
How about:
Code:
iwconfig wlan0 mode Managed
iwconfig wlan0 essid "mshome" 
iwconfig wlan0 key FEDC-BA98-76
(note, the bv code for the above box is "code" instead of "quote" which you've been using. When quoting output, also cut and paste the command as it appears on your screen.)
 
Old 04-07-2006, 10:05 AM   #7
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
ok thanks ill have to come back to it i went a bit silly installing packages and now nothing works so im going to do a reinstall and come back to it but those commandes gave me the exact same result once again thank you for your help ill be back in to it tomorrow
 
Old 04-07-2006, 08:11 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
it is difficult to break the system just from installing packages - unless you've been logged on as root of course...
 
Old 04-08-2006, 06:39 AM   #9
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
i broke something :rolleyes:

yeah but i did some thing and nothing would open for me so i figured the only thing ive been trying to do is this wireless. so re-install and start fresh.

i have reached the same point but i think i may have made some progress... When i installed the .inf driver using the computer manangement GUI i went through and configured the net work and then when i went to the GUI for scanning the "mshome" secured network was in there but with only one bar of signal so i tried to connect the it disappared. Now normally i would thik "must be a bad spot" but i know the other 2 pc's on the same wall never budged of 100% so im left to think that maybe the drivers just are not going to run this device at all. but in the network moniter it says "wlan0 connected, connection type ETHERNET" so i followed your instructions again ecxept for changing the key to the same as mine

Code:
[root@localhost ~]# iwconfig wlan0 mode Managed
[root@localhost ~]# iwconfig wlan0 essid "mshome"
[root@localhost ~]# iwconfig wlan0 key A1B2-C3D4-E5
[root@localhost ~]# iwconfig wlan0
wlan0     IEEE 802.11g  ESSID:"default"  Nickname:"localhost"
          Mode:Auto  Frequency:2.437 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate=54 Mb/s   Tx-Power:20 dBm   Sensitivity=-121 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:A1B2-C3D4-E5   Security mode:restricted
          Power Management:off
          Link Quality:100/100  Signal level:-58 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

So i ask is there a command that i have to put in to apply the settings?
Your help is very much appreciated i just want to get this working so i can get rid of my windows for repairs and have a real good dig at linux but first i need the wireless
 
Old 04-08-2006, 07:10 AM   #10
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
oh and i was just reading through some of your posts and i come across your instrucion for someone to do a dsmeg...so i did it it came back with some interesting and maybe even hopefull listing but im not sure if its too big to post here and i dont want to leave something important out is it ok to maybe e-mail it to you ?
 
Old 04-09-2006, 07:21 PM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
with dmesg posts - and it is best to post them here - it is usual to copy out the bit that seems relevant, with maybe a couple of lines either side so we know where it comes in.

The signal level seems low: -57dBm but -80dBm is usually still high enough and the sensitivity is currently set to -121dBm. This is where I start to suspect something wrong with the hardware.

I notice the access point address is a row of zeros? Is this correct? (Dosn't seem likely. check access point address.)qv. wvconfig man page:
Code:
Access Point/Cell
              An address equal to 00:00:00:00:00:00 means that the card failed
              to associate with an Access Point (most likely  a  configuration
              issue).  The Access Point parameter will be shown as Cell in ad-
              hoc mode (for obvious reasons), but otherwise works the same.

       If /proc/net/wireless exists, iwconfig will also display  its  content.
       Note  that  those  values  will  depend  on the driver and the hardware
       specifics, so you need to refer to your driver documentation for proper
       interpretation of those values.
... check cat /proc/net/wireless

The mn page has this to say about the signal level:
Code:
 Signal level
              Received  signal strength (RSSI - how strong the received signal
              is). May be arbitrary units or dBm, iwconfig  uses  driver  meta
              information  to interpret the raw value given by /proc/net/wire-
              less and display the proper unit or maximum value (using  8  bit
              arithmetic).  In  Ad-Hoc  mode,  this  may  be undefined and you
              should use iwspy.
... so check iwspy.

further reading: man wireless.
 
Old 04-11-2006, 06:57 AM   #12
relly^newbie%)
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Ok so im not using it in ad-hoc mode my hardware is ok (swaped with my windows pc). MY access poit is not a row of zeros.
this is what i get doing a dmesg


Code:
smb_add_request: request [c21991a0, mid=24647] timed out!
smb_add_request: request [c2199ea0, mid=24648] timed out!
smb_add_request: request [c2199ea0, mid=24649] timed out!
smb_add_request: request [c2199ea0, mid=24650] timed out!
ndiswrapper version 1.2 loaded (preempt=no,smp=no)
ndiswrapper: driver netrt61g (D-Link,06/04/2005, 1.00.00.0000) loaded
ndiswrapper: using irq 12
wlan0: ndiswrapper ethernet device 00:15:e9:42:d4:f7 using driver netrt61g, configuration file 1814:0302:1186:3C09.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
wlan0: no IPv6 routers present
smb_add_request: request [c2199da0, mid=24651] timed out!
smb_add_request: request [c2199ea0, mid=24652] timed out!
ndiswrapper (add_wep_key:711): adding encryption key 1 failed (C0010015)
irq 12: nobody cared!
 [<c0103efe>] dump_stack+0x1e/0x20
 [<c01951eb>] __report_bad_irq+0x2b/0xa0
 [<c0195308>] note_interrupt+0x78/0xa0
 [<c0194d60>] __do_IRQ+0xe0/0xf0
 [<c01055ec>] do_IRQ+0x1c/0x30
 [<c01039c6>] common_interrupt+0x1a/0x20
 [<d0e31d82>] ndis_irq_bh+0xd2/0xf0 [ndiswrapper]
 [<c0182827>] worker_thread+0x187/0x230
 [<c018668e>] kthread+0xae/0xc0
 [<c0101349>] kernel_thread_helper+0x5/0xc
handlers:
[<d09778d0>] (snd_intel8x0_interrupt+0x0/0x270 [snd_intel8x0])
[<d0e31da0>] (ndis_irq_th+0x0/0x150 [ndiswrapper])
Disabling IRQ #12
wlan0: no IPv6 routers present
smb_add_request: request [c2199ea0, mid=24653] timed out!
and this is iwspy
Code:
[root@localhost ~]# iwspy
lo        Interface doesn't support wireless statistic collection

eth0      Interface doesn't support wireless statistic collection

sit0      Interface doesn't support wireless statistic collection

wlan0     Interface doesn't support wireless statistic collection
im starting to think i may need a new wireless card :-{
 
  


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
How do I get my D-Link AirPlus DWL 520+ Working Under Mandriva 2006? DownloadTHIS Linux - Wireless Networking 2 02-05-2006 09:29 AM
D-Link DWL-G510 sephren Linux - Wireless Networking 4 10-23-2005 02:16 PM
NDISWrapper with D-Link DWL-G510 kebernet Linux - Wireless Networking 1 07-02-2005 04:45 PM
D-Link DWL-G510 driver mosherk Linux - Wireless Networking 8 11-30-2004 04:46 PM
D-Link DWL-G510 FIRS Linux - Hardware 0 08-13-2004 02:29 PM


All times are GMT -5. The time now is 09:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration