Networking Forums

Networking Forums > Computer Networking > Linux Networking > Unable to obtain IP address using ndiswrapper

Reply
Thread Tools Display Modes

Unable to obtain IP address using ndiswrapper

 
 
chicheong.ho@gmail.com
Guest
Posts: n/a

 
      05-20-2005, 04:20 PM
Hello,

I'm trying to connect my Dell laptop to my access point (Linksys
WRT54G) using ndiswrapper. However, after I install and configure
ndiswrapper, I'm unable to obtain an IP address from the Access Point.


Background
Dell 1150 Inspiron
Wireless network Adapter: Dell wireless 1350 mini-PCI (this is a
broadcom chip, the driver I downloaded off of
ndiswrapper.sourceforge.net list).
OS: Fedora Core 3
network devices on machine: wlan0 (the device I'm trying to connect
with), eth0 (this is a built in ethernet controller, lo, sit0 (I'm not
sure what this is)

Access Point - Linksys Wrt54g
essid = star
channel = 11 - 2.462 GHz
mode = managed
wep = enabled
key = '555555555'

Output from uname -r
2.6.11-1.14_FC3.stk16 (this is the fedora core 3 build from
www.linuxant.com that increases the stack size )

Output from /sbin/iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"star" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.462 GHz Access Point:
00:12:17:AD:2D:34
Bit Rate=48 Mb/s Tx-Power:14 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:5555-5555-55 Security mode:restricted
Power Managementff
Link Quality:100/100 Signal level:-28 dBm Noise level:-256
dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:47 Invalid misc:68543 Missed beacon:0

Output from /sbin/iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:12:17:AD:2D:34
ESSID:"star"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:0/100 Signal level:-29 dBm Noise
level:-256 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5.5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:54 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:48 Mb/s
Extra:bcn_int=100
Extra:atim=0

Contents of ifcfg-wlan0
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
RATE=AUTO
ESSID="star"
KEY="5555555555"
MODE="Managed"
CHANNEL="11"
USERCTL=no
PEERDNS=yes
IPV6INIT=no

When I issue the command /sbin/ifup wlan0 the message I receive:
Determining the IP information ... failed

Question:
1) I am able to set my ESSID to "star" on wlan0 (from the output I did
associate with the access point correctly). However, I suspect it's
the ifcfg-wlan0 file that is missing/incorrect settings. Does anyone
have a ifcfg-wlan0 sample file or know where to get more information
about the settings in this file?

2) Once the ifcfg-wlan0 file has been corrected, how do I bring this
network device online? /sbin/ifup wlan0? How do I automatically
bring it online everything the laptop boots up?

3) This is a little off topic, but once I configure the laptop
connectivity with the AP, does the AP always need to have its ESSID in
broadcast mode in order to connect using ndiswrapper? Previously, the
laptop was running XP, and I was able to connect without using
broadcast mode.

Thanks in advance.

 
Reply With Quote
 
 
 
 
ralfthewise
Guest
Posts: n/a

 
      05-21-2005, 02:54 AM
have you tried configuring it by hand with:

dhcpcd -d wlan0

 
Reply With Quote
 
chicheong.ho@gmail.com
Guest
Posts: n/a

 
      05-22-2005, 05:14 AM
I don't have dhcpcd. I couldn't find it with "locate dhcpcd" I'm
using fedora core 3.

How does I set the security mode to open in the ifcfg-wlan0 to the
setting SECURITY_MODE=open?

Where can I get more information about what the setting names and
allowable values are in the ifcfg-XXX file?

Thanks

 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      05-22-2005, 04:34 PM
(E-Mail Removed) writes:

>I don't have dhcpcd. I couldn't find it with "locate dhcpcd" I'm
>using fedora core 3.


Well, I guess you should load it then. Get the rpm and install it. Of
course you may have one of the other dhcp clients.


>How does I set the security mode to open in the ifcfg-wlan0 to the
>setting SECURITY_MODE=open?


??


>Where can I get more information about what the setting names and
>allowable values are in the ifcfg-XXX file?


The only way I have found is to read the script that uses that config file,
probably something like ifup or ifup-wireless which will be in
/etc/sysconfig/network-scripts
That will also show you which dhcp clients it tries (on mandrake they try
dhclient, dhcpcd,pump, dhcpxd in that order. -- see the ifup script)

Note that it is the router (wireless access point) that determines the
security, not your system. I cannot find any reference to SECUR in the
scripts.

 
Reply With Quote
 
keithmcd
Guest
Posts: n/a

 
      06-29-2005, 05:49 AM
Not sure if you ever got this resolved, but I JUST got this fixed on
my Dell Inspiron 5100 with Truemobile 1300 after about 5months of
work and research. It's so simple it's insane. If you're using
Gnome, go to the Network control panel. Click on the wlan0 interface
and click Edit. Check the box next to whatever says "IPv6", click ok,
save and then reboot. That's it.

I really hope that this helps as I was absolutely stunned when that's
all I ended up needing to fix it for me.

BTW - I'm now using Fedora Core 4 with ndiswrapper 1.2

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows clients unable to obtain DHCP lease after server move. techjohnny@gmail.com Linux Networking 9 06-05-2008 04:35 PM
Unable to obtain internet connection - total novice dollface86 Wireless Internet 10 11-26-2007 03:50 AM
Wireless Network Connection Unable to obtain IP Ralf B. Lukner Wireless Networks 8 08-17-2006 08:02 PM
Cannot Obtain An IP Address Dean S. Lautermilch Wireless Internet 5 12-17-2005 04:39 PM
SBS 2003 - clients unable to obtain IP Address Jason Scoggins Windows Networking 3 12-01-2004 01:03 PM



1 2 3 4 5 6 7 8 9 10 11