|
From: Erik A. <ea...@gm...> - 2004-07-10 15:43:58
|
Actually I did a hack job of it. Here's what I did to get it working: 1) Edit kpx_cpu/sheepshaver_glue.cpp add a line near the top that says "#define WORDS_BIGENDIAN". This, I assume, tricks the compiler into thinking we're using a big endian processor. 2) Compile 3) Following Gwenole's instuctions I modified my config with his settings. 4) The Internet still didn't work. Thanks to Google I think I found my problem. ARP. How to fix? Eth0 is my NIC to the router and tun0 is my tunnel. These commands enable proxy ARP and IP forwarding. I'm not sure you'll need the last two or any of them at all. But, they're here to save you headachs ;). If you find that you DID need them all please tell me. echo 1 > /proc/sys/net/ipv4/ip_forward echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp echo 1 > /proc/sys/net/ipv4/conf/tun0/proxy_arp If you have anymore questions feel free to post. I'd *LOVE* to save someone the 3 days I spent on this! -Erik Arnson ----- Original Message ----- From: howard spoelstra <how...@ho...> Date: Sat, 10 Jul 2004 10:36:50 +0200 Subject: Re: [B2-devel] Ethernet/Internet Networking? To: bas...@li... Hi Gwenole, Could you be a bit more specific about the changes to be made to kpx_cpu/sheepshaver_glue.cpp ? A code snippet would be great! Best wishes Howard >From: Gwenole Beauchesne <gb...@di...> >Reply-To: bas...@li... >To: bas...@li... >Subject: Re: [B2-devel] Ethernet/Internet Networking? >Date: Sat, 10 Jul 2004 07:36:42 +0200 > >Hi, > >>How does one use tun/tap to get SheepShaver to connect to the net? >>I've spent 3 days on it and can't figure it out at all. Sorry to >>be a >>bother =/. > >First, if you build SheepShaver from sources yourself on a non big >endian system (e.g. x86), ethernet support is not enabled by >default, you will have to change kpx_cpu/sheepshaver_glue.cpp for >that. > >Second, I got the TUN virtual device working only at home through a >DSL connection (ethernet modem). > >Make sure you have the following prefs items set up correctly in >~/.sheepshaver_prefs: >ether tun >etherconfig /path/to/tunconfig > >Make sure you have sudo working for your user for the following >binaries: >/sbin/ifconfig >/sbin/iptables > >Or you will have to run SheepShaver as root or run tunconfig through >a wrapper script that calls kdesu or whatever. > >Next, in the MacOS side, set up a static IP in this form: >172.20.XX.2 >Where XX is generally 40, you can check that with /sbin/ifconfig for >the IP of the tun0 device. Use another IP in that network. > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >basilisk-devel mailing list >bas...@li... >https://lists.sourceforge.net/lists/listinfo/basilisk-devel ________________________________ Speel games online met je vrienden via MSN Messenger klik hier ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ basilisk-devel mailing list bas...@li... https://lists.sourceforge.net/lists/listinfo/basilisk-devel -- -Erik Arnson |