[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: network configuration question



>>>>> "fmh" == frank mori hess <fmhess@students.uiuc.edu> writes:
    fmh>  Suppose you install debian without a network card, then later
    fmh> add one.  Is there any way to re-run that initial installation
    fmh> program (where it prompts you for your ip address, hostname,
    fmh> etc) without having to also reinstall everything else? Or do
    fmh> you have to get the scripts and configuration files for
    fmh> networking going by hand?
    fmh> 

I don't think you can rerun the network configuration after the system
has been installed. But it is quite easy to setup networking assuming:

(1) your network card is recognized by your kernel (recompile if
necessary)

(2) you know all the network settings (IP Address, netmask, gateway)

The only difference is that instead of entering that network information
when prompted by the installer, you now have to enter that info into
/etc/network/interfaces with a text editor.

Have a look at the relevant man page:

     man interfaces

Once you have your network card recognized by the kernel, and have
entered all the correct information into /etc/network/interfaces, you
can start networking by typing:

    ifup eth0 (assuming your card came up as eth0)

-- 
Salman Ahmed
ssahmed AT pathcom DOT com



Reply to: