specifying an ip

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

 



You'd have to get all of the information and make an interfaces file
specifying everything. I think with DHCP it's all or nothing. It would
be something like:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
#hostname box

Hope this helps.
Chris

On Tue, Apr 10, 2001 at 06:17:39AM -0400, Jack wrote:
> yep, i understand that dhcp assigns all that stuff.
> and i'd like it to get all the rest of the info besides the ip.
> i need that to be static.
> do i replace the init dhcp with the ip in question?
> At 03:13 PM 4/10/01 -0500, you wrote:
> >DHCP will automatically assign you an ip address and other network
> >settings. That is its purpose. For eth0, I have this line in my
> >interfaces file:
> >iface eth0 inet dhcp
> >
> >Chris
> >
> >On Tue, Apr 10, 2001 at 05:23:56AM -0400, Jack wrote:
> >> 	hi there.
> >> i took a look at the interfaces file and we are currently using dhcp
> >> so on the line that says dhcp, do i replace the dhcp with the ip i want to
> >> use?
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Speakup mailing list
> >> Speakup at braille.uwo.ca
> >> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> >_______________________________________________
> >Speakup mailing list
> >Speakup at braille.uwo.ca
> >http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> >
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux