Re: modem / pon / serial problems

2003-02-09 Thread ronin2
Let me recommend you also look into modconf for configuring modules, and the various "update" scripts. (I went to /bin, /sbin, /usr/bin, and /usr/sbin and did "ls |grep update" to find them all. In particular see update-alternatives. You'll be a much happier debianese if you know where these thing

Re: modem / pon / serial problems

2003-02-08 Thread Pigeon
On Sat, Feb 08, 2003 at 02:17:51AM -0600, Nathan E Norman wrote: > On Sat, Feb 08, 2003 at 12:05:36AM +, Pigeon wrote: > > On Wed, Feb 05, 2003 at 06:19:36PM -0600, Nathan E Norman wrote: > > > Install DNS caching software on the gateway (the modem box). Have all > > > internal machines use th

Re: modem / pon / serial problems

2003-02-08 Thread Nathan E Norman
On Sat, Feb 08, 2003 at 12:05:36AM +, Pigeon wrote: > On Wed, Feb 05, 2003 at 06:19:36PM -0600, Nathan E Norman wrote: > > Install DNS caching software on the gateway (the modem box). Have all > > internal machines use the gateway as their nameserver (use a static > > resolv.conf). You can us

Re: modem / pon / serial problems

2003-02-07 Thread Pigeon
On Wed, Feb 05, 2003 at 06:19:36PM -0600, Nathan E Norman wrote: > Install DNS caching software on the gateway (the modem box). Have all > internal machines use the gateway as their nameserver (use a static > resolv.conf). You can use BIND as a caching only nameserver, and of > course there are o

Re: modem / pon / serial problems

2003-02-07 Thread Pigeon
On Thu, Feb 06, 2003 at 11:42:10AM -0600, Keith G. Murphy wrote: > Pigeon wrote: > > > > On the modem box I do > > echo 1 > /proc/sys/net/ipv4/ip_forward > > ipchains -A forward -s 192.168.1.1/32 -d 0.0.0.0/0 -j ACCEPT -b > > ipchains -P forward ACCEPT > > pon ukonline > > ping 195.40.1.36 (

Re: modem / pon / serial problems

2003-02-06 Thread Pigeon
On Wed, Feb 05, 2003 at 06:19:36PM -0600, Nathan E Norman wrote: > On Wed, Feb 05, 2003 at 10:14:36PM +, Pigeon wrote: > > So I have resorted to a VILE HACK. The main box exports its /etc via > > NFS to the modem box. A script in the modem box's /etc/ppp/ip-up.d > > then copies the modem box's

Re: modem / pon / serial problems

2003-02-06 Thread Keith G. Murphy
Pigeon wrote: > > On the modem box I do > echo 1 > /proc/sys/net/ipv4/ip_forward > ipchains -A forward -s 192.168.1.1/32 -d 0.0.0.0/0 -j ACCEPT -b > ipchains -P forward ACCEPT > pon ukonline > ping 195.40.1.36 (this is a ukonline DNS server) > ... and it works. > > I go back to the main b

Re: modem / pon / serial problems

2003-02-05 Thread Nathan E Norman
On Wed, Feb 05, 2003 at 10:14:36PM +, Pigeon wrote: > On Tue, Feb 04, 2003 at 10:50:43PM +, Pigeon wrote: > > So: the main box is 192.168.1.1, the modem box is 192.168.1.2. I add > > "gateway 192.168.1.2" to /etc/network/interfaces on the main box and > > run /etc/init.d/networking restart.

Re: modem / pon / serial problems

2003-02-05 Thread John Hasler
Pigeon writes: > I'm sure there must be a less vile method of doing this... what is it? a) Run a caching-only nameserver on the modem box. b) Just put the ISP's three nameservers in /etc/resolv.conf and be happy. The only real purpose served by "dynamic DNS" is to save users the trouble of typing

Re: modem / pon / serial problems

2003-02-05 Thread Pigeon
On Tue, Feb 04, 2003 at 10:50:43PM +, Pigeon wrote: > So: the main box is 192.168.1.1, the modem box is 192.168.1.2. I add > "gateway 192.168.1.2" to /etc/network/interfaces on the main box and > run /etc/init.d/networking restart. > > On the modem box I do > echo 1 > /proc/sys/net/ipv4/ip_for

Re: modem / pon / serial problems

2003-02-04 Thread Pigeon
On Tue, Feb 04, 2003 at 10:44:37AM -0600, John Hasler wrote: Ah, a reply from the master, thank you! > > With this arrangement, pppconfig can't autodetect the modem... > > Pppconfig uses pppd to "autodetect", but why do you care? You know what > port to use. Just select it manually in pppconfi

Re: modem / pon / serial problems

2003-02-04 Thread John Hasler
> With this arrangement, pppconfig can't autodetect the modem... Pppconfig uses pppd to "autodetect", but why do you care? You know what port to use. Just select it manually in pppconfig. > But it'll take me a while to get this working... Why? Just set up demand-dialing on it with pppconfig,

Re: modem / pon / serial problems

2003-02-04 Thread Hans Wilmer
On Mon, Feb 03, 2003 at 10:16:48PM +, Pigeon wrote: > get this working, and in the meantime I still want it to copy data > from one serial port to the other so I can continue to dial out as > normal from the main box. There's an NFS option in the kernel config that allows to directly export d

Re: modem / pon / serial problems

2003-02-04 Thread Keith G. Murphy
Pigeon wrote: [cut] in the meantime I still want it to copy data from one serial port to the other so I can continue to dial out as normal from the main box. Of course, Linux can't run my DOS program. But there's a package called snooper which seems to do the same thing. So I installed it on the