Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I'm writing this through a laptop with a Netgear/Atheros 5212 so I'm pretty happy as is. However, we just got WEP on our network and I have been unable ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    99

    Problem with dhcpcd on encrypted wifi connection (non-enc is fine)


    Hi,

    I'm writing this through a laptop with a Netgear/Atheros 5212 so I'm pretty happy as is.
    However, we just got WEP on our network and I have been unable to obtain
    a IP address through our router.

    The card will connect, the key is correctly processed and iwconfig gives me the AP data and a descent reception.
    ** BUT dhcpcd stalls and dhcpcd -t 10 -d ath0 results
    only in the MAC address, no IP address and I'm unable to ping or go online. **

    iwconfig:

    ath0 IEEE 802.11g ESSID:"xxxxx"
    Mode:Managed Frequency:2.437GHz Access Point: XXXXXXXXXXXXXX
    Bit Rate:36Mb/s Tx-Power:18 dBm Sensitivity=0/3
    Retry:off RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality:19/94 Signal level:-76 dBm Noise level:-95 dBm
    Rx invalid nwid:685 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:1 Invalid misc:1 Missed beacon:0

    ifconfig:

    ath0 Link encap:Ethernet HWaddr XXXXXXXXXXXXXXXXXXXXX
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:244 errors:209 dropped:0 overruns:0 frame:209
    TX packets:0 errors:1 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:200
    RX bytes:16592 (16.2 Kb) TX bytes:0 (0.0 b)
    Interrupt:11 Memory:cfaa1000-cfab1000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    XP machine connects fine without any problem or tweaks.

    Am I omitting something?


    Thanks for any help,

    Marinus.

  2. #2
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    are you typing in the command iwconfig key 983483893 (or whatever your key is)?
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    99
    Hi spencerf,

    no I've made a couple of logon scripts for various WiFi locations.
    The scripts for the encrypted router includes

    iwconfig ath0 key restricted s:XXXXXXXXXX

    I'm not on my own computer right now, so I can't post the whole script but it's the same as all other working ones except for this addition.

    Should I copy/paste it somehow?

    Thanks,

    Marinus.

  4. #4
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    Yes pasting your script would help, someone might see something in their that is a mistake.

    Sorry I couldn't be more help.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •