It is possible that the preloaded image on the card you have is not up to date and something missing is resulting in it disconnecting and being reconfigured as the next wlan number.
"sudo apt-get update"does not update the system, it only updates the package lists, which you should do before you "sudo apt-get dist-upgrade" to actually upgrade installed packages and any dependencies (from a temporary wired network until you get wireless working). Even the image I downloaded within the past 2 or 3 weeks had a bunch of apt-get updates available.
But my WiFi experience with the Pi is limited (just received it yesterday). I was trying to power Pi, 100 mA Logitech BT mini-receiver (di Novo Edge keyboard mousepad), and 500 mA Linksys W56GSC (which has long been supported by Linux) with a tiny USB hub (2.6 A @ 5V). WiFi actually worked for a short period of time. But then the tiny USB hub would get hot, the Logitech BT kept disconnecting/reconnecting, and wireless disconnect completely (wlan0 would disappear) with errors like this in dmesg:
[ 766.028218] hub 1-1.3:1.0: port 1 disabled by hub (EMI?), re-enabling...
[ 766.028448] usb 1-1.3.1: USB disconnect, device number 5
[ 766.028655] rndis_wlan 1-1.3.1:1.0: wlan0: unregister 'rndis_wlan' usb-bcm2708_usb-1.3.1, Wireless RNDIS device, BCM4320b based
[ 766.028728] rndis_wlan 1-1.3.1:1.0: wlan0: setting infra mode failed (FFFFFFED)
[ 766.028958] rndis_wlan 1-1.3.1:1.0: wlan0: setting SSID failed (FFFFFFED)
[ 766.029008] rndis_wlan 1-1.3.1:1.0: wlan0: setting infra mode failed (FFFFFFED)
[ 766.029034] rndis_wlan 1-1.3.1:1.0: wlan0: setting auth mode failed (FFFFFFED)
[ 766.029058] rndis_wlan 1-1.3.1:1.0: wlan0: setting encr mode failed (FFFFFFED)
[ 766.293408] usb 1-1.3.1: new high-speed USB device number 27 using dwc_otg
[ 766.373411] usb 1-1.3.1: device descriptor read/64, error -32
[ 766.563456] usb 1-1.3.1: device descriptor read/64, error -32
[ 766.753215] usb 1-1.3.1: new high-speed USB device number 28 using dwc_otg
[ 766.833227] usb 1-1.3.1: device descriptor read/64, error -32
[ 767.023260] usb 1-1.3.1: device descriptor read/64, error -32
[ 767.213256] usb 1-1.3.1: new high-speed USB device number 29 using dwc_otg
[ 767.233659] usb 1-1.3.1: device descriptor read/8, error -32
[ 767.363638] usb 1-1.3.1: device descriptor read/8, error -32
[ 767.553290] usb 1-1.3.1: new high-speed USB device number 30 using dwc_otg
[ 767.573803] usb 1-1.3.1: device descriptor read/8, error -32
[ 767.703973] usb 1-1.3.1: device descriptor read/8, error -32
[ 767.813347] hub 1-1.3:1.0: unable to enumerate USB device on port 1
So for now I am using Newark 5.25V 1 A power to the Pi with the 100 mA Logitech BT on Pi USB and tiny Netgear ethernet wireless bridge with its own 1 A power (instead of using its USB power cable). Currently my wireless bridge takes care of the wireless association/encryption and all the Raspberry Pi has to do is get a dhcp IP, etc. automatically through eth0.
My v2 kit from cpc .sd card was set to gui,didn't get to log or setup screen.no ethernet but supplied usb wi-fi worked ok,pnp,they don't tell you it's installed.install loops,had to reflash card again on another card.it's poor.
My Pi shows some odd behaviour during initial boot up. I started with a pre loaded OS from CPC in September and have sudo apt-get updated it this week. During the boot process, when an excess of text runs up my screen, I see that wlan0 gets changed to wlan1 (Ican't remember the exact words) and then the following errors appear (Ihad to photo the screen to find it!)
"configuring network interfaces...wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to connect to wpa_supplicant - wpa_ctrl_open: no such file or directory
wpa_supplicant: /sbin/wpa_cli daemon failed to start
run-parts: /etc/network/if-up.d/wpasupplicant exited with return code 1
Predictably, the wlan doesn't work, never has, although to be fair I have only just been through the very complete driver instructions found at
I have the Edimax WiFi dongle referred to on that page.
I am a newbee at this. Can someone explain the above errors, why the waln0 gets changed to wlan1, how to slow the boot script so that I have time to read some of it and what I need to do to get my wireless working?