Dhosthi Dhosthi wrote:

> How does one display, release and renew an IP on a
> Ubuntu6.10 box?

Display your IP addresses.

    $ ip addr

Set up an interface to use DHCP.

    Edit /etc/network/interfaces.  Insert a line like this.  (See
    interfaces(5) man page for details.  Also wireless(7) if it's
    802.11.)

    iface eth0 inet dhcp

    But by default, all interfaces use DHCP.

Bring up an interface (leasing an IP address).

    $ sudo ifup eth0

Take down an interface (releasing the lease).

    $ sudo ifdown eth0

Temporarily lease an address without editing config files.

    $ dhclient3 eth0

> Also, can an old Laser Jet 4mv printer with a
> JetDirect Card be told to grab an IP or otherwise be
> seen on a peer to peer network (w/out a server to
> install to)?  I guess one could cable and install it
> to the Ubuntu box as well as wire it into the network
> by way of the card.  Sounds weird, but may fly!

If you assign it a static IP, you'll know where it is so you can print
to it.  Or you can set it to be a DHCP client (I think) and let the
DHCP server give it a fixed address.

We have a LaserJet 5M at home, but I haven't touched its configuration
in five years, so I forget the details.

-- 
Bob Miller                              K<bob>
                                        [EMAIL PROTECTED]
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to