networking issue

[ARCHIVED] About PearPC, a mostly obsolete PPC Mac emulator for Windows and Linux to run MacOS X 10.1 up to 10.4. Using QEMU is now recommended.

Moderators: Cat_7, Ronald P. Regensburg

Locked
ferenc
Space Cadet
Posts: 1
Joined: Mon May 24, 2004 8:28 pm

networking issue

Post by ferenc »

After several days of trying and unsuccessful forum and google searches I still can't get networking in pearpc 0.1.2 on my 2.4.20 athlon xp machine, using OS X 10.3 as a client. Anyway, thanks to the developers, they are doing a great job.

I followed the instruction as described at http://pearpc.sourceforge.net/netsetup.html setting

Code: Select all

PPC_HOST_IP   = "192.168.2.80"
PPC_CLIENT_IP = "192.168.2.1"
Nework Packet Filtering is compiled into my kernel, modprobe tun loaded the module successfully, my user has rw rights to /dev/net/tun, client networking has been set up with the driver provided at http://pearpc.sourceforge.net/apsl.html, the kext loads successfully as well, providing the device en1.

After having set the appropriate permissions, starting pearpc and executing

Code: Select all

sudo ifconfig en1 up 192.168.2.1
sudo route add default 192.168.2.80
I still do not receive any error message, but I cannot ping any ip except .1 from my client and .80 from my host, respectively. From within OS X:

Code: Select all

ping: sendto: Host is down
ping: wrote 192.168.2.80 64 chars, ret=-1
As there are ip snippets in the pearpc log, no error messages, and received bytes on the ppc device:

Code: Select all

ppc       Link encap:Ethernet  HWaddr 00:FF:C6:AF:A0:FE
          inet addr:192.168.2.80  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:11419 (11.1 Kb)  TX bytes:0 (0.0 b)
I guess the reason for my problem might be found outside pearpc, actually.

Furthermore I did not succeed with disabled firewall, just to be sure.

So how can I finally get my network up? Where could I check settings or look for error messages, which documents could I read to deeper get to know how to examine my issue? Is there any further information, I should provide for you?

Any hints are appreciated. Thank you in advance.

f.
ZOleg

Post by ZOleg »

I have same situation!!!
Please help us!!!
ZOleg
Inquisitive Elf
Posts: 37
Joined: Tue May 25, 2004 9:11 am
Location: Russia

Post by ZOleg »

Today i update source code from CVS (0.2pre), compile it and now network in MacOS X work!!!
But!
DNS is not work in MacOS X - for example:
run Terminal and type:
ping www.apple.com
ping: cannot resolve www.apple.com: Unknown host

and now

ping 17.112.152.32
PING 17.112.152.32 (17.112.152.32): 56 data bytes
64 bytes from 17.112.152.32: icmp_seq=0 ttl=53 time=309.703 ms
64 bytes from 17.112.152.32: icmp_seq=1 ttl=53 time=307.986 ms
64 bytes from 17.112.152.32: icmp_seq=2 ttl=53 time=345.673 ms
^C
--- 17.112.152.32 ping statistics ---
4 packets transmitted, 3 packets received, 25% packet loss
round-trip min/avg/max/stddev = 307.986/321.121/345.673/17.375 ms


cat /etc/resolv.conf
search buryatia.ru
nameserver 195.161.69.129
nameserver 195.161.69.129


Why?
Locked