Bug 14197 - Can't see wireless networks immediately after upgrade from 7.3.3 r6038 firmware
: Can't see wireless networks immediately after upgrade from 7.3.3 r6038 firmware
Status: CLOSED FIXED
Product: SB Controller
Classification: Unclassified
Component: Networking
: unspecified
: PC Windows XP
: P1 normal (vote)
: 7.4.0
Assigned To: Felix Mueller
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-22 14:37 UTC by Mickey Gee
Modified: 2010-02-08 09:56 UTC (History)
5 users (show)

See Also:
Category: ---


Attachments
Wireless log (1.57 KB, text/plain)
2009-09-22 14:38 UTC, Mickey Gee
Details
Second error screen -- note wireless icon shows connected (10.51 KB, image/jpeg)
2009-09-22 14:42 UTC, Mickey Gee
Details
Please make sure network screen (17.30 KB, image/jpeg)
2009-09-22 14:42 UTC, Mickey Gee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mickey Gee 2009-09-22 14:37:49 UTC
I manually upgraded my Controller from 7.3 r6038 to r7707 using an SD card. I saw the "you're now on 7.4" message, then everything looked OK. However, I hadn't chosen a player or wasn't sure what wireless network I was on.

When I went to choose a wireless network, I got the Choose Network screen and "I don't see my network" option. Zero networks found.

Attaching screen shots and log.
Comment 1 Mickey Gee 2009-09-22 14:38:56 UTC
Created attachment 5891 [details]
Wireless log
Comment 2 Mickey Gee 2009-09-22 14:42:12 UTC
Created attachment 5892 [details]
Second error screen -- note wireless icon shows connected
Comment 3 Mickey Gee 2009-09-22 14:42:38 UTC
Created attachment 5893 [details]
Please make sure network screen
Comment 4 Mickey Gee 2009-09-22 14:53:25 UTC
Tried removing battery but no change. Factory reset solved problem.
Comment 5 Felix Mueller 2009-09-22 23:20:15 UTC
First log shows two identical 'auto' entries in /etc/network/interfaces for the same wireless network. Apparently this confuses ifup as the interface is not started if doulbe 'auto' entries are in that file.

I confirmed the issue by manually adding an additional 'auto' entry.

We need the upgrade code to check for an existing 'auto' entry and only add it when not yet there.
Comment 6 Felix Mueller 2009-09-23 05:27:07 UTC
Proposed patch:

Index: linuxrc
===================================================================
--- linuxrc	(revision 7718)
+++ linuxrc	(working copy)
@@ -82,7 +82,10 @@
 
 			if [ "x$SSID" != "x" ]
 			then
-				echo "auto eth0=$SSID" >> /mnt/storage/etc/network/interfaces
+				/bin/grep -q "auto eth0=$SSID" /mnt/storage/etc/network/interfaces
+				if [ $? -ne 0 ]; then
+					echo "auto eth0=$SSID" >> /mnt/storage/etc/network/interfaces
+				fi
 			fi
 		fi
Comment 7 SVN Bot 2009-09-23 07:00:35 UTC
 == Auto-comment from SVN commit #7719 to the jive repo by felix ==
 == https://svn.slimdevices.com/jive?view=revision&revision=7719 ==

Bug: 14197 
Description: Do not add 'auto' line to /etc/network/interfaces if it already exists to avoid double entries.
Comment 8 Felix Mueller 2009-09-23 07:02:03 UTC
Mickey: Please retest, thanks.
Comment 9 James Richardson 2009-10-05 14:26:08 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 10 Chris Owens 2010-02-08 09:56:58 UTC
These are all bugs that have been marked 'fixed' or 'closed' but still have the bug_meeting keyword.  They were not showing up in James's bug meeting search.

Please let me know (chris_owens@logitech.com) if these need to be brought up at the next bug meeting.  In the meantime I will fix the search.