LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   HELP! My Computer can't connect to my network (http://www.linuxquestions.org/questions/linux-wireless-networking-41/help-my-computer-cant-connect-to-my-network-274777/)

Scorlibrian 01-06-2005 06:49 PM

HELP! My Computer can't connect to my network
 
I'm running Fedora Care 2 with the 2.6.5 Kernel and I installed the driver for my wireless card using ndiswrapper 0.12. It sees the card and it sees the network. I read the Wiki for ndiswrapper and followed it's instructions exactly. However, when i run dhclient wlan0, it tells me that there are no dhcpoffers. What should I do? I'm a newbie at Linux so please try to make is as understandable as possible please.



:newbie:

azrael808 01-07-2005 09:43 AM

Do you have a DHCP server running on your network or did you manually assign IP addresses to your machines? You need a running DHCP server in order for a DHCP client to receive an address.

Why are you running dhclient seperately? Does it not run if you use the "ifup wlan0" command?

What does the command "iwconfig wlan0" output?

Pete

Scorlibrian 01-08-2005 05:09 PM

I do have a DHCP server on my network. However, when I use the "dhclient wlan0" command, this shows up:


Code:

[root@localhost root]# dhclient wlan0
Internet Software Consortium DHCP Client V3.0.1rc12
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
 
sit0: unknown hardware address type 776
/sbin/dhclient-script: configuration for wlan0 not found.
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:0c:41:61:7f:9b
Sending on  LPF/wlan0/00:0c:41:61:7f:9b
Sending on  Socket/fallback
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
/sbin/dhclient-script: configuration for wlan0 not found.



When I use "ifup wlan0", I get this:

Code:

[root@localhost root]# ifup wlan0
/sbin/ifup: configuration for wlan0 not found.
Usage: ifup <device name>



This is what I get when I use the "iwconfig wlan0" command:

Code:

[root@localhost root]# iwconfig wlan0
wlan0    IEEE 802.11g  ESSID:"linksys"
          Mode:Managed  Frequency:2.437GHz  Access Point: 00:0F:66:37:25:F4
          Bit Rate:54Mb/s  Tx-Power:14 dBm
          RTS thr:2347 B  Fragment thr:2346 B
          Encryption key:off
          Power Management:off
          Link Quality:100/100  Signal level:-68 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:31364  Missed beacon:0

and when I use "iwlist wlan0 scan", my network with the same AP and the same SSID and the same everything comes up. One thing I noticed is that it tries to connect to 255.255.255.255, but the subnet mask on my router is 255.255.255.0 Could this be a problem? If so, how can I fix that?


All times are GMT -5. The time now is 02:34 AM.