Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm setting up a small file server. The NIC is not built into the mother board, but added on as a PCI card. I'm running Debian Lenny.
Anyway, I'm trying to set a static IP to this computer. I do this by typing ifconfig eth0 192.168.1.1. It configures it and I have to wait a few moments for it to actually work, but it gets there.
Until reboot. Upon reboot, it keeps looking for a DHCP response or something to that affect. This computer isn't hooked up to any sort of network; instead, it's hooked up to another computer via a cross-over cable. Anyway, it doesn't load the static IP configuration like I need it to.
So, what do I do to keep the IP permanent? I can provide more details if needed. =)
I'm setting up a small file server. The NIC is not built into the mother board, but added on as a PCI card. I'm running Debian Lenny.
Anyway, I'm trying to set a static IP to this computer. I do this by typing ifconfig eth0 192.168.1.1. It configures it and I have to wait a few moments for it to actually work, but it gets there.
Until reboot. Upon reboot, it keeps looking for a DHCP response or something to that affect. This computer isn't hooked up to any sort of network; instead, it's hooked up to another computer via a cross-over cable. Anyway, it doesn't load the static IP configuration like I need it to.
So, what do I do to keep the IP permanent? I can provide more details if needed. =)
See and edit at there
vi /etc/sysconfig/network
at there add ur setting and write then quit by using wq
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.