My remote ppp link is called skunkworks in the following script. The
route gets added as expected.
/etc/proxy_all is a little program that tells arp to auto-arp everything.
It was advised by the ip4v code developer and worked yesterday.
#
# startup script. Executed after the ppp link is up.
#
/sbin/route add -net 204.178.47.0 netmask 255.255.255.0 gw skunkworks
echo 1>/proc/sys/net/ipv4/ip_forwarding
/etc/proxy_all
Now, cat /proc/sys/net/ipv4/ip_forwarding always shows "2". Regardless of
what I set. All the "files" in proc/sys... are read-only regardless of
what I do.
I don't understand "having to turn ON" IP forwarding when it was compiled
in the kernel. Older versions of the Network Software worked for 2 or more
years without this. Nevertheless, I followed the limited instructions
available and the software only works sometimes.
Further. I can't delete a route 'route' doesn't report the kind of error,
but a program shows the 'errno' is "no such process". This is the kind
of error one would expect from kill(), not ioctl().
The "new stuff" in /proc makes it impossible to dismount /proc. It is
always 'busy'. Therefore, I can't reboot without a long fsck upon startup.
When I was at my machine console, I was previously always able to dismount
all the file systems manually for a quick re-boot. Can't do that anymore.
If I don't start the network. I can still dismount /proc. The /proc file-
system becomes busy ONLY AFTER I attempt to write to
/proc/sys/net/ipv4/ip_forwarding...
Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.21 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-