• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Warp 4 running in Virtual PC, doesn't see network an so can't access to web

Started by nigel, 2007.09.28, 09:18:05

Previous topic - Next topic

nigel

Hello all
Ok

I have warp 4 running in VirtualPC, it seems to run fine, although i will have to tweak the display a little to pretty it up

The problem is that I cannot seem to figure how to get the networking Internet side running,

The "Configure TCP/IP" application is completely unintuitive

Is there a guide to how to configure it, as I am not getting anywhere

what I do know

I know the address of my gateway and the subnet mask, but beyond that it is not going well

Anyhelp or pointers towards guides would be appreciated

---------edit------------
An update of sorts
In virtual PC I changed the network connection from nvidia nforce blabla (which i am pretty sure OS/2 has never heard of) to Shared, simply because I think after reading the help it may be better
and on os/2 boot-up i get the following error
SIOCADDRT: NETWORK UNREACHABLE

is that an improvement?

Andi

My Virtual PC emulates an Intel 2104 NIC.

In the settings for this virtual machine I selected the NIC of the host system over which I want to communicate (in my case a Intel 82566). This setting has nothing to do what the guest system will see.

Basically tcpcfg edits/creates \mptn\bin\setup.cmd. It should contain something like -

route -fh
arp -f
ifconfig lo 127.0.0.1 netmask 255.0.0.0
ifconfig lan0 xx.xx.xx.xx  netmask 255.255.128.0       
route add default 10.112.128.1 -hopcount 0
ipgate off

xx.xx.xx.xx is your ip address. If you use DHCP then there should be a line like dhcpstrt.cmd .... instead.

Maybe you do not have configured the NIC in the virtual machine. What does mpts.exe show.


nigel

Ok I have selected the nic of the host system

and i am using dhcp

I seem to be able to ping sites
eg google
but I can't get the browser to work

route -fh
arp -f
REM ifconfig lan0
REM ifconfig lan1
REM ifconfig lan2
REM ifconfig lan3
REM ifconfig lan4
REM ifconfig lan5
REM ifconfig lan6
REM ifconfig lan7
dhcpstrt -i lan0
REM ifconfig s|o
route add net 192.168.1.1 192.168.1.1 1 netmask 255.255.255.0 > null
ipgate off


---edit--------
seems i can't ping the host, but i can ping the gateway and the rest of the net

nigel

Back again, i found a tutorial on setting up networking in os/2 here which i sort of followed although i am using dhcp but I am still getting the same result, the only difference is that I am not getting a "network is unreachable" error on boot up

route -fh
arp -f
ifconfig lo 127.0.0.1
REM ifconfig lan0
REM ifconfig lan1
REM ifconfig lan2
REM ifconfig lan3
REM ifconfig lan4
REM ifconfig lan5
REM ifconfig lan6
REM ifconfig lan7
dhcpstrt -i lan0
REM ifconfig s|o
route add default 192.168.1.1 1 > null
route add net 192.168.1.1 192.168.1.1 1 netmask 255.255.255.0 > null
ipgate off

If it helps

Andi

Quote from: nigel on 2007.09.29, 06:45:54
....
I seem to be able to ping sites
eg google
but I can't get the browser to work
....
So if dhcp works, you should see your ip-address if you type in 'ifconfig lan0'.

A 'ping xx.xx.xx.xx' (your address from above) should work. 'ping 127.0.0.1' or 'ping localhost' should work too.

If 'ping google.com' works, I see no reason why browsing would not.

Is 192.168.1.1 1 the address of your router?

Radek

(1) IIRC, domain name, PC name and user name of the VPC must be the same as the corresponding names in the host PC. Are they?
(2) The emulated network card in the VPC is Intel 2104x/2114x. Install with this card and use DHCP.
I am runnig eCS in a VPC on winblows XP (my apologies, it's a must in my work) and I have internet access from the VPC.

nigel

Quote from: AndiSo if dhcp works, you should see your ip-address if you type in 'ifconfig lan0'.
Is 192.168.1.1 1 the address of your router?
if i do an ifconfig lan0'

I get
lan0: flags=bc63<UP, BROADCAST, NOTRAILERS,RUNNING,BRIDGE,SNAP>
         inet 192.168.1.2 netmask xffffff00 broadcast 192.168.1.255

192.168.1.1 is the address of my gateway

Quote from: Radek on 2007.10.05, 16:42:02
(1) IIRC, domain name, PC name and user name of the VPC must be the same as the corresponding names in the host PC. Are they?
(2) The emulated network card in the VPC is Intel 2104x/2114x. Install with this card and use DHCP.
I am runnig eCS in a VPC on winblows XP (my apologies, it's a must in my work) and I have internet access from the VPC.

I don't think i ever bothered to set up a domain name on the host system and as for changing the network card, surely if i can ping sites the network card emulation must be working

Also I should say I have while trying to resolve this problem installed fixpak 15, should i also try installing the device driver pack
And the host machine is a windows 2000 machine

nigel

Ok i just installed Opera 5.something and I am able to surf the net

but the colours seem very limited, Is that normal

I have looked at firefox but it seems I may need to upgrade my tcp/ip and mpts before installing it, how do i found out which versions i have

and  as for java is it still the innotek java thingie?

Saijin_Naib

If you are able to update your TCP/IP stacks and MTPS, please do so. I feel that Firefox and Seamonkey are light years ahead of the last Opera for OS/2 (5.xx) which is limited, insecure, slow, and ad-supported. As far as I know, there is only the Innotek 1.42_xx JVM and the Goldencode 1.42__ JVM. IBM JVM stopped at 1.31 as far as I can recall.

nigel

Any idea on how I upgrade tcp/ip and mpts or at least find out the version of the ones
i have

--------------------------------------
Ok I am asking the above in a new thread





Saijin_Naib

I think you may be able to do the syslevel command and get that information. I am not sure :( I use eComStation 2.0 RC2, so it has mostly all the updates I will ever need already applied. I think the eComStation site has the MPTS and TCP-IP stacks available for update, so maybe (if it does not violate any EULA terms) i can email those files to you. Also, you may wish to give this utility a try, I have had good luck with it for setting up xfree86 for me, as well as Flash 7r69.

http://www.ecomstation.it/ecsoft2/prog.php?progid=1323&name=OS%2F2%20Maintenance%20Tool&sys=os2+ecomstation
Be sure to read carefully and make sure you only install what you need you know.
Good luck!