> (1) I don't want to active wireless driver on boot, so I startup it > manually. after run "ifconfig wpi0 dhcp", I can get the ip, > netmask. But /etc/resolve.conf can't be auto created, I have to create > it manually. You know, sometimes I don't know the name server address, > So, is there a command/script can create /etc/resolve.conf? I'm sure it > exists, but I just don't know.
Check out the eventhook mechanism described in dhcpagent(1M). You can create a script using that which will populate /etc/resolv.conf using the information retrieved from dhcpinfo(1). > (2) Another net card on my laptop is a Marvell Yukon Ethernet > Controller driver, which is not integrated in solaris, So I downloaded > the driver and enabled it. But it's invisible to the network setting > GUI, how to add it to that GUI in solaris? What "network setting" GUI are you referring to? > (3) It's still the yukon driver issue. if I set the IP to dhcp(touch > /etc/dhcp.yukonx0) but not plug in the network cable, the boot time is > too long, I guess yukon is trying to obtain IP but failed. Anyone run > into this problem? You can either lower the amount of time to wait for a lease by putting e.g. "wait 20" into /etc/dhcp.yukonx0 (to wait 20 seconds), or you can skip plumbing during boot. -- meem _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org