Hello Folks!
I guess if anyone of you can give me a hand.
I got in serious troubles running diald. Here are my config files. I made a
script to manually connect to the Internet (it works fine!) I cannot use
with diald.
frankie:/home/ale/diald# less /usr/bin/goppp
/usr/sbin/pppd connect ' /usr/sbin/chat -v -t60 -f /etc/I_conn.chat' user
aleque
(password defined in the ppp's secret file)
The script...
frankie:/home/ale/diald# less /etc/I_conn.chat
"" ATZ OK ATB40&J0 OK ATD0230900000 CONNECT ""
Here's my diald config:
frankie:/home/ale/diald# less /etc/diald.conf
mode ppp
connect /etc/I_conn.chat
device /dev/ttyS1
speed 115200
modem
lock
crtscts
local 192.168.2.1
remote 192.168.2.2
dynamic
defaultroute
(192.168.2.x are DUMMY ADDRESSES)
(question: where shall I put login info?)
frankie:/home/ale/diald# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
frankie:/home/ale/diald# diald
frankie:/home/ale/diald# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.2 0.0.0.0 255.255.255.255 UH 1 0 0 sl0
192.168.5.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 1 0 0 sl0
(seems to be ok, sl0 is up)
frankie:/home/ale/diald# ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:DF:81:5E:05
inet addr:192.168.5.1 Bcast:192.168.5.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2492 errors:0 dropped:0 overruns:0 frame:0
TX packets:1200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0x340
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:9787 errors:0 dropped:0 overruns:0 frame:0
TX packets:9787 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
sl0 Link encap:Serial Line IP
inet addr:192.168.2.1 P-t-P:192.168.2.2 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
In /var/adm/messages I found errors:
frankie:/home/ale/diald# tail /var/adm/messages
Apr 25 14:04:57 frankie diald[817]: start sl0: SIOCSIFMETRIC: Operation not
supported
?!?
Ok. after this any application involving the network hungs (I mean, also
with ETH0!) waiting for diald to call (and obviously it doesn't) . :-(
Config: Slack7, anything (I hope) well set.
Thanks in advance!
Ale
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]