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

Bug#933864: ax25-tools: should recommend net-tools




> Am 06.08.2019 um 12:04 schrieb Iain Learmonth <irl@debian.org>:
> 
> Hi,
> 
> On 06/08/2019 10:48, Thomas Osterried wrote:
>>> This package should recommend net-tools as it's super handy to have
>>> "/usr/sbin/arp" handy for manipulating the ARP cache for AX.25
>>> interfaces.
>> 
>> On the other hand, linux goes the iproute2 way (-> /bin/ip), and current
>> debian comes without net-tools being installed by default..
> 
> Is it possible to use iproute2 to manually configure arp cache entries?
> Maybe the correct fix here is a documentation one and I'm just doing
> things the old way.

Afaik, iproute2 / ip could not configure ax25 / netrom / rose addresses.

Ralf's efforts were in displaying the callsigns instead of hex numbers:
http://git.linux-ax25.org/cgit/ralf/iproute2.git/log/?h=bpqether-5.0.0


old:

# ip link show dev bpq0
3: bpq0: <UP,LOWER_UP> mtu 256 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
   link/ax25 88:98:6a:a4:84:40:02 brd a2:a6:a8:40:40:40:00
# ip link show dev nr0
4: nr0: <NOARP,UP,LOWER_UP> mtu 236 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
   link/generic 88:98:6a:a4:84:40:0a brd 00:00:00:00:00:00:00
# ip link show dev rose0
8: rose0: <NOARP,UP,LOWER_UP> mtu 249 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
   link/rose 65:05:75:63:20 brd 00:00:00:00:00
# 

his Patch:

# ip/ip link show dev bpq0
3: bpq0: <UP,LOWER_UP> mtu 256 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
   link/ax25 DL5RB-1 brd QST-0
# ip/ip link show dev nr0
4: nr0: <NOARP,UP,LOWER_UP> mtu 236 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
   link/netrom DL5RB-5 brd *
# ip/ip link show dev rose0
8: rose0: <NOARP,UP,LOWER_UP> mtu 249 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
   link/rose 6505756320 brd 0000000000
#


Reply to: