I got the address from ifconfig. It is the IP address currently assigned by my ISP. Unfortunately, I couldn't find a way to specify an alternate method that would get the currently assigned address so it would change if my IP address changes. Lorenzo E Pluribus Unix John covici staggered into view and mumbled: > Where did you get that address for eth0? Also, you have prohibited > connections to eth0, if you are running a mail server that will not work. > > on Saturday 04/12/2003 Lorenzo Prince(lorenzo at princenet.sytes.net) wrote > > I am running slack9.0 on both systems. I am using a crossover cable to > > connect eth0 on the laptop, (192.168.0.2) to eth1 on the desktop, > > (192.168.0.1) and using t192.168.0.1 as the gateway. I can mount the NFS > > filesystem on the PC with no trouble. The problem comes in when I try to > > setup IP masquerading to connect to the internet. It works just as > > promised in the documentation, except it then won't allow me to receive > > email on princenet.sytes.net, which is the domain of my desktop. If I > > reboot the system without using the masquerading script that I wrote as > > per documentation, I start getting all the backed-up email I didn't > > receive while masquerading was turned on. Note that I am using the > > security and masquerading options as given in the howto in > > /usr/doc/Linux-Howtos/Masquerading-Simple-Howto. Maybe someone can help > > me with this issue. I will include the script I am using. > > > > CODE: > > > > #!/bin/sh > > #setup IP masquerading > > /sbin/modprobe ipt_MASQUERADE > > iptables -F; iptables -t nat -F; iptables -t mangle -F > > iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 24.74.132.37 > > echo 1 > /proc/sys/net/ipv4/ip_forward > > #security options > > iptables -A INPUT -m state --state ESTABLISHED,RELATED -j > > ACCEPT > > iptables -A INPUT -m state --state NEW -i ! eth0 -j ACCEPT > > iptables -P INPUT DROP > > iptables -A FORWARD -i eth0 -o eth0 -j REJECT > > > > Any help with this script that would both get me connected and also not > > stop my email would be greatly appreciated. > > > > Thanks, > > Lorenzo > > > > E Pluribus Unix > > > > Doug Sutherland staggered into view and mumbled: > > > > > Lorenzo, > > > > > > That might work, but Owen said that he's really depending > > > on the CVS version of speakup, and he didn't seem to think > > > that the 1.0 version would work. What's the problem with > > > your laptop net connection? > > > > > > One thing I do all the time is move laptop hard drives and > > > mount them as slave on another system, to copy files over. > > > There are adapters that convert 40-pin IDE (desktop standard) > > > to 44-pin IDE (laptop standard). Or maybe you can use some > > > other method like direct cable connection or something. What > > > OS is on the laptop, just linux? I have seen ways to connect > > > machines with parallel cables or usb cables. > > > > > > -- Doug > > > > > > > > > > > > Lorenzo wrote: > > > >Hmm. It then seems that I could mv /usr/src/speakup-1.0 /usr/src/speakup > > > >and then cp /usr/src/speakup/install . and then ./install and the patch > > > >should work. I might try that too if I can't get my laptop on the net. I > > > >have the 2 computers networked, but the masquerading documentation didn't > > > >get the client on the net. > > > > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup at braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup at braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > -- > John Covici > covici at ccs.covici.com > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >