LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



Reply
 
Search this Thread
Old 05-12-2005, 07:52 AM   #1
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Rep: Reputation: 15
Solaris 10 - user accounts & nforce driver install


Can someone tell me how I can create and configure user accounts from the java gui ?

I don't have an option like I do in redhat 9 for managing accounts and there is no admintool

I tried switching to CDE and running CMC is it, but I didn't really get it....

Also I have a K7n415da mobo which requires nforce drivers on it. Is there a location where I can download these drivers and whats the easiest way to install them as I only have a loop back interface present.

Cheers...
 
Old 05-12-2005, 03:59 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Quote:
Can someone tell me how I can create and configure user accounts from the java gui ?
What about
Code:
Runtime.getRuntime().exec("xterm -e su root -c 'vi /etc/passwd'");
What do you mean by the java gui ? JDS ?

I've no idea about the nforce issue, but I doubt linux drivers pointed by Simon Bridge would be of any help under Solaris.
I'm afraid too nvidia is not releasing its H/W specs or sample driver open code, so there are probably no drivers available for your network chip.
You'd probably better buy a cheap PCI realtek based NIC and install it on your PC.
 
Old 05-12-2005, 06:16 PM   #4
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
Yeah JDS

Yeah I believe it is JDS - its the one that isn't CDE if that makes sense....

Well I tried the driver as suggested and it came back with all sorts of errors - which I cannot list because I can't mount a floppy to copy the messages onto so i can then reboot into xp and post them in the forum. I also don;t have any dvd burning software either for solaris so i cant even burn the messages onto cd/dvd.


I remember having all sorts of problems before with linux and in the end I managed to get it fixed.

When you check for eth0 it finds nothing and if you do a prtconf ( i think it was) there is an 8040 entry for something but that is about it....

If anyone has any ideas on how i can get the floppy mounted so I can post the messages it wud be much appreciated...

cheers
 
Old 05-13-2005, 03:50 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Quote:
Yeah I believe it is JDS - its the one that isn't CDE if that makes sense....
Ok, so that's hardly a Java GUI (despite its name) but really Sun's customized gnome.
So you may try to use the administration Java GUI provided with solaris 10, sun management console.
/usr/sbin/smc
It is a pretty enhanced admintool.

Quote:
Well I tried the driver as suggested and it came back with all sorts of errors - which I cannot list because I can't mount a floppy to copy the messages onto so i can then reboot into xp and post them in the forum.
Which driver have you installed ?

Floppies can be mounted by issuing the "volcheck -v" command.
Then you can access the floppy filesystem on /floppy/floppy0

Quote:
I also don;t have any dvd burning software either for solaris so i cant even burn the messages onto cd/dvd.
mkisofs and cdrw are installed by default and allow you to record CDs and DVSs.
 
Old 05-13-2005, 05:16 AM   #6
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
Cheers :)

Many thanks for the expert guidance...the floppy is a go....

Tried the smc and all I get is the following:-

# /usr/sbin/smc
Open Toolbox: http://panther:898/toolboxes/smc.tbx failed

Then I get the following :-

Starting the server for the first time may take a few minutes.
Please allow configuration to continue until you see "Welcome to the Solaris Management Console.

and after that it just comes up with the above error repeated. How does one create a toolbox then ?

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

2nd question -

What files do you need to see to see if I am setting up my network card correctly ?

Can you tell from the below if it listed ? and why do I have so many drivers no attached ?

prtconf
System Configuration: Sun Microsystems i86pc
Memory size: 512 Megabytes
System Peripherals (Software Nodes):

