On Thu, 2004-08-12 at 19:30, Jerry Davis wrote:
> On Thursday 12 August 2004 09:13 pm, Jay Jacobson wrote:
> > On Thu, 12 Aug 2004, Jerry Davis wrote:
> > > I have an iBook with the Airport Extreme 802.11g, which connects to my
> > > linksys WAP just fine, because I can surf the net etc.
> > >
> > > DHCP gave it an address of 192.168.1.105 but when I do a
> > > ping -b 192.168.1.255 on any of my linux boxen, they don't even see it.
> > >
> > > Am I out of luck here?
> >
> > Why are you trying to ping the broadcast address of your network? What
> > happens if you try to ping the iBook's IP from your Linux box? How about
> > pinging the Linux box from your iBook? Can both the Linux box and the
> > iBook ping the internal IP of the Linksys (I am guessing 192.168.1.1)?
>
> Ok, I can ping the address from both of my Linux boxen. I thought pinging
> broadcast would catch everything on the network. Am I wrong here?
>
> Now on to the real problem. I am trying to print to a CUPS system. But I get
> nothing from the iBook. On my CUPS box, I added 192.168.1.105 to the host
> address list in CUPS configuration. But no print from the iBook. CUPS does
> work though.
----
a broadcast is merely a broadcast and though packets sent to broadcast
address is likely to be seen by all the computers on the same subnet
(firewall and the number of switches on the lan notwithstanding),
whether a host responds to broadcasts with a reply and the character of
the reply would totally depend upon the type of packet being broadcast.
For example, a wins broadcast would get replies but a simple ping packet
wouldn't.
Now, as for you real problem, generally cups will only 'listen' to
localhost (127.0.0.1), at least that's been my experience with default
setup as Red Hat distributes it.
You can alter this behavior by editing cupsd.conf (Red Hat would locate
this in the following path /etc/cups/cupsd.conf). I would expect that
you would want something like this...
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.10.0/24
Allow From 192.168.100.0/24
BrowseAllow From 192.168.100.0/24
BrowseAllow From 192.168.10.0/24
</Location>
perhaps similar in <Location /admin> too. YMMV
man cupsd.conf
Craig
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss