[Guessnet-devel] [svn] r134 - web
Enrico Zini
enrico at costa.debian.org
Sun Oct 23 12:49:44 UTC 2005
Author: enrico
Date: Sun Oct 23 12:49:44 2005
New Revision: 134
Added:
web/main.css
- copied unchanged from r132, web/enrico.css
Removed:
web/enrico.css
Modified:
web/index.html
Log:
Removed FAQ from index.html: it's now autogenerated from the guessnet sources
Modified: web/index.html
==============================================================================
--- web/index.html (original)
+++ web/index.html Sun Oct 23 12:49:44 2005
@@ -7,7 +7,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" >
<meta http-equiv="Content-Script-Type" content="text/javascript" >
<meta http-equiv="Content-Style-Type" content="text/css" >
- <link rel="stylesheet" type="text/css" href="enrico.css" >
+ <link rel="stylesheet" type="text/css" href="main.css" >
</head>
<body>
<h1>Guessnet resources</h1>
@@ -38,80 +38,13 @@
as a "mapping script".</p>
- <h2>FAQ</h2>
-
- <h3>Can you show me a simple <tt>/etc/network/interfaces</tt> file enhanced with guessnet?</h3>
- <p>Sure:</p>
- <div class="example"><pre>
-auto lo eth0
-iface lo inet loopback
-
-mapping eth0
- # Too bad there's no way to pass commandline options to script
- # script /usr/sbin/guessnet -i
- script /usr/sbin/guessnet-ifupdown
-
- # List of stanzas guessnet should scan for
- # If none is specified, scans for all stanzas
- #map home work
-
- # Profile to select when all tests fail
- map default: none
-
- # If no test succeed after this amount of seconds,
- # then guessnet selects the default profile
- map timeout: 3
-
- # Uncomment if something goes wrong:
- #map verbose: true
- #map debug: true
-
-# Home network configuration
-iface home inet static
- address 192.168.1.2
- netmask 255.255.255.0
- broadcast 192.168.1.255
- gateway 192.168.1.1
- dns-search home.loc
- dns-nameservers 192.168.1.1
- # Check for one of these hosts:
- test peer address 192.168.1.1 mac 00:01:02:03:04:05
-
-# Bogus configuration to use when there is no cable plugged on the
-# interface. This avoids those long, boring DHCP timeouts at boot!
-#
-# Many network drivers want some real-looking data anyway. I'd really
-# appreciate a way to just keep the interface down (see bug #275326).
-iface disconnected inet static
- address 192.168.1.2
- netmask 255.255.255.0
- test missing-cable
-
-# If nothing is found, try negotiating DHCP
-iface none inet dhcp
- </pre></div>
+ <h2>FAQ and troubleshooting</h2>
+ <p>There is a <a href="FAQ.html">FAQ</a> that gets updated to
+ collect extracts of the various successful email exchanges
+ about guessnet.</p>
- <h3>What is the difference between guessnet and whereami, intuitively, laptop-net, divine, ...</h3>
- <p>The main difference is that guessnet only cares about selecting a network profile, and has no functionalities to reconfigure the system.</p>
- <p>The main purpose of guessnet is integrating with <a href="http://packages.debian.org/ifupdown" ><tt>ifupdown</tt></a>, adding automatic
- network detection to a Debian system with very minimum changes.<p>
-
-
- <h2>Troubleshooting</h2>
- <h3>Link beat does not work: when guessnet tries to check it, the interface is still down for configuration</h3>
- <p>This problem is caused by some network drivers going down and needing
- lots of time to go up again after being configured.</p>
- <p>Try working around the problem by adding:<br/>
- <tt>map init-time: 5</tt>
- (or higher numbers) to the mapping stanza of your interfaces file: that
- asks guessnet to wait for 5 seconds (instead of the default 3 seconds)
- after bringing up the interface.</p>
- <p>If it doesn't work with 5 seconds, try with 10 :) At some point, it
- should work, then you try smaller numbers to fit your needs.</p>
-
-
<h2>Development resources</h2>
<dl>
<dt>APT Repository</dt>
More information about the Guessnet-devel
mailing list