Linux-Networking Digest #986, Volume #11 Fri, 23 Jul 99 17:13:42 EDT
Contents:
Re: Problems with FTP and Squid? ("Frederik Meerwaldt")
Re: Setting Linux up as a proxy server ("Tom Young")
Re: Win98 to Linux via null modem (Tim Peeler)
Re: samba (Monte Phillips)
Re: newbie ethernet drivers (Howard Mann)
Need cablemodem login script (Andrew George)
Re: ipchains, squid and socks5 ("Greg Boes")
Re: DHCP & Mediaone's cable modem. ("pjs")
ftp and netscape (Ken Versteeg)
Smarthosting and /etc/mail/virtuserstable ([EMAIL PROTECTED])
Re: Need cablemodem login script (Chris Allen)
Re: Fetchmail and external mailing lists ("Greg Boes")
Samba - smbtar Errors Reading Files (David Dickson)
----------------------------------------------------------------------------
From: "Frederik Meerwaldt" <[EMAIL PROTECTED]>
Subject: Re: Problems with FTP and Squid?
Date: Thu, 22 Jul 1999 13:30:18 +0200
Yes. Squid is a WWW Proxy Server, and sends no welcome message.
Browsers with FTP support, such as IE.... won't check for a Welcome message.
REAL Ftp Clients do. As they get no welcome message, the connection times
out.
Regards,
Freddy
Rui Mendes <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have installed a proxy server running the 2.2.STABLE4 of Squid.
> The proxy is running well for the HTTP, but when I try to connect me to a
> FTP site it takes too much time and after a bit I receive I message
saying:
> Coonection timed out.
> Can someone help me to resolve this problem?
>
>
------------------------------
From: "Tom Young" <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general
Subject: Re: Setting Linux up as a proxy server
Date: Fri, 23 Jul 1999 14:20:11 -0400
Trick... Don't use a proxy server. Linux supports something called IP
Masquerading. This way... all machines can be connected at the same time and
so Browser configuration is needed. It is one of the best things i ever did
to my home network. For more information... goto: http://ipmasq.cjb.net/
Let me know how it goes if you try it (you should): [EMAIL PROTECTED]
R. Ajay <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> paharri wrote:
> > Hi.
> >
> > I am wanting to set up Redhat 6.0 as a proxy server to serve cross
> > platform machines (Win9x, and WinNT) on my private network. I want all
> the
> > machines to be able to use the cable modem which is hooked up to the
> linux
> > box. I also want to be able to use everything on the net and not just
> http
> > and ftp.
> >
> > Any help on what software to use or what I need to set up would be
> greatly
> > appreciated
> >
> >
> > Thanks
> > Patrick
> >
> > ------------------ Posted via SearchLinux ------------------
> > http://www.searchlinux.com
>
>
> ------------------ Posted via SearchLinux ------------------
> http://www.searchlinux.com
------------------------------
From: Tim Peeler <[EMAIL PROTECTED]>
Subject: Re: Win98 to Linux via null modem
Date: Thu, 22 Jul 1999 22:17:41 +0000
This is a multi-part message in MIME format.
==============AFC770EF37395739D719D690
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Allan Wingenback wrote:
>
> I don't know for sure, but wouldn't you just use telnet to the serial port?
>
> Paul McClean <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi all,
> >
> > I have 2 PCs one running Linux/Win98 and the other running Win98. I can
> > connect both together using a null modem serial link, and running
> > windows on both machines, I can use the direct cable connection wizard
> > in win98 to set up a connection. I was wondering does anyone know how to
> >
> > set up a similar connection with one machine running Win95/Win98 and the
> >
> > other running Linux. ( I tried using Dial up networking, but it expects
> > a modem and other such problems...)
> >
> > Paul
> >
I've been trying this for the past few days. First you need a null
modem
driver for windows, see attached (i don't know how to do direct cable
connection).
Next you need to get a null modem cable and hookup between your linux
machine
and your windows machine.
Next, edit /etc/inittab and add the following:
S(X):2345:respawn:/sbin/mgetty -r -s 115200 ttyS(X)
(replace (X) with the number of your serial port you're going to use:
com1=/dev/ttyS0 com2=/dev/ttyS1 etc...)
Next edit /etc/mgetty+sendfax/login.config and add the following:
/AutoPPP/ - a_ppp /usr/sbin/pppd -detach crtscts login auth -chap +pap\
<LINUX IP ADDRESS>:<WINDOWS IP ADDRESS> \
ms-dns <NAME OF YOUR DNS>
Almost home, edit /etc/ppp/pap-secrets and add an entry for your
login
loginname servername secret ip-address(optional)
type init q, then hop onto the windows machine and install the null
modem
driver. For the port, use the port you'll be connecting from, for the
number
just use 555 555 5555 it doesn't matter. Enter your name and password
that
you added to your pap-secrets, click on connect and you should negotiate
a connection. Test it out by pinging back and forth from your win box
to your
linux box.
If it doesn't work check through your logs:
/var/log/messages
dmesg
/var/log/mgetty.log.ttyS(X)
etc...
==============AFC770EF37395739D719D690
Content-Type: text/plain; charset=us-ascii;
name="mdmcisc2.inf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="mdmcisc2.inf"
; Modified 23 May 98 per e-mail
[Version]
Signature="$CHICAGO$"
Class=Modem
ClassGUID={4D36E96D-E325-11CE-BFC1-08002BE10318}
Provider=%MC%
LayoutFile=LAYOUT.INF
[Manufacturer]
%Man% = Null
[Null]
%MC00% = MC00, RAS-SERIAL
%MC01% = MC01, RAS-PARALLEL
%MC02% = MC02, RAS-GENERIC
[MC00]
AddReg=All, Common, MC00Reg, 115200, EXTERNAL
[MC01]
AddReg=All, Common, MC00Reg, PARALLEL
[MC02]
AddReg=All, Common, MC02Reg, 115200, EXTERNAL
[All]
HKR,,FriendlyDriver,,Unimodem.vxd
HKR,,DevLoader,,*VCOMM
HKR,,PortSubClass,1,02
HKR,,ConfigDialog,,modemui.dll
HKR,,EnumPropPages,,"modemui.dll,EnumPropPages"
[EXTERNAL]
HKR,, DeviceType, 1, 01
[PARALLEL]
HKR,, DeviceType, 1, 04
HKR,,Override,,Paralink.vxd
HKR,, DCB, 1, 1C,00,00,00, 00,00,06,00, 15,20,00,00, 00,00, 0a,00, 0a,00, 08, 00, 00,
11, 13, 00, 00, 00
[Common]
HKR, Answer, 1,,""
HKR, Hangup, 1,, "Bye"
HKR, Hangup, 2,, "NoResponse"
HKR, Settings, DialSuffix,, ""
; DCB's - dwords and words are byte reversed
; ByteSize
(Number of bits/byte, 4-8)
; Parity
(0-4=None,Odd,Even,Mark,Space)
;
StopBits (0,1,2 = 1, 1.5, 2)
; |DCBLength |BaudRate |Bit Mask |Rsvd |XonLim|XofLim| | |
|Xon|Xof|Err|Eof|Evt
[115200]
HKR,, DCB, 1, 1C,00,00,00, 00,c2,01,00, 15,20,00,00, 00,00, 0a,00, 0a,00, 08, 00, 00,
11, 13, 00, 00, 00
[MC00Reg] ; RAS Null-Modem
HKR, Init, 1,, "<cr>"
HKR, Init, 2,, "NoResponse"
HKR, Settings, Prefix,,""
HKR, Settings, DialPrefix,, "CLIENT<cr>"
HKR, Settings, Terminator,, "<cr>"
HKR, Monitor, 1,, "None"
HKR, Answer, 1,, "CLIENTSERVER"
HKR, Answer, 2,, "NoResponse"
; Properties - dwords and words are byte reversed
; |Dial Options |InactivityTimeout |Speaker Mode
|Max DTE Rate
; |CallSetupFailTimeout |Speaker Volume
|Modem Options |Max DCE Rate
HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00,
30,00,00,00, 00,c2,01,00, 00,c2,01,00
HKR, Responses, "CLIENT", 1, 08, 00, 00, 00, 00, 00, 00,00,00,00 ; Server side -
the client is requesting a connection
HKR, Responses, "<h00>CLIENT", 1, 08, 00, 00, 00, 00, 00, 00,00,00,00 ; Server side -
the client is requesting a connection
HKR, Responses, "CLIENTSERVER", 1, 02, 00, 00, 00, 00, 00, 00,00,00,00 ; Client side -
the server has acknowledged and the connection is completed
[MC02Reg] ; Null-Modem
HKR, Init, 1,, "<cr><cr>"
HKR, Init, 2,, "NoResponse"
HKR, Settings, Prefix,,""
HKR, Settings, DialPrefix,, "HELLO<cr>"
HKR, Settings, Terminator,, "<cr>"
HKR, Monitor, 1,, "None"
HKR, Answer, 1,, "HELLO"
HKR, Answer, 2,, "NoResponse"
; Properties - dwords and words are byte reversed
; |Dial Options |InactivityTimeout |Speaker Mode
|Max DTE Rate
; |CallSetupFailTimeout |Speaker Volume
|Modem Options |Max DCE Rate
HKR,, Properties, 1, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00, 00,00,00,00,
30,00,00,00, 00,c2,01,00, 00,c2,01,00
HKR, Responses, "<h00>", 1, 02, 00, 00, 00, 00, 00, 00,00,00,00 ; Accept any recvd
data as CONNECTED.
; 23 May 98 added
HKR, Responses, "<hff>", 1, 02, 00, 00, 00, 00, 00, 00,00,00,00 ; Accept any recvd
data as CONNECTED.
HKR, Responses, "<cr>", 1, 02, 00, 00, 00, 00, 00, 00,00,00,00 ; Accept any recvd data
as CONNECTED.
HKR, Responses, "<lf>", 1, 02, 00, 00, 00, 00, 00, 00,00,00,00 ; Accept any recvd data
as CONNECTED.
HKR, Responses, "<cr><lf>", 1, 02, 00, 00, 00, 00, 00, 00,00,00,00 ; Accept any recvd
data as CONNECTED.
; end of 23 May 98 addition
[Strings]
MC = "Mark Crossley v2"
Man = "(NULL Modem Types)"
MC00 = "RAS Serial Cable between 2 PCs"
MC01 = "RAS Parallel Cable between 2 PCs"
MC02 = "Generic NULL Modem"
==============AFC770EF37395739D719D690==
------------------------------
From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: samba
Date: Fri, 23 Jul 1999 16:50:10 GMT
Set smb.conf
security=user
Then make sure that the user name and password for the NT user is also
exactly the same in linux passwd. Double check that the workgroups
are same as well.
If it hangs on the password, then check if encrypted passwords are
enabled in smb.conf OR that plaintext passwords are enabled in NT.
g'luk
Brian Leung <[EMAIL PROTECTED]> wrote:
>I have edit the smb.conf file with workgroup=home1 which is the domain
>name of my NT server. I can see my linux on the network neighborhood in
>NT. When I click it, it asks me to login. So, I login as root with
>password because the security=user in the smb.conf file.However, my
>login is fused. Why?
------------------------------
From: Howard Mann <[EMAIL PROTECTED]>
Subject: Re: newbie ethernet drivers
Date: Fri, 23 Jul 1999 17:31:12 GMT
MachO WierDo wrote:
>
> i just downloaded the linux driver for my ethernet card to a floppy
> its via-rhine.0
> now how do i go about putting it on the linux machine
> please extreme newbie here, flame me its fine
> but i need step by step instruction thanks.
>
http://www.xmission.com/~howardm/getfiles.html
Cheers,
Howard Mann.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: [EMAIL PROTECTED] (Andrew George)
Crossposted-To: comp.os.linux.setup,dc.org.linux-users
Subject: Need cablemodem login script
Date: 23 Jul 1999 19:52:01 GMT
Hi, I recently had a RoadRunner cable-modem setup, and it works perfectly
for Win95, but I'd like to use it with Linux. Does anyone have a login
script to able to do this? Any information available concerning setting
up Linux for cable-modem would be greatly appreciated. Especially
information concerning RoadRunner cable-modem access in Fairfax, VA
with mgfairfax.rr.com Thank you.
Andrew
--
_______________________________________________________________________
Andrew H. George |Stay free from petty jealousies, |
The Johns Hopkins University |Live by no man's code, |
[EMAIL PROTECTED] |And hold your judgment for yourself|
[EMAIL PROTECTED] |Lest you wind up on this road |
http://hops.cs.jhu.edu/~nightfly | - Bob Dylan |
=======================================================================
Linux today keeps Micro$oft at bay!
------------------------------
From: "Greg Boes" <[EMAIL PROTECTED]>
Subject: Re: ipchains, squid and socks5
Date: Fri, 23 Jul 1999 13:35:45 -0500
[EMAIL PROTECTED] wrote in message <[EMAIL PROTECTED]>...
>Squid and Socks5 are working fine, but i want to incrase security by
>using ipchains. Need help on how to set up my linux box for best
>security. I want also that port 23 is only opened for the private
>network.
I'll suggest an alternative -- tcpd and /etc/hosts.allow with
/etc/hosts.deny.
Check out man tcpd and man 5 hosts_access.
In you /etc/hosts.deny place:
ALL : ALL
and for blocking all access for telnetd (for example), place
telnetd:LOCAL
in you /etc/hosts.allow file
This doesn't squash the intruder at the front door, but
they will not be able to enter.
greg
------------------------------
From: "pjs" <[EMAIL PROTECTED]>
Subject: Re: DHCP & Mediaone's cable modem.
Date: Fri, 23 Jul 1999 15:30:04 -0700
I had the same problem with Redhat 6.0, I ended up having to plug the NIC
back into the Win98 box and download a new version of pump (the DHCP
client).
After that, no problem with DHCP on linux.
pete
Doug O'Leary <[EMAIL PROTECTED]> wrote in message
news:7n1vbl$7t9$[EMAIL PROTECTED]...
> Hi;
>
> I just loaded RedHat 6.0 and tried out my new cable modem with the same
> results as the previous versions of Linux. The dhcp client is 1.3 (which,
> according to the documentaiton is supposed to fix some these problems). I
> keep getting a time out waiting for valid DHCP reply message in my logs.
>
> Mediaone doesn't provide any help for this; they say they only support MS
> viruses - operating systems.
>
> Does anyone have a cable modem working with MediaOne? Any tips on what I
> might try now?
> Thanks for any help.
>
> Doug O'Leary
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>
>
------------------------------
From: Ken Versteeg <[EMAIL PROTECTED]>
Subject: ftp and netscape
Date: Fri, 23 Jul 1999 15:44:30 -0400
I have an ftp server running on a Linux box (Redhat 4.2 I think).
When I ftp to the box using a standard ftp client from a Solaris box, I
can get a directory listing with either 'ls' or 'dir', but when I ftp
using Netscape, or using a SOCKS enabled ftp client, 'ls' and 'dir'
return nothing. Is there something I can change in the ftp setup? How
do browsers normally get the file listings for ftp sites?
Any help greatly appreciated.
Ken
--
=============================================================================
Ken Versteeg, M.Sc. _/_/_/_/ _/_/_/_/
_/ _/
Paterson, Grant & Watson Limited _/ _/ _/
_/ _/
8th Floor, 85 Richmond St. West _/_/_/_/ _/ _/_/ _/ _/
_/
Toronto, Ontario, CANADA M5V 1V6 _/ _/ _/ _/ _/
_/
Ph: (416) 368-2888, Fax: 368-2887 _/ _/_/_/_/ _/_/
_/_/
[EMAIL PROTECTED] http://www.pgw.on.ca
=============================================================================
------------------------------
From: [EMAIL PROTECTED]
Subject: Smarthosting and /etc/mail/virtuserstable
Date: Fri, 23 Jul 1999 19:36:16 GMT
Anyone ever used the /etc/mail/virtuserstable file to route mail for
users to different systems? I am trying to set up a smarthost that will
route mail for some users to a ccmail smtp gateway and some to a
GroupWise GWIA. Am I looking at the correct file? What I really need
is the format for the file.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Chris Allen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,dc.org.linux-users
Subject: Re: Need cablemodem login script
Date: Fri, 23 Jul 1999 20:19:15 GMT
what kind of linux are you using slackware, redhat, and what version
slackware 4.0 have dhcpcd already install all i did was type dhcpcd and was
connect.
Andrew George wrote:
> Hi, I recently had a RoadRunner cable-modem setup, and it works perfectly
> for Win95, but I'd like to use it with Linux. Does anyone have a login
> script to able to do this? Any information available concerning setting
> up Linux for cable-modem would be greatly appreciated. Especially
> information concerning RoadRunner cable-modem access in Fairfax, VA
> with mgfairfax.rr.com Thank you.
>
> Andrew
>
> --
> _______________________________________________________________________
> Andrew H. George |Stay free from petty jealousies, |
> The Johns Hopkins University |Live by no man's code, |
> [EMAIL PROTECTED] |And hold your judgment for yourself|
> [EMAIL PROTECTED] |Lest you wind up on this road |
> http://hops.cs.jhu.edu/~nightfly | - Bob Dylan |
> -----------------------------------------------------------------------
> Linux today keeps Micro$oft at bay!
------------------------------
From: "Greg Boes" <[EMAIL PROTECTED]>
Subject: Re: Fetchmail and external mailing lists
Date: Fri, 23 Jul 1999 13:23:10 -0500
Dave Cotterill wrote in message
<[EMAIL PROTECTED]>...
>I have a linux machine setup and running Sendmail and Fetchmail. It seems
>to work very well together until a group of people started using an
external
>mailling list.
I'll follow this thread too. I 'fixed' the problem with procmail
but in a rather labor intensive way. I basically send all unknown
mail off to another account (mailman) who, using procmail,
sorts and mails to the appropriate user. Works well but the
maintenance is a nightmare.
greg
------------------------------
From: [EMAIL PROTECTED] (David Dickson)
Crossposted-To: comp.protocols.smb
Subject: Samba - smbtar Errors Reading Files
Date: Fri, 23 Jul 1999 20:52:57 GMT
I have tried using smbtar to backup two separate systems running
NT4.0/SP5 and get the same errors eading files. Here is the output a
snippet from a typcal session:
=========
Error reading file \WINNT\system32\drivers\etc\NETWORKS. Got 0 bytes
Didn't get entire file. size=407, nread=0
407 ( 5.9 kb/s) \WINNT\system32\drivers\etc\NETWORKS
==========
Notice that it says nread=0; however, it says it wrote 407 byes at
5.9kbs! Sure enough, it did write a file to tape of 407 bytes, but is
nothing but NULLS! This was verified with a subsequent restoration of
the errant files. Files that did not get the error message are OK
and can be restored to original state.
Specifics: Linux RH 6.0/2.2, Samba version 2.0.3
Output from:
$ smbtar -s badger -p password -t /dev/st1 -v
================
server is badger
share is backup\\
tar args is
tape is /dev/st1
blocksize is
Got a positive name query response from 192.168.1.5 ( 192.168.1.5 )
Domain=[WORKGROUP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
directory \WINNT\
directory \WINNT\system32\
directory \WINNT\system32\config\
77824 ( 293.4 kb/s) \WINNT\system32\config\userdiff
Error reading file \WINNT\system32\config\system.LOG. Got 0 bytes
Didn't get entire file. size=1024, nread=0
1024 ( 12.8 kb/s) \WINNT\system32\config\system.LOG
65536 ( 254.0 kb/s) \WINNT\system32\config\AppEvent.Evt
65536 ( 402.5 kb/s) \WINNT\system32\config\SecEvent.Evt
65536 ( 533.3 kb/s) \WINNT\system32\config\SysEvent.Evt
directory \WINNT\system32\drivers\
directory \WINNT\system32\drivers\etc\
859 ( 16.8 kb/s) \WINNT\system32\drivers\etc\HOSTS
Error reading file \WINNT\system32\drivers\etc\NETWORKS. Got 0 bytes
Didn't get entire file. size=407, nread=0
407 ( 5.9 kb/s) \WINNT\system32\drivers\etc\NETWORKS
Error reading file \WINNT\system32\drivers\etc\PROTOCOL. Got 0 bytes
Didn't get entire file. size=800, nread=0
800 ( 15.3 kb/s) \WINNT\system32\drivers\etc\PROTOCOL
6007 ( 117.3 kb/s) \WINNT\system32\drivers\etc\SERVICES
3691 ( 116.3 kb/s) \WINNT\system32\drivers\etc\LMHOSTS.SAM
Error reading file \WINNT\system32\drivers\etc\QUOTES. Got 0 bytes
Didn't get entire file. size=1540, nread=0
1540 ( 9.1 kb/s) \WINNT\system32\drivers\etc\QUOTES
Error reading file \WINNT\system32\drivers\kbdclass.sys. Got 0 bytes
Didn't get entire file. size=9296, nread=0
9296 ( 58.2 kb/s) \WINNT\system32\drivers\kbdclass.sys
...........
Does anyone have any comments on this, or has anyone else had this
problem?
Thanks.
------------------------------
** 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
******************************