Date: Sat, 02 Jan 1999 17:24:50 +0300 From: Fadi Sodah <sodah@qatar.net.qa> To: freebsd-questions@FreeBSD.ORG Subject: SLIP Message-ID: <368E2C31.EF4717FD@qatar.net.qa>
next in thread | raw e-mail | index | archive | help
hi i cant make SLIP work. :-( to call out the SLIP server, i did the following: 1. /etc/sliphome/slip.chat # SLIP chat TIMEOUT 35 ABORT BUSY ABORT 'NO CARRIER' #wait up 5 sec for replay TIMEOUT 5 ''ATZ OK ATDT365763 #wait up TIMEOUT 40 CONNECT '' TIMEOUT 5 Username: myname Password: mypasswd 2. /etc/sliphome/startslip #!/bin/sh #Dial a slip link ifconfig sl0 194.133.33.10 194.133.33.13 netmask 255.255.255.255 route delete default route add default 194.133.33.13 slattach -h -r'/usr/bin/chat -f /etc/sliphome/slip.chat' -s 57600 -L /dev/cuaa0 when i start the chat script, modem dial, i get a connection but i cant get any data across the line. 3. lifebook# ./startslip writing to routing socket: No such process delete net default: not in table add net default: gateway 194.133.33.13 /var/run/slattach.cuaa0.pid 4. lifebook# tail -f /var/log/messages Jan 2 17:10:43 lifebook slattach[257]: SIGHUP on /dev/cuaa0 (sl-1); running '/u sr/bin/chat -f /etc/sliphome/slip.chat' Jan 2 17:11:05 lifebook slattach[258]: sl0 connected to /dev/cuaa0 at 57600 baud 5. lifebook# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 194.133.33.13 UGSc 0 0 sl0 127.0.0.1 127.0.0.1 UH 0 0 lo0 194.133.33.13 194.133.33.10 UH 1 0 sl0 6. lifebook# ifconfig sl0 sl0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 552 inet 194.133.33.10 --> 194.133.33.13 netmask 0xffffffff if i do ping, i cant get any replay ... but the LEDs RD and SD of my modem are flashing and no data and the line keepalive ..... 7. lifebook# ping 194.133.33.10 PING 194.133.33.10 (194.133.33.10): 56 data bytes (nothing) 8. lifebook# ps PID TT STAT TIME COMMAND 244 p0 IW 0:00.00 (csh) 250 p0 S+ 0:00.28 tail -f /var/log/messages 222 p1 S 0:00.15 -su (csh) 268 p1 R+ 0:00.01 ps 175 v1 IWs+ 0:00.00 (getty) 176 v2 IWs+ 0:00.00 (getty) 258 a0 IWs+ 0:00.00 (slattach) so what could be wrong ? thx -Pons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?368E2C31.EF4717FD>