Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using the Airport Extreme in Linux (via MOL)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Thu Oct 27, 2005 7:31 pm    Post subject: Re: ifconfig Reply with quote

raimundex wrote:
ifconfig mac
en2:
inet 192.168.41.2 netmask 0xffffff00 broadcast 192.168.41.255
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255

If I understand :)
The first 192.168.41.2 is for osx-application --> tun0 --> linux --> internet.
You must use the second 192.168.2.1 for linux-application -->tun0-->en2--en1-->internet.

raimundex wrote:

ifconfig debian
tun0
inet end.: 192.168.41.1 Bcast:192.168.41.255 Masc:255.255.255.0

This is not useful for linux--> airport--> internet.
Under linux, you should have 192.168.2.xx

Under linux, add in your /etc/network/interfaces
iface tun0 inet dhcp

Run "# ifdown tun0" and "# ifup tun0", this should change the ip of tun0.
If necessary, use "nameserver 192.168.2.1" in your /etc/resolv.conf or install the package resolvconf.
Back to top
View user's profile Send private message
raimundex
n00b
n00b


Joined: 24 Oct 2005
Posts: 18

PostPosted: Fri Oct 28, 2005 1:51 am    Post subject: mol Reply with quote

look, i dont know from where came the ip 192.168.2.1, but macosx connects to internet through en1(192.168.1.7) by airpot, and sincerally i dont know from where came that ip. what should i do? i tried to put tun0 as 192.1682.3 and i did ping 192.168.2.1 e didnt get answer. mol is already giving me headache
Back to top
View user's profile Send private message
bz31
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 108

PostPosted: Fri Oct 28, 2005 6:11 am    Post subject: Reply with quote

You have three networks, and you should use only two (1+2 or 1+3) :

1) 192.168.1.1 (routeur) (network 192.168.1.xx)
Your eth0 (linux) or en1 (airport) get ip 192.168.1.xx

2) 192.168.41.1 (tun0) (network 192.168.41.xx)
This is for: osx-applications to en2(192.168.41.2) via dhcp to tun0(192.168.41.1) via NAT to eth0(192.168.1.xx) via dhcp to router(192.168.1.1) to internet.
When these work, your /etc/resolv.conf in linux has "nameserver 192.168.1.1" and your /etc/resolv.conf in OSX has nameserver "192.168.41.1"

3) 192.168.2.1 (en2) (network 192.168.2.xx)
This is for: linux-applications to tun0(192.168.2.xx) via dhcp to en2(192.168.2.1) via NAT to en1(192.168.1.xx) via dhcp to router(192.168.1.1) to internet.
When these wok, your /etc/resolv.conf in linux has "nameserver 192.168.2.1" and your /etc/resolv.conf in OSX has nameserver "192.168.1.1"

The second ip for en2 192.168.2.1 was new in mol-0.9.71_pre4. (When you start OSX Internet Sharing).

Your problem is in 3). That's all I understand.
Please correct me if I go wrong.
Back to top
View user's profile Send private message
revolthor
n00b
n00b


Joined: 11 Nov 2004
Posts: 27

PostPosted: Tue Nov 01, 2005 3:27 am    Post subject: Reply with quote

i had ae working through mol, but i think i may have forgotten to turn ae off and now i can't get osx open through mol - it just hangs on the blue screen with the spinning circle on the bottom. i've tried re-emerging mol and reinstalling os x but to no avail. when i comment out the pci stuff in /etc/mol/molrc.osx, i get a kernel panic with os x. this is the output when i run mol:
Code:
arthur@8008135 ~ $ startmol -X /dev/hda3
Warning: Ignoring argument '/dev/hda3'
Mac-on-Linux 0.9.71-pre1 [Oct 31 2005 21:35]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 1
Loading Mac-on-Linux kernel module:
   /usr/lib/mol/0.9.71/modules/2.6.13-gentoo-r3/mol.ko
Running in PowerPC 7400 mode, 96 MB RAM
Timebase: 18.43 MHz, Bus: 73.72 MHz, Clock: 1249 MHz
Using USB mouse on /dev/input/mice
OHCI USB controller registered
Could not open '/var/lib/mol/x11.kbd'
Fullscreen video on VT 8.
Could not open '/var/lib/mol/console.kbd'
Video driver(s): [xvideo] [console_video]

     640* 480, depth 8,15,32   { 59.9, 72.1, 74.9, 89.9, 99.7 } Hz
     640* 480, depth 8,15   { 116.6 } Hz
     800* 600, depth 8,15,32   { 56.2, 60.3, 70.0, 72.1, 74.9, 89.9 } Hz
     800* 600, depth 8,15   { 94.8 } Hz
     800* 600, depth 8,15,32   { 99.9 } Hz
    1024* 768, depth 8,15,32   { 60.0, 70.0 } Hz
    1024* 768, depth 8,15   { 74.8 } Hz
    1024* 768, depth 8,15,32   { 75.0 } Hz
    1152* 768, depth 8,15,32   { 54.7 } Hz
    1280* 854, depth 8,15,32   { 0.0, 60.0 } Hz
    1152* 864, depth 8,32   { 0.0 } Hz
    1280*1024, depth 8,32   { 0.0 } Hz
    1600*1200, depth 8,32   { 0.0 } Hz

FATAL: Module ip_tables not found.
iptables v1.3.2: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Ethernet Interface 'tun-<tun1>' @ 00:00:0D:EA:DB:EE

    ip/mask: 192.168.41.2/255.255.255.0  gw: 192.168.41.1
    broadcast: 192.168.41.255  nameserver: 192.168.41.1

ALSA sound driver (device 'default')

    CD    /dev/cdrom       CD/DVD         <read-only>   ------
------> /dev/hda3 is linux-mounted with write privileges.
    Unembedded HFS+ /dev/hda3                       <read-only>  20352 MB
------> /dev/hda3 is linux-mounted with write privileges.
Could not open '/dev/hda3' with read-write permissions
----> /dev/hda4 might be a boot-strap partition.
No volumes found in '/dev/hda'
No volumes found in '/dev/hdb'
No volumes found in '/dev/sda'
No volumes found in '/dev/sdb'

SCSI devices:

    SCSI  /dev/cdrom       [CDROM/DVD driver]

PCIPROXY: warning: PCI bus mastering not working with MOL


>> ==================================================
>> MacOS X Boot Loader 0.9.70 [96MB memory map patch]
>> Candidate boot volume: /mol-blk@0/disk@0:0
>> /mol-blk@0/disk@0:0,\mach_kernel (4313028 bytes)
>> /mol-blk@0/disk@0:0,\System\Library\Extensions.mkext
>> ==================================================

<*> SCSI driver v1.03
<*> IRQ vectorCanBeShared 3
<*> IRQ vectorCanBeShared 4
<*> IRQ vectorCanBeShared 2
<*> Block Driver v1.1
<*> IRQ vectorCanBeShared 6
<*> IRQ vectorCanBeShared 24
<*> IRQ vectorCanBeShared 26
PCIPROXY: warning: PCI bus mastering not working with MOL

Mounting MOL driver disk
+ Video Driver v1.12
***** SIGNAL 13 [Broken pipe] in thread main-thread *****
X connection to :0.0 broken (explicit kill or server shutdown).
cleaning up...
FATAL: Module ip_tables not found.
iptables v1.3.2: can't initialize iptables table `nat': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Terminating threads...
DONE

any thoughts?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Nov 01, 2005 3:30 am    Post subject: Reply with quote

Quote:
FATAL: Module ip_tables not found.


Fix iptables first. Does OSX still boot natively?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
revolthor
n00b
n00b


Joined: 11 Nov 2004
Posts: 27

PostPosted: Tue Nov 01, 2005 4:23 pm    Post subject: Reply with quote

Quote:

Fix iptables first. Does OSX still boot natively?

os x still boots natively. pardon my ignorance, but i have no idea how to fix my iptables. i read the man for iptables but stil feel clueless. thanks again[/quote]
Back to top
View user's profile Send private message
revolthor
n00b
n00b


Joined: 11 Nov 2004
Posts: 27

PostPosted: Tue Nov 01, 2005 10:53 pm    Post subject: Reply with quote

alright - i got it working again. i updated my kernel and recompiled mol and redid the ae setup. but... im still getting the "FATAL: Module ip_tables not found." im not experiencing any connection problems though, so perhaps it's just benign
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Nov 02, 2005 4:36 am    Post subject: Reply with quote

It's a kernel module. At the end of the MOL ebuild, it prints out the kernel options that you should have set. Perhaps you're missing the ip_tables module from your kernel?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
revolthor
n00b
n00b


Joined: 11 Nov 2004
Posts: 27

PostPosted: Wed Nov 02, 2005 8:47 pm    Post subject: Reply with quote

ok - got it! thanks for all your help
Back to top
View user's profile Send private message
sceptiq
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2004
Posts: 103

PostPosted: Thu Nov 03, 2005 10:03 am    Post subject: Reply with quote

does this solution work with osx 10.4.3?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Nov 03, 2005 2:16 pm    Post subject: Reply with quote

Yes, but as the instructions state, you need an older version of the AE driver in OSX.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
imxuk
n00b
n00b


Joined: 15 Nov 2005
Posts: 14

PostPosted: Tue Nov 15, 2005 10:51 am    Post subject: Reply with quote

Hey there,

Can any kind soul email me a patched copy? Ive tried it with a copy i ripped from 10.3 install CD's and it still gives me the same PIO error :(


Any help would be gratefully appreciated. Thanks in advance,

Ed
Back to top
View user's profile Send private message
colleenex
n00b
n00b


Joined: 14 Aug 2009
Posts: 1

PostPosted: Wed Aug 19, 2009 6:05 am    Post subject: Reply with quote

How do I access a hard drive on a mac os X from a pc running win xp pro? The computers are on the same subnet? How do I access a hard drive on a mac os X from a pc running win xp pro. I can hit the mac with it's IP and get to the users directory but can not hit any other drives. Thanks in advance for you help.
_________________________
market samurai ~ marketsamurai ~ marketsamurai.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum