On Thu, Mar 22, 2001 at 06:30:28PM +0100, Gregor Kaleta wrote:
> Please help!
>
> Which file I have to edit, so that the network becomes started on
> every boot time automatically?
File: /etc/network/interfaces
Related Files: /etc/network/options
Manpage: interfaces(5), ifup(8), ifdown(8)
Docs: /usr/share/doc/netbase
Suggested Packages: task-newbie-help, task-doc, ifupdown
Example:
#lo device
iface lo inet loopback
# An example ethernet card setup: (broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.5.25
network 192.168.5.0
netmask 255.255.255.0
broadcast 192.168.5.255
gateway 192.168.5.254
Other possibilities for configuration:
bash# dpkg-reconfigure netbase
> Under Debian 2.2rev2 ist no /etc/rc.d/rc.inet1 or /etc/rc.d/rc.local
> which I could edit (ifconfig eth0 192.168.0.10 ...).
Suggestion:
Use the commands ls(1) and cd(1) to traverse your directory
structure in /etc. HINT: We don't have an rc.d directory, and if
we did, we wouldn't be stupid enough to use redundant names such
as /etc/rc.d/rc1.d. It would probably be something like
/etc/rc.d/1/. Just go browsing and you'll see...
Related manpage: update-rc.d(8)
--
Chad Walstrom <chewie@wookimus.net> | a.k.a. ^chewie
http://www.wookimus.net/ | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD
Attachment:
pgpUOkgT_56eW.pgp
Description: PGP signature