Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 1996 22:44:41 +0100
From:      Jan-Hein Buhrman <buhrman@xs4all.nl>
To:        freebsd-questions@FreeBSD.org
Subject:   Must be Newbie Q: can't connect to own host
Message-ID:  <30FEBF49.167EB0E7@xs4all.nl>

next in thread | raw e-mail | index | archive | help
Hi,

I have installed FreeBSD-2.1.0 from CD-ROM, but I have a question.
When I tried to use the talk program to talk to somebody else who
dialed in on my computer, talk showed the following error on the top
line:

  [Couldn't bind to control socket : Can't assign requested address
(49)]

I searched in the news archives on minnie, and two other persons had
the same questions.

What it comes down to (I think) is that I don't have a route (or can't
connect) to my own (standalone) machine, see the following telnet
attempt:

| bash$ uname -a
| FreeBSD tangram.xs4all.nl 2.1.0-RELEASE FreeBSD 2.1.0-RELEASE #0: Thu
Nov 16 10:47:14  1995
jkh@westhill.cdrom.com:/usr/src/sys/compile/GENERIC  i386
| bash$ grep '^[^#]' /etc/hosts
| 127.0.0.1               localhost localhost.xs4all.nl
| 192.168.0.1     tangram.xs4all.nl tangram
| bash$ # xs4all.nl is my ISP
| bash$ set -x
| bash$ time telnet `hostname`
| ++ hostname
| + time telnet tangram.xs4all.nl
| Trying 192.168.0.1...
| telnet: Unable to connect to remote host: Operation timed out
|        76.13 real         0.01 user         0.02 sys

Other important config ---[ /etc/sysconfig ]---

network_interfaces="lo0"
ifconfig_lo0="inet localhost"

static_routes="loopback"
route_loopback="${hostname} localhost"

defaultrouter=NO

routedflags=NO

namedflags="NO"

gateway=NO

gated=NO

netstat -r gives me:

+ netstat -r
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif
Expire
localhost        localhost          UH          1        0       lo0
tangram          localhost          UGHS        0        0       lo0
+ netstat -rn
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif
Expire
127.0.0.1        127.0.0.1          UH          1        0       lo0
192.168.0.1      127.0.0.1          UGHS        0        0       lo0

I hope that somebody can help me out.  Thanks in advance...

If you need more info, just mail me please.

Jan-Hein Buhrman <buhrman@xs4all.nl>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30FEBF49.167EB0E7>