On Sunday 11 August 2002 08:46 pm, Andy Miller wrote:
> I seem to have done something to my Mandrake 8.2 installation on a Dell
> Latitude to lose control of my network interfaces. When I use netconf to
> check and configure the machine, it shows a total of 6 different network
> interface options. All I want is to use the first to set the proper IP
> address, name, and DNS servers for eth0. Netconf shows the first one
> configured as I would like, but disabled. It shows the second one enabled,
> again for eth0, but using the IP address of the router for this network,
> 10.32.10.1. The third for eth0 is enabled and configured as the first one,
> that is the way I want it. The rest are empty.
>
> I have reset them the way I want, eliminated any info on the second and
> third options, disabled them, enabled the first and saved. No matter what
> I do, they get reset as above.
>
> I have webmin on this machine and looking at the network settings, it seems
> to be OK. Mandrake Control Center also seems to show it set up as I want.
> I've looked through any .conf files I can think of that might be relevant
> and I cannot for the life of me figure out what is changing the settings.
> Can someone point me toward a solution?
>
> Frustratedly yours,
> Andy Miller

Hi,
perhaps this will confuse you more, but perhaps it will help...

## we need power!
su

## first let us clean up the situation
ifconfig
# something is printed onto screen
ifconfig ethX down      # for each ethX shown 

## now setting up our networking interface and router
ifconfig eth0 <my ip> netmask <my netmask>
route add default gw <ip of our gateway>

## of course we need DNS, too
cd /etc
echo "search localdomain" > resolv.conf
echo "nameserver <ip of my DNS server>" >> resolv.conf
echo "nameserver <ip of my 2nd DNS server>" >> resolv.conf

# now everything should work fine;)
# and if really we should place a script into 
# /etc/rc.d/init.d linked to /etc/rc.d/rcX.d
# to get this up automatically when booting

Frank.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to