Windows Networking, It's finally here!

About PearPC, a PPC Mac emulator for Windows and Linux that can run MacOS X up to 10.4.

Moderators: Cat_7, Ronald P. Regensburg

phazey
Student Driver
Posts: 14
Joined: Mon Jun 07, 2004 9:44 am

Post by phazey »

Cindy:

Your Default gateway "Router" should be in the same subnet as your IP address (try 192.168.0.1)

Windows ISC defaulty configures the TAP driver to 192.168.0.1 - thats your default gateway/router

P
draftery
Space Cadet
Posts: 1
Joined: Tue Jun 22, 2004 1:10 pm

Post by draftery »

I seem to be having a problem with the TAP32 virtual adapter.

I install it using the OpenVPN 2.0 beta 2 setup file, ignoring everything else and only installing the virtual adapter. I've tried letting it automatically obtain an IP, and I've tried setting the IP manually, but they both end up at the same problem:

When I load up PearPC and TAP network connection pops up the 'cable connected' message, the IP address is invalid. That is to say, when I go to the status window and check the support tab, it has this info:

Address Type: Invalid IP Address
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Gateway:

Anyone got any ideas? I can post more info if you need it.
froesch
Student Driver
Posts: 11
Joined: Mon Jun 28, 2004 6:52 pm

Post by froesch »

i have a win2k server who shares my dsl connection for two win2k prof computers.
one of the win2k prof computers is the pearpc host.
i have configured TAP-Win32 Adapter for my gateway. hope this is right.
the lan connection from TAP into windows is online when os x starts.
but when i start os x and look for network there is no card found.
i have pearpc is 0.2.0 and openvpn-2.0_beta2 installed.
i have already tested to change to the pearpc_noarch-win32net-R2.rar but it doesn't work, too.

any idea?

Code: Select all

C:\>ipconfig

Windows 2000-IP-Konfiguration

Ethernetadapter "mac lan":

        Verbindungsspezifisches DNS-Suffix:
        IP-Adresse (Autokonfiguration). . : 192.168.0.64
        Subnetzmaske. . . . . . . . . . . : 255.255.255.0
        Standardgateway . . . . . . . . . : 192.168.0.1

Ethernetadapter "LAN":

        Verbindungsspezifisches DNS-Suffix:
        IP-Adresse. . . . . . . . . . . . : 192.168.0.4
        Subnetzmaske. . . . . . . . . . . : 255.255.255.0
        Standardgateway . . . . . . . . . : 192.168.0.1
my pearpc config for network

Code: Select all

pci_rtl8139_installed = 1
pci_rtl8139_mac = "de:ad:ca:fe:12:34"
froesch
Student Driver
Posts: 11
Joined: Mon Jun 28, 2004 6:52 pm

Post by froesch »

draftery wrote:I seem to be having a problem with the TAP32 virtual adapter.

I install it using the OpenVPN 2.0 beta 2 setup file, ignoring everything else and only installing the virtual adapter. I've tried letting it automatically obtain an IP, and I've tried setting the IP manually, but they both end up at the same problem:

When I load up PearPC and TAP network connection pops up the 'cable connected' message, the IP address is invalid. That is to say, when I go to the status window and check the support tab, it has this info:

Address Type: Invalid IP Address
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Gateway:

Anyone got any ideas? I can post more info if you need it.
do you have made an ipconfig? is it the same result?
what is your operating system? winxp?
Skyliner34
Student Driver
Posts: 14
Joined: Sun Jul 04, 2004 10:43 pm
Location: Wales, UK
Contact:

Post by Skyliner34 »

Hi,

When I try and install OpenVPN 2.0 beta 2 (also tried beta7) I get the error 'An error occurred installing the TAP-Win32 device driver'

Error shown in attached picture.

I'm Using WinXP SP1.

Please help

Thanks

Sky

Image
Diodak_
Inquisitive Elf
Posts: 38
Joined: Thu Jul 01, 2004 2:23 pm
Location: Poland
Contact:

Post by Diodak_ »

froesch wrote:i have pearpc is 0.2.0 and openvpn-2.0_beta2 installed.
i have already tested to change to the pearpc_noarch-win32net-R2.rar but it doesn't work, too.

any idea?
froesch, stay with OpenVPN 2.0 beta 2 (beta 7 isnt working because of change in internal name of TAP driver). Download ISO from: http://pearpc.sourceforge.net/downloads ... sw-pkg.iso and attach it in config file on slave device, then disable Realtek NIC and enable 3Com NIC:
pci_ide0_slave_installed = 1
pci_ide0_slave_image = "Apple3Com3C90x-7-sw-pkg.iso"
pci_ide0_slave_type = "cdrom"

pci_3c90x_installed = 1
pci_3c90x_mac = "de:ad:ca:fe:12:34"

pci_rtl8139_installed = 0
pci_rtl8139_mac = "de:ad:ca:fe:12:35"
Now go to network connections
Image

1. open properties of your LAN connection then Advanced tab and select internet connection sharing:
Image

2. if you get message that windows will change your IP to 192.168.0.1 then don't believe in this and click OK.
Image

3. If you get an error on setting ICS then disconnect cable form NIC and repeat operation, then connect cable again. Now open properties of TAP connection (ie. Macintosh), and then properties of TCP/IP
Image

4. Configure manually IP (ie. 192.168.0.64) and subnet mask
Image

5. Start PearPC and go to Network in System Preferences. System will detect new port (our 3Com NIC driver - pci10b7,9200) - click configure and enter new IP address (ie. 192.168.0.101), same subnet mask. For router and DNS servers set same IP as have TAP driver in windows (ie 192.168.0.64) and click apply now.
Image

6. In network status should appear green light:
Image

I know that there is lots of networking guides, but they are not complete. And manny people don't know that Realtek driver sometimes don't work but 3Com driver works with no problem.

Diodak
www.macintosh.prv.pl
froesch
Student Driver
Posts: 11
Joined: Mon Jun 28, 2004 6:52 pm

Post by froesch »

my problem is connection sharing... my win2k host isn't the computer sharing my connection. my network works now with panther 10.3.4 and openvpn-2.0_beta2 but dsl doesn't work. i have given him 192.168.0.1 as dns server in the mac network connection and in the TAP connection under win2k
Diodak_
Inquisitive Elf
Posts: 38
Joined: Thu Jul 01, 2004 2:23 pm
Location: Poland
Contact:

Post by Diodak_ »

That's not a problem. I have on one computer (windows ME) connected to internet by DSL (NIC have address 192.168.0.1) and second computer is connected to it (windows XP 192.168.0.100). I'm working on this computer and here i have enabled ICS again (for PearPC). Then i installed TAP and give him IP: 192.168.0.64. So.. internet is shared on first computer by ICS and then again on second computer with Win XP (connected to first) by ICS too! So you can enable ICS on your win 2k host with no problem. If windows gives you an error that ICS is allready enabled on network, just simply dosconnect cable from your NIC, enable ICS on your win2k machine and then plug-in again. It must work! or maybe i don't understand your problem.

Diodak
www.macintosh.prv.pl
froesch
Student Driver
Posts: 11
Joined: Mon Jun 28, 2004 6:52 pm

Post by froesch »

oh i don't know that i can share ICS on 2 computers.
i have now tested it and when i disconnect lan on my workstation i get the error that he can't set ICS because of no connection to network.
so i disconnected NIC on the server and restart the workstation but he has in memory that there is an NIC with 192.168.0.1 and it is not possible to set ICS...
Havin_it
Mac Mechanic
Posts: 158
Joined: Wed Jul 21, 2004 3:06 pm

Re: I can not even install openvpn-2.0_beta2-install.exe on

Post by Havin_it »

truth wrote:Hi all,

I even could not install openvpn on Windows XP SP2. Is there anybody experienced same problem? I receive the error below.

Image

I think becaue I could not isntall it, PearPC shutdowns itself immediately saying it could not find TAP-WIN32 drive.

I also could not undestand where and how am I suppose to use win32netR2.patch which we are asked to download from http://www.kelley.ca/pearpc/

I will be glad if somebody can explain it with screenshots.

Thank you.
Regards
truth, I think I know why OpenVPN install is borking. Did you get it from a link outside the Sourceforge site? Is the EXE file small, like a few hundred Kb? I got it from a link in a tutorial page, using a download manager, and got the same error. Then I went to ppc's Project Details page on Sourceforge (search it from the SF homepage) and turned off my DL manager. You should click right through the 'choose a mirror' stage, no right-clicking either! The EXE you get (make sure it's 2.0beta2, later builds don't work with PPC) should be about 2Mb.

HTH - still not getting the hang of the rest of the business myself, but I haven't tried a proxy server yet (last hope until PPC builds-in USB support, I fear...)
User avatar
PPC_Digger
Forum All-Star
Posts: 1053
Joined: Thu Jul 22, 2004 9:02 am
Location: Israel

Post by PPC_Digger »

i managed to run it on the first attempt, without any problems, and yes, i DID use a download manager(getright).
Diodak_
Inquisitive Elf
Posts: 38
Joined: Thu Jul 01, 2004 2:23 pm
Location: Poland
Contact:

Post by Diodak_ »

Later versions of OpenVPN than 2.0 beta 2 are now working on new CVS PearPC builds. For example i'm using OpenVPN 2.0 beta 8 and have internet working on PearPC 0.3pre.

Diodak
www.macintosh.prv.pl
kuchdawg
Space Cadet
Posts: 1
Joined: Thu Nov 18, 2004 2:23 am
Contact:

I've got 10.2 working with 0.2

Post by kuchdawg »

i'm using a 3com, downloaded and installed the driver, i'm using ip 192.168.0.1, have XP SP2, i'm trying to figure out a way to lower the network driver in 0.4 to get it working...if you can help me...
alantis13
Space Cadet
Posts: 3
Joined: Sat Nov 20, 2004 10:33 pm

here is your answer to ics behind a router

Post by alantis13 »

Post Reply