SunPascal wrote:
> It works now!
> I entered cmd on my windows xp, typed ipconfig, saved the output to a file.
> Then I started netcardconfig on linux and typed in the ip adresses and this stuff in. And now it works!

When you run netcardconfig it collects information into a file /etc/sysconfig/knoppix
and another one /etc/sysconfig/network-scripts/ifcfg-eth0 or whatever interface we're
talking about.

These files contains the information you give to netcardconfig and then some more.
My fixed-IP localnet setup in the network-scripts/ifcfg-eth0 looks like this:

---file-begin----
DEVICE=eth0
IPADDR=192.168.224.126
NETMASK=255.255.255.0
NETWORK=192.168.224.0
BROADCAST=192.168.224.255
ONBOOT=yes
----file-end-----

HOWever it is not just those files which makes your ethernetcard select the packets
for the IP-number above. The command in Microsoft is IPconfig, equivalent to Linux
(netutils) "ifconfig", if means interface here.

ifconfig eth0 192.168.220.117 would make the association between eth0 and the IP-number,
and by the way also sets up the routing table fundamentals.



> Thanks a lot!!
>
> I still don't get though why xp autodetects all the settings and knoppix doesn't...

If there is a DHCP server at your ISP end of the cable then Knoppix setup should detect it.
What the other guy writes is that your DHCP-lease is "taken" and must be released before
your Knoppix will be able to ask for a connection.

The ISP uses DHCP as kind of security measurement; it means that he can control
which machines he will be forwarding traffic for. Which is very good;-) The DHCP normally
is tied with the MAC-address. I guess other types of locks are possible, too.

That is why he suggested "ipconfig /release".

Now if the lease is given back, then Knoppix automatically will get a lease when it
boots. It always begins asking for a lease by running "pump", which is one DHCP
client. Then if you have installed a permanent IP address it will begin to configure
using that address after a little while. (I am not sure what happens with the ISP
if this "fixed" IP isn't the same as the other end expects, might differ from IPS to ISP).

Regards/Donald



Now if you try again and shut