Internet setup on solaris10

Hi all,

Can anyone please tell me how to setup internet on solaris10, b72?

I own an airtel broadband, with a beetel 220BXI modem.
I am new to solaris so was wondering as to how it can be done?

Thanks

Can you tell more about what these things are and how do you connect them ?

wifi ? ethernet ?

i connect through ethernet

Then just use dhcp and you are done, assuming your NIC is supported.

hi, sorry to bump, but it is relevant...

I am also needing a pointer in the right direction...

I have just installed Solaris for the very first time (Solaris 10), and am having difficulty setting up IP numbers and gateway.

The Network card I assume is correctly installled (as the icon appears in the bottom right hand corner).

I have Googled this issue and have pretty much followed instructions as to how to change the settings, but one issue I can't follow is changing the /etc/defaultrouter as this file doesn't exist on my system.

Is there no GUI to easily change this? or have i been using Windows for too long??

I've also seen comments that I should run user/sbin/sys-unconfig but not sure how to even do this...

SO... any help (ideally step by step instructions) would be greatly appreciated.

Many thanks in advance.

Edit : I will be using static IP's, not DHCP, the setup will be

PC's IP = 172.26.0.44
Router/Gateway = 172.26.0.1

Thanks

if the file is not existent... touch it... edit it... and you are done!

you need this files:
/etc/hostname.name of your nic (put the mashine name in this file)
/etc/hosts (enter the ip and the mashinename in ONE row)
/etc/defaultrouter (put the ip of your router in the file)

reboot the mashine and see if it works!

hi, yes, im nearly there, had to create the file (defaultrouter) with the echo command

now i also see the ip number of the machine in the network icon, but need to change the subnet to 255.255.255.0

i cant manage to get that changed so that it appears correctly in the window when i double click on the network icon, the ip is there, but the subnet appears as 255.0.0.0 instead of 255.255.255.0

the netmasks has been change to

172.26.0.44 255.255.255.0
is this right?

i don't know the iprange you use... but i think an entry like this:

172.26.0.0 255.255.255.0

in your "/etc/netmasks" will do the job. and i don't know about which icon you are talking... lets use a shell to get everything to work... it's much easier!

and... I'll be needing to enter the DNS server addresses too, where do they go?

thanks

/etc/resolv.conf <-- read the manpage!

and you need to rename the /etc/nsswitch.conf to /etc/nsswitch.old
after that do:
mv /etc/nsswitch.dns /etc/nsswitch.conf

hth,
DN2

hmmm , my /etc/resolv.conf didnt exist, so i created it and entered:

nameserver 80.58.0.33
nameserver 80.58.32.97

(which are both the correct DNS servers, primary and secondary)

and i carreid out the rename and command that you suggested...

ity still doesnt work... any further ideas?

thanks

rebooted your system? or started the dns client?

# svcs -a | grep -i dns

dns/client should be online!

hi, yes, restarted, but appears as disabled, how do i enable it?

thanks again!

googling this, i've tried :

# svcadm enable dns

and an error pattern 'dns' doesnt match any instances

# svcadm online smf

you have to read the docs! all this is basic knowledge... visit http://docs.sun.com

im trying, sorry for asking what may seem obvious questions...

ive tried enabling the nds asuming that this would be the correct syntax:

# svcadm enable dns

and get an error "pattern 'dns' doesnt match any instances"

use what "svcs -a | grep -i dns" shows you... and read the manpage for "svcadm"

p.s. google gives me something like this:
Configuring a DNS Server at Unix solaris 10 tutorials, training resources
its for a server but you can adopt this for a client setup...

other usefull things are here:
Browse Product Documentation
(as already mentioned above)

i notice im not able to ping the router either

# ping 172.26.0.1
(ICMP Host Unreachable...)

maybe start with some easier to setup linux distribution... solaris is not for the beginner!

have a look at ubuntu linux. its easy to install and to setup and also well documented with a lot of howto guides...

yes, i think you are right, i am slightly out of my depth here!

just before i give up...

I notice my system hasnt got a /etc/named.conf file, which i think i need to continue, and idea why it may be missing, or do i have to create it myself?

thanks

i've also been able to work out how to enable the dns services, but get this:

online 'time' svc:/network/dns/client:default
maintenance 'time' svc:/netowrk/dns/server:default