Anteru's blog
  • Consulting
  • Research
    • Assisted environment probe placement
    • Assisted texture assignment
    • Edge-Friend: Fast and Deterministic Catmull-Clark Subdivision Surfaces
    • Error Metrics for Smart Image Refinement
    • High-Quality Shadows for Streaming Terrain Rendering
    • Hybrid Sample-based Surface Rendering
    • Interactive rendering of Giga-Particle Fluid Simulations
    • Quantitative Analysis of Voxel Raytracing Acceleration Structures
    • Real-time Hybrid Hair Rendering
    • Real-Time Procedural Generation with GPU Work Graphs
    • Scalable rendering for very large meshes
    • Spatiotemporal Variance-Guided Filtering for Motion Blur
    • Subpixel Reconstruction Antialiasing
    • Tiled light trees
    • Towards Practical Meshlet Compression
  • About
  • Archive

Cannot connect to WPA-PSK2 protected WLAN on Linux ...

January 25, 2010
  • General
  • Linux
approximately 1 minutes to read

The title says it all. I had a machine here with a really old WLAN adapter (Realtek RTL-8185L on a PCMCIA card), and it wouldn’t connect to my local WLAN when using WPA-PSK2. I just checked that WLAN was working at all, and yes, it would connect without a pass-phrase, but with a key, it wouldn’t work. Each time, the authentication would simply fail due to a wrong password. The Linux was Ubuntu 9.10, but I guess it’ll be the same on other ones as well.

One weird issue was that the GNOME applet for entering the network key would refuse my 63 character key, and only let my type in 60 characters. Turns out that the problem is that for WPA-PSK, the key required to authenticate is not your pass-phrase, but generated from the pass-phrase and the SSID, and some drivers don’t do this transformation for you, so you have to help out by hand. That’s very easy, for instance by using wpa_passphrase. This gives you the PSK, and on entering this one instead of the pass-phrase, everything worked right away. Woho!

Previous post
Next post

Recent posts

  • Data formats: Why CSV and JSON aren't the best
    Posted on 2024-12-29
  • Replacing cron with systemd-timers
    Posted on 2024-04-21
  • Open Source Maintenance
    Posted on 2024-04-02
  • Angular, Caddy, Gunicorn and Django
    Posted on 2023-10-21
  • Effective meetings
    Posted on 2022-09-12
  • Older posts

Find me on the web

  • GitHub
  • GPU database
  • Projects

Follow me

Anteru NIV_Anteru
Contents © 2005-2025
Anteru
Imprint/Impressum
Privacy policy/Datenschutz
Made with Liara
Last updated February 03, 2019