LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-17-2005, 11:19 AM   #16
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
more


Should I kill that link and relink it then and if so how - I dont want to do an rm on it cus knowing me I will delete the file.

I did the other bits as instructed and here are the results:-

# ifconfig nfo0 unplumb

# ifconfig nfo0
ifconfig: status: SIOCGLIFFLAGS: nfo0: no such interface

# ifconfig nfo0 plumb

# ifconfig nfo0
nfo0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 0.0.0.0 netmask 0
ether 0:30:4:2:67:a5

# ifconfig nfo0 192.168.0.169 up
# ifconfig nfo0

nfo0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.0.169 netmask ffffff00 broadcast 192.168.0.255
ether 0:30:4:2:67:a5

# route add default 192.168.0.1
add net default: gateway 192.168.0.1: entry exists

# ifconfig nfo0
nfo0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.0.169 netmask ffffff00 broadcast 192.168.0.255
ether 0:30:4:2:67:a5
#
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nfo0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.0.169 netmask ffffff00 broadcast 192.168.0.255
ether 0:30:4:2:67:a5

# ping 192.168.0.1
192.168.0.1 is alive

I noticed when I first logged in that the ifconfig showed point to point again. Is something altering this on bootup ?

I have also seen the network icon in the bottom right of the screen is sending and receiving packets(it also has an nfo0 option which I selected),
but I still couldn't access the net.

Is the netmask correct and do I have to alter anymore config files to make it work ?
 
Old 05-17-2005, 12:30 PM   #17
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Removing a symlink doesn't erase any file content, but don't bother with the link, you are pretty close now, I guess you just need to set the dns:

file /etc/nsswitch.conf:
...
hosts: file dns
...

file /etc/resolv.conf:
<put your dns servers IPs inside, one per line>
...

And then you should be able to access the Internet.

Concerning the point to point issue, you probably replied something odd at the installation time.

Can you post the full content of your /etc/hostname.nfo0 file.

Have you created a file name /etc/dhcp.nfo0 (remove it if you did) ?
 
Old 05-17-2005, 03:41 PM   #18
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
Latest info.

Point to point has reset again on boot.

I didn't see a /etc/dhcp.nfo0 but I will check and do what you have advertised and post the results
if still no joy.

ifconfig nfo0
nfo0: flags=1002851<UP,POINTOPOINT,RUNNING,MULTICAST,UNNUMBERED,IPv4> mtu 1500 index 2
inet 127.0.0.1 --> 192.168.0.169 netmask ff000000
ether 0:30:4:2:67:a5

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
nfo0: flags=1002851<UP,POINTOPOINT,RUNNING,MULTICAST,UNNUMBERED,IPv4> mtu 1500 index 2
inet 127.0.0.1 --> 192.168.0.169 netmask ff000000
ether 0:30:4:2:67:a5
#

May 17 21:12:44 panther usba: [ID 349649 kern.info] USB Hub
May 17 21:12:44 panther genunix: [ID 936769 kern.info] hubd0 is /pci@0,0/pci10de ,c11@2/hub@1
May 17 21:12:44 panther genunix: [ID 408114 kern.info] /pci@0,0/pci10de,c11@2/hu b@1 (hubd0) online
May 17 21:12:50 panther nfo: [ID 130221 kern.info] nfo0: nForce mac type 1 (vid: 0x10de, did: 0x01c3, revid: 0xc2)
May 17 21:12:50 panther nfo: [ID 217474 kern.info] nfo0: ilr 0x1401010b
May 17 21:12:50 panther pcplusmp: [ID 637496 kern.info] pcplusmp: pci10de,1c3 (n fo) instance 0 vector 0x16 ioapic 0x2 intin 0x16 is bound to cpu 0
May 17 21:12:50 panther nfo: [ID 451511 kern.info] nfo0: MII PHY (0x20005c30) fo und at 1
May 17 21:12:50 panther nfo: [ID 426109 kern.info] nfo0: PHY control:3100<100MB, ANE,FDUPLEX>, status:786d<100_BASEX_FD,100_BASEX,10_BASE_FD,10_BASE,MFPRMBLSUPR, ANDONE,CANAUTONEG,LINKUP,EXTENDED>, advert:1e1<100BASE_TX_FD,100BASE_TX,10BASE_T _FD,10BASE_T>, lpar:45e1<PAUSE,100BASE_TX_FD,100BASE_TX,10BASE_T_FD,10BASE_T>
May 17 21:12:50 panther nfo: [ID 119377 kern.info] nfo0: xstatus:0
May 17 21:12:50 panther genunix: [ID 678236 kern.info] Ethernet address = 0:30:4 :2:67:a5
May 17 21:12:50 panther gld: [ID 944156 kern.info] nfo0: nfo: type "ether" mac a ddress 00:30:04:02:67:a5
May 17 21:12:50 panther pci: [ID 370704 kern.info] PCI-device: pci10de,c11@4, nf o0
May 17 21:12:50 panther genunix: [ID 936769 kern.info] nfo0 is /pci@0,0/pci10de, c11@4
May 17 21:12:50 panther pcplusmp: [ID 637496 kern.info] pcplusmp: pci10de,1c3 (n fo) instance 0 vector 0x16 ioapic 0x2 intin 0x16 is bound to cpu 0
May 17 21:12:52 panther nfo: [ID 103695 kern.info] nfo0: Link up: 100 Mbps full duplex without flow control
May 17 21:12:53 panther genunix: [ID 773945 kern.info] UltraDMA mode 5 selected
May 17 21:12:53 panther genunix: [ID 454863 kern.info] dump on /dev/dsk/c0d1s1 s ize 511 MB
May 17 21:12:53 panther svc.startd[7]: [ID 652011 daemon.warning] svc:/network/p hysical:default: Method "/lib/svc/method/net-physical" failed with exit status 9 6.

# cd /etc
# more hosts
#
# Internet host table
#
127.0.0.1 localhost loghost localhost
192.168.0.169 panther.ransnet.homelinux.net panther
#

# more netmasks
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
192.168.0.169 255.255.255.0
#

# more networks
#ident "@(#)networks 1.4 92/07/14 SMI" /* SVr4.0 1.1 */
#
# The networks file associates Internet Protocol (IP) network numbers
# with network names. The format of this file is:
#
# network-name network-number nicnames . . .
#
#
# The loopback network is used only for intra-machine communication
#
loopback 127
#
# Internet networks
#
arpanet 10 arpa # Historical
#

# more hostname.nfo0
panther 192.168.0.169
 
Old 05-17-2005, 04:56 PM   #19
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
Latest.

Well the ifconfig bit keeps going to point to point still....

I had no /etc/dhcp.nfo0 file.

I also had no resolv.conf either, should it be like the one on my other RH9 server :-

search ransnet.homelinux.net
nameserver 194.168.4.100
nameserver 194.168.8.100

Is the file below correct now ?

# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd: files
group: files
hosts: files dns
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
printers: user files

auth_attr: files
prof_attr: files
project: files

--------------------------------------------------------------------------------------------------

I tried pinging tiger(my RH9 server) and got a reply. I then did a snoop and ssh'd into tiger. I then ping'd panther from tiger
and that worked fine. Could it be the way my internet explorer thing is setup ? because when I checked the network icon
the figures were going up. Also should I try and ping the name servers and an external address as it maybe my router buggering things up ?


