I finally got it to work. stopping the nwam did not help, but smb from SUN 
networking contacted me with more advice. I am posting his advice below just in 
case somebody needs to do that.you can enable the highest possible level of 
debugging in
dhcpagent like this:

pfexec sh
echo .DEBUG_LEVEL=3 >> /etc/default/dhcpagent
echo .VERBOSE=yes >> /etc/default/dhcpagent
echo 'daemon.debug\t/var/adm/debug' >> /etc/syslog.conf
touch /var/adm/debug
pkill -1 syslogd
pkill dhcpagent

Then restart DHCP like this:

ifconfig nge0 dhcp start

... and view the logs in /var/adm/debug.
--------------------------------------------------------------------
I did not need to go that far, though. He said nge driver was fixed in the 
newer release and I installed OpenSolaris over my Solaris express.
it still did not work right away, but this got it working:

scb at immanuel:~# ifconfig nge0
nge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 
index 2
        inet 0.0.0.0 netmask ff000000 
        ether 5:3c:db:21:19:0 
scb at immanuel:~$ cat /etc/dhcp.nge0
cat: /etc/dhcp.nge0: No such file or directory
scb at immanuel:~$ cat /etc/nodename
immanuel
scb at immanuel:~$ ls /etc/host*
/etc/hosts                                                        // there is 
no /etc/hostname.nge0
scb at immanuel:~# touch /etc/dhcp.nge0
scb at immanuel:~# touch /etc/hostname.nge0
scb at immanuel:~# ifconfig nge0 dhcp start
ifconfig: nge0: wait timed out, operation still pending...
scb at immanuel:~# ifconfig nge0 ether 0:19:21:db:3c:5    // reversing the 
ether address
scb at immanuel:~# ifconfig nge0
nge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 
index 2
        inet 0.0.0.0 netmask ff000000 
        ether 0:19:21:db:3c:5 
scb at immanuel:~# ifconfig nge0 dhcp start
scb at immanuel:~# netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
default              216.58.53.193        UG        1          0 nge0      
216.58.53.192        216.58.53.218        U         1          0 nge0      
127.0.0.1            127.0.0.1            UH        3         14 lo0       

---------------------------------
finally works
-- 
This message posted from opensolaris.org

Reply via email to