Re: Howto set up internet printing



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Craig;

just a few notes as the situation itself probably is hard to be
debugged on the distance:


Am Wed, 27 Sep 2006 23:01:04 +0900
schrieb "Craig Hagerman" <craighagerman@xxxxxxxxx>:

can use it. I have a unique situation. My laptop accesses the LAN
wirelessly and thinks it has an IP of 192.168.3.3. My Ubuntu box
accesses the internet via ethernet (on the same modem/router thingy),
but it thinks it has an external address and doesn't know about the
internal 192.168.x.x network. Odd that.

I assume that this is some sort of DSL modem? If so, and while knowing
that the modem also acts as a WLAN access point, I suppose that the
Ubuntu PC box gets an IP address automatically assigned via DHCP, which
_should_ be the same network as your laptop has (at least, right this
way it is in most of these situations I have seen so far). From that
point of view, configuration should be rather straightforward as you
indeed _are_ on the same network.

By the way you should make sure about that: Just open some terminal on
your Ubuntu PC and see what "ifconfig" will tell you.




What I really want to know is if it is possible to set up a printer on
Linux that can be accessed by another computer that is NOT on the same
LAN. (ie. print from the internet) I have tried reading through the
CUPS documentation but it isn't really newbie user friendly.

Access control in CUPS is really flexible and allows for both accessing
the CUPS box from several networks and, as well, for restricting access
per host / per subnet / whatever. However, definitely you need to know
the IP address of your CUPS server to do anything meaningful here.
However this is not just about configuring CUPS:

- - If your WLAN notebook and your Ubuntu PC possibly are in different
networks, you need to think about routing (i.o.w. make sure that they
are at least able to "ping" each other).

- - If trying to print from "the internet", you have to make sure that
no firewall or something like that cuts down access to the ports CUPS
needs to offer remote printing (that should be 631, AFAIK). If your
modem / router / whatever does NAT or masquerading or something like
that, you might have to look through its configuration to see how to do
something like port forwarding.


However. You should at first check whether your two machines are on the
same subnet. If so, you're almost safe. ;)

Cheers,
Kris


- --
Kristian Rink * http://zimmer428.net * jab: kawazu@xxxxxxxxxxxxx
icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFGo8icxBAPOA1m6wRAvHaAJ97lvixr4PXNLmj26aplCnWe1BN8QCaA3vh
7MMja/BY4JIvWL3llKpCBPI=
=yvyj
-----END PGP SIGNATURE-----
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • laptop, dhcp and ADSL
    ... network configurations in my laptop this week, ... my laptop is a Compaq Armada 7800, with sid running, and a xircom ... Does it mean that this modem (although always refered to as ... which asked me at configuration time whether I ...
    (Debian-User)
  • 8.04 networking seems awfully broken.
    ... I keep reading reviews about how Ubuntu "just works", ... up and f*&king up the network configuration. ... _is_ a response from a DHCP server. ... I've never seen even a single network that uses link-local ...
    (Ubuntu)
  • Re: (Network) Can not connect to internet after install of Ubuntu
    ... For a modem you have to setup pppoe on the ubuntu machine. ... A router should work out of the box. ... PC in our home network connected to internet ...
    (Ubuntu)
  • Re: ADSL modem connexion from SBS 2003 server
    ... Since MS officially supports this configuration it is difficult to provide ... NIC to modem is problematic comes from experience and from others experience ... network requiring continuous connection should have power saving enabled, ...
    (microsoft.public.windows.server.sbs)
  • Re: route (is it forwarding packets?) (sorry if duplicate).
    ... Only one machine on the network having a modem. ... The goal of zeroconf is to have... ... well zero configuration. ...
    (Fedora)