[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Netconfig tool or do I have to edit file manually?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 13 January 2002 10:49 pm, Jeremy L. Gaddis wrote:
> Just "man 5 interfaces" and edit it manually.
> It's a really easy format to follow, shouldn't
> take more than 60 seconds or so to change it.
>
> j.

Here's my interfaces file, where eth0 is the external interface,
in case you's like a real-world example:
  auto lo
  iface lo inet loopback
  
  auto eth0
  iface eth0 inet dhcp
  
  auto eth1
  iface eth1 inet static
          address 192.168.1.251
          netmask 255.255.255.0
          network 192.168.1.0
          broadcast 192.168.1.255
  #       gateway 192.168.1.251

Possibly relevant pkg versions:
  cfengine                 1.6.3-8
  ifupdown                 0.6.4-4
  net-tools                1.60-4 
  netbase                  4.07

Ron
- -- 
+------------------------------------------------------------+
| Ron Johnson, Jr.        Home: ron.l.johnson@cox.net        |
| Jefferson, LA  USA      http://ronandheather.dhs.org       |
|                                                            |
! "Millions of Chinese speak Chinese, and it's not           |
!  hereditary..."                                            |
!    Dr. Dean Edell                                          !
+------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QmXnjTz5dS9Us5wRArwcAJ9zRQyrHPWLU6E2NFqmAHlzWLttIQCfRQKh
9Eq9Nc61sGS324PbJh+kT2E=
=52TR
-----END PGP SIGNATURE-----



Reply to: