LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2013, 08:21 AM   #1
vijay_nbr
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Rep: Reputation: Disabled
Regarding arpd in iproute2


Hi All

I am new to linux. I want to write shell scripts to automate arpd in
iproute2 package. After searching in net am bit confused. Can anyone help me how to start. Using Ubuntu 12.04.

Thanks in advance
 
Old 02-13-2013, 08:53 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by vijay_nbr View Post
Hi All
I am new to linux. I want to write shell scripts to automate arpd in iproute2 package. After searching in net am bit confused. Can anyone help me how to start. Using Ubuntu 12.04.
There's not much we can help you with, since we don't know what you're confused about. And, you haven't really asked a specific question. If you have commands you run now to do what you want, put them in a file...that's your script. If you want to do something more advanced, there are MANY THOUSANDS of very easily-found bash scripting tutorials you can find with a quick Google search. Read them. There is even a link to one in my post signature.
 
Old 02-14-2013, 06:38 AM   #3
vijay_nbr
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi TB0ne,

Thanks for the reply...
I installed iproute2 package. But when i tried 'arpd' command, it is showing error 'db_open:no such file or directory'.
I am using ubuntu 12.04 version..

Thanks
 
Old 02-14-2013, 08:45 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by vijay_nbr View Post
Hi TB0ne,
Thanks for the reply...
I installed iproute2 package. But when i tried 'arpd' command, it is showing error 'db_open:no such file or directory'. I am using ubuntu 12.04 version..
Ok, and did you try to look the error up, or read the man page on arpd??
http://manpages.ubuntu.com/manpages/...n8/arpd.8.html

You don't say what the exact command you typed in is, but you need to specify where the database IS, with the "-b" switch. Did you? Does that file/directory exist???? By default, it's /var/lib/arpd/arpd.db; if that directory doesn't exist, create it. Read the man page.
 
2 members found this post helpful.
  


Reply



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
[SOLVED] Recompile redhat kernel so ARPD is supported genderbender Linux - Newbie 11 05-21-2012 02:52 PM
LXer: Installing Honeyd 1.5c And Arpd 0.2 Under CentOS 5 (With gcc 4.x) LXer Syndicated Linux News 0 12-08-2010 08:10 AM
can not run arpd command ababil151 Linux - Newbie 2 08-17-2010 04:19 AM
iproute2 question Ipolit Linux - Networking 5 02-02-2010 07:17 AM
Help with iproute2 warwolf Linux - Networking 1 05-13-2005 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:56 PM.

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