File: startnet.8

package info (click to toggle)
dnprogs 2.52
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,644 kB
  • ctags: 4,021
  • sloc: ansic: 26,737; cpp: 10,666; makefile: 832; sh: 537; awk: 13
file content (70 lines) | stat: -rw-r--r-- 2,035 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.TH STARTNET 8 "January 26 2001" "DECnet utilities"

.SH NAME
startnet \- Start the DECnet protocol on Linux

.SH SYNOPSIS
.B startnet
[options]
.br
Options:
.br
[[\-hw [-f]] [<interfaces>]
.br
.SH DESCRIPTION
.PP
Starts the DECnet protocol.
.br
 
.br
This utility should be run at system startup. It will 
change the ethernet hardware (MAC) address of any or all ethernet interfaces to
match the DECnet node address. If you are running Linux 2.2 then you 
.B must
run startnet before any DECnet operations will work. For 2.4+ it is optional
but if you do not run startnet then you must change the ethernet address in some
other way.
.br
By default all ethernet interfaces will have their MAC addresses changed if you
specify 
.B -hw.
startnet will enable (UP) all interfaces it changes the MAC addresses of.

.SH OPTIONS
.TP
.I "\-hw"
Sets the hardware address of the ethernet card(s) to the DECnet node address.
This can only happen if the interface is not in use (but see below).
.TP
.I "\-f"
If 
.B -hw
is specified then the interface will be DOWNed if it is running before changing the
MAC address rather than giving an error. THIS IS VERY DANGEROUS. IT MAY DISABLE ALL
TCP/IP COMMUNICATION TO YOUR MACHINE! Only use this flag if you
.B really
know what you are letting yourself in for and understand ARP.
.SH EXAMPLES
.br
Start the DECnet protocol on eth0.
.br

.br
.PP
    # startnet -hw eth0
.br

.SH HELPFUL HINTS
If you have multiple ethernet cards on your system and they are connected
to the the same network you should
specify which one you want to use for DECnet communication on the startnet
command line, otherwise they will both be given the same MAC address and this
is probably not what you want.
.br
Running DECnet on multiple ethernet interfaces only works under Linux 2.4. If you are
running Linux 2.2 then the interface name on the startnet command line 
.B must
match the one in /etc/decnet.conf(5).
 
.SH SEE ALSO
.BR decnet.conf "(5), " dntype "(1), " dndir "(1), " dndel "(1), " dntask "(1), " dnping "(1)"