Re: Changing IP address on a Slackware system


Subject: Re: Changing IP address on a Slackware system
From: David Syzdek (syzdek@mosquitonet.com)
Date: Mon Dec 24 2001 - 19:52:29 AKST


Augustus,

        Edit the /etc/rc.d/rc.init1 script. At the begining of the script
there VARS that set your IP address and routes. You can also run
netconfig as root. If you want to use ifconfig:

Try:
ifconfig eth0 down
ifconfig eth0 192.168.1.10 broadcast 192.168.1.255 netmask 255.255.255.0

        Where:
                eth0 - device you are trying to configure

                192.168.1.10 - IP address being assigned
                192.168.1.255 - broadcast address of network
                255.255.255.0 - netmask of network

Be sure to edit your routes if switching to another network. For more info
follow Patrick's advice and 'man ifconfig'

--David Syzdek

On Fri, 21 Dec 2001 augustus@acerbic.org wrote:

>
> man ifconfig
>
> On Fri, 21 Dec 2001, Patrick Laidlaw wrote:
>
> >
> > Hey could someone tell me how to change the IP address on a Slackware
> > system by not using its "setup" utility?
> >
> > Patrick Laidlaw
> >
> >
> >
> >
>
>
>
>



This archive was generated by hypermail 2a23 : Mon Dec 24 2001 - 19:53:30 AKST