Diff for /wikisrc/guide/net-practice.mdwn between versions 1.1 and 1.2

version 1.1, 2013/03/14 23:07:45 version 1.2, 2013/03/14 23:19:08
Line 564  the connection messages of pppd, give th Line 564  the connection messages of pppd, give th
   
     # tail -f /var/log/messages      # tail -f /var/log/messages
   
 To disconnect, do a **kill -HUP** of **pppd**.  To disconnect, do a `kill -HUP` of `pppd`.
   
      # pkill -HUP pppd        # pkill -HUP pppd 
   
Line 768  The `/etc/nsswitch.conf` file should be  Line 768  The `/etc/nsswitch.conf` file should be 
   
 Summing up, to configure the network the following must be done: the network   Summing up, to configure the network the following must be done: the network 
 adapters must be installed and physically connected. Next they must be   adapters must be installed and physically connected. Next they must be 
 configured (with **ifconfig**) and, finally, the file `/etc/rc.conf` must be   configured (with `ifconfig`) and, finally, the file `/etc/rc.conf` must be 
 modified to configure the interface and possibly default router, and   modified to configure the interface and possibly default router, and 
 `/etc/resolv.conf` and `/etc/nsswitch.conf` should be adjusted if DNS should be   `/etc/resolv.conf` and `/etc/nsswitch.conf` should be adjusted if DNS should be 
 used. This type of network management is sufficient for small networks without   used. This type of network management is sufficient for small networks without 
Line 874  section. Line 874  section.
 Of course you don't want to give this command every time, so it's better to   Of course you don't want to give this command every time, so it's better to 
 define the `defaultroute` entry in the `/etc/rc.conf` file: the default route   define the `defaultroute` entry in the `/etc/rc.conf` file: the default route 
 will be set automatically during system initialization, using the defaultroute   will be set automatically during system initialization, using the defaultroute 
 option as an argument to the **route add default** command.  option as an argument to the `route add default` command.
   
 If the client machine is not using NetBSD, the configuration will be different.   If the client machine is not using NetBSD, the configuration will be different. 
 On Windows PCs you need to set the gateway property of the TCP/IP protocol to   On Windows PCs you need to set the gateway property of the TCP/IP protocol to 
Line 888  The following commands can be useful for Line 888  The following commands can be useful for
   
  * `ping` -- tries to connect to other computers via ICMP (usually used for    * `ping` -- tries to connect to other computers via ICMP (usually used for 
    testing if a connection exists).     testing if a connection exists).
  * `netstat -r` -- Displays the routing tables (similar to **route show**).   * `netstat -r` -- Displays the routing tables (similar to `route show`).
  * `traceroute` -- On the client it shows the route followed by the packets to    * `traceroute` -- On the client it shows the route followed by the packets to 
    their destination.     their destination.
  * `tcpdump` -- Use on the gateway to monitor TCP/IP traffic.   * `tcpdump` -- Use on the gateway to monitor TCP/IP traffic.
Line 1061  use a little trick: Line 1061  use a little trick:
  * Create a Remote Access connection like the one described before for Windows    * Create a Remote Access connection like the one described before for Windows 
    NT, but using the *Standard Modem*.     NT, but using the *Standard Modem*.
   
  * In `.ppprc` substitute the line that calls **chat** with the following line   * In `.ppprc` substitute the line that calls `chat` with the following line
   
        connect '/usr/sbin/chat -v ATH OK AT OK ATE0V1 OK AT OK ATDT CONNECT'         connect '/usr/sbin/chat -v ATH OK AT OK ATE0V1 OK AT OK ATDT CONNECT'
   

Removed from v.1.1  
changed lines
  Added in v.1.2


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb