errr, it's pico /etc/network/interfaces
when finished press Ctrl-X, then 'y', then 'Enter' to save changes.
Main Topics
Browse All TopicsI've recently installed Debian and am trying to figure out how to configure Debian to assume a static local IP. My network isn't anything fancy, just a LinkSys router that serves as my DHCP server. I have my windows computer set to a local IP 192.168.1.100 and would like to do the same for my new Debian server so that I can SSH into the same local IP. I would like to setup this in Debian itself as oppose to mapping the IP based upon the MAC address though the router.
Thanks for any ideas!
~ C
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
the above is correct... the interfaces file is located at /etc/network/interfaces
Also if your network is 192.168.1.0, you would much rather a configuration like this assuming you want your linux box at 101 since your windows is at 100 and your router is at 192.168.1.1... but you can obviously change it to what you want/need:
auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
Best of Luck,
Aaron
Business Accounts
Answer for Membership
by: Grime121Posted on 2006-10-22 at 12:10:34ID: 17784527
type this: pico /etc/networking/interfaces
now change your nic to read something like this:
# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.0.254
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1