Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ipconfig waitall > /dev/null 2>&1 is doing exactly what?



Bill,

On Thursday, March 28, 2002, at 08:14 AM, Rose, William J wrote:

Justin:

Yes, my system is set to "-AUTOMATIC-". So, I suppose I need to set up a
domain file which points to my printer with a custom IP address. I'm a
novice at this, so is it as simple as follwing the some of the points put
forth here: http://www.afp548.com/Articles/system/dns.html. Can I create my
printer as something as simple as 127.0.0.20? And put that in a named.conf
file? Or is there an easier way?

Sounds like there are a couple of configuration issues.

1) Are you using Mac OS X or Darwin?

2) Have you used this computer/printer setup with another OS (e.g., Mac OS 9)? If so, does the printer have an IP address assigned to it (that it knows)?

3) I don't know much about configuring printers on Darwin, so if you need help there, someone else may have the knowledge.

4) Check this HOWTO for info on configuring both Darwin and Mac OS X: http://publicsource.apple.com/projects/documentation/howto/html/network_config.
html

Now, the first thing to know is that you can't (or shouldn't) use 127 addresses off-host. They are local-to-the-computer addresses only. Also, you should be able to set up your printer info on your computer with an address only; host names are possible, but you will have to have a name resolver set up somewhere to use names, and since it's just the two of you (host and printer), this may be more hassle than you want.

Next, you should set you system up as having a manually-assigned address (see the HOWTO). In your case, you are on a completely stand-alone network, so you can safely use what are called RFC-1918 addresses. These are valid addresses that are explicitly set aside for private use, and are not to be routed "in the internet". You can read the RFC if you feel up to it; check http:www.ietf.org and follow the links to the RFCs. For your purposes, you can use, say, the address range 192.168/16 for your network. You might, for example, pick 192.168.100 as your subnet, so the netmask will be 255.255.255.0, and assign addresses 192.168.100.1 to your host, and 192.168.100.2 to your printer. The numbering within the range provided is up to you, with one proviso: the ".0" and ".255" addresses are not for use (they are broadcast addresses).

Finally, if you want your IP printer to have a name, the simplest way, in your setup, may be to add an entry to the netinfo "/machines" directory. This can be done, on Mac OS X, using NetinfoManager (in /Applications/Utilities), or via command line with 'nicl' (as root; e.g., using 'sudo'):
nicl . -create /machines/my_printer_name name my_printer_name ip_address XX.YY.ZZ.AA


Once you reboot, things should proceed more quickly.

If that doesn't help, let me know and I can provide more information.

Regards,

Justin

--
/~\ The ASCII Justin C. Walker, Curmudgeon-at-Large
\ / Ribbon Campaign
X Help cure HTML Email
/ \
_______________________________________________
darwinos-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwinos-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.