Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Darwin OS 1.4.1 Installation and Network Configuration
----------------------
Author : N Gopu
SIP Technologies and Exports Ltd.
Mail : gopu@siptech.co.in
Version : 1.0----------------------
INDEX
1.Installation
1.1 Supported Hardware:
1.2 Making Bootable CD from ISO image.
1.2 Starting Installation
2.Network Configuration
2.1 Setting TCP/IP address
2.2 Setting Host Name and Default Router
2.3 Setting DNS server
2.4 Restarting Network Service
2.5 Viewing Network Configurations
3.Creating Users
1.Installation1.1 Supported Hardware List:
IDE Ethernet Video Successfully Tested On Known not to be Supported
Only the PIIX4 IDE controllers have been found to work. Attached devices
must be UDMA/33 compatible or better. Intel 8255x 10/100 ethernet controllers are supported. You must have a VESA 2.0 compliant video card. Almost all
modern graphics cards are VESA 2.0 compliant. However, emulators such as vmware do not have VESA 2.0 compliant emulated video cards. All 440BX motherboards tested have worked with their internal IDE controllers All AMD and VIA based systems1.2 Making Bootable CD from ISO image.
You can get the gzipped ISO image of Darwin i386 1.4.1 OS from the following link
http://www.opensource.apple.com/projects/darwinYou will need to write that image to a CDROM disc. Then , you can get the bootable Darwin i386 1.4.1 CDROM.
1.3 Starting Installation
Steps:
1. Make First Bootable Drive Option as CDROM in CMOS settings and save it.
2. Then you can start the installation from using the created CDROM.
3 Selecting Hard drive:
After the starting the boot process The installation
prompt will list the devices it found to potentially install Darwin/x86 onto:The following devices are available for installation:
1. [ Vendor string ] /dev/disk0 [ size ]
2. [ Vendor string ] /dev/disk1 [ size ]Which device would you like to install Darwin onto?
Select your choice here.4.Hard Drive Partition:
Then you will get the following prompt:
1) Auto-partition the disk (Destroys all disk contents)
2) Manually partition the disk using fdisk
Choice:
Select your choice here..
electing Auto-partition , you don't need to do any partitioning.
( This is preferred option for first installation)
Note : If your disk is already partitioned, you will get a third option:
3) Use existing partitions
For manual Partition:
Apple Booter Partition(type-0xAB) - Minimum 1 MB,
Apple UFS partition(type- 0xA8) - More than 500 MB
Then Select the root drive.5.Finishing:
After finishing the partitioning , It will start coping files into the hard-drive.
After finishing the coping , You have to reboot the system.
When boots for the first time it will prompt for root password.
Then it will start loading system services and you will get the login prompt.
2. Network Configuration
We will always be referring to en0, the first and usually only Ethernet interface on the system.2.1 Setting TCP/IP address
/etc/iftab is the interface configuration file. This is where you set
information regarding a specific interface.
The default iftab looks something like this (with the comments removed):lo0 inet 127.0.0.1 netmask 255.0.0.0 up
* inet -AUTOMATIC-
To assign a static IP address to your Darwin , remove '* inet - AUTOMATIC- and Enter the following
en0 inet {My IP} netmask {My netmask}
Example:
en0 inet 192.168.64.249 netmask 255.255.255.02.2 Setting Host Name and Default Router
/etc/hostconfig is a general host configuration file. This is where we can set hostname and default router.
In /etc/hostconfig file change the settings
HOSTNAME=
ROUTER=
Example :
HOSTNAME=bluewhale
ROUTER=192.168.64.442.3 Setting DNS server
NetInfo contains the resolver configuration information such as your domain name
and your nameserver(s). NetInfo can be manipulated through the utility niutil.
Steps:
1. niutil -create . /locations/resolver ( This description is for the first time configuration)
2. niutil -createprop . /locations/resolver domain ( Give Domain Name Here)
Example:
niutil -createprop . /locations/resolver domain siptech.co.in
3. niutil -createprop . /locations/resolver nameserver (Give the DNS server IP address here)
Example:
niutil -createprop . /locations/resolver nameserver 192.168.64.122
This creates a "nameserver" entry in the NetInfo resolver configuration.
2.4 Restarting Network ServiceHere are the steps to get your configuration to stick without rebooting:
Kill and restart ipconfigd
Run ipconfig waitall2.5 Viewing Network Configurations
To view DNS configuration:
# niutil -read . /locations/resolver
Output:
name: resolver
domain: siptech.co.in
nameserver: 192.168.64.122To view Configuration Information of NIC:
To view your current network configuration, the ifconfig
command will tell you how your interfaces are configured:
> ifconfig -a
lo0: flags=7056 mtu 53233
inet 127.0.0.1 netmask 0xff000000
en0: flags=3413 mtu 1340
inet 198.168.64.249 netmask 0xffffff80 broadcast 192.168.64.127
ether 0a:05:72:82:c5:4c
3.Creating Users
To Create New Users follow these steps:1. mkdir /Users/
2. niutil -create . /users/
3. niutil -createprop . /users/ uid 1001 (or any other number without conflict)
4 niutil -createprop . /users/ gid 0 (or any ) (gid 0 will create root)
5. niutil -createprop . /users/ shell /bin/tcsh
6. niutil -createprop . /users/ /Users/$user_name
7. passwd
8 chown -R /Users/
----------------------System Administration Documents, SIP Technologies and Exports Ltd.

Where might I find the link to the gzipped ISO image? I can't seem to find it anywhere on the link you provided.

Hi Chris,
Nice to see your response,
They have released new version of darwin( 6.0.1) and remove the old link.
New link is:
http://www.opensource.apple.com/projects/darwin/6.0/release.htmlDownload x86 ISO image (315 MB) and make bootable cd .
Let me know your feedback,
Best Regards,
N Gopu
System Administrator,
SIP Technologies and Exports Ltd.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |