Skip navigation.
Home
The QNX Community Portal

View topic - qnx 4.25 and VMware network problems!

qnx 4.25 and VMware network problems!

For the old QNX2 and QNX4 RTOS

qnx 4.25 and VMware network problems!

Postby Jag » Wed Feb 25, 2004 4:19 pm

I recently installed VMware 4 on my windows XP laptop. I tried installing QNX 4.25 as a virtual machine and the install worked fine. It detected the CDROM, floppy, NIC and everything. My problem is that I can not ping anything outside the QNX guest OS. I have seen so many post that say the networking "just works". What am I doing wrong?

HELP!
Jag
Active Member
 
Posts: 10
Joined: Wed Feb 25, 2004 4:11 pm

Postby noc » Wed Feb 25, 2004 6:22 pm

I had the same problem, and the fix I have is

when the virtual machine is up, slay the Net.ether2100 and restart it.
noc
Senior Member
 
Posts: 1634
Joined: Sat Jul 06, 2002 4:34 am

Postby Jag » Wed Feb 25, 2004 8:36 pm

Thanks noc! I found that if I slay the Net.ether2100 and restart it with the same parameters as the sysinit.1 it does NOT work. If I start it with NO paramenters it works very well. So I took the parameters out of my sysinit.1 and it works great without having to slay anything!

Thanks for the tip!
Jag
Active Member
 
Posts: 10
Joined: Wed Feb 25, 2004 4:11 pm

Postby mario » Thu Feb 26, 2004 1:02 am

noc: do you have a entry in the netmap for the node. If it doesn't match the "real" MAC address, TCP/IP won't work.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Postby noc » Thu Feb 26, 2004 5:26 pm

My MAC address in vmware keeps changing everytime I boot into VM. So the netmap is never acurate. By slaying and restarting Net.ether2100, it puts a correct entry into the in-memory netmap at least, and everything works after that.

Thanks for the hint, and I guess if I comment out the "netmap -f" line in the sysinit file, I probably don't need to do the restart of Net.ether2100.
noc
Senior Member
 
Posts: 1634
Joined: Sat Jul 06, 2002 4:34 am

Postby mario » Thu Feb 26, 2004 11:29 pm

I wonder what makes you MAC address change. I have been using it vmware for a few months now and on 3 very different PCs and the MAC address has never changed.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Postby noc » Fri Feb 27, 2004 1:25 am

The things that I can think of that may cause the MAC address change:

1) The host machine is a laptop and moving around on different subnets with different dhcp servers.

2) There are multiple guest OSes installed (qnx4, qnx6, windows, linux)

3) Sometimes I have two or more guest OSes running at the same time.
noc
Senior Member
 
Posts: 1634
Joined: Sat Jul 06, 2002 4:34 am

Postby mario » Fri Feb 27, 2004 4:10 am

noc wrote:The things that I can think of that may cause the MAC address change:

1) The host machine is a laptop and moving around on different subnets with different dhcp servers.


Must be it.

noc wrote:2) There are multiple guest OSes installed (qnx4, qnx6, windows, linux)


Same here

noc wrote:3) Sometimes I have two or more guest OSes running at the same time.


I do that now and then as well
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Postby Jag » Fri Feb 27, 2004 7:36 pm

I think you misunderstood me. My sysinit.1 file had this from the initial install.

/bin/Net.ether2100 -l1 -p10c0 -i11 &

and I changed it to this

/bin/Net.ether2100 &

and no more problems. I no longer have to restart the Net.ether2100 driver.
Jag
Active Member
 
Posts: 10
Joined: Wed Feb 25, 2004 4:11 pm

Postby solo/ng » Wed Mar 10, 2004 11:31 pm

Hey i had same problem and it didnt work - maybe i did something wrong ?

I have VWware 4.0.5 @ windows xp
I installed QNX 4.25SE.
After it I tryed:

- slay Net.ether2100 then restart: Net.ether2100 &

didnt work

I replaced the line in sysinit.1 - didnt work.
I typed netmap -f after restarting Net.ether2100 - didnt work

I still can ping QNX IP - 198.9.200.1 (set by default during install)
But i cannot ping any local / internet IPs eg. 192.168.0.1 (my host psychics computer).

I have tryed all 3 NIC modes in VMware - bridged, NAT, host only.

Any1 can help ?
solo/ng
New Member
 
Posts: 2
Joined: Wed Mar 10, 2004 11:26 pm

Postby mario » Thu Mar 11, 2004 1:12 am

Can you describe what you network layout looks like, is there a DHCP server on the network?
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Postby maschoen » Wed Jun 22, 2011 8:01 am

Hey, anyone looking at this. I'm just so amazed. It's 2011. I've been tearing my hair out trying to get bridged networking working with QNX 4 under VM player, a product that probably didn't exist in 2004. And the answer to my problem (Remove the parameters from Net.ether2100) was the solution. What a fantastic resource we have here.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Postby sieudot » Thu Jul 21, 2011 9:17 am

Hi everyone,
I have the same problem here. I have installed QNX 4.25 version 2011 (released recently) on VMware workstation 7.1.4.
The installation is complete successfully. But I can't ping any thing. I have remove Net.ether2100 paramater on sysinit, and it doesn't work. Hic.

When I type "ping x.x.x.x", it says "ping: socket: no route to host"
When I type "netstat -rn", it says "netstat: no namelist"
When I type "ifconfig en0 x.x.x.x" it says "ifconfig: socket: No route to host"
When I run Voyager, the Voyager echoes "Error: DNS Failure"

How can I do ?
sieudot
Active Member
 
Posts: 45
Joined: Thu Mar 17, 2005 8:14 am
Location: VietNam

Postby mario » Thu Jul 21, 2011 1:51 pm

Did you set your vm network card to bridged?

Are you using dhcp or static ip?
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Postby maschoen » Thu Jul 21, 2011 2:26 pm

The first message suggests that you don't have anything in your resolv.conf file, however
the second message suggests that you haven't started TCP/IP at all. The default might work:

# /etc/netstart
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Next

Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 3 guests