Getting to network settings
Hi
I am a real newbie to solaris. I installed solaris 10 and it works apart from the network side of things. I have a 4 port router with dhcp. The pc with solaris previously had xp on it and could connect to internet no probs.
I cant even find where to enable dhcp on the sun os. Hope someone can help
Kind Regards
Mat
[349 byte] By [
scommy] at [2007-11-26 10:49:07]

# 1
Well you could try typing dhcp into docs.sun.com search...This is a good place to start. http://docs.sun.com/app/docs/doc/816-4554/6maoq01r4You want the section on dhcp client.As a newbie, you will probably be better off with the sys-unconfig approach.
# 2
Thanks for that Robert
I found a sysidcfg.4 sample file in a subdirectory called /usr/share/man/man4/. I tried adding network_interface=hme0 {dhcp} but it made no difference
So I created the sysidcfg file and put it in the root directory with network_interface=hme0 {dhcp} in it.
I then ran the unconfig thing and got a new hostname and root password etc. However I cannot seem to force the system to recognise any network adapter. I have tried reinstalling twice from scratch with 2 different network adapters that I know work, still with no joy. During the install it never prompts me for any network/dhcp type info, just a hostname.
I am certain the router, lan cards and cabling are all ok.
Not sure if I am completely off track or just cursed
Matt
# 3
hme0 is the name of a common network interface on sparc.
A PC one will have a different driver and name.
Rather than trying to do the sysidcfg thing.
Just do a sys-unconfig and reboot. It should figure out what your adapter is and prompt you for the settings it needs.
Once its up, you can do a ifconfig -a and see what adapter name you actually have.
The other possibility its not working is because it just hasnt recognised your NIC.
You might need to manually load drivers.
But thats something I know less about.
# 4
Howdy
ifconfig -a shows the adapter as lo0: and says its up, with ip address of 127.0.0.1 so I guess for some reason the dhcp side of things is just not happening. Have tried unconfig with no joy. I also tried a whole raft of ifconfig commands using various switches. eg: ifconfig lo0 dhcp says interface does not exist or cannot be managed using dhcp
oh well.... shall I try install on a different box?
Cheers
Matt
# 6
The lan card is a Dlink dfe-530tx which is on the hcl, and it did work before on xp. Curiously there are no solaris drivers on the dlink website for this device. Is there any way of forcing solaris to "see" the lan card and then loading drivers?CheersMatt