Skip to contentSkip to conversation

batman-adv: Change ifconfig examples to iproute2

PATCH Applied Sven Eckelmann 2 participants 2 messages Oct 28, 2015 – Nov 17, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 batman-adv: Change ifconfig examples to iproute2

---
v2: fixed "NodeA" in NodeB block

 Documentation/networking/batman-adv.txt | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
Documentation/networking/batman-adv.txt +6 -3
index 58e4904..ff23b75 100644
@@ -115,14 +115,17 @@ The "bat0" interface can be used like any  other  regular  inter-
 face.  It needs an IP address which can be either statically con-
 figured or dynamically (by using DHCP or similar services):
 
-# NodeA: ifconfig bat0 192.168.0.1
-# NodeB: ifconfig bat0 192.168.0.2
+# NodeA: ip link set up dev bat0
+# NodeA: ip addr add 192.168.0.1/24 dev bat0
+
+# NodeB: ip link set up dev bat0
+# NodeB: ip addr add 192.168.0.2/24 dev bat0
 # NodeB: ping 192.168.0.1
 
 Note:  In  order to avoid problems remove all IP addresses previ-
 ously assigned to interfaces now used by batman advanced, e.g.
 
-# ifconfig eth0 0.0.0.0
+# ip addr flush dev eth0
 
 
 LOGGING/DEBUGGING
Signature · 1 line
2.6.2
#1 lore raw
Quoted 6 lines · On Wednesday, October 28, 2015 10:58:00 Sven Eckelmann wrote:

---
v2: fixed "NodeA" in NodeB block

 Documentation/networking/batman-adv.txt | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Applied in revision 4c652b9.

Thanks,
Marek