LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09: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, 09:53 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,316

Rep: Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878
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, 07: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, 09:45 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,316

Rep: Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878Reputation: 3878
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03: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 09:10 AM
can not run arpd command ababil151 Linux - Newbie 2 08-17-2010 05:19 AM
iproute2 question Ipolit Linux - Networking 5 02-02-2010 08:17 AM
Help with iproute2 warwolf Linux - Networking 1 05-13-2005 10:25 AM


All times are GMT -5. The time now is 06:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration