Results 1 to 7 of 7

Thread: How to set fixed ip adress in knoppix without DHCP ???

  1. #1
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Belgium
    Posts
    252

    How to set fixed ip adress in knoppix without DHCP ???

    Downloaded remastered knoppix for OpenMosix testing.

    Seems very nice ,but how the hell can I fix my ip adress in knoppix without DHCP ?

    The config is as follows =>
    The master (which boots on knoppix cd) has to have a fixed ipadress of
    192.168.0.1 with a subnetmask of 255.255.255.252 . (this should give a broadcast adress of 192.168.0.3 ,with on this network only 2 client ip's possible : 192.168.0.1 and 192.168.0.2 ) .
    Since in this openmosix version once the ip is fixed the dhcp server starts (also on this master) the only thin to do is to do a connection with crossed cable from the client pc (booting in PXE to this master pc).

    To configure this in knoppix I use the provided with it 'netcardconfig'.

    When answering 'No' to DHCP these are the questions asked by netcardconfig :

    IPadress
    NetworkMask
    Broadcastadress
    DefaultGateway
    Namesserver(s)

    With anything I fill in the result is : can't lookup broadcast

    What must I fill in for these values ,or do i have to use ifconfig and do it completely manually ?

    greetzzz,

    Koen

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    You can manually fill them in just fine; I've done it and it works well. What values you need are dependent on your network and what you are connecting to, so I can't just tell you what to use.

    I would suggest doing a DHCP boot and then checking what these values are; from there you could bypass dhcp and set them manually (be careful, of course, that you use a valid IP address and not one that dhcp might give out to another system, DHCP will give out addresses from it's pool and could give out the addres you select if you don't take care to select one not in the pool). Perhaps if you posted what you were using someone could point out what you were doing wrong. Some settings, like a bad mask, would be easy to spot, but others (like a bad DNS value) would not. Also, it would be helpful to know your local network configuration and what you are connecting to,

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Belgium
    Posts
    252
    Say some typical networksettings for a simple direct connection between 2 pc's . (for example to use for data transfer)

  4. #4
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by ktheking
    Say some typical networksettings for a simple direct connection between 2 pc's . (for example to use for data transfer)
    If you're saying that you have no Internet connection, no dhcp server and no DNS servers, then I would suggest the following:

    IP address: 192.168.1.10 for the Knoppix system
    Network mask 255.255.255.0
    Broadcast address: 192.168.1.255
    Default gateway: Doesn't really apply, use the other system IP address to be safe.
    Nameservers: again, does not apply, leave blank.

    You'll also have to be sure the system you are connecting to has an IP address and the other settings. I suggest using 192.168.1.11 for the IP address, the same mask and broadcast address as above. The last two don't apply again, but point the default gateway on this second system at 192.168.1.10 if you need to configure one. You'll have to reference the computers by their IP addresses rather than by names, but all should work fine.

  5. #5
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Rereading your original post I see you need specific addresses for a particular OpenMosix setup. I'm not at all clear why a clustering application would be trying to limit you to two IP addresses, but it seems the IP addresses and related info you posted should have been valid, I'm at a loss to understand why netcardconfig wouldn't accept them. I've set manual values in this way and it has worked fine for me.

  6. #6
    Junior Member
    Join Date
    Aug 2003
    Location
    India (Gujarat)
    Posts
    5
    Hello Dear,
    Just do one thing. Follow these steps very carefully i think it may cause your prob. to be solved properly.

    Step 1 Open the terminal window.

    Step 2 Type command "netcardconfig" and press enter.

    Step 3 After some time you will be prompted whether you want to use DHCP or some like same in a new window. Click on "NO" to this first question.

    Step 4 Now It will ask for the IP. type your ip address and click on "O.K".

    Step 5 Same way subnet, Default getway and in Getway give the ip of your proxy server. and in DNS give the ip of DNS server. -->You can obtain this from your ISP admin. and Your broadcast ip address that you have to calculate either manualy or by using a S/W called ip caculator.

    after entering all the required ip your machine is in n/w and you can access internet.

    Long live "Live linux"

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Belgium
    Posts
    252
    tnx for your efforts

    found it ..

    Problem resides in cheatcode at boot.

    When using the language cheatcode at boot with this knoppix customisation ,you loose the ability to set your ip fix.
    Why I don't know .
    You gotta leave it in german..

Similar Threads

  1. Replies: 0
    Last Post: 04-03-2005, 04:27 PM
  2. how to set IP-Adress on systemstart
    By magicoizo in forum General Support
    Replies: 1
    Last Post: 05-20-2004, 04:35 AM
  3. How to assign a fix IP adress?
    By ahz in forum Customising & Remastering
    Replies: 2
    Last Post: 04-30-2004, 07:13 AM
  4. Fixed ip-adress in Knoppix to use openmosix
    By ktheking in forum General Support
    Replies: 1
    Last Post: 08-06-2003, 03:53 AM
  5. Replies: 4
    Last Post: 06-03-2003, 11:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


NetFu Firewall 1U, Intel CPU, 8 x Gigabit, SFP, w/ pfSense, Others, NEW OPTIONS picture

NetFu Firewall 1U, Intel CPU, 8 x Gigabit, SFP, w/ pfSense, Others, NEW OPTIONS

$553.95



NEW NetFu Firewall Mini, Intel CPU, 6 Port Gigabit, w/ pfSense, others picture

NEW NetFu Firewall Mini, Intel CPU, 6 Port Gigabit, w/ pfSense, others

$336.00



Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services picture

Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services

$1000.00



Fortinet Fortigate FG-61E | Firewall Network Security Appliance picture

Fortinet Fortigate FG-61E | Firewall Network Security Appliance

$49.99



CISCO MERAKI MX64 SECURITY APPLIANCE FIREWALL W/O POWER SUPPLY UNCLAIMED picture

CISCO MERAKI MX64 SECURITY APPLIANCE FIREWALL W/O POWER SUPPLY UNCLAIMED

$39.99



Fortinet FortiGate FG-40F Network Security Firewall picture

Fortinet FortiGate FG-40F Network Security Firewall

$100.00



OPNsense six-port Gigabit router/firewall on Lanner FW-7535 hardware picture

OPNsense six-port Gigabit router/firewall on Lanner FW-7535 hardware

$69.00



Fortinet Fortiwifi 60D FWF-60D Security Appliance Firewall Wifi VPN picture

Fortinet Fortiwifi 60D FWF-60D Security Appliance Firewall Wifi VPN

$29.99



Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter picture

Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter

$999.97



Fortinet FortiGate 60E & FortiAP 221E+ Network Security Firewall  picture

Fortinet FortiGate 60E & FortiAP 221E+ Network Security Firewall

$260.00