PDA

View Full Version : how do I configure my networkcard?



elrak
06-09-2003, 11:56 PM
I've installed Knoppix on my HD.
getting on the internet with the CD is easy as 123
but I can't find the tool to enable DHCP on the HD

Stephen
06-10-2003, 01:33 AM
Open a root console window and enter netcardconfig and accept the use DHCP question and it will set it up.

rickenbacherus
06-10-2003, 02:22 AM
I've installed Knoppix on my HD.
getting on the internet with the CD is easy as 123
but I can't find the tool to enable DHCP on the HD

I'm beginning to wish it never existed in the first place. :)

elrak
06-10-2003, 10:41 AM
riddle me this:
even " netcardconfig " doesn't work .
otherwise the machine performs great.
And the 2 nic's I've tried work with the live CD but not with the installation on the HD.
But even offline Knoppix is the best thing invented since sliced bread :wink:

blixblix
06-10-2003, 01:53 PM
how I got mine working was to first see if it was there with


ifconfig eth0
if it's not up then bring it up with


ifconfig eth0 up

this next line restarted auto-negotiate


mii-tool -r
you can later switch to full duplex with (probably ok now too)

mii-tool --force=100BaseTx-FD eth0
and then after running netcardconfig and clicking dhcp everything just worked. I also had to do this from the cd so it my not be the same thing.

hope it helps


[/code]

Stephen
06-10-2003, 05:58 PM
riddle me this:
even " netcardconfig " doesn't work .
otherwise the machine performs great.
And the 2 nic's I've tried work with the live CD but not with the installation on the HD.
But even offline Knoppix is the best thing invented since sliced bread :wink:

Some commands you may want to try lsmod will list the loaded modules you can check to see if the module for the network card is loaded. ifconfig will tell you the current settings in use.

The settings for your network are kept in /etc/network/interfaces example configs:

For dhcp



auto eth0
iface eth0 inet dhcp


For static


auto eth0
iface eth0 inet static
address 192.168.0.254
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1


/etc/resolv.conf contains your nameservers.



search wolf
nameserver 192.168.1.10
nameserver 192.168.1.34

After making changes in the files then /etc/init.d/networking restart will restart the network with the new settings. All commands as root in a console window.