Persistent IP Routes in Mac OS X Tiger

Hello
I have a mac book Pro 10.4.8. I try to add static Routes, i was following this post
http://www.webboise.com/persistent-ip-routes-in-mac-os-x-tiger/
My problem is when after the reboot the rootes was deleted. I must launch directly the script on the Terminal
sudo SystemStarter start PersistentRoutes
Can you help Me ?
Thans You

to have the EXACT same name as the directory, so
/Library/StartupItems/static-routes/static-routes has
to have the same case sensitive name as
/Library/StartupItems/static-routes/ .
pc-mq-dsi3:~ root# ls -l /Library/StartupItems/
total 0
drwxr-xr-x 4 root wheel 136 Oct 15 13:17 CoreDuoTemp
drwxr-xr-x 4 root wheel 136 Jan 13 2005 OpenBase
drwxr-xr-x 4 root wheel 136 Dec 27 11:41 PersistentRoutes
pc-mq-dsi3:~ root# ls -l /Library/StartupItems/PersistentRoutes/
total 16
-rwxr-xr-x 1 root wheel 252 Dec 27 11:51 PersistentRoutes
-rwxr-xr-x 1 root wheel 501 Aug 24 00:52 StartupParameters.plist
pc-mq-dsi3:~ root#
it's correct ?
The script will be called with an argument of start,
so I'd recommend keeping the . /etc/rc.common command
and the StartService() framework.
pc-mq-dsi3:~ root# cat /Library/StartupItems/PersistentRoutes/PersistentRoutes
#!/bin/sh
. /etc/rc.common
ConsoleMessage "Adding Persistent IP Routes"
/sbin/route add 192.168.2.0/24 192.168.1.252
/sbin/route add 192.168.5.0/24 192.168.1.253
/sbin/route add 192.168.6.0/24 192.168.1.252
/sbin/route add 192.168.7.0/24 192.168.1.252
pc-mq-dsi3:~ root#
Always correct ?
The StartupParameters.plist file is a text file
rw-r--r-- (chmod 0644 StartupParameters.plist). It's
bracketed by { and }. The only two lines in mine
that look important are:
pc-mq-dsi3:~ root# cat /Library/StartupItems/PersistentRoutes/StartupParameters
.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Persistent Routes for VPN Tunnels</string>
<key>OrderPreference</key>
<string>Last</string>
<key>Provides</key>
<array>
<string>PersistentRoutes</string>
</array>
<key>Uses</key>
<array>
<string>Network</string>
<string>NetworkExtensions</string>
</array>
</dict>
</plist>
Mine is correct ?
If this stuff doesn't take care of it, could you post
the results of:
ls -l /Library/StartupItems | egrep static-routes
ls -l /Library/StartupItems/static-routes
cat
/Library/StartupItems/static-routes/static-routes
cat
/Library/StartupItems/static-routes/StartupParameters.
plist
pc-mq-dsi3:~ root# ls -l /Library/StartupItems | egrep PersistentRoutes
drwxr-xr-x 4 root wheel 136 Dec 27 11:41 PersistentRoutes
pc-mq-dsi3:~ root# ls -l /Library/StartupItems/PersistentRoutes/
total 16
-rwxr-xr-x 1 root wheel 252 Dec 27 11:51 PersistentRoutes
-rw-r--r-- 1 root wheel 501 Aug 24 00:52 StartupParameters.plist
pc-mq-dsi3:~ root# cat /Library/StartupItems/PersistentRoutes/StartupParameters
.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Persistent Routes for VPN Tunnels</string>
<key>OrderPreference</key>
<string>Last</string>
<key>Provides</key>
<array>
<string>PersistentRoutes</string>
</array>
<key>Uses</key>
<array>
<string>Network</string>
<string>NetworkExtensions</string>
</array>
</dict>
</plist>
pc-mq-dsi3:~ root# cat /Library/StartupItems/PersistentRoutes/PersistentRoutes
#!/bin/sh
. /etc/rc.common
ConsoleMessage "Adding Persistent IP Routes"
/sbin/route add 192.168.2.0/24 192.168.1.252
/sbin/route add 192.168.5.0/24 192.168.1.253
/sbin/route add 192.168.6.0/24 192.168.1.252
/sbin/route add 192.168.7.0/24 192.168.1.252
Thanks for your help
Bolo

Similar Messages

  • Persistent Static Routes

    I have three Macs that need to have persistent static routes set up.  I installed RouteSplit for this purpose and it seems to work well.  After reboot, I can ping a host machine on the static route.  But if I try to mount an SMB share over that route, it fails and I find that I can't even ping the host address anymore.  If I reboot, I am back to having connectivity again, but attempting to mount the SMB share breaks it again.  Is there something in the SMB.conf file that is breaking my static route?
    By the way, even after it has been broken, I can do a netstat -rn and it shows the static route in the routing table.  I am lost.
    Bob Reed

    I can ping a host machine on the static route
    By name, or by address?
    But if I try to mount an SMB share over that route, it fails and I find that I can't even ping the host address anymore
    By name, or by address?
    You don't state how you're testing your ping, either before or after the attempt to mount the server.
    There is a 100% disconnect between SMB and your routing table - it shouldn't be possible for SMB to affect that, nor should SMB care how to get to the specified host. Therefore I'm thinking the problem lies somewhere in between, possibly in the name resolution part of the process, hence my questions.

  • Help installing mac os x tiger

    so i installed disc one of mac os x tiger on my macbook, and when it asks for disc two and i insert it, it loads all the way, then when my computer is turning on it goes back to the beginning of the install and keeps repeating the process. please help !

    Hi,
    See this Current Discussion... BD Aqua Post...
    https://discussions.apple.com/message/15909783#15909783
    Cheers,

  • TROUBLE with Mac OS X Tiger install on G4 iMac 1.25 GHz

    Trying to install retail copy of Mac OS X Tiger 10.4 onto an iMac G4 1.25 GHz running OS X 10.3.9. The DVD shows up on the desktop when inserted, but after clicking install and waiting for the reboot, the system just loads OS X 10.3.9 and NOT the 10.4 setup.
    Inserting the CD and holding "C" during startup yields the blinking system folder with the question mark.
    Apparently no firmware updates are needed and the iMac meets the requirements. Any ideas, suggestions, or workarounds are much appreciated.
    I also have a MacBook Pro (Intel, of course), and was wondering if there was any way to use it to install the PPC version of 10.4 on the iMac. (Can I boot the iMac as target disk mode on my MBP and install the PPC version of Tiger onto it that way? I don't know if that will work with the intel/ppc hiccup.)
    Someone please tell me how to get this working!

    Yes, unless you have the original install disks that came with the computer ( with iLife included) you will have to buy iLife. However, iLife 11 requires an intel processor and snow leopard. If you don't meet those requirements you should try to find an older version. ( usually you can find something on amazon.com)
    David

  • Mac OS X Tiger installation quiz!

    All,
    I got a resetting message with my PowerBook G4 12" and rebooted sevearal times but the message kept coming again. I decided to do the following steps:
    a. run a hardware test and it passed complete one
    b. re-install the Mac OS X Panther with the install CD after erase and format my HD
    c. re-install the Mac OS X Tiger with the CD came with the book.
    d. the resetting message with four different languages still showed up when I tried to reboot system every time. I surely can try the safe boot but how I can get my Powerbook back to normal? Should I send it back to Apple center for repair?
    Thanks,

    Just why were you wanting to install Panther if Tiger came with your machine?
    Unless the Panther installer is the retail version there are any number of problems trying to install an OS from a restore disc from another machine. It just does not generally work.
    The restore disc(s) that came with your machine are what I would suggest you use to attempt a clean installation. It would be a good idea to initialize (format) the drive (and would not hurt to "zero" it) to get the remnants of anything that might cause a problem off of it.
    Is your machine still under warranty? If doing the above does not straighten things out it would probably be best to call AppleCare and see just what they want to do.
    Good Luck

  • Can I upgrade my PowerBook G4 from Mac OS X Tiger to Snow Leopard?

    I am running Mac OS X Tiger 10.4.11 on my PowerBook G4. Can I upgrade to v10.6 Snow Leopard? Just asking because I never upgraded to v10.5 Leopard. Are there any adverse impacts of doing this for my PowerBook G4?

    Hi jjhron;
    As Stedman says you can't go to Snow Leopard with your G4 PowerBook but if your PB meets the specs for Leopard you can upgrade to that instead.
    Allan

  • Can I install Mac OS X Tiger 10.4 on a dell Optiplex Gx280?

    Hi! I have a couple of questions which I can't seem to find the answers too.
    1) Can I install Mac OS X Tiger 10.4 on a Dell Optiplex GX280?
    2) Can I take the HDD from the aforementioned Dell and place it in my Power Mac G4 Digital Audio? If so, will Tiger still be on it?
    3) If I can't install Tiger on my Dell, can I rip the DVD drive out and use that to install?
    4) HDD's don't have to be Mac specific, do they?
    Thank you for your valuable time,
    Obiwan-Kenobi

    Can I install Mac OS X Tiger 10.4 on a Dell Optiplex GX280?
    10.4.8 has been done:
    http://wiki.osx86project.org/wiki/index.php/HCL_10.4.8/Desktops
    If you want further info, don't ask here.
    Use Google and search terms "Dell Optiplex GX280 hackintosh" to search the x86 sites.

  • HT3421 I get this error This update requires Mac OS X Tiger 10.4.11 or newer or Mac OS X Leopard version 10.5.6 or newer.

    I need to download this: (http://support.apple.com/kb/DL788) because my macbook wont turn on unless its charged. I did all the resets like VPRAM, SMC, and I forgot the other one.
    My pack thingy is 0002 and it says that if its 0003 then you dont need the update but I do need the update.
    I get this error:
    This update requires Mac OS X Tiger 10.4.11 or newer or Mac OS X Leopard version 10.5.6 or newer.
    I purchased the battery in December. It worked fine but now its happening again! Please help! Its annoying and the nearest Apple store is 2 hours away!

    Please help me!

  • Just got a new imac and my iwork software wont work. I have the serial numbers but after migrating from my old mac running OSX tiger it won't even give me that opportunity. I do not have any discs as this was downloaded. Help

    Just got a new imac and my iwork software wont work. I have the serial numbers but after migrating from my old mac running OSX tiger it won't even give me that opportunity. I do not have any discs as this was downloaded. Help

    Hi, hopefully you guys can help me out, I just
    purchased a G5 iMac to replace my aging dell desktop,
    and now i'm more or less completely os x dependant
    (I've had an ibook for a few months now). Anyway, I
    have a few questions:
    1. Does anyone know of a (free) mail notifier tool,
    that will alert me when I recieve new pop3 mail? I
    used to use AIM for this in windows
    The built in email program does sound an alert for new messages.
    2. Anyone know of a good (free, again) IRC client?
    iChat works well.
    3. I noticed earlier that my screen was flickering,
    it seems to have subsided for now, but is that normal
    to encounter in a new display? It wasn't really bad
    flicker, but I could see it.
    No idea.
    4. I leave my desktops on 24/7x365, will that be a
    problem with this iMac? Display shuts off of course
    after 30 mins
    You could set the iMac to go to sleep after non use. My Macs are
    always sleeping when not in use, waking them up takes seconds.
    Unlike windoze, never knew if it would be locked up or not.
    5. Should I get the extended warranty? I'm usually
    against them, but I am expecting this computer to
    last me at least 3 years (for $1300 it better!)
    before I upgrade, as I got that much out of a Dell
    and from what I understand, Mac's do not age nearly
    as fast as Windows pc's.
    It is well worth the cost. Never know what might happen. Also
    it is good insurance for future upgrades. I traded in my G4 tower
    purchased two years ago for 75% of what I paid for it. Apple care
    transfers, giving the buyer the remainder of your warranty.
    Thank you for any help,
    -Evan

  • Where do I purchase single user copy of Intel build Mac OS X Tiger?

    Hi,
    I am planning to reinstall my intel Macbook pro, and I bought a copy of Mac OS X tiger from campus store today.
    I did not mention that I have needed an intel build, thought Apple would put intel and powerpc build together.
    Obviously I was wrong. The one they gave me is for build for powerpc only, would not work on my mac, neither can not startup from boot.
    The disc is issued under label: MA453Z/A.
    Before I go to the store tomorrow, I checked the online store and they only sell powerpc build version(MA453Z/A). Where can I purchase Intel based single user Tiger copy?
    thanks
    Yudi
    Mac Book Pro 17 inch CD   Mac OS X (10.4.8)  

    Apple doesn't produce/sell a Universal Tiger retail install package since Tiger has shipped pre-installed with all Intel Macs.
    You need to contact Apple/Apple Care to request a replacement install package for your Mac model and build which will also include all additional software included with your Mac purchase which is not included with a Tiger retail install package. And keep this copy in a safe place this time.
    The Leopard retail install package will be produced/sold as Universal since Universal will be required.

  • Arp aging time on router and mac address aging time on switches set close t

    Hi,
    appreciate some advice on the following:
    what is the benefit of setting arp aging time on router and mac address aging time on switches close to each other?
    Thanks,
    Christina

    Hi,
    based on the below output, do you think implementing it will benefit? Thanks.
    C2950#sh int fa0/43
    FastEthernet0/43 is up, line protocol is up (connected)
    Hardware is Fast Ethernet, address is 000d.5e11.4e2b (bia 000d.5e11.4e2b)
    MTU 1500 bytes, BW 100000 Kbit, DLY 1000 usec,
    reliability 255/255, txload 7/255, rxload 2/255
    Encapsulation ARPA, loopback not set
    Keepalive set (10 sec)
    Full-duplex, 100Mb/s
    input flow-control is off, output flow-control is off
    ARP type: ARPA, ARP Timeout 04:00:00
    Last input never, output 00:00:00, output hang never
    Last clearing of "show interface" counters never
    Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
    Queueing strategy: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 933000 bits/sec, 149 packets/sec
    5 minute output rate 2981000 bits/sec, 263 packets/sec
    2819781393 packets input, 3782332886 bytes, 0 no buffer
    Received 266693 broadcasts (0 multicast)
    0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
    0 watchdog, 0 multicast, 0 pause input
    0 input packets with dribble condition detected
    4015025747 packets output, 2328228393 bytes, 0 underruns
    0 output errors, 0 collisions, 2 interface resets
    0 babbles, 0 late collision, 0 deferred
    0 lost carrier, 0 no carrier, 0 PAUSE output
    0 output buffer failures, 0 output buffers swapped out
    C2950#

  • SG300 inter-VLAN routing and MAC address changes in incoming packets

    Hello
    I have SG300-20 working in Layer3 mode
    VLAN1 is not used
    Internet gateway is in VLAN211
    Clients are in other VLANs
    Switch is default gateway for clients and itself has internet gateway as default route.
    MAC address of switch is XX:XX:XX:XX:XX:63
    When client sends trafic to Internet destination MAC address in outgoing packets is XX:XX:XX:XX:XX:63
    But in incoming packets source MAC address is XX:XX:XX:XX:XX:69
    Why does it change? And how can I setup switch to use only XX:XX:XX:XX:XX:63 MAC address?

    Hi Robert,
    I'd like to pick up this old thread because we have a huge problem with the behavior of the SG300 router/switch regarding the "spoofed" MAC source addresses. We have connected this switch to another router which has some special routing capabilities. It routes certain IP packets directly to MAC addresses which it learned from snooping on special traffic.
    When connected to a SG300 router with an Ethernet base address of XX:XX:XX:XX:XX:48 we receive packets with Ethernet source addresses like e. g. XX:XX:XX:XX:XX:49 or XX:XX:XX:XX:XX:4D (depending on which hardware port they came from). Our special router "learns" these MAC addresses and tries to send associated outgoing packets directly to these addresses using e. g. XX:XX:XX:XX:XX:49 as the MAC destination address.
    Our problem is that the SG300 does not forward the packet if the MAC destination address is not equal to the switch's Ethernet base address (XX:XX:XX:XX:XX:48 in our case). This renders the SG300 series useless for our systems.
    Is there new firmware available which fixes this problem for us? We don't care which MAC source address the SG300 uses in incoming packets we receive, but we expect that the SG300 handles packets correctly for outgoing packets we send with this MAC address as the destination address.
    Thanks,
    Chris

  • I need help installing mac os x tiger, disc 2

    my macbook successfully installed disc 1 of mac os x tiger, within minutes, however when it asks for me to insert disc 2, and i do so, it almost finishes installing the disc, then an error message pops up, saying "there were errors installing the software, please try installing again" i have repeated this process at least 20 times, and the same thing keeps happening. i can't even use my computer regularly since everytime i open it up this happens! please help!

    Hold the Moyse button down to eject Disc #2 while booting up, at the same time hold the Option/alt key down to have the startup manager pop up, insertt Disc #1 & wait For Disc #1 to show as a boot choice.
    That second Disc thing happens frequently, the best way around it is to do a Custom install, and eliminate enough Printer Drivers, Languages, Fonts, and Applications you don't need... then it may skip #2 altogether.
    http://support.apple.com/kb/HT1442
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214

  • Will new Intel macs support OSX Tiger?

    I work in a testing environment and I need to setup another Tiger computer. We have a few intel macs that have tiger. I need to get another machine and set it up with Tiger. If I purchased a new iMac or mac mini, is there a release of Tiger that will run on these PCs? Also, I have been trying to look for a retail release of Tiger that supports Intel processors. Was a product like this ever shipped?
    Thanks.
    Kelly

    kelly, welcome to Apple Discussions.
    Macs can only run an OS version that they shipped with or a higher version. So if you are looking at a new Mac that has Leopard installed, it can't run Tiger. You'll have to buy an older Mac.
    You can look at this list of G4 & G5 Mac's specs to find which newest-older model will run on Tiger. http://www.everymac.com/systems/apple/index.html
     Cheers, Tom

  • Time Capsule with Mac Os X tiger

    I have problem seting up my time capsule to my I-Mac operating with Tiger. The wires seemmed to be ok but i think the cofiguration is the problem
    Any one can help?

    I am also trying to set up my time capsule with my iMac (Mac OS X v10.4.11 Tiger) as well as my new MacBook Pro (Mac OS X v 10.6.2). I think to get the time capsule to work with my iMac, I need to upgrade to Leopard or Snow Leopard?? All the instructions that come with the TC say to use the TC with Time machine I need version 10.5.2 or later. I have set up the TC and am just starting my first back up of my Macbook, which seems to be working ok. My question is, how to get I get a back up going for my iMac without the time machine?? Do I need to go ahead with my first thought and upgrade the iMac to Leopard? Or, would I be able to hook up the TC to my iMac with ethernet cords and keep my macbook wireless to the TC?? I cant seem to find any information on this?
    Thanks

Maybe you are looking for

  • Page number problem in ALV background

    Hi all, I am displaying a report in ALV format. In the header , i have to display the detail like current page no/ total page numbers . I am able to achieve this , but I am facing 2 problems 1. In foreground , it is always dispayed as ONE SINGLE PAGE

  • Form 1099 MISC e-filing to IRS

    Hi All, What are the configuration steps required in SAP for a US Client in order to do1099 MISC e-filing into IRS website from SAP. Please explain the steps in detail or send any available configuration document to my likhit.fico at gmail dot com. T

  • Print Page in OAF

    Hi, I have implemented a search region in the custom page. When i search based on a date, it displays the records of the employees based on the dates. Now, here is what i need to accomplish. If there are around 10,000 records being displayed and each

  • Music app in the iPad & iphone (iOS 6)

    i'm just wondering why, when i use the music app in the iPad (iOS 6) i can't see the lyrics, while in the iphone (iOS 6 too) i can see them????

  • Chapter Buttons Select the Wrong Chapter

    The movie was made with iMovie 06. I set the 6 chapters in IMovie 06 (about one hour long). I then shared the movie with iDVD 08 and tested the movie using 'Preview DVD Playback'. No matter which of the 6 chapter buttons I click on, the movie always