From owner-freebsd-questions Sat Jan 2 07:25:12 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA25236 for freebsd-questions-outgoing; Sat, 2 Jan 1999 07:25:12 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from qatar.net.qa (qatar.net.qa [194.133.33.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA25229 for ; Sat, 2 Jan 1999 07:25:08 -0800 (PST) (envelope-from sodah@qatar.net.qa) Received: from qatar.net.qa (dddj.qatar.net.qa [194.133.35.97]) by qatar.net.qa (8.8.8/Internet-Qatar) with ESMTP id SAA29795 for ; Sat, 2 Jan 1999 18:24:18 +0300 (GMT) Message-ID: <368E2C31.EF4717FD@qatar.net.qa> Date: Sat, 02 Jan 1999 17:24:50 +0300 From: Fadi Sodah X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: SLIP Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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