Opened 7 years ago

Closed 4 years ago

#6857 closed defect (fixed)

Unable to register a laptop after trying on the wrong network

Reported by: wad Owned by: erikos
Priority: normal Milestone: 10.1.3
Component: sugar Version:
Keywords: registration, schoolserver Cc: wad, dsd, martin.langhoff, sridhar
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: yes

Description

Miguel is impatient, and doesn't notice that his laptop is connected to a simple mesh, instead of associated with the school server. He goes ahead and tries to register his laptop. When it doesn't register, his classmate, Claudia, points out that he isn't on the right network. Miguel clicks on the correct AP icon, and associates with the school wifi network. But when he tries to register, it still doesn't work. He tries four, five times, and still no success.

Finally, the teacher notices and tells him to give Sugar the "three fingered salute" (Ctl - Alt - Erase). After doing this, Miguel's laptop automatically reassociates with the school AP, and he is able to register on the first try.

Miguel was running build 703 (Update.1), on a production machine.

His teacher happened to be running a packet trace at the time, and obtained logs from Miguel's machine (X25).

All are available from:
http://wiki.laptop.org/go/Collab_Network_School_Wifi_Tests#Test_0408B

Attachments (1)

0001-Unable-to-register-a-laptop-after-trying-when-not-co.patch (1.3 KB) - added by erikos 4 years ago.
Patch from Martin from #SL1940

Download all attachments as: .zip

Change History (20)

comment:1 Changed 6 years ago by marco

  • Keywords 8.2.0:+ added
  • Milestone set to 8.2.0 (was Update.2)

comment:2 Changed 6 years ago by mstone

  • Cc wad mbletsas mstone added

What's the proposed fix for this issue?

comment:3 Changed 6 years ago by marco

  • Action Needed set to diagnose
  • Keywords 8.2.0:+ removed

comment:4 Changed 6 years ago by wad

  • Priority changed from normal to low

I changed the priority to low, to reflect the attention it is getting.

I've unwillingly verified that this bug is still present in build 756 (8.2.0 rc).

comment:5 Changed 6 years ago by erikos

You can reset the school server registration using the sugar-control-panel command line interface.

sugar-control-panel -c registration

Hopes this helps.

comment:6 Changed 6 years ago by marco

  • Priority changed from low to normal

wad, there are better ways to raise attention on bugs then changing the priority to low.

comment:7 Changed 6 years ago by marco

  • Resolution set to duplicate
  • Status changed from new to closed

#7764 is the short term solution, which is in the builds. #7765 is the long term one. Marking duplicate because this seem already all covered by those two tickets, feel free to revert if you disagree.

comment:8 Changed 4 years ago by martin.langhoff

  • Cc dsd martin.langhoff added; mbletsas mstone removed
  • Resolution duplicate deleted
  • Status changed from closed to reopened

comment:9 Changed 4 years ago by sridhar

  • Cc sridhar added

Changed 4 years ago by erikos

Patch from Martin from #SL1940

comment:10 Changed 4 years ago by erikos

  • Action Needed changed from diagnose to review

comment:11 follow-up: Changed 4 years ago by erikos

While testing the patch from above I found http://bugs.sugarlabs.org/ticket/2246 which we should fix, too.

comment:12 Changed 4 years ago by erikos

Can we mark this for 10.1.3?

comment:13 in reply to: ↑ 11 Changed 4 years ago by erikos

Replying to erikos:

While testing the patch from above I found http://bugs.sugarlabs.org/ticket/2246 which we should fix, too.

I attached a patch to #10347 for this issue.

comment:14 Changed 4 years ago by Quozl

  • Milestone changed from 8.2.0 (was Update.2) to 10.1.3

comment:15 Changed 4 years ago by erikos

|TestCase|

  • see initial bug description

comment:16 Changed 4 years ago by greenfeld

Tested with test RPMs:

  • sugar-0.84.22-2.fc11.i586.rpm
  • sugar-artwork-0.84.2-2.fc11.i586.rpm
  • sugar-presence-service-0.84.1-2.fc11.noarch.rpm
  • sugar-toolkit-0.84.12-2.fc11.i586.rpm

Attempted to connect to a network without a school server and register to a school server. Verified that registration failed. Switched to a network with a school server and verified registration succeeded without restarting sugar or waiting a long time for the DNS entry to timeout.

comment:17 Changed 4 years ago by erikos

  • Action Needed changed from review to package
  • Owner changed from marco to erikos
  • Status changed from reopened to new

Excellent, thanks for testing that one. Happy this finally goes in.

Pushed as: http://git.sugarlabs.org/projects/sugar/repos/mainline/commits/8effea106ee59edc32f1079faf8ab8dafedeb270

comment:18 Changed 4 years ago by erikos

  • Action Needed changed from package to test in build

Is available in os350.

comment:19 Changed 4 years ago by greenfeld

  • Action Needed changed from test in build to no action
  • Resolution set to fixed
  • Status changed from new to closed

Tested again with the 350 10.1.3 build.

Attempted to connect to a network without a school server and register to a school server. Verified that registration failed. Switched to a network with a school server and verified registration succeeded without restarting sugar or waiting a long time for the DNS entry to timeout.

Note: See TracTickets for help on using tickets.