Hi,
I though about it for a minute and decided if I ran mkisofs on the driver I could make a CD-ROM image and transport it into the emulator that way. It worked but now I don't know what to do with the file. I did uncompress it into the .kext file but I don't know how to install a .kext file and double click just complained there was no application associated with that type of file.
What do I do to install Apple3Com90x.kext ?
Thanks
Need help installing network driver
Moderators: Cat_7, Ronald P. Regensburg
-
- Student Driver
- Posts: 18
- Joined: Thu May 20, 2004 12:45 pm
-
- Student Driver
- Posts: 18
- Joined: Thu May 20, 2004 12:45 pm
Well I rebuilt the locate database ala periodic/weekly and used the locate command to find where the kexts were and put the Apple3Com90x.kext in there and it looked OK when I rebooted into single user mode.
Now on to setting up Linux
http://pearpc.sourceforge.net/netsetup.html
Hmm. I don't think there's really a reason to run from the source tree. One quick find/cpio and the stuff is in my runtime directory.
$ find scripts -depth -print | cpio -pvdum /more/MacOS
/more/MacOS/scripts/ifppc_up.setuid
/more/MacOS/scripts/Makefile
/more/MacOS/scripts/ifppc_up.setuid.o
/more/MacOS/scripts/ifppc_down.setuid
/more/MacOS/scripts/ifppc_down.setuid.cc
/more/MacOS/scripts/ifppc_down
/more/MacOS/scripts/Makefile.am
/more/MacOS/scripts/Makefile.in
/more/MacOS/scripts/ifppc_up
/more/MacOS/scripts/ifppc_down.setuid.o
/more/MacOS/scripts/ifppc_up.setuid.cc
/more/MacOS/scripts
230 blocks
tun: Failed to open /dev/net/tun: 13 (Permission denied)
Hmm. seems to need root to run complete. Wonder why setuid-root binaries are used at all then? Should I change the perms on /dev/net/tun?
once ppc is run as root:
executing 'scripts/ifppc_up.setuid' ...
********************************************************************************
UID=0
creating 3com 3c90x NIC emulation with eth_addr = de:ca:fb:ad:12:34
[CPU/MMU] new pagetable: sdr1 = 0x00300003
[CPU/MMU] new pagetable: sdr1 accepted
[CPU/MMU] number of pages: 2^15 pagetable_start: 0x00300000 size: 2^18
Boot up into single-user-mode and MAC address shows up in emulator OK.
However, ifconfig does not show the interface.
Now on to setting up Linux
http://pearpc.sourceforge.net/netsetup.html
Hmm. I don't think there's really a reason to run from the source tree. One quick find/cpio and the stuff is in my runtime directory.
$ find scripts -depth -print | cpio -pvdum /more/MacOS
/more/MacOS/scripts/ifppc_up.setuid
/more/MacOS/scripts/Makefile
/more/MacOS/scripts/ifppc_up.setuid.o
/more/MacOS/scripts/ifppc_down.setuid
/more/MacOS/scripts/ifppc_down.setuid.cc
/more/MacOS/scripts/ifppc_down
/more/MacOS/scripts/Makefile.am
/more/MacOS/scripts/Makefile.in
/more/MacOS/scripts/ifppc_up
/more/MacOS/scripts/ifppc_down.setuid.o
/more/MacOS/scripts/ifppc_up.setuid.cc
/more/MacOS/scripts
230 blocks
tun: Failed to open /dev/net/tun: 13 (Permission denied)
Hmm. seems to need root to run complete. Wonder why setuid-root binaries are used at all then? Should I change the perms on /dev/net/tun?
once ppc is run as root:
executing 'scripts/ifppc_up.setuid' ...
********************************************************************************
UID=0
creating 3com 3c90x NIC emulation with eth_addr = de:ca:fb:ad:12:34
[CPU/MMU] new pagetable: sdr1 = 0x00300003
[CPU/MMU] new pagetable: sdr1 accepted
[CPU/MMU] number of pages: 2^15 pagetable_start: 0x00300000 size: 2^18
Boot up into single-user-mode and MAC address shows up in emulator OK.
However, ifconfig does not show the interface.
-
- Student Driver
- Posts: 18
- Joined: Thu May 20, 2004 12:45 pm
-
- Student Driver
- Posts: 18
- Joined: Thu May 20, 2004 12:45 pm
still ifconfig says "en0: no such interface"
I think the problem is the network topology must be
{emualtor 10.1.1.1} <-> {10.2.2.2 host 172.20.20.20} <-> {172.20.20.1 Internet router real-IP}
so the tun interface is point-to-point between the emulator and the host on an RFC 1918 network.
The IP numbers in the example are all RFC 1918 but they could be any on
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
If you DHCP to the Internet router (most home broadband does this) the 172.20.20.20 will be in reality whatever the DHCP address your Internet "modem" (really router or bridge) gives you.
The 10.1.1.1 <-> 10.2.2.2 must be a different network from the DHCP one (and from any other existing network your host is attached to, otherwise it can be any of the RFC 1918 ones.
I think the problem is the network topology must be
{emualtor 10.1.1.1} <-> {10.2.2.2 host 172.20.20.20} <-> {172.20.20.1 Internet router real-IP}
so the tun interface is point-to-point between the emulator and the host on an RFC 1918 network.
The IP numbers in the example are all RFC 1918 but they could be any on
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
If you DHCP to the Internet router (most home broadband does this) the 172.20.20.20 will be in reality whatever the DHCP address your Internet "modem" (really router or bridge) gives you.
The 10.1.1.1 <-> 10.2.2.2 must be a different network from the DHCP one (and from any other existing network your host is attached to, otherwise it can be any of the RFC 1918 ones.
-
- Student Driver
- Posts: 18
- Joined: Thu May 20, 2004 12:45 pm