Can't telnet among home LAN and to my own box?

Can't telnet among home LAN and to my own box?

Post by vector_sig » Thu, 11 Oct 2001 00:40:01



Hi there:

  I have a FreeBSD 4.4 and a WindowsME machines connected though
ethernet. The WindowsME is connected to the Internet through phone
line, and my FreeBSD box can access Internet through Windows box.

  I have inetd enabled, and ftp, ftpd, telnet, telnetd were
uncommented in inetd.conf. BSD box had address 192.168.0.2, and
Windose has 192.168.0.1. The problem is that whenever I try to do
telnet or ftp from one to the other, I always get the "connection
refused" message. I do ifconfig dc0 inet, I get 192.168.0.2 or
similar, and I can't telnet or ftp to it.

  In the past when I used FreeBSD 3.4, and I do ifconfig, I can always
telnet to my own box through the address given by ifconfig.

  What seems to be the problem here? Can anyone please help?

  Thanks a whole bunch!

vector sigma

 
 
 

Can't telnet among home LAN and to my own box?

Post by Gold T » Thu, 11 Oct 2001 00:53:53



Quote:>  Hi there:

>    I have a FreeBSD 4.4 and a WindowsME machines connected though
>  ethernet. The WindowsME is connected to the Internet through phone
>  line, and my FreeBSD box can access Internet through Windows box.

I would do the opposite. Simply dial in with BSD using the -alias
switch (if you even have to do that with 4.4), set GATEWAY=YES in
rc.conf and turn on NATD. You'll also need a cross-over cable if your going
card to card. Set the ME gateway to point to your BSD box.

While your testing connectivity, bring up
your command window and leave a ping -t going. Forget telneting, timeouts
take tooooo long.

HTH

>    I have inetd enabled, and ftp, ftpd, telnet, telnetd were
>  uncommented in inetd.conf. BSD box had address 192.168.0.2, and
>  Windose has 192.168.0.1. The problem is that whenever I try to do
>  telnet or ftp from one to the other, I always get the "connection
>  refused" message. I do ifconfig dc0 inet, I get 192.168.0.2 or
>  similar, and I can't telnet or ftp to it.

>    In the past when I used FreeBSD 3.4, and I do ifconfig, I can always
>  telnet to my own box through the address given by ifconfig.

>    What seems to be the problem here? Can anyone please help?

>    Thanks a whole bunch!

>  vector sigma



 
 
 

Can't telnet among home LAN and to my own box?

Post by Rick Rosb » Thu, 11 Oct 2001 17:32:57



Hi,

Continued.....
With the ppp option -demand you can also turn on on-demand dialing.
When you've setup the proposed architecture (FreeBSD = dialup server,
WinME = WWW Client), this setup is very handy. There is a good
description on how to set this up on:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/ppp-primer/index.html

In general you'll need to setup the following things:
1. /etc/rc.conf adjustments
2. /etc/ppp/ppp.conf setup
3. /etc/ppp/ppp.linkup setup
4. /etc/ppp/ppp.linkdown setup (mandatory).
When done, also check out firewalling with use of ipf or ipfw. Read
the FreeBSD handbook ! Regarding telnet: also check /etc/hosts.allow
for specs since you're connection is refused.

Greetz,

Rick

 
 
 

1. find big diskusage users among 15000 users (can't use du -s /home/*) ?

Hi everybody,

I am trying to get big diskusage users among 15000 users by the
fastest way. Normaly, du -s /home/* output would give me that but the
problem is that the argument list is too long (15000
users). Furthermore, I would like to separate the users by their group
with find for example. My idea was to do something like :

find /home -group <groupname> | xargs -n 100 du -s --

But, how can I say find not descend is the homedir hierarchies ? Of
course, I could do "ls /home | du -s" but as I said, I want the
fastest way and I am not sure that calling du 15000 times is a good
idea.

PS : I want to include that in perl script so no problem if you have a
perl solution.

Thanks in advance for your help.                Gildas.

--

FranceNet, 28 rue Desaix, 75015 Paris ---_ \<,_
http://www.francenet.fr            ---- (_)/ (_)

2. Window -> PID

3. shouldn't /home have it's own mount point?

4. samba / ipsec

5. 'w' shows '-' if telnet or rlogin to linux box

6. Invalid partition table, what?!

7. Newbie needs to telnet to his own Linux box

8. Netatalk on Tru64

9. How to telnet to linux from win95 in a LAN at home

10. slow telnet login in my home-LAN

11. User's ~home not owned by uid 0 message

12. slow telnet to linux box on my lan

13. telnet into my home box