Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > darwin networking

darwin networking
Thread Tools
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status: Offline
Reply With Quote
Jan 6, 2004, 03:35 PM
 
I'm having serious problems getting darwin networking configured (Darwin 7.0.1, not OSX)

I have followed the instructions on apples site, but everytime I reboot, the IP address goes back to a DHCP address. I need it to be the static address I give it.

Issue number two: name resolution does not work. period. Again, I have followed all intructions exactly. Am I missing something? Have you all had the same problems?
     
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
Jan 6, 2004, 09:49 PM
 
Could you elaborate a bit more?

A good place to start is the FreeBSD handbook available from freebsd.org. It also shows the basic setup for DNS, DHCP, networking and other stuff.

FreeBSD is Darwin's reference platform.
I don't suffer from insanity, I enjoy every minute of it.
     
pwolfe1  (op)
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status: Offline
Reply With Quote
Jan 7, 2004, 08:19 AM
 
yeah, I'm sorry. that was kind of weak.

Darwin networking instructions on
http://opendarwin.org/doc/en/article...nfig-in-darwin

instruct me to edit
Code:
/etc/iftab
however I have to create this file. It is not there as the directions say it will be. This has been true with Open Darwin 6.6.2, and with Darwin 7.0.1. So I create the file, but the changes never stick after a reboot. It just keeps going back to some random DHCP address. I have to manually do this every time I reboot:

[code]ifconfig en0 inet {my IP} netmask {my netmask} up]

The router and hostname configuration sticks, as that info resides in /etc/hostconfig, a file that was right where the directions say it will be. But I can never ping anything using name resolution.

I have edited /etc/hosts, and made myself an /etc/resolv.conf. What am I missing?
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:48 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2