Review your favorite Linux distribution.
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-26-2007, 08:19 PM   #1
LQ Newbie
Registered: Feb 2005
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Can't connect with DHCP or Static IP

Hello all,

I finally got around to getting my Hawking wireless PCI card working. It uses the rt2500 drivers, and it seems to be working fine.

Kismet displays my AP. However I'm not able to connect to it by any means so far.

Here's what I've tried in my /etc/network/interfaces file:

# For static
iface eth-wifi inet static

# For DHCP - I either use static or DHCP - not both at the same time.
iface eth-wifi inet dhcp

# Then these settings
wireless_channel 6
pre-up ifconfig eth-wifi up
pre-up iwconfig eth-wifi essid MyESSID

Please note, I am on channel 6, and my essid is correct. My static IP is in range. I am also hooked into the (Linksys WRT54G v8) router via ethernet, so I can configure it as I test. For simplicity's sake, I have disabled encryption until I can actually connect.

When I do ifup eth-wifi, it pulls the card up but receives no DHCPOFFERs. When I use static IP, and try to ping, it says "destination host unreachable".

ifconfig and iwconfig both show the card up, and as I said, I can see networks with Kismet. Just can't connect. So this leads me to believe that the card is fine, but I'm just doing the networking part wrong.

Old 12-26-2007, 10:28 PM   #2
LQ Newbie
Registered: Feb 2005
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, update: I just got it working somehow.

I have the essid set to the AP I want to connect to

iwconfig eth-wifi essid MyESSID

But then I had to tell it to use any AP (as opposed to the one I want - weird, I know).

iwconfig eth-wifi ap any

I also told it to use managed mode:

iwconfig eth-wifi mode managed

Now when I do

iwlist eth-wifi scan

I only see my AP, and I can pull a dhcp address

dhclient eth-wifi

For the record, this Hawking card was a real cheapie at CompUSA (I think I got it for around $10 with rebates), so it seems to perform as such. But it looks to be working now. Good luck to those who run across this thread.



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
static or DHCP? penguinista Linux - Security 6 11-26-2007 01:54 AM
From DHCP to static IP. dave`2005 Slackware 3 08-22-2005 10:12 AM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 12:13 PM
Connect static and dynamic DHCP with VLANs FatMike Linux - Software 0 11-12-2003 08:08 AM
DHCP or Static Culbert Linux - Networking 1 03-14-2003 08:42 PM

All times are GMT -5. The time now is 01:39 PM.

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