Visualizzazione dei risultati da 1 a 2 su 2

Discussione: dns ubuntu

  1. #1

    dns ubuntu

    ubuntu mi cambia i dns ad ogni apt-get install
    riprotandomi 192.168.0.1

    ora mi servirebbe un favore io us gentoo ho risolto mettendo delle righe al file
    /etc/conf.d/net

    vorrei sapere qual'e l'equivalente d quel file su ubuntu? dentro al file ci stanno queste righe

    codice:
    # /etc/conf.d/net:
    # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
    
    # Global config file for net.* rc-scripts
    
    # This is basically the ifconfig argument without the ifconfig $iface
    #
    iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
    #iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
    
    # For DHCP set iface_eth? to "dhcp"
    # For passing options to dhcpcd use dhcpcd_eth?
    #
    iface_eth0="dhcp"
    dhcpcd_eth0="-R"
    #dhcpcd_eth0="..."
    
    # For adding aliases to a interface
    #
    #alias_eth0="192.168.0.3 192.168.0.4"
    
    # NB:  The next is only used for aliases.
    #
    # To add a custom netmask/broadcast address to created aliases,
    # uncomment and change accordingly.  Leave commented to assign
    # defaults for that interface.
    #
    #broadcast_eth0="192.168.0.255 192.168.0.255"
    #netmask_eth0="255.255.255.0 255.255.255.0"
    
    
    # For setting the default gateway
    #
    #gateway="eth0/192.168.0.1"
    http://www.gentoo.org/images/powered-by-gentoo.jpg

    {rocksteady@bboy}[rocksteady]*/usr/src/linux*$

  2. #2
    guarda se e' /etc/network/interfaces

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.