Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 12-18-2004, 01:29 PM   #1
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Rep: Reputation: 15
Netgear MA521NAR w/ NET8180 driver connects when DLink DI-614+ is reset

Dell Inspiron 1000
Slackware 10
Kernel 2.4.26 - bareacpi.i
D-Link DI-614+ 2.4GHz Wireless Router
Netgear MA521NAR Wireless Card installed with ndiswrapper using the NET8180 driver

Here are my iwconfig and ifconfig, in case they matter

# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11b ESSID:"network"
Mode:Managed Frequency:2.437GHz Access Point: 00:0D:88:87:0C:71
Bit Rate:11Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr:2432 B Fragment thr:2432 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-66 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

# ifconfig
lo Link encap:Local Loopback
inet addr: Mask:
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1762 (1.7 Kb) TX bytes:1762 (1.7 Kb)

wlan0 Link encap:Ethernet HWaddr 00:09:5B:8B:A14
inet addr: Bcast: Mask:
RX packets:1681 errors:0 dropped:0 overruns:0 frame:0
TX packets:1200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:771166 (753.0 Kb) TX bytes:173663 (169.5 Kb)
Interrupt:9 Memory:e4100000-e41000ff


For some reason the computer will not connect to the AP unless I connect to the router from another computer and go through the wizard again. I don't have to change anything, but It resets the router. Under the log of the router, when I don't go through the wizard, i see:

Dec/18/2004 11:55:51 Wireless PC connected (mac address)

After I go through the wizard, i see the folllowing messages,

ap mode start

dhcp discover

system started

wireless pc connected

dhcp discover

dhcp request

dhcp request success

Now, it seems as though when I go through the normal proccess to connect, it somehow lacks the ability to send a dhcp request. Is there some command that I am missing? this is how i set everything up:

iwconfig wlan0 mode Managed
iwconfig wlan0 essid network
iwconfig wlan0 channel 6
/sbin/ifconfig wlan0 up
/sbin/route add default gw wlan0

Also, are these commands required each time I want to start my network? Whenever I do a 'ndiswrapper -m' I get 'modprobe config already contains alias directive'. Naturally i try 'pico /etc/modprobe.conf' only to find that the file is empty.

Any help or direction would be appreciated.
I usually don't like posting problems here because I generally am able to find the solution before I get a helpful response but I don't know about this one.

Last edited by dns21; 12-18-2004 at 02:59 PM.
Old 12-18-2004, 02:05 PM   #2
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
(I'm not bumping, I'm still on top)

I found /etc/rc.d/rc.wireless.conf so I think I have the iwconfig wlan0 etc... stuff covered.
Old 12-19-2004, 02:48 AM   #3
Registered: Feb 2004
Location: AZ
Distribution: Slackware, Ubuntu, CentOS, Debian
Posts: 139

Original Poster
Rep: Reputation: 15
As I mentioned before, I generally find the solution before somebody else provides me a solution or direction to a solution. If anybody else has this problem, this is how I fixed it.

pico /etc/rc.d/rc.wireless.conf


case "$HWADDR" in

# Netgear Card (decribe all possible settings)
INFO="Custom Settings for Netgear Card"
# ESSID (extended network name) : My Network, any
# NWID/Domain (cell identifier) : 89AB, 100, off
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
# Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm)
# Bit rate : auto, 1M, 11M
# Encryption key : 4567-89AB-CD, sassword
# RTS threshold : off, 500
# Fragmentation threshold : off, 1000
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
IWCONFIG="ap mac_address_of_router"
# iwspy parameters : + 01:23:45:67:89:AB
# iwpriv parameters : set_port 2, set_histo 50 60

then add the following lines to your /etc/rc.d/rc.local
/etc/rc.d/rc.wireless wlan0
/sbin/dhcpcd wlan0

Just so everybody is aware, while this fixes the problem, I still had an error or maybe two when I started my computer. I'll figure it out.


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
Router needs hard reset spotslayer Linux - Wireless Networking 2 05-26-2005 08:29 PM
Why do I sometimes have to reset my router to get an IP address JohanP0 Linux - Wireless Networking 2 05-01-2005 04:33 AM
netopia router, reset slackwarefan General 2 09-16-2004 04:13 PM
reset all file permissions, nothing works, need help fixing qwijibow Linux - General 5 06-14-2004 03:17 PM
wireless connection to router works, but no internet g4rr3tt Linux - Wireless Networking 10 04-02-2004 02:27 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration