Re: Problem obtaining network lease automatically
"Justin Patrin" <[email protected]>
| Newsgroups | gmane.comp.handhelds.openzaurus.devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/22/06, Michael Rozdoba <[email protected]> wrote: > GROG! (Jeff Howie) wrote: > > On Tue, Aug 22, 2006 at 01:03:48PM -0700, Justin Patrin wrote: > >> On 8/22/06, GROG! (Jeff Howie) <[email protected]> wrote: > >>> GPE 3.5.4.1.release C860 (boxer) > >>> > >>> Hey all. I've noticed that I always have to run 'udhcpc -n' to > >>> obtain a network lease when using either my wifi, nic or modem card. > >>> /etc/network/interfaces: > >>> > >>> iface eth0 inet static > >>> > >>> I never had to do this in 3.5.4.1.rc4. What am I missing? thks > >> Yeah....you set it to a static IP so it's using a static IP. Make it > >> something like this: > >> > >> iface eth0 inet dhcp > > > > So you're saying that OZ doesn't support static ip's anymore? Or is > > there another way to specify the address? > > I'm confused now. Do you want to use static addressing or obtain an > address via dhcp? Your config gives you static addressing; Justin's > gives assignment by dhcp. > > Are you saying you want to use dhcp but request a specific address (if > so, may I ask why?)? If that is what you're after, I don't think your > original config would have ever achieved this other than by a fluke. > > As usual, I'm very likely wrong about something. > No, Michael, you're right about this. You (Jeff) cannot have both a static IP and an IP via DHCP. You can have one or the other, not both. Jeff asked for a static IP and got a static IP. If he wants DHCP he should ask for DHCP. Jeff: If what you want it for your DHCP server to always give you the same IP then you need to tell your DHCP server to always give the MAC of your Z's wifi card the same IP. You can't choose to use static and force the DHCP server to give you a certain IP. It doesn't and shouldn't work like that. -- Justin Patrin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642