Linux-Networking Digest #83, Volume #10           Tue, 2 Feb 99 00:13:40 EST

Contents:
  FTP server not working ("Chris Severn")
  Re: Newbie:Ethernet setup (Jim Richardson)
  Re: Romote "root" login (Luca Filipozzi)
  [Help] Need to implement SSL (Jay)
  Re: Kernel 2.2.1 ans IP Masquerading ([EMAIL PROTECTED])
  Re: How to Find the Domain Name (Louis Davidson)
  Re: How to Find the Domain Name (Luca Filipozzi)
  Remote Devices... ("Tim Ballingall")
  Re: Another poor sap with DIALD problems (Glenn Butcher)
  DNS Server and PPP for Redhat 5.2 (alfonso de la guarda)
  Re: basic help with samba (David Akins)
  Re: in.pop3d locks mail (Scott W. Petesen)
  Configuring Samba (Louis Davidson)

----------------------------------------------------------------------------

From: "Chris Severn" <[EMAIL PROTECTED]>
Subject: FTP server not working
Date: Tue, 2 Feb 1999 12:13:10 +0800

Hi.

I've just taken over administering a Redhat 5.1 linux machine for a small
company network.  It dials into the internet using ppp, and it runs squid
and a mail server to serve the internal computers by ethernet.  I can telnet
from the internet into the machine fine, but the previous administrator had
either not installed, or had disabled ftp.

the /etc/inetd.conf file had the ftpd commented out, and there was no
in.ftpd file executable on the system.
So, I uncommented out the line in inetd.conf, and copied in.ftpd from
another Redhat 5.x system.

The line in the inetd.conf is :
ftp    stream  tcp     nowait  root    /usr/sbin/tcpd  in.ftpd -d -u755

I did a kill -HUP 237, where 237 is the pid of inetd, and then tried to ftp
to the machine from another.

It looked like it was working - it asked for the username and password, but
then produced a weird error message.

  > ftp xxxxxxx.xxxx.com.au
  Connected to xxxxxxx.xxxx.com.au.
  220 xxxxxxx.xxxx.com.au FTP server (Version wu-2.4.2-academ[BETA-15](1)
Mon Sep 22 20:49:48 EDT 1997) ready.
  Name (xxxxxxx.xxxx.com.au:yyyyyy): www
  331 Password required for www.
  Password:
  421 Service not available, remote server has closed connection
  Login failed.
  No control connection for command: Illegal seek
  ftp> bye

I turned on the syslog for the daemons on the ftp server, and found these
messages to do with the above login :

  Feb  1 15:54:17 xxxxxxx ftpd[12980]: <--- 220
  Feb  1 15:54:17 xxxxxxx ftpd[12980]: xxxxxxx.xxxx.com.au FTP server
(Version wu-2.4.2-academ[BETA-15](1) Mon Sep 22 20:49:48 EDT 1997) ready.
  Feb  1 15:54:24 xxxxxxx ftpd[12980]: command: USER www^M
  Feb  1 15:54:24 xxxxxxx ftpd[12980]: <--- 331
  Feb  1 15:54:24 xxxxxxx ftpd[12980]: Password required for www.
  Feb  1 15:54:36 xxxxxxx ftpd[12980]: command: PASS password^M

The 'x's indicate the hostname of the computer which is running the ftp
server.
The 'y's indicate my username on my computer running the ftp client.
The username is actually 'www'.


The "No control connection for command: illegal seek" seems to indicate that
the client is trying to establish a control connection to some port on the
server, but it isn't connecting properly.  Does anyone have any ideas ?  Am
I missing a library, or a port connection or something ?

Thanks.

Chris Severn.
--
Delete the 'x's to remove the spamblock
Except spammers, for whom my email address is abuse@localhost



------------------------------

From: [EMAIL PROTECTED] (Jim Richardson)
Subject: Re: Newbie:Ethernet setup
Date: 2 Feb 1999 04:15:12 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 31 Jan 1999 23:29:32 GMT, 
 [EMAIL PROTECTED], in the persona of <[EMAIL PROTECTED]>,
 brought forth the following words...:

>I'm getting comfortable enough with SuSE Linux 5.3 (1 month and counting!) to
>try setting up a home LAN. The problem is I have no idea where to begin. I
>looked at the Ethernet HOWTO, and several other resources, but they all seem
>to assume I know alot more than I do. I basically can't make heads nor tails
>out of any of them. The SUSE installation manual isn't much better. I get to
>the first step: "Check whether your card has been started correctly by typing
>cat /proc/net/dev. There should be a line beginning with eth0."
>
>Well there isn't. However, "modprobe eth0", followed by "dmesg |tail"
>produces what looks like the proper settings. (I have an ISA 3Com 3c509 at
>0x300 IRQ 10.) So is it set up or not? What do I do next? The SuSE manual
>doesn't say what to do if I don't get the line they say I should. Then there
>is stuff on IP addresses, Domain names, etc. I have no idea how critical any
>of that stuff is if I'm just playing for now, with no chance of connecting to
>the Internet, even accidentally (the modem isn't hooked to a phone line at
>the moment). I have no idea whether I should choose Class A, B, or C for the
>IP address. I'd like to get a *real* IP address eventually, but that's
>probably at least 6 months away.
>
>Direction to a resource for idiots would be much appreciated.
>

sounds like the card is recognized by the system, but is not configured.
 RH5.x has a utility called netcfg, which allows you to point and click
your way through the settup. I am almost certain that SuSE has an equivelent.
 That aside, ifconfig is your friend, and route. 

ifconfig eth0 up 192.168.1.1

will bring up the ethernet card as eth0, with an ipaddress of 192.168.1.1

route add -net 192.168.1.0 eth0

will add that route to the eth0 interface. 

man ifconfig and route for more info on them.

The Linux Network admin guide is freely available on the net, prbably
got a copy with SuSE, search for it, it will be of immense help.


-- 
Jim Richardson
        Anarchist, pagan and proud of it
WWW.eskimo.com/~warlock
        Linux, because life's too short for a buggy OS.


------------------------------

From: [EMAIL PROTECTED] (Luca Filipozzi)
Crossposted-To: comp.os.linux,comp.os.linux.admin,comp.os.linux.help,nl.comp.os.linux
Subject: Re: Romote "root" login
Date: Mon, 1 Feb 1999 20:32:05 -0800

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> I guess the question is still pending. Even though one can su once logged in, I
> still wonder how to login as root from a remote location in a more secure
> manner.

Use ssh.
-- 
Luca Filipozzi <[EMAIL PROTECTED]>

------------------------------

From: Jay <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: [Help] Need to implement SSL
Date: Tue, 02 Feb 1999 05:09:56 +0000

All,

        I neeed to implement SSL in a server that I have.  I wrote the code for
the server and need
to add a Secure Socket Layer to it.  I'm looking for a good description
of how the protocol works
and any examples I can get.

        Thank you,



-- 
Jay O'Connor
[EMAIL PROTECTED]
http://www.roadrunner.com/~joconnor

"God himself plays the bass strings first when He tunes the soul"


------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Kernel 2.2.1 ans IP Masquerading
Date: Tue, 02 Feb 1999 04:37:42 GMT

Brant, 


I just got a linux box set up to do masquerading with home.com ip
service with no problems. It may not be the solution you are looking
for, but the "easy" way to get it running is to simple install red-hat
5.2. I installed it, got both nics working, executed the appropriate
ipfwadm commands and away we went. Worked like a charm..no kernel
recompile necessary.


David Schultz

[EMAIL PROTECTED]  (remove _nospam_ to reply).





On Mon, 01 Feb 1999 22:08:40 GMT, Brant
<[EMAIL PROTECTED]> wrote:

>Greetings
>
>I had the  unfortunate experience of attempting to get Linux (it was
>Debian) up on a Packard Bell monstrosity more than two years ago.  I've
>been flirting with this attractive OS for some time since, and recently
>got the funds together to set up another Intel box at home.  The
>hardware (NIC, cable, hubs, topology) all check out fine.
>
>I'm trying to get my Linux box to masquerade IP addresses for two
>laptops, a Win 98 box, and an NT Server box.  Ideally, I'll learn enough
>
>to get the linux box to server as a true firewall/proxy, but until then,
>
>I'd be satisfied with just getting all the machines on this segment to
>access the Internet at all.
>
>The Linux box is a P54c at 133 MHz / 128 MB Ram with a 6.4 GB HDD:
>enough muscle for some caching when I get proxy services up.  It has to
>operating network cards (Intel's EtherExpress Pro 100).  One is assigned
>
>an IP address through the local cable company's Internet service through
>
>@Home.  The other card will be set up with 192.168.2.1 for the internal
>network.
>
>The problem:
>
>    I compiled the 2.2.1 Kernel last night, selecting the proper options
>
>as per the HOWTO at sunsite.  When I tell lilo to use the new kernel,
>the following error messages appear during boot:
>
>    <After both NIC are initialized>
>finiding module dependancies...
>...    nfsd.o unresolved symbols
>...    ip_masq_mfw.o unresolved symbols
>...    ip_masq_portfw.o unresolved symbols
>
><when I get to modprobe>
><cannot find> module net-pf-4
><cannot find> module net-pf-5
><repeats for three pairs of identical error messages>
>
>I do not find an object file named anything like net-pf-# on my system.
>
>I don't know enough abou this situation to ask a better question:
>please point me in the right direction?
>
>Best Regards
>Brant Eaton
>
>
>


------------------------------

From: Louis Davidson <[EMAIL PROTECTED]>
Subject: Re: How to Find the Domain Name
Date: Tue, 02 Feb 1999 01:54:02 GMT

Yogish Baliga wrote:

> Hi All,
>
>   I am new to Networking....
>
>   I have one IP address. I want to find out the domain of that IP
> address or the DNS entries of that IP address.
>   How can I do this??
>
> Please Reply ASAP.
>
> -- Baliga

If  you are starting a private network in your home or office without
intending to go on the public Internet, except through your Internet
Service Provider:

Domain is baliga.com
Computer #1  is  comp1.baliga.com    IP address = 192.168.88.10 subnet =
255.255.255.0
Commputer #2 is comp2.baliga.com   IP address = 192.168.88.11 subnet =
255.255.255.0

If you are inquiring about a registered domain, check with the ISP in
charge of your domain registration with InterNIC.

Louis.



------------------------------

From: [EMAIL PROTECTED] (Luca Filipozzi)
Subject: Re: How to Find the Domain Name
Date: Mon, 1 Feb 1999 17:56:26 -0800

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Yogish Baliga wrote:
> 
> > Hi All,
> >
> >   I am new to Networking....
> >
> >   I have one IP address. I want to find out the domain of that IP
> > address or the DNS entries of that IP address.
> >   How can I do this??
> >
> > Please Reply ASAP.
> >
> > -- Baliga
> 
> If  you are starting a private network in your home or office without
> intending to go on the public Internet, except through your Internet
> Service Provider:
> 
> Domain is baliga.com
> Computer #1  is  comp1.baliga.com    IP address = 192.168.88.10 subnet =
> 255.255.255.0
> Commputer #2 is comp2.baliga.com   IP address = 192.168.88.11 subnet =
> 255.255.255.0
> 
> If you are inquiring about a registered domain, check with the ISP in
> charge of your domain registration with InterNIC.
> 
> Louis.
> 
> 
> 
If nslookup isn't giving you what you need, then...
Check out www.arin.org to lookup the ip address.
Check out www.internic.net to lookup domain names.

Luca
-- 
Luca Filipozzi <[EMAIL PROTECTED]>

------------------------------

From: "Tim Ballingall" <[EMAIL PROTECTED]>
Subject: Remote Devices...
Date: Tue, 2 Feb 1999 15:47:08 +1000



Hi,

I'd appreciate any help with this problem as I'm perplexed as to how I can
solve it.

I would like to get my tty devices to forward echo to a remote device. The
best way to think of it is that my /dev/tty will have some form of link to a
remote terminal server. I assume this link would be via telnet but I'm not
sure how to do it.

I need to be able to talk to modems ( connected to access / terminal
servers ) in remote offices directly...

I am assuming I would need to make some modifications to inittab but not
sure what...

Thanks in advance.

Tim Ballingall
Network Administrator
Mazda Australi Pty Limited





------------------------------

From: Glenn Butcher <[EMAIL PROTECTED]>
Subject: Re: Another poor sap with DIALD problems
Date: Mon, 01 Feb 1999 18:59:12 -0800

Ron,

I don't have it in front of me, but there is a switch for either diald
or pppd that tells it to record a default gateway in the kernel routing
table.

Had my diald up for over a year now - works great!

Glenn Butcher

Ron Gage wrote:
> 
> Hi all!
> 
> After much experimentation, I finally got DIALD to dial out when
> appropriate.  This took a bit of experimenting and guesswork as the
> docs are quite insufficient.  Anyhow, on to my problem...
> 
> Once the connection is made and ppp0 shows up in ifconfig, the
> connection does not work.  Route -N shows no gateway being configured.
> The pppon script is exactly the same as the one I use to start the
> connection manually.  In this manner, the connection works correctly
> including the route table showing a configured gateway.
> 
> What the heck am I doing wrong here?
> 
> System is my private network gateway, ip: 192.168.10.1.  ISP is ATT
> Worldnet.  Private network has 4 more nodes on it.  Using kernel
> 2.0.34 from Slackware 3.5.  Dial-out is USR Courier v.everything on
> dedicated line.  diald.conf and pppon.diald scripts are immediately
> available for review if this will help.
> 
> HELP!
> 
> Ron Gage - Saginaw, MI
> ([EMAIL PROTECTED])

------------------------------

From: alfonso de la guarda <[EMAIL PROTECTED]>
Subject: DNS Server and PPP for Redhat 5.2
Date: Mon, 01 Feb 1999 23:52:32 -0500

I have installed the Redhat 5.2 on my computer: a Pentium II 300
Mhz/64MB Ram/2 HD 6.4/Modem USR 33.6 and it serves to another 3 machines
on my small business. I have 2 questions:
1. How can i configure a DNS Server for a intranet (without internet
output)? or how can i make for win95 machines can use names addresses
and not only numbers?
2. Exists any last scripts for connect my Redhat 5.2 to the Internet (I
used many and nothing)?, i will receive any ideas

Thanx,
Alfonso


------------------------------

From: [EMAIL PROTECTED] (David Akins)
Crossposted-To: alt.os.linux,comp.os.linux.help,ucd.comp.questions
Subject: Re: basic help with samba
Date: Tue, 02 Feb 1999 03:19:22 GMT

Well, lmhosts is a holdover from the MS LAN Manager days and is not
needed on a windows network if you run WINS.  WINS is like DNS but for
netbios resolutions.  On a small network WINS is way overkill and it's
much more straightforward to use an lmhosts file.    My guess is that
the Samba folks decided to call the file /etc/lmhosts for
compatibility's sake.  On a big network, you usually maintain a
central LMHOSTS file and either copy to each workstation through the
logon script or you put an #include directive in the lmhosts file on
each workstation  which points to a central file server.

On Sun, 31 Jan 1999 21:12:01 -0600, "TEX@go" <[EMAIL PROTECTED]>
wrote:

>I thought the lmhosts hung out in the windows machine for the ip stack
>to use.  Just checked and it is on both os's.  The one I had to fix was
>the windows one.  In fact it had a demo name that had to be changed and
>all the ips of all the machines on the net inserted.
>
>Fun ain't it???
>
>David Akins wrote:
>> 
>> Create a /etc/lmhosts file on your Linux machine.  It needs to know
>> how to resolve the name "lucifer" to an ip address.  Something like
>> this: (assume Lucifer's ip address is 10.1.1.1
>> 
>> /etc/lmhosts
>> 
>> 10.1.1.1                lucifer
>> 
>> That's it.  Should work once you get that going.
>> 
>> On 31 Jan 1999 17:41:02 GMT, [EMAIL PROTECTED] (Pete) wrote:
>> 
>> >i have two systems in my livingroom: satan (redhat 5.1) and lucifer (win95).
>> >
>> >1) the ethernet between them seems to work (dmesg)
>> >    rtl8139.c:v0.99B 4/7/98 Donald Becker 
>http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
>> >    eth0: RealTek RTL8139 at 0xfc80, IRQ 10, 00:40:c7:79:19:4c.
>> >
>> >2) smb, nmb are up and running
>> >    # /usr/sbin/samba status
>> >    smbd (pid 1067) is running...
>> >    nmbd (pid 1076) is running...
>> >
>> >3) yet something is going wrong:
>> >    # smbclient -L lucifer
>> >    Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
>> >    startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or 
>directory
>> >    cli_open_sockets: Unknown host LUCIFER.
>> >
>> >
>> >
>> >can someone please take a guess as to what's wrong?
>> >
>> >pete
>> >
>> >ps- ever since satan turned into a linux box, i've been considering naming
>> >    him gabriel....     ;-)
>
>-- 
>
>
>------------------------------------------------------------------------------- 
>    The irony is that Bill Gates claims to be making a stable operating
> system and Linus Torvalds claims to be trying to take over the
>world.                                                                                
>                                                 
>                                                               
>                         Michael H. Collins            
>                      __                                 
>                     / /    __  _  _  _  _ __  __
>                    / /__  / / / \// //_// \ \/ /
>                   /____/ /_/ /_/\/ /___/  /_/\_\
>            
>           +- The Official OS for the New Millennium -+
>                      
>                      http://www.linuxlink.com


