Static IP


Forum: Networking
Topic: Static IP
started by: Remus

Posted by Remus on Jan. 25 2005,22:06
I was playing around with DSL booting through an XP machine and I was unsuccesful in getting it online.  When I go to the NIC config should I type in everything as the same as in the XP machine?

IP: 192.168.1.101
Gateway: 192.168.1.1
Broadcast: 192.168.1.255
Mask: 255.255.255.0
Name Server:  Same as DNS?

Those are the XP's configurations, should they be the same within DSL?  I don't know the system specs as the system is not mine. =[

Posted by SaidinUnleashed on Jan. 25 2005,22:25
Use the Net Card Config button in the control panel.

It will ask you for the info, then start your nic for you. This is especially helpful if your LAN doesn't allow DHCP.

-J.P.

Posted by cbagger01 on Jan. 27 2005,10:11
In order to boot up a PC that is supposed to be configured with a static IP address, type in:

dsl nodhcp

at the boot prompt.  Then follow Saidin's instructions to use netcardconfig

Posted by libretto on Jan. 28 2005,09:35
Hello,

Regarding fixed IPs, I've got a HDD install, I was wondering what files needed changing so that DHCP was disabled ???

Posted by flups on Feb. 10 2005,15:05
okay, I have made the HDD install. I disabled DHCP by adding "nodhcp" to the lilo.conf and running lilo. I set up the NIC by clicking on the "net card config" button and all works fine.

Then I rebooted and ... oops ... no connection. I have to run "ifup eth0" manually  after every reboot :(

I did a workaround by adding ifup to the knoppix-autoconfig, but I guess that's not the appropriate way to handle this problem?

Any hints?

Posted by mikshaw on Feb. 10 2005,15:18
You should be able to add it to just about any startup script without causing trouble.  Typically the script used for startups is bootlocal (i believe it's /opt/bootlocal.sh in DSL), just to keep things organized.
I don't know what knoppix-autoconfig is, but if it works I see nothing wrong with using it.

Posted by flups on Feb. 10 2005,15:43
hey thanks, that's better.  :D I didn't knew of the bootlocal.sh, I come frome the SuSE world, things are quite a little bit different there... ;)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.