LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   D-Link 520+ and Mandrake 9.1 problem.. Help akaBeaVis (https://www.linuxquestions.org/questions/linux-networking-3/d-link-520-and-mandrake-9-1-problem-help-akabeavis-111233/)

jonoc 11-01-2003 06:07 PM

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

rubyrat 11-01-2003 09:44 PM

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.

jonoc 11-02-2003 01:39 PM

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 key:off
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

FreakboY 11-08-2003 03:07 PM

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

compyfreak 11-08-2003 03:33 PM

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. :confused:

jonoc 11-10-2003 02:46 AM

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

compyfreak 11-10-2003 06:13 AM

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. :confused:


The light doesn't flash when i type the command.

jonoc 11-10-2003 11:35 AM

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

compyfreak 11-10-2003 11:44 AM

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

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


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