Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 8634] summon problems over wifi connections

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 8634] summon problems over wifi connections
  • Date: Sat, 23 Apr 2005 12:05:00 -0700 (PDT)

http://bugs.sourcemage.org/show_bug.cgi?id=8634





------- Additional Comments From acedit AT armory.com 2005-04-23 12:05 -------
well, the url handling code assumes that the machine IS actually online, its
error handling is that it goes to known fallbacks to get the source. if the
machine isnt online then theres no point to downloading anything. Its not the
responsibility of the url handler...i suppose with the suggestion below it
could
be part of a download handler (bug 8209).

I still think its useful for people using dialup or pppoe, or who just dont
want
to always be online (and its not that hard to do this right).

My suggestion was going to be that instead we have a menu with three fields
'outbound interface' 'connection script', 'disconnection script'.

If the outbound interface is empty, or found in ifconfig output, then the call
to connect() succeeds. The default value for outbound interface will be the
empty string.

If the outbound interface is non-empty and is not seen in ifconfig output, the
script in connection script will be run, we'll provide a default of what we
already have, which would be to run 'pon', then poll for ppp. If the script
returns non-zero, we assume connecting failed.

We'll have some stupid heuristic, or perhaps a shared semaphore to determine
if
we're done downloading something and when thats the case, call a disconnect
script. The default will be to have no disconnect script. We need a semaphore
interface anyways.

All that will be done as part of bug 8209.

This solves the issue in this bug permanently, which is that we cant ever know
all the interfaces that will exist. It also makes it less work for us and
gives
the user more freedom since they can run any arbitrary script they want.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page