[OpenIndiana-discuss] Fixing DHCP networking

James Carlson carlsonj at workingcode.com
Wed Jul 15 11:22:31 UTC 2015


On 07/14/15 17:25, mike-romberg at comcast.net wrote:
>>>>>> " " == James Carlson <carlsonj at workingcode.com> writes:
> 
> [...]
>      > Nit: that last command should be "dhcp start".
> 
> svcadm disable nwam
> svcadm enable physical:default
> ifconfig -a plumb
> ifconfig e1000g0 dhcp start                                                   ifconfig: e1000g0: wait	timed out, operation still pending... 
> 
>   Is there some location the dhcp client may be logging to?

Sure.  The dhcpagent(1M) man page describes the client.  It logs to
syslog(3C) with facility LOG_DAEMON.  Assuming you have syslog set up
correctly (see /etc/syslog.conf), the messages show up in a file such as
/var/log/syslog.

You can also use snoop(1M) or wireshark to monitor its progress.

And you can do this:

# ifconfig e1000g0 dhcp status

That displays the current negotiation status.

>  Or can I
> just use some variant of ifconfig and route to setup a static ip
> address?

It works the same as ifconfig on any other system.  Here's an example:

# ifconfig e1000g0 192.168.254.1/24 up

Of course, if the underlying interface doesn't work for some reason,
that's not really going to help a whole lot.

-- 
James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>



More information about the openindiana-discuss mailing list