LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-29-2016, 11:50 AM   #1
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
net-tools is outdated and arp is no longer built by default


I haven't used arp in a while but I tried today and it isn't working as expected.

The net-tools repo has seen updates in the last month but I don't see a new release. Also arp (and rarp) is no longer built by default.
 
Old 08-29-2016, 01:40 PM   #2
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Rinndalir --

I am not certain about the most recent version of net-tools, but it looks like 14.2 and Current have the most up-to-date version of net-tools ( net-tools on SourceForge )

Did you try to run arp and rarp while logged in as root or as a 'joe' ?

The programs are in /sbin/ ( and slattach is in /usr/sbin/ ) so you'll not 'see' them unless you've got a 'full' root Environment.

-- kjh

From my Local rsync Repository ...

Code:
# -----[ 14.2 ]-----------------------------------------
#
# tar -tvf /home/dld/slackware/slackware-14.2-64/slackware64/n/net-tools-1.60.20120726git-x86_64-1.txz |grep 'bin/'

drwxr-xr-x root/root         0 2012-07-26 16:08 bin/
-rwxr-xr-x root/root    128032 2012-07-26 16:08 bin/netstat
-rwxr-xr-x root/root      5600 2012-07-26 16:08 bin/ipmask
-rwxr-xr-x root/root     12904 2012-07-26 16:08 bin/hostname
drwxr-xr-x root/root         0 2012-07-26 16:08 sbin/
-rwxr-xr-x root/root     15544 2012-07-26 16:08 sbin/mii-tool
-rwxr-xr-x root/root      6896 2012-07-26 16:08 sbin/plipconfig
-rwxr-xr-x root/root     27136 2012-07-26 16:08 sbin/rarp
-rwxr-xr-x root/root     55360 2012-07-26 16:08 sbin/arp
-rwxr-xr-x root/root     11160 2012-07-26 16:08 sbin/nameif
-rwxr-xr-x root/root     19128 2012-07-26 16:08 sbin/iptunnel
-rwxr-xr-x root/root     67968 2012-07-26 16:08 sbin/ifconfig
-rwxr-xr-x root/root     56872 2012-07-26 16:08 sbin/route
-rwxr-xr-x root/root     15472 2012-07-26 16:08 sbin/ipmaddr
drwxr-xr-x root/root         0 2012-07-26 16:08 usr/sbin/
-rwxr-xr-x root/root     32960 2012-07-26 16:08 usr/sbin/slattach
#
# -----[ current ]--------------------------------------
#
# tar -tvf /home/dld/slackware/slackware-current-64/slackware64/n/net-tools-1.60.20120726git-x86_64-1.txz |grep 'bin/'

drwxr-xr-x root/root         0 2012-07-26 16:08 bin/
-rwxr-xr-x root/root    128032 2012-07-26 16:08 bin/netstat
-rwxr-xr-x root/root      5600 2012-07-26 16:08 bin/ipmask
-rwxr-xr-x root/root     12904 2012-07-26 16:08 bin/hostname
drwxr-xr-x root/root         0 2012-07-26 16:08 sbin/
-rwxr-xr-x root/root     15544 2012-07-26 16:08 sbin/mii-tool
-rwxr-xr-x root/root      6896 2012-07-26 16:08 sbin/plipconfig
-rwxr-xr-x root/root     27136 2012-07-26 16:08 sbin/rarp
-rwxr-xr-x root/root     55360 2012-07-26 16:08 sbin/arp
-rwxr-xr-x root/root     11160 2012-07-26 16:08 sbin/nameif
-rwxr-xr-x root/root     19128 2012-07-26 16:08 sbin/iptunnel
-rwxr-xr-x root/root     67968 2012-07-26 16:08 sbin/ifconfig
-rwxr-xr-x root/root     56872 2012-07-26 16:08 sbin/route
-rwxr-xr-x root/root     15472 2012-07-26 16:08 sbin/ipmaddr
drwxr-xr-x root/root         0 2012-07-26 16:08 usr/sbin/
-rwxr-xr-x root/root     32960 2012-07-26 16:08 usr/sbin/slattach
 
Old 09-01-2016, 07:12 PM   #3
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Arp and rarp most likely removed because they no longer function as expected. See the commits from July and others this year.

It's possible they don't have time to do formal release and downstream just grabs the latest code from cvs/svn/git to build distro packages. That's not at all unusual nowadays and is actually very common.

Try this for example:

ls -l /var/log/packages/*git*
 
Old 09-11-2016, 09:24 PM   #4
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
net-tools gets the source using this command:

git archive --format=tar --remote=git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools master > net-tools.tar.xz

So net-tools has not been rebuilt in over 4 years on slackware-current. And because it is pulling from master it probably only needs a package rebuild to bring it up to date.
 
Old 09-12-2016, 01:55 AM   #5
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thanks Rinndalir

I understand what you're saying now.

-- kjh
 
Old 09-16-2016, 03:07 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Rinndalir View Post
I haven't used arp in a while but I tried today and it isn't working as expected.
What did you expect it to do? What worked differently than your expectations? What release of Slackware are you on? Without providing facts, no good answer.
 
  


Reply

Tags
arp, net-tools



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Block per-app ports with built-in tools Tester10 Linux - Security 1 10-25-2012 05:36 PM
Is there a /proc/net/... file for IPv6 similar to /proc/net/arp for mac addresses? systemlordanubis Linux - Networking 1 03-02-2012 06:36 PM
Default arp cache timeout on Linux dazdaz Linux - Networking 1 03-02-2011 02:45 PM
proc/net/arp source location eselig Linux - Kernel 2 06-11-2009 06:24 AM
Built-in wireless card no longer recognized pmehta1613 Linux - Laptop and Netbook 7 10-16-2003 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration