login as root? How and Where???

Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun

When you see the login dialog (just as Photon starts)

“Jun Xu : Unitec Engineering” <enguic@unitec.ca> wrote in message
news:3A401B28.DA297C1@unitec.ca

Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun

Also be careful with phedit. Make sure you turn off
“Save and Load styled text”

-seanb

Mario Charest <mcharest@void_zinformatic.com> wrote:

: When you see the login dialog (just as Photon starts)

: “Jun Xu : Unitec Engineering” <enguic@unitec.ca> wrote in message
: news:3A401B28.DA297C1@unitec.ca
:> Hi List,
:>
:> I am a newbie. I want to use “phedit” to modify
:> “/etc/system/enum/include/net”.
:> How can I login as root? and Where???
:>
:> Thanks.
:>
:> Jun
:>
:>

My root password is: jxu123
I had a user name: jxu, password : jjjxxx, all were set when I installed
the QNXRTP.
But when Photon starts, I can only login use
jxu (user name) and password: jjjxxx

The system does accept jxu (user name), jxu123(password)!

But when I click “package mgr”, I can log in as root successfully!





Mario Charest wrote:

When you see the login dialog (just as Photon starts)

“Jun Xu : Unitec Engineering” <> enguic@unitec.ca> > wrote in message
news:> 3A401B28.DA297C1@unitec.ca> …
Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun

Jun Xu <enguic@unitec.ca> wrote:

My root password is: jxu123
I had a user name: jxu, password : jjjxxx, all were set when I installed
the QNXRTP.
But when Photon starts, I can only login use
jxu (user name) and password: jjjxxx

Hello Jun,

Try

user: root
password: jxu123

Regards,

Marcin


The system does accept jxu (user name), jxu123(password)!

But when I click “package mgr”, I can log in as root successfully!



Mario Charest wrote:

When you see the login dialog (just as Photon starts)

“Jun Xu : Unitec Engineering” <> enguic@unitec.ca> > wrote in message
news:> 3A401B28.DA297C1@unitec.ca> …
Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun

Thanks, it works now.

I have a Kinston EtheRx KNE20 card, evey time starting QNXRTP I have to
set the net card parameters,

io-net -dne2000 -ptcpip
and IP address, mask, gateway…

Then I can use voyage, How can I keep these settings?

Can I use my net printer?


Jun

Marcin Dzieciol wrote:

Jun Xu <> enguic@unitec.ca> > wrote:
My root password is: jxu123
I had a user name: jxu, password : jjjxxx, all were set when I installed
the QNXRTP.
But when Photon starts, I can only login use
jxu (user name) and password: jjjxxx

Hello Jun,

Try

user: root
password: jxu123

Regards,

Marcin

The system does accept jxu (user name), jxu123(password)!

But when I click “package mgr”, I can log in as root successfully!

Mario Charest wrote:

When you see the login dialog (just as Photon starts)

“Jun Xu : Unitec Engineering” <> enguic@unitec.ca> > wrote in message
news:> 3A401B28.DA297C1@unitec.ca> …
Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun

Jun Xu <enguic@unitec.ca> wrote:

Thanks, it works now.

I have a Kinston EtheRx KNE20 card, evey time starting QNXRTP I have to
set the net card parameters,

io-net -dne2000 -ptcpip
and IP address, mask, gateway…

Then I can use voyage, How can I keep these settings?

You can add that line in a file called /etc/rc.d/rc.local (if it doesn’t exist
create one). Don’t forget to “chmod 755 /etc/rc.d/rc.local” before you reboot! :slight_smile:

Can I use my net printer?

This information was found in the Knowledge base at:
http://qdn.qnx.com, by searching on “printer” you found the following issue:
http://support.qnx.com/support/bok/solution.qnx?10134

Best Regards,

Marcin

Jun

Marcin Dzieciol wrote:

Jun Xu <> enguic@unitec.ca> > wrote:
My root password is: jxu123
I had a user name: jxu, password : jjjxxx, all were set when I installed
the QNXRTP.
But when Photon starts, I can only login use
jxu (user name) and password: jjjxxx

Hello Jun,

Try

user: root
password: jxu123

Regards,

Marcin

The system does accept jxu (user name), jxu123(password)!

But when I click “package mgr”, I can log in as root successfully!

Mario Charest wrote:

When you see the login dialog (just as Photon starts)

“Jun Xu : Unitec Engineering” <> enguic@unitec.ca> > wrote in message
news:> 3A401B28.DA297C1@unitec.ca> …
Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun

Hi, Marcin:

I create "/etc/rc.d/rc.local " and “chmod 755 /etc/rc.d/rc.local”
I put

slay io-net
sleep2
io-net -dne2000 -ptcpip

in rc.local.

When system boots, device en0 is there. But it is not enabled, IP,Netmask and Default
Gateway are still missing.
How can I put these parameters in rc.local?

I do not have qcc compiler instead I have gcc, where can I find the description
of “qcc” command?

Jun



Marcin Dzieciol wrote:

Jun Xu <> enguic@unitec.ca> > wrote:
Thanks, it works now.

I have a Kinston EtheRx KNE20 card, evey time starting QNXRTP I have to
set the net card parameters,

io-net -dne2000 -ptcpip
and IP address, mask, gateway…

Then I can use voyage, How can I keep these settings?

You can add that line in a file called /etc/rc.d/rc.local (if it doesn’t exist
create one). Don’t forget to “chmod 755 /etc/rc.d/rc.local” before you reboot! > :slight_smile:

Can I use my net printer?

This information was found in the Knowledge base at:
http://qdn.qnx.com> , by searching on “printer” you found the following issue:
http://support.qnx.com/support/bok/solution.qnx?10134

Best Regards,

Marcin

Jun

Marcin Dzieciol wrote:

Jun Xu <> enguic@unitec.ca> > wrote:
My root password is: jxu123
I had a user name: jxu, password : jjjxxx, all were set when I installed
the QNXRTP.
But when Photon starts, I can only login use
jxu (user name) and password: jjjxxx

Hello Jun,

Try

user: root
password: jxu123

Regards,

Marcin

The system does accept jxu (user name), jxu123(password)!

But when I click “package mgr”, I can log in as root successfully!

Mario Charest wrote:

When you see the login dialog (just as Photon starts)

“Jun Xu : Unitec Engineering” <> enguic@unitec.ca> > wrote in message
news:> 3A401B28.DA297C1@unitec.ca> …
Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun

“Jun Xu” <enguic@unitec.ca> wrote in message
news:3A42ACB7.522B32A9@unitec.ca

Hi, Marcin:

I create "/etc/rc.d/rc.local " and “chmod 755 /etc/rc.d/rc.local”
I put

slay io-net
sleep2
io-net -dne2000 -ptcpip

in rc.local.

When system boots, device en0 is there. But it is not enabled, IP,Netmask
and Default
Gateway are still missing.
How can I put these parameters in rc.local?

Look at the ipconfig command.

I do not have qcc compiler instead I have gcc, where can I find the
description
of “qcc” command?

If you have gcc you should have qcc. qcc is not a compiler it’s just a
parser/frontend
that call gcc.

Jun



Marcin Dzieciol wrote:

Jun Xu <> enguic@unitec.ca> > wrote:
Thanks, it works now.

I have a Kinston EtheRx KNE20 card, evey time starting QNXRTP I have
to
set the net card parameters,

io-net -dne2000 -ptcpip
and IP address, mask, gateway…

Then I can use voyage, How can I keep these settings?

You can add that line in a file called /etc/rc.d/rc.local (if it doesn’t
exist
create one). Don’t forget to “chmod 755 /etc/rc.d/rc.local” before you
reboot! > :slight_smile:

Can I use my net printer?

This information was found in the Knowledge base at:
http://qdn.qnx.com> , by searching on “printer” you found the following
issue:
http://support.qnx.com/support/bok/solution.qnx?10134

Best Regards,

Marcin

Jun

Marcin Dzieciol wrote:

Jun Xu <> enguic@unitec.ca> > wrote:
My root password is: jxu123
I had a user name: jxu, password : jjjxxx, all were set when I
installed
the QNXRTP.
But when Photon starts, I can only login use
jxu (user name) and password: jjjxxx

Hello Jun,

Try

user: root
password: jxu123

Regards,

Marcin

The system does accept jxu (user name), jxu123(password)!

But when I click “package mgr”, I can log in as root successfully!

Mario Charest wrote:

When you see the login dialog (just as Photon starts)

“Jun Xu : Unitec Engineering” <> enguic@unitec.ca> > wrote in message
news:> 3A401B28.DA297C1@unitec.ca> …
Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun

Mario Charest <mcharest@void_zinformatic.com> wrote:

“Jun Xu” <> enguic@unitec.ca> > wrote in message
news:> 3A42ACB7.522B32A9@unitec.ca> …
Hi, Marcin:

I create "/etc/rc.d/rc.local " and “chmod 755 /etc/rc.d/rc.local”
I put

slay io-net
sleep2
io-net -dne2000 -ptcpip

in rc.local.

When system boots, device en0 is there. But it is not enabled, IP,Netmask
and Default
Gateway are still missing.
How can I put these parameters in rc.local?

Look at the ipconfig command.


I do not have qcc compiler instead I have gcc, where can I find the
description
of “qcc” command?


If you have gcc you should have qcc. qcc is not a compiler it’s just a
parser/frontend
that call gcc.

Hello,

For more info please goto online docs (http://qdn.qnx.com/support/docs/index.html)
For info on utilities go to: http://qdn.qnx.com/support/docs/neutrino_qrp/dev_tools/utilities.html
(ie. qcc, gcc)

Best Regards,

Marcin

Jun



Marcin Dzieciol wrote:

Jun Xu <> enguic@unitec.ca> > wrote:
Thanks, it works now.

I have a Kinston EtheRx KNE20 card, evey time starting QNXRTP I have
to
set the net card parameters,

io-net -dne2000 -ptcpip
and IP address, mask, gateway…

Then I can use voyage, How can I keep these settings?

You can add that line in a file called /etc/rc.d/rc.local (if it doesn’t
exist
create one). Don’t forget to “chmod 755 /etc/rc.d/rc.local” before you
reboot! > :slight_smile:

Can I use my net printer?

This information was found in the Knowledge base at:
http://qdn.qnx.com> , by searching on “printer” you found the following
issue:
http://support.qnx.com/support/bok/solution.qnx?10134

Best Regards,

Marcin

Jun

Marcin Dzieciol wrote:

Jun Xu <> enguic@unitec.ca> > wrote:
My root password is: jxu123
I had a user name: jxu, password : jjjxxx, all were set when I
installed
the QNXRTP.
But when Photon starts, I can only login use
jxu (user name) and password: jjjxxx

Hello Jun,

Try

user: root
password: jxu123

Regards,

Marcin

The system does accept jxu (user name), jxu123(password)!

But when I click “package mgr”, I can log in as root successfully!

Mario Charest wrote:

When you see the login dialog (just as Photon starts)

“Jun Xu : Unitec Engineering” <> enguic@unitec.ca> > wrote in message
news:> 3A401B28.DA297C1@unitec.ca> …
Hi List,

I am a newbie. I want to use “phedit” to modify
“/etc/system/enum/include/net”.
How can I login as root? and Where???

Thanks.

Jun