LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-01-2003, 06:07 PM   #1
jonoc
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake Linux 9.1
Posts: 3

Rep: Reputation: 0
D-Link 520+ and Mandrake 9.1 problem.. Help akaBeaVis


I have a question, mainly for akaBeaVis because he is the one who wrote the tutorial. I loved the tutorial, it was very straight-forward and easy to follow, thank you for posting it. Everything was cool until I tried to ping a site on the internet. It can't find any site on the net, but I can successfully ping my router. I'm a little confused to what a nameserver actually is. The nameserver isn't the router's IP (192.168.0.1) is it? Here's some info to help:


PentiumIII 667Mhz
D-Link 520+ PCI Adapter
D-Link 614+ Router (I disabled WEP for now)
Mandrake 9.1 (from scratch) w/wireless tools installed
I tried the pre4 version of the driver

Here's a printout from my router...
LAN
MAC Address
00-40-05-B1-E2-xx
IP Address
192.168.0.1
Subnet Mask
255.255.255.0
DHCP Server
Enabled

WAN
MAC Address
00-40-05-B1-E2-xx
Connection
DHCP Client Connected
IP Address
68.96.89.xxx
Subnet Mask
255.255.254.0
Default Gateway
68.96.88.xxx
DNS
68.4.16.xxx 68.2.16.xxx 68.6.16.xxx

Wireless
MAC Address
00-40-05-B2-07-xx
SSID
Jonnyjonjonjon
Channel
2
WEP
Disabled


I'm sure you need more information from me so please please please ask!
Thank you in advance for your help!

Jonathan
 
Old 11-01-2003, 09:44 PM   #2
rubyrat
LQ Newbie
 
Registered: Sep 2003
Location: Leeds, UK
Distribution: Debian, Redhat, Mandrake, Gentoo
Posts: 16

Rep: Reputation: 0
You have the settings there - DNS = nameserver

/etc/resolv.conf is where they usually are entered.

nameserver 68.4.16.xxx
nameserver 68.4.16.xxx
nameserver 68.4.16.xxx

would be about right

This is assuming you have real ip addresses and you havent actually entered the name servers as 68.4.16.xxx

Also try using an ip address to make sure routing is working.
Try
ping 212.103.243.1
and
traceroute 212.103.243.1

If it isnt then you need to define your route to the router and beyond - the default route as its called.
 
Old 11-02-2003, 01:39 PM   #3
jonoc
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake Linux 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your reply RubyRat. That straightened out my worry about the nameserver.

What I just did was install a fresh copy of Mandrake 9.1 and started from scratch using the pre2 version but when I was going through the steps, I noticed that I wasn't actually connecting to the router at all, I was pinging myself. When I put in the ifconfig eth0 192.168.2.10 mtu 576, I used the router's IP instead of one of valid addresses coming from the router. Anyway, so I did an iwconfig and this is what printed out.


eth0 v0.2.0pre2 ESSID:"JonnyJonJonJon"
Mode:Ad-Hoc Channel:2 Cell: 5A:1A:52:8C:F1:00
Bit Rate=11Mb/s Tx-Power:18 dBm
Encryption keyff
Link Quality:75/100 Signal level:31/100 Noise level:25/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Two things worry me, one is that the mode didn't change to managed after I inputed iwconfig eth0 mode managed channel x essid xxxxxxxx. I retried a couple of times to no avail. It's still Ad-Hoc, which I assume is not correct. The other concern is when I typed iwconfig eth0 mode managed channel x essid xxxxxxxx, the light didn't flash. I tried this several times aswell. It doesn't appear to turn on. I didn't recieve any error messages before this.

Thanks in advance again,
Jonathan
 
Old 11-08-2003, 03:07 PM   #4
FreakboY
Member
 
Registered: Jun 2002
Location: TX, USA
Distribution: Slackware 13 64bits
Posts: 374

Rep: Reputation: 31
did you actually get D-Link 520+ PCI Adapter working under linux!??
if so can you please give me more info on it!??

Thanx!

btw, I run redhat 9
 
Old 11-08-2003, 03:33 PM   #5
compyfreak
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by jonoc
[...]
The other concern is when I typed iwconfig eth0 mode managed channel x essid xxxxxxxx, the light didn't flash. I tried this several times aswell. It doesn't appear to turn on. I didn't recieve any error messages before this.

Thanks in advance again,
Jonathan
I've got the same problem, also Mandrake 9.1 and DWL 520+.

I've succesfully set mode to "managed" without problems, but
iwconfig eth1
tells me, that 00:00:00:00:00:00 is my router's HWaddr.
 
Old 11-10-2003, 02:46 AM   #6
jonoc
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake Linux 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
Compyfreak:

Do you use WEP? I got mine to recognize the router because I disabled WEP temporarily. It makes things more confusing.

type iwconfig eth0 key xxxx-xxxx-xx essid xxxxxx if you are using WEP and
type iwconfig eth0 essid xxxxxxx if not.

Check with iwconfig to see if it 'sticks', if not, retype the above command every couple of seconds and then retry. Hopefully it should work after a couple of tries.

I don't know if you are following Craig's howto, but it is really straight-forward. These cards are just very tricky. I just traded my 650+ for a Netgear MA401. Hopefully that's easier to work with in Linux.

Jonathan
 
Old 11-10-2003, 06:13 AM   #7
compyfreak
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
jonoc: thanks but..
Well, i used craig's howto to install the driver.

After i had these 00:00:00:00:00:00-problems, i disabled WEP in my router and typed
iwconfig eth1 essid xxxxx ('xxxxx' is my essid, of course, and eth1 should be the dwl-520+)


Quote:
if not, retype the above command every couple of seconds and then retry.
i've done this too.


The light doesn't flash when i type the command.
 
Old 11-10-2003, 11:35 AM   #8
jonoc
LQ Newbie
 
Registered: Nov 2003
Distribution: Mandrake Linux 9.1
Posts: 3

Original Poster
Rep: Reputation: 0
Yup, that's my problem. That's why I came here, looking for Craig, but so far no luck! If you figure it out, please reply and tell me what to do.

Thanks
 
Old 11-10-2003, 11:44 AM   #9
compyfreak
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
oops, i thougt it would be this "can't set mode to managed"-bug (?).

somewhere i read about it, but not sure where...
 
  


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
D-Link DWL-520+ cannot get it working in Redhat nor Mandrake rEph Linux - Networking 29 12-28-2006 10:36 AM
D-link DWL 520 in Mandrake 10 not working jwn7 Linux - Wireless Networking 8 08-21-2004 03:34 PM
HFA_384x Drvr start failed issue problem with dwl-520 d-link adapter card elynum Linux - Hardware 13 02-04-2004 02:55 PM
D-Link 520+ NIC Mandrake 9.1 bluegryphon Linux - Hardware 0 09-28-2003 11:58 AM
d-link dwl-520 hydrokracker Linux - Networking 2 02-16-2003 04:09 AM


All times are GMT -5. The time now is 06:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration