Hi everyone,
I'm using diald on a linux server, to share an internet connection through
my local network
I use diald with pppd and masquerading, and it works fine, except that diald
works only if the request is from another station on my local network ! it
doesn't work if the call (a ping, i.e.) is directly from my linux server
My diald.conf is :
mode ppp
device /dev/modem
connect '/usr/bin/eznet chat 0'
speed 115200
local 127.0.0.100
remote 127.0.0.101
lock
modem
crtscts
-reroute
dynamic
-daemon
the ifconfig without pppd connection is :
sl0 Link encap:Serial Line IP
inet addr:127.0.0.100 P-t-P:127.0.0.101 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP 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:10
and the netstat -nr is following :
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
127.0.0.101 0.0.0.0 255.255.255.255 UH 0 0 0 sl0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 sl0
if I change the local parameter (with 128.0.0.10), diald works, even on my
linux server, but I can't connect from a station to the linux server without
turning pppd on !
my local network is using 192.168.0.xxx (1,2,3...) IP addresses, and my
server is 192.168.0.100
note : this diald.conf is generated by the tools eznet, which is simple and
great, by the way
Thanks in advance, all suggestions are welcome !
----------------------------------------------------------
Jean David Olekhnovitch
Responsable technique
[EMAIL PROTECTED]
www.StyledeFrance.com
Style de France SA
Centre Victoire
1, avenue des Cottages
63 000 Clermont-Ferrand
T�l.: +33 (0)4 73 17 02 25
Fax : +33 (0)4 73 17 02 29
------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]