# ping -s 192.168.0.170
PING 192.168.0.170: 56 data bytes
64 bytes from 192.168.0.170: icmp_seq=0. time=0.318 ms
64 bytes from 192.168.0.170: icmp_seq=1. time=0.707 ms
64 bytes from 192.168.0.170: icmp_seq=2. time=0.223 ms
64 bytes from 192.168.0.170: icmp_seq=3. time=0.208 ms
64 bytes from 192.168.0.170: icmp_seq=4. time=0.219 ms
64 bytes from 192.168.0.170: icmp_seq=5. time=0.269 ms
64 bytes from 192.168.0.170: icmp_seq=6. time=0.227 ms
64 bytes from 192.168.0.170: icmp_seq=7. time=0.217 ms
^C
----192.168.0.170 PING Statistics----
8 packets transmitted, 8 packets received, 0% packet loss
round-trip (ms) min/avg/max/stddev = 0.208/0.298/0.707/0.17

# snoop -P -d nfo0
Using device /dev/nfo0 (non promiscuous)

192.168.0.170 -> 192.168.0.255 NBT NS Query Request for MYGROUP[1b], Success
192.168.0.170 -> 192.168.0.255 NBT NS Query Request for MYGROUP[1b], Success
192.168.0.170 -> 192.168.0.255 NBT NS Query Request for MYGROUP[1b], Success
192.168.0.170 -> 192.168.0.255 NBT NS Query Request for MYGROUP[1c], Success
192.168.0.170 -> 192.168.0.255 NBT NS Query Request for MYGROUP[1c], Success
192.168.0.170 -> 192.168.0.255 NBT NS Query Request for MYGROUP[1c], Success

# ssh 192.168.0.170
The authenticity of host '192.168.0.170 (192.168.0.170)' can't be established.
RSA key fingerprint is 45:52:0e:d9:3c:cd:1f:8e:8f:d5:d6:ba:d4:db:6c:bf.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.170' (RSA) to the list of known hosts.
root@192.168.0.170's password:
Last login: Thu May 19 10:50:50 2005
[root@tiger root]#

[root@tiger root]# uname -a
Linux tiger 2.4.20-8 #1 Thu Mar 13 16:42:56 EST 2003 i586 i586 i386 GNU/Linux

[root@tiger root]# ping -n 192.168.0.169
PING 192.168.0.169 (192.168.0.169) 56(84) bytes of data.
64 bytes from 192.168.0.169: icmp_seq=1 ttl=255 time=0.175 ms
64 bytes from 192.168.0.169: icmp_seq=2 ttl=255 time=0.171 ms
64 bytes from 192.168.0.169: icmp_seq=3 ttl=255 time=0.168 ms
64 bytes from 192.168.0.169: icmp_seq=4 ttl=255 time=0.160 ms
64 bytes from 192.168.0.169: icmp_seq=5 ttl=255 time=0.196 ms
 
Old 05-18-2005, 07:28 AM   #20
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
I also had no resolv.conf either, should it be like the one on my other RH9 server :-

search ransnet.homelinux.net
nameserver 194.168.4.100
nameserver 194.168.8.100
Of course yes, I told you already to set this file in my previous posting (the "search" line is optional), and it is probably the only thing preventing your Solaris box to connect to the Internet ...
 
Old 05-18-2005, 03:50 PM   #21
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
Eureka

I am proud to say, I am currently composing this using Solaris 10.

I added the resolv.conf and had no joy, but the ifconfig nfo0 was back to point to point - i unplumbed, plumb'd and did the biz and its working well now. I don't know hat is causing it to do that though.

I really appreciate all the help and tips getting this sorted for me.

Hopefully this will help other new users who have nforce mobo's to gain access to the web to.....

Next thing now is the sound n stuff but I will save that for a new post

thanks again.

sph
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone tried a DFI NForce 4 && AMD64 X2 combo ?? small_boy22 Linux - Hardware 1 12-20-2005 08:47 PM
User Accounts Verbal Kint Linux - Security 12 06-18-2005 12:11 AM
establishing user accounts & folder permissions mingarz Linux - Software 6 12-07-2004 06:54 AM
Nforce-250gb & mixed PATA / SATA driver Zordasesq Linux - Hardware 0 08-17-2004 12:49 PM
User Accounts MrJoshua Linux - General 3 01-10-2003 08:30 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration