Also, since you're using Ubuntu, you can easily release and renew your IP address by going to the System menu, Administration, Networking. This opens a graphical interface to the network config. You can uncheck the box next to your network card and re-check it to force a renew of your IP address. Click on the Properties button if you want to change the IP address manually.
Unforunately, the Network Settings interface doesn't tell you your current IP address, you need to use open a terminal and use one of the previously suggest commands (ip addr). - Jason L. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bob Miller > Sent: Thursday, January 18, 2007 7:17 AM > To: [email protected] > Subject: Re: [Eug-lug] refresh IP > > 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 > _______________________________________________ EUGLUG mailing list [email protected] http://www.euglug.org/mailman/listinfo/euglug
