Date: Thu, 01 Jul 1999 13:51:29 +0100 From: Lawrence Commander <lcommand@ee.ucl.ac.uk> To: freebsd-questions@freebsd.org Subject: using dip: no route to host Message-ID: <377B6451.DD8AC7DE@ee.ucl>
next in thread | raw e-mail | index | archive | help
Hi. I'm trying to get my dip connection to the university working again (after having upgraded from 2.2.7->3.1 and now 3.2). My script worked with 2.2.7 but not since (and the Win95 script still works). The modem works, dials in, log's in, get's IP numbers but I can't ping anything apart from the machine I dialled into), I have three questions: 1) Can anybody confirm that the dip port works on FreeBSD 3.2? 2) What does "ifconfig: ioctl (SIOCAIFADDR): File exists" from ifconfig mean? Most importantly, is it an error message? 3) Any suggestions what I might be doing wrong? Thanks, Lawrence. P.S. Here is the output from dip (followed by ping-ing the machine I dial into and the nameserver): localhost# /usr/local/sbin/dip -v /etc/lols.dip DIP: Dialup IP Protocol Driver Original idea & source: Fred N. van Kempen, MicroWalt Corporation NetBSD implementation : Joachim Bartz v1.02 (1. July 1995) Modem set to "HAYES". Modem INIT string set to "ATE0Q0V1X1". >> set_modem: >> get $mtu 1500 About to set variable $mtu to 1500 >> port cuaa4 DIP: tty: open: /dev/cuaa4 (4) DIP: tty: open: IBUF=256 OBUF=252 DIP: tty: set_speed: 9600 DIP: tty: set_databits: 8 DIP: tty: set_stopbits: 1 DIP: tty: set_parity: N PORT: terminal port set to "cuaa4". PORT: signal processing, timeout set to 0. >> speed 57600 DIP: tty: set_speed: 57600 >> get $counter 0 About to set variable $counter to 0 >> reset_modem: >> reset >> wait 5 OK ERROR >> if $errlvl == 2 goto error_reset_modem >> if $errlvl == -1 goto timeout >> print Modem at port $port is reset. Modem at port cuaa4 is reset. >> init AT&F&C1&D2&K3\V1\N3L1S0=0 Modem INIT string set to "AT&F&C1&D2&K3\V1\N3L1S0=0". >> print Modem init string set. Modem init string set. >> dial_out: >> inc $counter >> print Now dialing... Try No.: $counter Now dialing... Try No.: 1 >> dial 3872319 >> wait 5 OK ERROR >> if $errlvl == 2 goto error_init_string >> dial_wait: >> wait 60 CONNECT BUSY CARRIER DIALTONE ANSWER RINGING >> if $errlvl == 6 goto dial_wait >> if $errlvl == 5 goto dial_noanswer >> if $errlvl == 4 goto dial_nodialtone >> if $errlvl == 3 goto dial_nocarrier >> if $errlvl == 2 goto dial_out >> if $errlvl == -1 goto timeout >> login: >> wait 30 Username: >> if $errlvl != 1 goto login_error >> send uceelgc\n >> wait 10 Password: >> send *******\n #commented out but it was there! >> send SLIP\n >> wait 30 Entering SLIP mode. >> wait 30 Async interface address is >> get $rmtip remote 10 About to set variable $rmtip to 193.60.255.5 >> wait 10 Your\sIP\saddress\sis >> if $errlvl != 1 goto getip_error >> get $locip remote 10 About to set variable $locip to 193.60.255.6 >> default Destination net/address set to 'default' >> print Local IP ... $locip Local IP ... 193.60.255.6 >> print Remote IP .. $rmtip Remote IP .. 193.60.255.5 >> print Netmask .... $netmask Netmask .... 255.255.255.0 >> print MTU ........ $mtu MTU ........ 1500 >> print >> print Connected! Connected! >> print >> wait 10 starting >> mode CSLIP localhost# ifconfig: ioctl (SIOCAIFADDR): File exists > ping 193.60.255.5 PING 193.60.255.5 (193.60.255.5): 56 data bytes 64 bytes from 193.60.255.5: icmp_seq=0 ttl=255 time=135.799 ms 64 bytes from 193.60.255.5: icmp_seq=1 ttl=255 time=133.528 ms 64 bytes from 193.60.255.5: icmp_seq=2 ttl=255 time=133.148 ms 64 bytes from 193.60.255.5: icmp_seq=3 ttl=255 time=132.982 ms ^C --- 193.60.255.6 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss localhost# ping 144.82.100.41 #(the nameserver) PING 144.82.100.41 (144.82.100.41): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ^C --- 144.82.100.41 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss -- +----------------------------------------------------------------+ | Lawrence Commander, Tel: (+44) 0171 419 3990 | | Research Fellow, Fax: (+44) 0171 387 4350 | | Dept of Elec. Eng., | | University College London, | | London WC1E 7JE e-mail: lcommand@ee.ucl.ac.uk | | UK. http://www.ee.ucl.ac.uk/~lcommand | +----------------------------------------------------------------+ 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?377B6451.DD8AC7DE>