Is it possible to have MOL networking under Debian?
I've been trying to get MOL networking up and running with the
ethertap method in the MOL FAQ (http://www.turbolinux.com/~brad/mol/#ppp)
without any success.
Since the method described in the FAQ comes from someone probably
running LinuxPPC, I'm wondering if there's anything in that method
specific to LinuxPPC, and if there's anything I can do to make it
work under Debian. Can ayone see something "un-Debian" in what I
describe below?
I'm running Debian on a PowerMac 7300 with a Cable Modem and a static
IP address. I'm running the latest MOL (0.9.41), from an alienated
RPM. I have a kernel (2.2.1 5pre11 from Paul's tree) with IP
masquerading and ethertap compiled in. I'm completely stumped and
would like to know how other people go this working!
I followed the FAQ to the letter and nothing is working. This is what
I did:
*Created ethertap device:
cd /dev; /bin/mknod tap0 c 36 16
*Configured it:
insmod ethertap
ifconfig tap0 192.168.0.1 netmask 255.255.255.0 up arp
route add -host 192.168.0.1 tap0
echo "1" > /proc/sys/net/ipv4/conf/tap0/proxy_arp
arp -s 192.168.0.2 FE:FD:00:00:00:00 pub
*Got IP masquerading going:
echo "1" >/proc/sys/net/ipv4/ip_forward
ipchains -M -S 7200 10 160
ipchains -P forward DENY
ipchains -A forward -s 192.168.0.0/24 -j MASQ
*Set up networking in /etc/molrc:
disable_osi_enet: no
enet_interface: tap0
*Entered the following in Mac OS' TCP/IP control panel:
Connect via : Ethernet
Configure : Manually
IP address : 192.168.0.2
Subnet mask : 255.255.255.0
Router address : 192.168.0.1
Name server addr: __ISP's_name_server_addr__ (same as under Linux)
The problem is that I can't even ping the linux side (192.168.0.1)
from the Mac OS side (192.168.0.2) or vice-versa, so I know it's not
an IP masquerading problem, since the "machines" on the internal
network should at least be able to see each other.
I have the following modules loaded:
Module Size Used by
ethertap 3216 1
sheep_net 4032 0
mol 31592 0
This is what ifconfig gives me:
eth0 Link encap:Ethernet HWaddr 00:05:02:D6:6A:5E
inet addr:24.6.255.22 Bcast:24.6.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11734 errors:0 dropped:0 overruns:0 frame:0
TX packets:10066 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:14 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:11470 errors:0 dropped:0 overruns:0 frame:0
TX packets:11470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:891 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Interrupt:5
... and netstat -rn:
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 tap0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tap0
24.6.255.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 24.6.255.1 0.0.0.0 UG 0 0 0 eth0
Thanks for any help,
RenaudM
Reply to: