User Tools

Site Tools


doc:recipes:bridgedclient

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:recipes:bridgedclient [2013/05/01 18:55]
mcgrof
doc:recipes:bridgedclient [2014/12/01 13:36] (current)
jow alte Version wieder hergestellt (2014/03/22 23:41)
Line 173: Line 173:
 ==== Step 4: Specify gateway ==== ==== Step 4: Specify gateway ====
  
-In my case, after following this recipe through all three steps, the network was working fine, but internet was not accessible. To make internet work I needed to additionally add a new config section - a gateway route (in my case 192.168.1.1) ​for the lan interface in **/​etc/​config/​network**:​ +In my case, after following this recipe through all three steps, the network was working fine, but internet was not accessible. To make internet work I needed to additionally add a gateway route (in my case 192.168.1.1) ​and to make domains resolve I needed to add a dns server address (for example 8.8.8.8) ​for the lan interface ​in **/​etc/​config/​network**:​
- +
- +
-| ''​**config '​route'​ +
- option '​interface'​ '​lan'​ +
- option '​target'​ '​0.0.0.0'​ +
- option '​netmask'​ '​0.0.0.0'​ +
- option '​gateway'​ '​192.168.1.1'​** ''​ | +
- +
-And to make domains resolve I needed to add a dns server address (for example 8.8.8.8) in  **/​etc/​config/​network** ​to the lan interface section:+
  
 | ''​config '​interface'​ '​lan'​ | ''​config '​interface'​ '​lan'​
  ...  ...
- **option '​dns'​ '​8.8.8.8'​** ''​ |+ **option '​dns'​ '​8.8.8.8
 + option '​gateway'​ '​192.168.1.1' ** ''​ |
  
 ===== See also ===== ===== See also =====
  
 For more on wireless client mode see [[doc/​howto/​clientmode]] For more on wireless client mode see [[doc/​howto/​clientmode]]
doc/recipes/bridgedclient.1367427353.txt.bz2 · Last modified: 2013/05/01 18:55 (external edit)