LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2015, 03:01 AM   #1
miti92
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
Fail using scripts automatically config routing table each time new interface come up


Hello all

I'm working on Multipath TCP on Debian. I already installed and configure it sucessfully. I don't want to type by hand so I did the same as guide: http://multipath-tcp.org/pmwiki.php/...nfigureRouting in Automatic Configuration section but fail to make 2 scripts working.

When I type
Code:
# ip route
It did update when new interface comes up (it still update without two scripts). But When I type
Code:
# ip rule
Nothing is update when new interface come. I make 2 file executable by typing
Code:
# chmod +x mptcp_up.sh
# chmod +x mptcp_down.sh
Can anyone help me on this one?
 
Old 04-06-2015, 02:35 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,867

Rep: Reputation: 162Reputation: 162
Are these two scripts readable and writable?
 
Old 04-06-2015, 06:16 PM   #3
miti92
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
Are these two scripts readable and writable?
They said that place mptcp_up.sh in /etc/network/if-up.d and place mptcp_down.sh in /etc/network/if-post-down.d. Then make both script executable. Where do I wrong?
 
Old 04-07-2015, 02:46 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,867

Rep: Reputation: 162Reputation: 162
To make script executable, readable is pre-condition.
 
  


Reply

Tags
multipath


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] The system time switches the time zone automatically but doesn't change the time RandomTroll Linux - Software 9 03-15-2013 12:28 PM
ARP table or routing table consulted first? YaMaHaBoB Linux - Networking 4 07-15-2011 04:56 PM
PAM time restrictions - changing Time.conf so it gets time from sql table noodlesoffire Linux - Newbie 1 04-04-2010 04:41 PM
why lo interface is not in routing table? montyleesam Linux - Networking 1 06-10-2008 01:06 AM
Question regarding kernel routing table interface jaideep.dhok Programming 3 04-18-2006 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:43 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