i86pc
scsi_vhci, instance #0
+boot (driver not attached)
memory (driver not attached)
aliases (driver not attached)
chosen (driver not attached)
i86pc-memory (driver not attached)
i86pc-mmu (driver not attached)
openprom (driver not attached)
options, instance #0
packages (driver not attached)
delayed-writes (driver not attached)
itu-props (driver not attached)
isa, instance #0
motherboard (driver not attached)
joyst (driver not attached)
i8042, instance #0
mouse, instance #0
keyboard, instance #0
fdc, instance #0
fd, instance #0
fd, instance #1 (driver not attached)
lp (driver not attached)
WEC0513 (driver not attached)
asy, instance #0 (driver not attached)
asy, instance #1 (driver not attached)
pci, instance #0
pci10de,1a4 (driver not attached)
pci10de,c11 (driver not attached)
pci10de,c11 (driver not attached)
pci10de,c11 (driver not attached)
pci10de,c11 (driver not attached)
pci10de,c11 (driver not attached)
pci10de,c11, instance #0
hub, instance #0
pci10de,c11, instance #1
pci10de,c11 (driver not attached)
pci10de,1b8 (driver not attached)
pci1102,8064 (driver not attached)
pci1102,20 (driver not attached)
pci-ide, instance #0
ide, instance #0
cmdk, instance #0
ide, instance #1
sd, instance #0
sd, instance #1
st, instance #0 (driver not attached)
st, instance #1 (driver not attached)
pci10de,1b7, instance #1
display, instance #0
used-resources (driver not attached)
pseudo, instance #0
xsvc, instance #0
objmgr, instance #0 (driver not attached)
cpus (driver not attached)
cpu, instance #0 (driver not attached)

------------------------------------------------------------------------------------------
I have called my solaris server panther as my rh9 server is called tiger. Are these entries correct ?

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

# more hostname.nfo0
panther 192.168.0.169

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

I got the nfo bit from the instructions I was following to install the driver, but I have not got that to happen and I am unlikely to if, cus you told me it wouldn't work. It was strange tho because I had done some of the instructions and the light on my router where the server is attached to now comes on and lights up and flashes occasionally (so I'm not quite sure whats happening there).
 
Old 05-13-2005, 07:57 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
1) as no interface is yet listening on panther's IP address, you can't connect to it.
This appears logical. You may try connecting to localhost instead.

2) you do not tell what driver you installed, where did you find it ?
is it supporting Solaris 10 ?

To investigate further:
See in the /usr/X11/bin/scanpci output if your NIC appears.
Run the command "prtconf -vp > /tmp/prtconf.out"
and post the node containing class-code: 00020000

As an example, here is what I got with my Shuttle mobo:
Code:
Node 0x1e6258
            assigned-addresses:  ...
            class-code:  00020000
            compatible: 'pci10ec,8139.10ec.8139.10' + 'pci10ec,8139.10ec.8139' +
               'pci10ec,8139' + 'pci10ec,8139.10' + 'pci10ec,8139' + 'pciclass,020000' + 'pciclass,0200'
            device-id:  00008139
            devsel-speed:  00000001
            fast-back-to-back:  
            interrupts:  00000001
            max-latency:  00000040
            min-grant:  00000020
            model:  'PCI: 10ec,8139.10ec.8139.10 - Realtek 8139 Fast Ethernet'
            name:  'pci10ec,8139'
            power-consumption:  00000001.00000001
            reg: ...
            revision-id:  00000010
            slot:  00000002
            subsystem-id:  00008139
            subsystem-vendor-id:  000010ec
            unit-address:  'b'
            vendor-id:  000010ec
See also for system message at boot for any network device detection, here again is what I got:
Code:
May 12 22:15:15 pcjll pcplusmp: [ID 637496 kern.info] pcplusmp: pci10ec,8139 (rtls) instance 0 vector 0x12 ioapic 0x2 intin 0x12 is bound  to cpu 0
May 12 22:15:15 pcjll genunix: [ID 678236 kern.info] Ethernet address = 0:30:1b:b1:7a:3b
May 12 22:15:15 pcjll gld: [ID 944156 kern.info] rtls0: RealTek 8139 driver v2.1.2: type "ether" mac address 00:30:1b:b1:7a:3b
May 12 22:15:15 pcjll pci: [ID 370704 kern.info] PCI-device: pci10ec,8139@b, rtls0
May 12 22:15:15 pcjll genunix: [ID 936769 kern.info] rtls0 is /pci@0,0/pci10ec,8139@b
May 12 22:15:15 pcjll rtls: [ID 995022 kern.notice] NOTICE: rtls0 -- link down
"Driver not attached" message is usually harmless, Solaris drivers are attached on demand.
 
