134 <p> |
134 <p> |
135 Private slot to check the availability of an internet connection. |
135 Private slot to check the availability of an internet connection. |
136 </p> |
136 </p> |
137 <a NAME="EthernetController.__connectLan" ID="EthernetController.__connectLan"></a> |
137 <a NAME="EthernetController.__connectLan" ID="EthernetController.__connectLan"></a> |
138 <h4>EthernetController.__connectLan</h4> |
138 <h4>EthernetController.__connectLan</h4> |
139 <b>__connectLan</b>(<i>config</i>) |
139 <b>__connectLan</b>(<i>config, hostname</i>) |
140 |
140 |
141 <p> |
141 <p> |
142 Private method to connect the connected device to the LAN. |
142 Private method to connect the connected device to the LAN. |
143 </p> |
143 </p> |
144 <dl> |
144 <dl> |
145 |
145 |
146 <dt><i>config</i> (str of tuple of (str, str, str, str))</dt> |
146 <dt><i>config</i> (str of tuple of (str, str, str, str))</dt> |
147 <dd> |
147 <dd> |
148 configuration for the connection (either the string 'dhcp' |
148 configuration for the connection (either the string 'dhcp' |
149 for a dynamic address or a tuple of four strings with the IPv4 parameters. |
149 for a dynamic address or a tuple of four strings with the IPv4 parameters. |
|
150 </dd> |
|
151 <dt><i>hostname</i> (str)</dt> |
|
152 <dd> |
|
153 host name of the device |
150 </dd> |
154 </dd> |
151 </dl> |
155 </dl> |
152 <a NAME="EthernetController.__connectLanDhcp" ID="EthernetController.__connectLanDhcp"></a> |
156 <a NAME="EthernetController.__connectLanDhcp" ID="EthernetController.__connectLanDhcp"></a> |
153 <h4>EthernetController.__connectLanDhcp</h4> |
157 <h4>EthernetController.__connectLanDhcp</h4> |
154 <b>__connectLanDhcp</b>(<i></i>) |
158 <b>__connectLanDhcp</b>(<i></i>) |