Thanks for the answer.
In advance: sorry for the long post below, I’ve tried to split it up into separate points to make it easier to read…
-
I checked the config file but found nothing particularly suspicious. (I’ve copied it in at the bottom, however.) The only parameters that are different when I do use
WPA-PSK encryption are (not surprisingly)
WIRELESS_AUTH_MODE (‘psk’/‘no-encryption’ respectively)
WIRELESS_WPA_PSK (password/empty respectively)
What is a bit suspicious is WIRELESS_AP_SCANMODE=‘1’ about which the comment in the template file says:
Mode 0 means the driver
performs the scan. Mode 1 means wpa_supplicant takes care of scanning. Mode
2 is basically the same as mode 0 but the access point gets chosen by
security policy and SSID
Nevertheless, I’ve tried with both 0 and 2 as well, with the same result.
-
What’s also little bit strange is that even for the no-encryption case it tries to start something called a wpa_supplicant. I don’t know what it is, but wouldn’t it
actually only have to do with the WPA encryption?
linux-a9gl:~ # ifup wlan0
wlan0 device: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
wlan0 starting wpa_supplicant
Line 6: WPA-PSK accepted for key management, but no PSK configured.
Line 6: failed to parse network block.
Failed to read or parse configuration ‘/var/run/wpa_supplicant-wlan0.conf’.
Starting DHCP4 client on wlan0. . . . . . . .
wlan0 DHCP4 continues in background
But again, I have actually commented out the part from /etc/sysconfig/network/scripts/ifup-wireless where this wpa_supplicant call takes place (I put in tracing
messages to ensure I was commenting it out at the right place, so I’m sure it wasn’t called), but still, as always with the non-encrypted connection:
ping the router’s address:
linux-a9gl:~ # ping 192.168.1.1
connect: Network is unreachable
-
I have also tried out NetworkManager: it did see the router, it did try to start up the wireless connection, but didn’t succeed either.
-
This is what it says in /var/log/messages, maybe it can give a further clue (to me it didn’t)
Feb 10 14:05:49 linux-a9gl ifup: wlan0 device: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
Feb 10 14:05:49 linux-a9gl ifup-wireless: wlan0 starting wpa_supplicant
Feb 10 14:05:50 linux-a9gl kernel: [12142.077042] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Feb 10 14:05:50 linux-a9gl ifup-dhcp: Starting DHCP4 client on wlan0
Feb 10 14:05:50 linux-a9gl dhcpcd[26943]: wlan0: dhcpcd 3.2.3 starting
Feb 10 14:05:50 linux-a9gl dhcpcd[26943]: wlan0: hardware address = 00:18:de:78:52:e2
Feb 10 14:05:50 linux-a9gl dhcpcd[26943]: wlan0: broadcasting for a lease
Feb 10 14:05:50 linux-a9gl ifup-dhcp: .
Feb 10 14:05:52 linux-a9gl ifup-dhcp: .
Feb 10 14:05:55 linux-a9gl ifup-dhcp: .
Feb 10 14:05:57 linux-a9gl ifup-dhcp: .
Feb 10 14:06:00 linux-a9gl ifup-dhcp: .
Feb 10 14:06:03 linux-a9gl ifup-dhcp: .
Feb 10 14:06:05 linux-a9gl ifup-dhcp: .
Feb 10 14:06:08 linux-a9gl ifup-dhcp: .
Feb 10 14:06:09 linux-a9gl ifup-dhcp:
Feb 10 14:06:09 linux-a9gl ifup-dhcp: wlan0 DHCP4 continues in background
Feb 10 14:06:10 linux-a9gl dhcpcd[26943]: wlan0: timed out
Feb 10 14:06:10 linux-a9gl dhcpcd[26943]: wlan0: trying to use old lease in /var/lib/dhcpcd/dhcpcd-wlan0.info' Feb 10 14:06:10 linux-a9gl dhcpcd[26943]: wlan0: lease expired 252568 seconds ago Feb 10 14:06:10 linux-a9gl dhcpcd[26943]: wlan0: broadcasting for a lease Feb 10 14:06:30 linux-a9gl dhcpcd[26943]: wlan0: timed out Feb 10 14:06:30 linux-a9gl dhcpcd[26943]: wlan0: trying to use old lease in
/var/lib/dhcpcd/dhcpcd-wlan0.info’
Feb 10 14:06:30 linux-a9gl dhcpcd[26943]: wlan0: lease expired 252588 seconds ago
Feb 10 14:06:30 linux-a9gl dhcpcd[26943]: wlan0: broadcasting for a lease
…
Any further ideas? 
P.S.: The contents of /etc/sysconfig/network/ifcfg-wlan0 :
BOOTPROTO=‘dhcp4’
BROADCAST=’’
ETHTOOL_OPTIONS=’’
IPADDR=’’
MTU=’’
NAME=‘PRO/Wireless 3945ABG [Golan] Network Connection’
NETMASK=’’
NETWORK=’’
REMOTE_IPADDR=’’
STARTMODE=‘auto’
USERCONTROL=‘yes’
WIRELESS_AP=’’
WIRELESS_AP_SCANMODE=‘1’
WIRELESS_AUTH_MODE=‘no-encryption’
WIRELESS_BITRATE=‘auto’
WIRELESS_CA_CERT=’’
WIRELESS_CHANNEL=’’
WIRELESS_CLIENT_CERT=’’
WIRELESS_CLIENT_KEY=’’
WIRELESS_CLIENT_KEY_PASSWORD=’’
WIRELESS_DEFAULT_KEY=‘0’
WIRELESS_EAP_AUTH=’’
WIRELESS_EAP_MODE=’’
WIRELESS_ESSID=‘linksys’
WIRELESS_FREQUENCY=’’
WIRELESS_KEY=’’
WIRELESS_KEY_0=’’
WIRELESS_KEY_1=’’
WIRELESS_KEY_2=’’
WIRELESS_KEY_3=’’
WIRELESS_KEY_LENGTH=‘128’
WIRELESS_MODE=‘Managed’
WIRELESS_NICK=’’
WIRELESS_NWID=’’
WIRELESS_PEAP_VERSION=’’
WIRELESS_POWER=‘yes’
WIRELESS_WPA_ANONID=’’
WIRELESS_WPA_IDENTITY=’’
WIRELESS_WPA_PASSWORD=’’
WIRELESS_WPA_PSK=’’