------------------------------

From: [EMAIL PROTECTED] (Scott W. Petesen)
Subject: Re: in.pop3d locks mail
Date: Tue, 02 Feb 1999 04:53:31 GMT

Yes I have, look in /var/tmp/.pop/ you will see the users name.

Delete the files and they will be able to collect mail via pop3 again.

I have a cron job running every 15 minutes for my customers to clean
the pop lock files.

Does anyone have a better idea?

Scott

On 1 Feb 1999 10:28:54 -0900, [EMAIL PROTECTED] (Arthur
Corliss) wrote:

>
>Greetings:
>
>I have a somewhat unusual problem, and I'm hoping others have had the same, 
>and conquered it already.  <G>  I hae a few users connecting to my server
>on the internet, but their connections (dial-up) are very unstable in
>certain locations.  Apparrently, when a connection is broken while they are
>accessing their mail via POP3, they can no longer access their mail on
>subsequent connections.
>
>This one is driving me nuts.  I can access the mail locally, of course, or
>via IMAP2, just not POP3.  The error returned is '/usr/spool/mail/XXXX is
>already being read'.  Examination of the file doesn't show any locks, no
>connections are reported open in netstat, and I can't seem to find any
>obvious reasons in the logs, either.
>
>Perhaps I'm being dense, but anyone else run into something like that?
>
>Slack v3.5, slightly patched.  in.pop3d v1.005l.
>
>       --Arthur Corliss


====================================
Scott W. Petersen - N9SLA
Web Page:  www.wwa.com/~scooter
Elgin, IL - USA
ICQ 8287204
Packet E-mail:
 [EMAIL PROTECTED]
====================================

PLEASE note e-mail address is scooter @ wwa.com

------------------------------

From: Louis Davidson <[EMAIL PROTECTED]>
Subject: Configuring Samba
Date: Tue, 02 Feb 1999 01:36:15 GMT

I edited makefile and  typed make, the  compiler ran using the .c files,
however  at the end of the compilation it reported "Error 1".

When  I typed  make  install the installation ran for a short while and
"Error 1" came up again.

This portion of the installation allows installation of the manual
pages, of course it has to be a sucessful install before they become
available.
At this point advice is needed as to what procedure I should follow ,
Any information would be appreciated. In the mean time I will keep
reading as much as I can find about the process.

Louis.



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.networking) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Networking Digest
******************************

Reply via email to