Old 05-15-2005, 06:12 PM   #8
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
More info

I hope this helps :-

I tried the nfo driver as advised by Simon Bridge.

I altered the required files as it stated in the readme, but I could not get it to work right.

This is what I have now :-

# ./scanpci

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x10de device 0x01a4
nVidia Corporation nForce CPU bridge

pci bus 0x0000 cardnum 0x00 function 0x01: vendor 0x10de device 0x01ac
nVidia Corporation nForce 220/420 Memory Controller

pci bus 0x0000 cardnum 0x00 function 0x02: vendor 0x10de device 0x01ad
nVidia Corporation nForce 220/420 Memory Controller

pci bus 0x0000 cardnum 0x00 function 0x03: vendor 0x10de device 0x01ab
nVidia Corporation nForce 420 Memory Controller (DDR)

pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x10de device 0x01b2
nVidia Corporation nForce ISA Bridge

pci bus 0x0000 cardnum 0x01 function 0x01: vendor 0x10de device 0x01b4
nVidia Corporation nForce PCI System Management

pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x10de device 0x01c2
nVidia Corporation nForce USB Controller

pci bus 0x0000 cardnum 0x03 function 0x00: vendor 0x10de device 0x01c2
nVidia Corporation nForce USB Controller

pci bus 0x0000 cardnum 0x04 function 0x00: vendor 0x10de device 0x01c3
nVidia Corporation nForce Ethernet Controller

pci bus 0x0000 cardnum 0x08 function 0x00: vendor 0x10de device 0x01b8
nVidia Corporation nForce PCI-to-PCI bridge

pci bus 0x0000 cardnum 0x09 function 0x00: vendor 0x10de device 0x01bc
nVidia Corporation nForce IDE

pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x10de device 0x01b7
nVidia Corporation nForce AGP to PCI Bridge

pci bus 0x0001 cardnum 0x08 function 0x00: vendor 0x1102 device 0x0002
Creative Labs SB Live! EMU10k1

pci bus 0x0001 cardnum 0x08 function 0x01: vendor 0x1102 device 0x7002
Creative Labs SB Live! MIDI/Game Port

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x10de device 0x0253
nVidia Corporation NV25 [GeForce4 Ti 4200]

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

Part of prtconf -vp

Node 0x1c5a58
66mhz-capable:
assigned-addresses: 82002010.00000000.d2000000.00000000.00000400.81
002014.00000000.0000d800.00000000.00000008
class-code: 00020000
compatible: 'pci10de,1c3.10de.c11.c2' + 'pci10de,1c3.10de.c11' + 'pc
i10de,c11' + 'pci10de,1c3.c2' + 'pci10de,1c3' + 'pciclass,020000' + 'pciclass,02
00'
device-id: 000001c3
devsel-speed: 00000000
fast-back-to-back:
interrupts: 00000001
max-latency: 00000014
min-grant: 00000001
model: 'PCI: 10de,1c3.10de.c11.c2 - Ethernet controller'
name: 'pci10de,c11'
power-consumption: 00000001.00000001
reg: 00002000.00000000.00000000.00000000.00000000.02002010.00000000
.00000000.00000000.00000400.01002014.00000000.00000000.00000000.00000008
revision-id: 000000c2
subsystem-id: 00000c11
subsystem-vendor-id: 000010de
unit-address: '4'
vendor-id: 000010de

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

Node 0x1c7ea0
assigned-addresses: 81014010.00000000.0000c000.00000000.00000020
class-code: 00040100
compatible: 'pci1102,2.1102.8064.7' + 'pci1102,2.1102.8064' + 'pci1102,8064' + 'pci1102,2.7' + 'pci1102,2' +
'pciclass,040100' + 'pciclass,0401'
device-id: 00000002
devsel-speed: 00000001
fast-back-to-back:
interrupts: 00000001
max-latency: 00000014
min-grant: 00000002
model: 'PCI: 1102,2.1102.8064.7 - Audio device'
name: 'pci1102,8064'
power-consumption: 00000001.00000001
reg: 00014000.00000000.00000000.00000000.00000000.01014010.00000000.00000000.00000000.00000020
revision-id: 00000007
slot: 00000005
subsystem-id: 00008064
subsystem-vendor-id: 00001102
unit-address: '8'
vendor-id: 00001102

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

Some of dmesg

May 15 22:40:42 panther usba: [ID 349649 kern.info] USB Hub
May 15 22:40:42 panther genunix: [ID 936769 kern.info] hubd0 is /pci@0,0/pci10de,c11@2/hub@1
May 15 22:40:42 panther genunix: [ID 408114 kern.info] /pci@0,0/pci10de,c11@2/hub@1 (hubd0) online
May 15 22:40:49 panther genunix: [ID 773945 kern.info] UltraDMA mode 5 selected
May 15 22:40:49 panther nfo: [ID 130221 kern.info] nfo0: nForce mac type 1 (vid: 0x10de, did: 0x01c3, revid: 0xc2)
May 15 22:40:49 panther nfo: [ID 217474 kern.info] nfo0: ilr 0x1401010b
May 15 22:40:49 panther pcplusmp: [ID 637496 kern.info] pcplusmp: pci10de,1c3 (nfo) instance 0 vector 0x16 ioapic 0x2 intin 0x16 is bound to cpu 0
May 15 22:40:49 panther nfo: [ID 451511 kern.info] nfo0: MII PHY (0x20005c30) found at 1
May 15 22:40:49 panther nfo: [ID 426109 kern.info] nfo0: PHY control:0, status:7849<100_BASEX_FD,100_BASEX,10_BASE_FD,10_BASE,MFPRMBLSUPR,CANAUTONEG,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 15 22:40:49 panther nfo: [ID 119377 kern.info] nfo0: xstatus:0
May 15 22:40:49 panther genunix: [ID 678236 kern.info] Ethernet address = 0:30:4:2:67:a5
May 15 22:40:49 panther gld: [ID 944156 kern.info] nfo0: nfo: type "ether" mac address 00:30:04:02:67:a5
May 15 22:40:49 panther pci: [ID 370704 kern.info] PCI-device: pci10de,c11@4, nfo0
May 15 22:40:49 panther genunix: [ID 936769 kern.info] nfo0 is /pci@0,0/pci10de,c11@4
May 15 22:40:49 panther pcplusmp: [ID 637496 kern.info] pcplusmp: pci10de,1c3 (nfo) instance 0 vector 0x16 ioapic 0x2 intin 0x16 is bound to cpu 0
May 15 22:40:51 panther nfo: [ID 103695 kern.info] nfo0: Link up: 100 Mbps full duplex without flow control
May 15 22:40:51 panther genunix: [ID 454863 kern.info] dump on /dev/dsk/c0d1s1 size 511 MB
May 15 22:40:52 panther svc.startd[7]: [ID 652011 daemon.warning] svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96.
May 15 22:40:53 panther pseudo: [ID 129642 kern.info] pseudo-device: rsm0
May 15 22:40:53 panther genunix: [ID 936769 kern.info] rsm0 is /pseudo/rsm@0
May 15 22:40:53 panther pcplusmp: [ID 637496 kern.info] pcplusmp: lp (ecpp) instance 0 vector 0x7 ioapic 0x2 intin 0x7 is bound to cpu 0
May 15 22:40:53 panther last message repeated 1 time

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

Some more dmesg

May 15 22:41:29 panther pseudo: [ID 129642 kern.info] pseudo-device: devinfo0
May 15 22:41:29 panther genunix: [ID 936769 kern.info] devinfo0 is /pseudo/devinfo@0
May 15 22:41:40 panther arp: [ID 536287 kern.notice] ar_entry_query: Could not find the ace for source address 127.0.0.1

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

Part of prtconf -D

pci10de,c11, instance #0 (driver name: ohci)
hub, instance #0 (driver name: hubd)
pci10de,c11, instance #1 (driver name: ohci)
pci10de,c11, instance #0 (driver name: nfo)

Let me know if there is anything else I can provide. At least it says ethernet now which is more than it did before

Another question, what do I have to alter so I can use the history command, have tab complete and can press the up arrow to get my previous command ?

Is it the shell I am in - If so how can I change it - atm I have a # prompt.

Also - is there a quick and easy way to make a boot floppy as I run my pc with two drives - one 80 gig windows m/e and windows xp
and one 40 gig with solaris on. Atm, I pull out power to my primary driver with xp on so that the secondary boots, but this is
becomin a pain in the arse (much like me with all these questions). So I want a boot floppy so I can push that in and boot from that,
save me messsin about with the innerds of me pc and having the side off all the time.

Cheers again.
 
Old 05-16-2005, 02:35 AM   #9
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Gosh: are you sure this one supports Solaris? I thought I'd stuffed up and only supplied Linux drivers... harrumpf!
BTW: here's more specific Solaris links ... JIC.
http://supportforum.sun.com/sunos/in...oto=6391&rid=0
http://bolthole.com/solaris/HCL/devices.php

The first one is the Sun support forum - have you had a look there for help too?

What happened when you tried to compile/install the driver module?

[quote]I hope this helps :-
I tried the nfo driver as advised by Simon Bridge.
I altered the required files as it stated in the readme, but I could not get it to work right.[quote]
 
Old 05-16-2005, 02:52 AM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Sph90457, can you tell precisely where did you find your nfo driver, with the download url please ?
It can't be one of those supplied by Simon Bridge, as I already wrote, as these seems to be Linux only drivers.
Does its documentation tells it is supporting Solaris 10 ?

Can you post the /etc/svc/volatile/network-physical:default.log file content ?
 
Old 05-16-2005, 04:26 AM   #11
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
Will try

Will try and find where I dl'd the driver from later after work.

I know it called nfo-0.8.1.tar.gz

# more network-physical:default.log
[ start + 1.59s Enabled. ]
[ start + 4.66s Executing start method ("/lib/svc/method/net-physical") ]
[ start + 4.67s Timeout override by svc.startd. Using infinite timeout ]
configuring IPv4 interfaces: nfo0.
[ May 16 08:35:50 Method "start" exited with status 96 ]
#

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

N.B - in the following I have put results :- and the result I got when one tried the command.
However, I dont think its working correctly as make install did not work and I'm abit confused
about some of the files in teh kernel directory, but you will see what I mean from the below.

Driver :- nfo-0.8.1.tar.gz

Driver Readme :-

***************************************************************************
CAUTION: There is NO WARRANTY for this software.
As this software is loaded into the kernel, it might cause the kernel to
panic or hang.

Masayuki Murayama
KHF04453@nifty.ne.jp
***************************************************************************


1. Introduction

This is the nForce ethernet NIC driver for Solaris. It is distributed
under the BSD license.

2. Specification of the driver
File name of the driver: /kernel/drv/nfo
Special file name: /dev/nfoN (Where N is a unit number, typcally 0 for first
card)
For example
% ifconfig nfo0

Result :-

# 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


Tested OS version
Solaris10 x86 3/05 - Result :- This is the version I am using

Tested mainboard
Biostar NF4UL-A9 (nVIDIA nForce4 CH8-04 Ultra chipset)

3. Preparing for installation

(1) Copy source and binary files.
# gunzip -cd nfo-x.x.x.tar.gz | tar xf -

Result:- didn't say where to so I just did it in / in a directory called nforce

# cd /
# ls
#UNTITLED# boot export lib nvnet system
Desktop cdrom floppy lost+found opt tmp
Documents dev grep mnt platform usr
TT_DB devices home net proc var
bin etc kernel nforce sbin vol
# cd nforce
# ls
nfo-0.8.1
# cd nfo-0.8.1
# ls
COPYING README.txt
Makefile adddrv.sh
Makefile.amd64_gcc amd64
Makefile.amd64_suncc extract_nforce_pkg.sh
Makefile.common gem.c
Makefile.config gem.h
Makefile.i386_gcc i386
Makefile.i386_suncc mii.h
Makefile.macros nfo.conf
NFORCE-Linux-x86-1.0-0301-pkg1 nfo_gem.c
NFORCE-Linux-x86_64-1.0-0301-pkg1 obj
README.japanese-euc

(2) Add hostname for the NIC into /etc/hosts file

Result :-

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

I am not sure if the above is correct, but it is how I has it setup in RH-9.

(3) Make links to the correct binary directory and Makefile according
to your configuration. i386 and gcc are default.

% cd /.../nfo-x.x.x
% rm obj Makefile
% ln -s Makefile.${KARCH}_${COMPILER} Makefile
% ln -s ${KARCH} obj

where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
"gcc" or "suncc" which you want to use to make the driver.

Result :-

# isainfo -n
i386

Also rm'd obj and Makefile and created the links as instructed

# cd /nforce/nfo-0.8.1
# ls -ltr
total 378
-r--r--r-- 1 111 staff 4707 May 1 22:20 README.txt
-r--r--r-- 1 111 staff 1592 May 1 22:20 COPYING
-r--r--r-- 1 111 staff 49763 May 1 22:20 nfo_gem.c
-r--r--r-- 1 111 staff 3956 May 1 22:20 mii.h
-r--r--r-- 1 111 staff 13782 May 1 22:20 gem.h
-r--r--r-- 1 111 staff 5531 May 1 22:20 README.japanese-euc
-r--r--r-- 1 111 staff 642 May 1 22:20 Makefile.macros
-r--r--r-- 1 111 staff 365 May 1 22:20 Makefile.i386_suncc
-r--r--r-- 1 111 staff 360 May 1 22:20 Makefile.i386_gcc
-r--r--r-- 1 111 staff 365 May 1 22:20 Makefile.config
-r--r--r-- 1 111 staff 2524 May 1 22:20 Makefile.common
-r--r--r-- 1 111 staff 567 May 1 22:20 Makefile.amd64_suncc
-r--r--r-- 1 111 staff 559 May 1 22:20 Makefile.amd64_gcc
-r--r--r-- 1 111 staff 24 May 1 22:20 nfo.conf
-r--r--r-- 1 111 staff 92977 May 1 22:20 gem.c
-rwxr-xr-x 1 111 staff 160 May 1 22:20 extract_nforce_pkg.sh
-rwxr-xr-x 1 111 staff 618 May 1 22:20 adddrv.sh
drwxr-xr-x 2 root root 512 May 12 19:10 i386
drwxr-xr-x 2 root root 512 May 12 19:10 amd64
drwxr-xr-x 3 root root 512 May 12 19:10 NFORCE-Linux-x86-1.0-0301-pkg1
drwxr-xr-x 3 root root 512 May 12 19:10 NFORCE-Linux-x86_64-1.0-0301-pkg1
lrwxrwxrwx 1 root root 9 May 12 21:44 Makefile -> Makefile.
lrwxrwxrwx 1 root root 3 May 12 21:44 obj -> obj

(4) Making binaries (only for re-compiling the drivers by your self)
To make the binaries, you need Sun C compiler or gcc version 3, and do
the following operations.

% /usr/ccs/bin/make

Result :- This is where I get problems

# /usr/ccs/bin/make
make: Fatal error: No arguments to build

4. Testing
Testing before installation is strongly recommended.

# cd /.../nfo-x.x.x
# /usr/ccs/bin/make install

Result :-

# /usr/ccs/bin/make install
make: Fatal error: Don't know how to make target `install'

# ./adddrv.sh

Result :-

# ./adddrv.sh
"pci10de,1c3" "pci10de,66" "pci10de,d6" "pci10de,86" "pci10de,8c" "pci10de,e6" "pci10de,df" "pci10de,56" "pci10de,57" "pci10de,37" "pci10de,38"
("pci10de,1c3") already in use as a driver or alias.

# /usr/ccs/bin/make uninstall (for solaris7, don't remove the file )
# modload obj/nfo

Result :-

# modload obj/nfo
#
# devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r )
# ifconfig nfoN plumb ( where N is an instance number, typcally 0 for first card)

Result :-

# ifconfig nfo0 plumb
ifconfig: SIOCSLIFNAME for ip: nfo0: already exists

# ifconfig -a ( you will see an entry for nfoN)

Result :-

# 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

# ifconfig nfoN YOUR-HOST-NAME

Result :-

# ifconfig nfo0 panther (or should this be panther.ransnet.homelinux.net ?)

# ifconfig nfoN ( ensure IP address is correct)

