For the hostname, edit the file '/etc/hostname', or simply try this
command:
# echo Lappy > /etc/hostname
As for the network settings, edit (or add) a section to the file
'/etc/network/interfaces' that looks similar to this:
iface eth0 static
address 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.255
The next time you reboot, everything should work the way you expect it.
On 22 Aug 2001 13:34:08 -0800, Eric wrote:
> I just got a copy of Corel Office 2000, which comes with a copy of Corel
> Linux. It's based on Debian. I am having configuration trouble.
>
> After install, I tried to reset the hostname: "hostname Lappy";
>
> Then for eth0, "ifconfig eth0 192.168.0.1 netmask 255.255.255.0 broadcast
> 192.168.0.255 up";
>
> I also edited /etc/hosts to match these instructions because the commands I
> just iterated did not do it for me. This is not right, is it?
>
> Anyway, then I reboot. After reboot, eth0 is not configured, and the
> hostname has defaulted to the one I chose at install.
>
> What else do I need to do?
>
> Thanks
>
> eric
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
-=-=-=-=-=-=-=-=-=-=-=[The Realm of Darkness]=-=-=-=-=-=-=-=-=-=-= O-
Ken Bowley johann@trod.org
AKA: Lord Johann http://www.trod.org
-=-=-=-=-=[ Linux, the choice of the GNU generation ]=-=-=-=-=-=-=-=-
LCP, LCI, and Brainbench Linux MVP