socklet problem

I’m trying to start socklet after Net and Net.ether82557, i put these
commands in sysinit.1 file like following

Net &
Net.ether82557
sleep 2
Socklet localhost &
sleep 2

after system boot up, i notice socklet isn’t running,
and a message ‘panic: no interface’ shows up. but if i manually type
‘Socklet localhost &’ in the shell after booting up, then it is running
fine.

whats going on here??

if i put sleep 3 after Net.ether82557, then Socklet can be started
correctly.
I hate putting sleep to make sure the driver starts, is there a way to
ensure socklet and other network services started and running corrrectly
in the software?
“Ran Zhang” <rzhang@vamcointernational.com> wrote in message
news:cr3vef$9j4$1@inn.qnx.com

I’m trying to start socklet after Net and Net.ether82557, i put these
commands in sysinit.1 file like following

Net &
Net.ether82557
sleep 2
Socklet localhost &
sleep 2

after system boot up, i notice socklet isn’t running,
and a message ‘panic: no interface’ shows up. but if i manually type
‘Socklet localhost &’ in the shell after booting up, then it is running
fine.

whats going on here??
\

Ran Zhang wrote:

sleep 2
Socklet localhost &

Hi, try to give the full path, like
/usr/ucb/Socklet localhost &

after system boot up, i notice socklet isn’t running,
and a message ‘panic: no interface’ shows up. but if i manually type
‘Socklet localhost &’ in the shell after booting up, then it is running
fine.

Probably /usr/ucb is only added to the $PATH after sysinit has finished
(in /etc/profile).

Happy new year,
cheers
Anders

“Ran Zhang” <rzhang@vamcointernational.com> wrote in message
news:cr43es$bnr$1@inn.qnx.com

if i put sleep 3 after Net.ether82557, then Socklet can be started
correctly.
I hate putting sleep to make sure the driver starts, is there a way to
ensure socklet and other network services started and running corrrectly
in the software?
“Ran Zhang” <> rzhang@vamcointernational.com> > wrote in message
news:cr3vef$9j4$> 1@inn.qnx.com> …
I’m trying to start socklet after Net and Net.ether82557, i put these
commands in sysinit.1 file like following

Net &
Net.ether82557
sleep 2
Socklet localhost &
sleep 2


after system boot up, i notice socklet isn’t running,
and a message ‘panic: no interface’ shows up. but if i manually type
‘Socklet localhost &’ in the shell after booting up, then it is running
fine.

Only way I know it to provide speed/duplex information to Net to get rid of
the delay cause by the auto-detection.

whats going on here??


\