Result :- ( N.B I want panther ip adyy to be 192.168.0.169 - shouldn't there be a loop back addy to ?)

# 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 nfoN up ( and then you can test with ping, telnet, ftp ...)

Result :- nothing returned just the prompt.

# ifconfig nfo0 up
#

Result :- Tried pinging my router 192.168.0.1

# ping 192.168.0.1
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 192.168.0.1

5. Installation
After you ensure that the nfo driver is fully functional, install it.

(1) install the nfo driver into the kernel directory
# cd /.../nfo-x.x.x
# /usr/ccs/bin/make install

Result :-

This is where I get confused - what do I copy over - I copied over nfo.conf, nfo, gem.0, nfo_gem.o
and tried the make install

# pwd
/kernel/drv
# /usr/ccs/bin/make install
make: Fatal error: Don't know how to make target `install'


If you do not test the nfo driver yet, execute the following commands:
# ./adddrv.sh
# devfsadm -i nfo (for solaris7, use drvconfig and reboot with -r)

(2) Configure the network interface. Create and/or modify the following file:
/etc/hostname.nfoN

(3) Reboot the system.
# init 6

Results :- Rebooted...

Does this help...
 
Old 05-16-2005, 04:47 AM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
This package is indeed for solaris 10 and comes from http://homepage2.nifty.com/mrym3/taiyodo/eng/, but is marked as "Alpha test code". This is so no surprise you got problems.

Quote:
lrwxrwxrwx 1 root root 9 May 12 21:44 Makefile -> Makefile.
This should be
Makefile -> Makefile.i386_gcc

Quote:
# ifconfig nfo0
nfo0: flags=1002851<UP,POINTOPOINT,RUNNING,MULTICAST,UNNUMBERED,IPv4> mtu 1500 index 2
This is wrong, your interface is set as point to point, which is used for ppp or tunelling but not for regular ethernet.
Try:
Code:
ifconfig nfo0 unplumb
ifconfig nfo0 plumb
ifconfig nfo0
 
Old 05-16-2005, 05:14 PM   #13
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
links & stuff

Guys,

What am I doing wrong with these links as I still cant get make them work. I have redone the links and unplumbed the
nfo. Is it the directory I am running in it or what ?

Is it the ccs bit, should that be gcc...bugger aint tried that - will try now...

Heres the results of the other bit.

#ln -s Makefile Makefile_i386_gcc
# ls -ltr
total 378
-r--r--r-- 1 111 staff 4707 May 1 22:20 README.txt
-r--r--r-- 1 111 staff 1592 May 1 22:20 COPYING
-r--r--r-- 1 111 staff 49763 May 1 22:20 nfo_gem.c
-r--r--r-- 1 111 staff 3956 May 1 22:20 mii.h
-r--r--r-- 1 111 staff 13782 May 1 22:20 gem.h
-r--r--r-- 1 111 staff 5531 May 1 22:20 README.japanese-euc
-r--r--r-- 1 111 staff 642 May 1 22:20 Makefile.macros
-r--r--r-- 1 111 staff 365 May 1 22:20 Makefile.i386_suncc
-r--r--r-- 1 111 staff 360 May 1 22:20 Makefile.i386_gcc
-r--r--r-- 1 111 staff 365 May 1 22:20 Makefile.config
-r--r--r-- 1 111 staff 2524 May 1 22:20 Makefile.common
-r--r--r-- 1 111 staff 567 May 1 22:20 Makefile.amd64_suncc
-r--r--r-- 1 111 staff 559 May 1 22:20 Makefile.amd64_gcc
-r--r--r-- 1 111 staff 24 May 1 22:20 nfo.conf
-r--r--r-- 1 111 staff 92977 May 1 22:20 gem.c
-rwxr-xr-x 1 111 staff 160 May 1 22:20 extract_nforce_pkg.sh
-rwxr-xr-x 1 111 staff 618 May 1 22:20 adddrv.sh
drwxr-xr-x 2 root root 512 May 12 19:10 i386
drwxr-xr-x 2 root root 512 May 12 19:10 amd64
drwxr-xr-x 3 root root 512 May 12 19:10 NFORCE-Linux-x86-1.0-0301-pkg1
drwxr-xr-x 3 root root 512 May 12 19:10 NFORCE-Linux-x86_64-1.0-0301-pkg1
lrwxrwxrwx 1 root root 4 May 16 21:42 obj -> i386
lrwxrwxrwx 1 root root 8 May 16 21:44 Makefile_i386_gcc -> Makefile
# /usr/ccs/bin/make
make: Fatal error: No arguments to build
# /usr/ccs/bin/make Makefile
make: Fatal error: Don't know how to make target `Makefile'
# /usr/ccs/bin/make install
make: Fatal error: Don't know how to make target `install'

lrwxrwxrwx 1 root root 4 May 16 21:42 obj -> i386
lrwxrwxrwx 1 root root 8 May 16 21:44 Makefile_i386_gcc -> Makefile
drwxr-xr-x 2 root root 512 May 16 21:54 i386

# ifconfig nfo0 unplumb
 
Old 05-16-2005, 05:36 PM   #14
sph90457
Member
 
Registered: Oct 2003
Location: UK
Posts: 52

Original Poster
Rep: Reputation: 15
Links

Right,

I tried /usr/ccs/bin/make on each of the Makefile in the directory and it said they were up to date.

where do I get the install file ? or what is install - should it be one of teh other files ?

Right the nfo unplumbed and plumbed back in now shows the following :-

# 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
#

This looks more promising but what do I have to alter to make it read the correct inet and netmask ?

cheers...
 
Old 05-16-2005, 06:23 PM   #15
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
Quote:
#ln -s Makefile Makefile_i386_gcc
You got it wrong, you should have done instead:
Code:
#ln -s Makefile_i386_gcc  Makefile
Anyway, as it looks like you have a proper interface now, try:
Code:
# ifconfig nfo0 192.168.0.169 up
# route add default 192.168.0.1
If OK, reboot and check if the settings are correctly set.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:47 PM
User Accounts Verbal Kint Linux - Security 12 06-18-2005 01:11 AM
establishing user accounts & folder permissions mingarz Linux - Software 6 12-07-2004 07:54 AM
Nforce-250gb & mixed PATA / SATA driver Zordasesq Linux - Hardware 0 08-17-2004 01:49 PM
User Accounts MrJoshua Linux - General 3 01-10-2003 09:30 AM


All times are GMT -5. The time now is 04:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration