Translate

Wednesday, June 12, 2013

Tips and Tricks for NetBSD - Network Configuration

.: Network Configuration :.

This is a quick guide for those new to NetBSD who want to setup network. In a general way, all you have to do is to edit 3 files:


  • # /etc/hostname.bge0 : noticed that the extension of this file is the name of the network card? ;-)
       192.168.7.70 255.255.255.0 NONE
  • # /etc/myname : contains the hostname
        flagmachine
  • # /etc/mygate : this file contains the network gateway
       192.168.7.254

  • Now just run the system script /etc/rc.d/network to restart the configurations! 
    That's it! :)

    No comments:

    Post a Comment