Networking problems on Gentoo/OS 8.6
Toronney Mixon
mol-general@lists.maconlinux.org
Wed, 30 Apr 2003 20:28:11 -0700 (PDT)
I am using Mol 9.68 r4 (Gentoo emerge) on a powercurve
clone (G3 upgrade). my problem is trying to use the
internet on the mol/mac side (thru linux cable modem).
I have read the network man for mol and feel I did all
the steps to have tun driver do the network between
linux and mol/mac, but I get the following error on
the mac side when I try to connect; "Network Error
#-3221" or "Open Transport is returning an error
(-3221)". I can ping the IP or Gateway, here is my
ifconfig output:
root# ifconfig
eth0 Link encap:Ethernet HWaddr
00:05:9A:80:36:98
inet addr:68.55.90.35 Bcast:68.55.90.255
Mask:255.255.255.0
inet6 addr: fe80::205:9aff:fe80:3698/10
Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST
MTU:1500 Metric:1
RX packets:78504 errors:0 dropped:0
overruns:0 frame:0
TX packets:3594 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:6295624 (6.0 Mb) TX bytes:585352
(571.6 Kb)
Interrupt:14 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0
frame:0
TX packets:92 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:7456 (7.2 Kb) TX bytes:7456 (7.2
Kb)
tun0 Link encap:Ethernet HWaddr
00:FF:56:D9:88:99
inet addr:192.168.1.1 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::2ff:56ff:fed9:8899/10
Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:100
And when I checked the kernel for Nat support i got
the following:
root# /sbin/iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
mol-ns-redirect tcp -- anywhere
192.168.1.1 tcp dpt:domain
mol-ns-redirect udp -- anywhere
192.168.1.1 udp dpt:domain
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 192.168.1.0/24 !192.168.1.1
MASQUERADE all -- 192.168.1.0/24
!192.168.1.0/24
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain mol-ns-redirect (2 references)
target prot opt source destination
DNAT all -- anywhere anywhere
to:68.54.80.6
My TCP/IP control panel is configure with the mac
having address 192.168.1.255, subnet mask having
255.255.255.0, router address is 192.168.1.1, connect
via ethernet slot J1, and configure Manually.
What maybe the answer? Thanks
Regards,
Tony
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com