Help Me!!!! Im Just A Dumb Windows User


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Help Me!!!! Im Just A Dumb Windows User
# 1  
Old 06-21-2005
Power Help Me!!!! Networking MAC OS-X

Networking on the MAC is so hard...I hope some can help...

I need to know how to write a UNIX script that will autostart when OS X boots, and that executes this line:

route add -net 10.10.10.0 10.10.11.10 255.255.255.0


PLEASE HELP ME

WILL

Last edited by wbeard6142; 06-21-2005 at 10:00 PM..
# 2  
Old 06-21-2005
Welcome to the forums, but please do not post derogatory comments about OS's. Personal opinion like this will just end up causing a flame war.

The rules are clear on this.

Thanks,
ZB
# 3  
Old 06-21-2005
hi

Go to google.com and type the following in the search box, and you can go from there.

MAC OS-X unix script boots

You can always search for unix scripts for MAC OS-X systems on the web

Best of luck to you.

Luis
# 4  
Old 06-21-2005
I also found this page on the net:

http://www.kernelthread.com/mac/osx/arch_startup.html

you will find it very useful.


GO TO THE WEB PAGE AND LOOK FOR THE PART THAT SAYS:

From here on, the startup becomes user-level:

mach_init starts /sbin/init, the traditional BSD init process. init determines the runlevel, and runs /etc/rc.boot, which sets up the machine enough to run single-user.

During its execution, rc.boot and the other rc scripts source /etc/rc.common, a shell script containing utility functions, such as CheckForNetwork() (checks if the network is up), GetPID(), purgedir() (deletes directory contents only, not the structure), etc.

rc.boot figures out the type of boot (Multi-User, Safe, CD-ROM, Network etc.).

In case of a network boot (the sysctl variable kern.netboot will be set to 1 in which case), it runs /etc/rc.netboot with a start argument.

/etc/rc.netboot handles various aspects of network booting. For example, it performs network and (if any) local mounts.

It also calls /usr/bin/nbst to associate a shadow file with the disk image being used as the root device. The idea is to redirect writes to the shadow file, which hopefully is on local storage.


GOOD LUCK AGIAN
# 5  
Old 06-21-2005
Thanks for the help...

I went to the site and I added the route add into the rc.common file.

IT WORKS!!!! THANK YOU!!!!

Last edited by wbeard6142; 06-23-2005 at 03:42 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Logged in windows user name

Hi All, We use putty to connect to a unix box. We want to identify the folks involved in running certain shell scripts on the server. I want to identify the windows user id of those folks who have logged through Putty to run the scripts.As unix-id is shared by more than two folks, tracking... (3 Replies)
Discussion started by: mdkareemuddin
3 Replies

2. UNIX for Dummies Questions & Answers

Mounting a standard user, windows share at login

I know how to mount my share via /etc/fstab automatically when the system boots but since I do not have root permission to access the /etc/fstab nor do I think that the system admin wants me to add an entry in /etc/fstab all together. So what file could I add my mount entry in? mount -t cifs... (8 Replies)
Discussion started by: metallica1973
8 Replies

3. HP-UX

user can't write on cifs share but OK with Windows Explorer

Share ServerA ==== The Samba server is running on Samba version 3.0.22 based HP CIFS Server A.02.03.04 /opt/cifsclient/sbin/cifsclientd version: HP CIFS Client - Version A.02.02.02 smb file: My previous casw was thew user wasn't able to write to the share from Windows... (1 Reply)
Discussion started by: lamoul
1 Replies

4. UNIX for Dummies Questions & Answers

Windows user: New to unix

Hi, I have been using Windows until now and I would like to learn unix now. How do I start. I dont have UNIX account, can I still work on Windows and learn UNIX? Where do I start once I have access to UNIX shell? Please help me. riaz (3 Replies)
Discussion started by: ruuddin
3 Replies

5. UNIX for Advanced & Expert Users

Windows 2003 use Samba user database

Hi, I have been looking for information on how to make a Windows 2003 server use the user database of an existing Samba installation. What I want is to use the Win3K as a (second) file server allowing users (using Win2K & Win XP computers) to access its shares using their existing user... (0 Replies)
Discussion started by: jcd
0 Replies

6. UNIX for Dummies Questions & Answers

User ID syntax to FTP to Windows

Hello, I have searched the forums and may not be putting in the right keywords, but hopefully someone will be kind enough to help... It's been awhile since I've ftp'd to a Windows server, but no matter how I try to connect, it will not let me, although I have no issues setting up a connection... (1 Reply)
Discussion started by: tekster757
1 Replies

7. UNIX for Dummies Questions & Answers

this is a very dumb question...i know... :(

hi, when we do an "ls -l" on a directory, we get the listing of the contents of that dir... what is the meaning of some numbers...example in ; -rw-r--r-- 1 idr supp 0 Feb 18 19:41 dmesg drwxrwsrwx 2 root sys 96 Dec 27 15:31 test09 drwxr-xr-x 3 bin ... (1 Reply)
Discussion started by: cromohawk
1 Replies

8. Windows & DOS: Issues & Discussions

How to find windows user without any password

How to find windows users without any password.. (0 Replies)
Discussion started by: RPG
0 Replies

9. UNIX for Dummies Questions & Answers

Windows user help......

Dearest experts, I am a Windows user and recently I wanted to try on Unix technology but I do not know anything about Unix and Linux. I have a PC running on p3 733, 384MB RAM and my current OS are Windows 2000 professional and Windows Me. I wanted to install Linux into this machine but I... (1 Reply)
Discussion started by: cia
1 Replies
Login or Register to Ask a Question