Ticket #6857 (closed defect: fixed)

Opened 6 years ago

Last modified 3 years ago

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
Action Needed: no action Verified: yes
Deployments affected: Blocked By:
Blocking:

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

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

Change History

  Changed 6 years ago by marco

  • keywords 8.2.0:+ added
  • milestone set to 8.2.0 (was Update.2)

  Changed 6 years ago by mstone

  • cc wad, mbletsas, mstone added

What's the proposed fix for this issue?

  Changed 6 years ago by marco

  • keywords 8.2.0:+ removed
  • next_action set to diagnose

  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).

  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.

  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.

  Changed 6 years ago by marco

  • status changed from new to closed
  • resolution set to duplicate

#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.

  Changed 4 years ago by martin.langhoff

  • cc dsd, martin.langhoff added; mbletsas, mstone removed
  • status changed from closed to reopened
  • resolution deleted

  Changed 4 years ago by sridhar

  • cc sridhar added

Changed 4 years ago by erikos

Patch from Martin from #SL1940

  Changed 4 years ago by erikos

  • next_action changed from diagnose to review

follow-up: ↓ 13   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.

  Changed 4 years ago by erikos

Can we mark this for 10.1.3?

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.

  Changed 4 years ago by Quozl

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

  Changed 4 years ago by erikos

|TestCase|

- see initial bug description

  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.

  Changed 4 years ago by erikos

  • owner changed from marco to erikos
  • status changed from reopened to new
  • next_action changed from review to package

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

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

  Changed 3 years ago by erikos

  • next_action changed from package to test in build

Is available in os350.

  Changed 3 years ago by greenfeld

  • status changed from new to closed
  • next_action changed from test in build to no action
  • resolution set to fixed

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.