HOWTO: Mac OS X Networking

mol-general@lists.maconlinux.org mol-general@lists.maconlinux.org
Mon, 30 Sep 2002 12:15:14 +0200


On Sun, Sep 29, 2002 at 09:48:54PM -0400, christophe barbé wrote:
> I found this very helpful url in the archive:
>    http://maconlinux.org/lists/mol-general/August01/0056.html
> But unfortunately, I can't get the linux side working.
> 
> I get the following :
>    /sbin/ifconfig tun0 192.168.1.1
>    SIOCSIFADDR: No such device
>    tun0: ERROR while getting interface flags: No such device
> 
> I have the correct option in my kernel.
> 

You should normally not configure tun0 using ifconfig
by hand. The tun0 device only exists after MOL has started
(mol uses tun4 for the OS X session btw). When MOL starts, look
for a line

Ehternet Interface (port N) 'tun-<tunM>' @ 00:00:0D:EA:DB:EE

in the mol log. If there is a problem bringing up the tun0 device,
MOL will report an error. The most common problem is
missing iptables support in the kernel.

There is also useful (current) information about networking
in /usr/share/doc/mol-0.9.56/Networking.

Cheers,

/Samuel