|
Question : how to add Ip address in Slackware linux
|
|
I use slackware 10.2 and have two ethernet cards installed. when I do "lspci" i can see its there. I want to create one Private and one Public IPs. what commands shall I use.
when I use netconfig I manage to set one up. and when I put ifconfig -a only one eth0 is shown. How to make both work. Its new install of Linux.
whats the command to do it?
|
Answer : how to add Ip address in Slackware linux
|
|
I would try getting your Slackware cd, and reinstall the kernel on it. Just to make sure the problem goes away, then, you can try and compile your kernel, but keep the one that works, till you get a compiled kernel that works as you want it too.
Compiling a kernel can bring a bit more performance, or a leaner machine, but it can lead to situations like not having modules supported, or worse... not supporting your ide drivers or scsi for your hard disk (yes, I made that mistake once).
My advice when compiling a kernel, keep a stock distribution kernel installed, and when compiling, don't do the make install. Copy the kernel to /boot, and modify your /etc/lilo.conf manually (I think slack still uses lilo) so you can boot between both kernels. With the stock kernel, your network cards should work out of the box.
|
|
|
|