openSUSE 11.3 with open WLAN does not work

Hi,

I installed openSUSE 11.3 on my notebook (lenovo 510i, Intel Centrino Wireless-N 1000)
When I connect to my home wlan with WPA2 there is no problem, but when I try to connect to an open WLAN without encryption, the essid is not set (seen with iwconfig wlan0). If I set it after rcnetwork start wlan0 with iwconfig wlan0 essid the_open_sid, it associates and dhcp is working fine.

Here are the messages that are produced during rcnetwork start wlan0:

Jul 16 13:51:48 job2 ifplugd(eth0)[4740]: ifplugd 0.28 initializing.
Jul 16 13:51:48 job2 kernel:  5819.161280] e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
Jul 16 13:51:48 job2 ifup:     eth0      device: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
Jul 16 13:51:48 job2 ifup:     eth0      is controlled by ifplugd
Jul 16 13:51:48 job2 kernel:  5819.212070] e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
Jul 16 13:51:48 job2 ifplugd(eth0)[4740]: Using interface eth0/5C:FF:35:00:7A:D1 with driver <e1000e> (version: 1.0.2-k2)
Jul 16 13:51:48 job2 kernel:  5819.213515] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jul 16 13:51:48 job2 ifplugd(eth0)[4740]: Using detection mode: SIOCETHTOOL
Jul 16 13:51:48 job2 ifplugd(eth0)[4740]: Initialization complete, link beat not detected.
Jul 16 13:51:48 job2 ifup:     wlan0     device: Intel Corporation Centrino Wireless-N 1000
Jul 16 13:51:48 job2 ifup:     wlan0     is controlled by ifplugd
Jul 16 13:51:48 job2 ifup:     wlan0     device: Intel Corporation Centrino Wireless-N 1000
Jul 16 13:51:48 job2 ifup-wireless:     wlan0     starting wpa_supplicant
Jul 16 13:51:49 job2 kernel:  5820.286410] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jul 16 13:51:49 job2 ifup-dhcp: Starting DHCP4+DHCP6 client on wlan0
Jul 16 13:51:49 job2 dhcpcd[5004]: wlan0: dhcpcd 3.2.3 starting
Jul 16 13:51:49 job2 dhcpcd[5004]: wlan0: hardware address = 00:26:c7:3c:e8:1c
Jul 16 13:51:49 job2 dhcpcd[5004]: wlan0: broadcasting for a lease
Jul 16 13:51:49 job2 ifup-dhcp: .
Jul 16 13:51:50 job2 dhclient: Bound to *:546
Jul 16 13:51:50 job2 dhclient: XMT: Solicit on wlan0, interval 1010ms.
Jul 16 13:51:50 job2 dhclient: send_packet6: Network is unreachable
Jul 16 13:51:50 job2 dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 16 13:51:51 job2 dhclient: XMT: Solicit on wlan0, interval 1970ms.
Jul 16 13:51:51 job2 dhclient: send_packet6: Network is unreachable
Jul 16 13:51:51 job2 dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 16 13:51:52 job2 ifup-dhcp: .
Jul 16 13:51:53 job2 dhclient: XMT: Solicit on wlan0, interval 3930ms.
Jul 16 13:51:53 job2 dhclient: send_packet6: Network is unreachable
Jul 16 13:51:53 job2 dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 16 13:51:54 job2 ifup-dhcp: .
Jul 16 13:51:57 job2 ifup-dhcp: .
Jul 16 13:51:57 job2 dhclient: XMT: Solicit on wlan0, interval 8250ms.
Jul 16 13:51:57 job2 dhclient: send_packet6: Network is unreachable
Jul 16 13:51:57 job2 dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 16 13:51:59 job2 ifup-dhcp: .
Jul 16 13:52:02 job2 ifup-dhcp: .
Jul 16 13:52:05 job2 ifup-dhcp: .
Jul 16 13:52:06 job2 dhclient: XMT: Solicit on wlan0, interval 16190ms.
Jul 16 13:52:06 job2 dhclient: send_packet6: Network is unreachable
Jul 16 13:52:06 job2 dhclient: dhc6: send_packet6() sent -1 of 54 bytes
Jul 16 13:52:07 job2 ifup-dhcp: .
Jul 16 13:52:08 job2 ifup-dhcp:  
Jul 16 13:52:08 job2 ifup-dhcp:     wlan0     DHCP4 continues in background
Jul 16 13:52:08 job2 ifup-dhcp:     wlan0     DHCP6 continues in background
Jul 16 13:52:09 job2 dhcpcd[5004]: wlan0: timed out
Jul 16 13:52:09 job2 dhcpcd[5004]: wlan0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-wlan0.info'
Jul 16 13:52:09 job2 dhcpcd[5004]: wlan0: adding IP address 192.168.1.101/24
Jul 16 13:52:09 job2 dhcpcd[5004]: wlan0: adding default route via 192.168.1.251 metric 0
Jul 16 13:52:09 job2 avahi-daemon[2928]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.101.
Jul 16 13:52:09 job2 avahi-daemon[2928]: New relevant interface wlan0.IPv4 for mDNS.
Jul 16 13:52:09 job2 avahi-daemon[2928]: Registering new address record for 192.168.1.101 on wlan0.IPv4.

192.168.1.101/24 is my home network ip/net which obviously can not work in the open WLAN.

Any ideas?
Is there a log with the wireless card setup commands that are used?

In other threads here I have seen that it is suggested that you use the NetworkManager (as opposed to ifup) and that KDE Wallet be enabled for security. If you are using KDE then the KDE Wallet is in Menu/Personnel Settings/Advanced. The NetworkManager setting is in Yast/Network Devices/Network Settings.

Thank You,

Thanks for the tip James.

I tried NetworkManager and you are right: it works.

But this is only the first step. After the network is up at IP level, I have to login to a provider page to get full access (which I do with a wget command). And then I start an openvpn connection over the public WLAN.
I failed setting this up to work automatically with NetworkManager, so I went back to ifup and patched my login script to add the ssid after the network restart.

While this works for me now, I think it still needs to be fixed.
I tried to understand whats going on in the ifup scripts but its a bit complicated so I gave up :frowning:

Try WICD with ifup. First thing I did after clean install of 11.3 was spent 1/2 hour getting NM working, downloaded and installed WICD, changed to ifup and started WICD. Works great, then deleted NM in toto.

joba1 Thanks for the tip James.
You are welcome joba1. It looks like Dwarfer99 thinks you should try WICD with ifup and stop using NetworkManager. You could give that a try and get back with us on it.

Thank You,

Where did you get the 11.3 version of wicd? I can only find one that looks like it’s for is for the xcfe DE not KDE4.

I am using 1.7.0-6.2-i586 from here–> http://download.opensuse.org/repositories/X11:/xfce:/nilda/openSUSE_11.3/
and it works great.

For what it is worth, 11.1, 11.2 and 11.3 there is some sort of installation problem. It has been the same for me on each install. The WEP doesn’t work. You put in the correct key, but it fails. The simple solution for me in all three, was to re-install the network applications. I am no using the ifup, but the knetwork manager.

I just did it now in 11.3. Absolutely would not work. Tried everything. Then I remembered the past. Just clicked on the reinstall on all the network manager apps. About 7. Tried again. Nothing. Rebooted, bamn. Works. No flames please, I know it works for me on An old Dell Inspirion 8500 and Dlink card, and a newer Dell AxPS M1530.

Thanks. That’s the one I found but the xfce in the path confused me. I thought it would only work on the xfce DE.