Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-26-2011, 09:59 PM
|
#1
|
Member
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128
Rep:
|
trouble adding static route to fedora 11
I need a static route setup on fedora 11 to allow a remote site to work. I can add the static route using:
route add -net 192.1.2.0 netmask 255.255.255.0 gw 192.1.1.152
but after reboot it the static route is lost. I have tried /etc/rc.d/rc.local and also added the static route through the network gui but neither have worked. Where would I need to add this to have it started each time the system is booted??
|
|
|
09-26-2011, 10:40 PM
|
#2
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
Hello,
Haven't used Fedora in a bit, but have a look in /etc/sysconfig/network-scripts/route-eth0 after you set your static route and see if the changes are made. Of course, change the interface to whatever you are using. Make your changes reflect in that file, and your static route will be defined.
Cheers,
Josh
|
|
|
09-26-2011, 11:26 PM
|
#3
|
Member
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128
Original Poster
Rep:
|
The changes are there, but the route is still not being started. I created a file in /etc/init.d named routes to automatically add the routes but it's getting an error stating: "SIOCADDRT: no such process". However, if I run the exact same command once the server is started, it adds the route with no problem.
|
|
|
09-27-2011, 12:53 AM
|
#4
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,636
|
are you using the "networkmanager" or the older and still installed but turned off "network"
on this WAY PAST it's End Of Life fedora 11 .( 16 is in testing )
networkmanager auto set it up on boot
network is manual
|
|
1 members found this post helpful.
|
09-27-2011, 01:30 AM
|
#5
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
Quote:
Originally Posted by John VV
are you using the "networkmanager" or the older and still installed but turned off "network"
on this WAY PAST it's End Of Life fedora 11 .( 16 is in testing )
networkmanager auto set it up on boot
network is manual
|
I know this is going to bug the living sh*t out of you, but my server is running Fedora 11
|
|
|
09-27-2011, 05:36 AM
|
#6
|
Member
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394
Rep:
|
I think I'll revert my server from Fedora 14 to Fedora 11. Things were better in the "old" days
|
|
|
09-27-2011, 08:52 AM
|
#7
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
Quote:
Originally Posted by Glennzo
I think I'll revert my server from Fedora 14 to Fedora 11. Things were better in the "old" days
|
True that. But here's the catch... If you do revert, you are going to have to hand-update EVERYTHING.... Even the kernel. Fedora 11's end of life ended a while ago...... So unless you either really want to do this, or have a damn good reason for going to Fedora 11, then stick with an updated version that gets its updates. I hand update what I need to on my server for the experience, and also because I'm weird. So if you do, what's your reason?
|
|
|
09-27-2011, 09:34 AM
|
#8
|
Member
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128
Original Poster
Rep:
|
I believe it's using network manager.
|
|
|
09-27-2011, 12:45 PM
|
#9
|
Member
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128
Original Poster
Rep:
|
When you mentioned NetworkManager I did some searching and ended up finding this ( http://forums.fedoraforum.org/showthread.php?t=219788). Creating the /etc/NetworkManager/dispatcher.d/02-setuproutes file worked perfectly. Thanks for the help.
|
|
|
09-27-2011, 12:51 PM
|
#10
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
Quote:
Originally Posted by JSLayton
|
Glad to hear you got it figured out man. I knew it had something to do with a script within NetworkManager.
|
|
|
09-27-2011, 06:16 PM
|
#11
|
Member
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394
Rep:
|
Quote:
Originally Posted by corp769
True that. But here's the catch... If you do revert, you are going to have to hand-update EVERYTHING.... Even the kernel. Fedora 11's end of life ended a while ago...... So unless you either really want to do this, or have a damn good reason for going to Fedora 11, then stick with an updated version that gets its updates. I hand update what I need to on my server for the experience, and also because I'm weird. So if you do, what's your reason?
|
I'm just joking. It would take way too much effort to go backwards. On the other hand, it would irritate JohnVV
|
|
|
09-27-2011, 07:07 PM
|
#12
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,636
|
Quote:
On the other hand, it would irritate JohnVV
|
true .
but most of the time the person who is using the EOL fedora had / has no idea that they are using a EOL version
the rest DO know the risks ( or SHOULD know the risks )
most of the time the risk is small but not always .
|
|
|
09-28-2011, 07:15 AM
|
#13
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
Awe, we are all getting along.... Cute.
Anyways.... I'm done thread jacking for today. To the OP - Good luck. John and The Bassinator - I'm not saying anything....
|
|
|
11-02-2011, 11:25 PM
|
#14
|
LQ Newbie
Registered: Jan 2004
Posts: 26
Rep:
|
Quote:
Originally Posted by Glennzo
I think I'll revert my server from Fedora 14 to Fedora 11. Things were better in the "old" days
|
there's still some truth to that. things are kept being added till it's so bloated at times, troubleshooting a small p[roblem takes ages. haha
|
|
|
All times are GMT -5. The time now is 10:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|