Linux-Networking Digest #449, Volume #12 Thu, 2 Sep 99 10:13:29 EDT
Contents:
Upgrade problems with NFS ([EMAIL PROTECTED])
Re: Wierd characters (Andrew Williams)
Re: PPP sending but not receiving packets? (Ellis Pritchard)
Re: IPChains and FTP ("Rick Orwig")
Re: Wierd characters ("Cowles, Steve")
Re: insmod problems (Andrew Williams)
Re: More help setting up Samba ("Cowles, Steve")
Re: RH/Upgrading Sendmail through RPM? (Fr�d�ric Faure)
AUTHENTICATE twinkie failure !! (Quet Kim Yong Teck)
Re: What's IPv6 status? ([EMAIL PROTECTED])
Upgrade problems with SAMBA ([EMAIL PROTECTED])
Upgrade problems with NFS ([EMAIL PROTECTED])
Re: Dual Modem Support (Brandon Szalai)
Re: telnet: how to know it's version and get it's source? (stet)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Upgrade problems with NFS
Date: Thu, 02 Sep 1999 12:13:59 GMT
Hello,
I upgraded to SuSE 6.2 and now find my NFS server not responding as
before. I cannot mount exported directories.
The /etc/exports is untouched. The client is still the same, no change
compared to pre upgrade state.
It seems the nfsd is behaving different from the earlier version.
I do not find any message in /var/log/messages or /var/log/warn.
After a mount trial, I get the simple answer "Time Out".
Thanks
Karl
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Andrew Williams <[EMAIL PROTECTED]>
Subject: Re: Wierd characters
Date: Thu, 02 Sep 1999 13:36:52 +0200
Reply-To: [EMAIL PROTECTED]
There is currently no way to do this automatically.
Tony Green wrote:
> Welcome to the differences between unix and dos.
>
> Dos uses a ^M as a line end character - which Unix does not.
>
> You can get rid of it with a simple command like 'dos2unix' (should be available
> on most distributions).
>
> I don't know if there is a way you can get Samba to automatically do this for
> you - Samba is not my specialty.
>
> TG
>
> Romiko wrote:
>
> > Hi, I am using Samba, when I use Network Neighbourhood to copy files windows
> > has wierd output for text files using notepad and if I copy a test file from
> > Windows to Linux I get M^ in the records, How can I stop this?
> >
> > FTP does not do this but I want to drag and drop
--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
http://www.germanynet.de/teilnehmer/101/69082/samba.html
Simple Samba Solutions web page. ICQ 1722461
__________________________________________________________
| Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/ |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
Date: Thu, 02 Sep 1999 12:42:40 +0100
From: Ellis Pritchard <[EMAIL PROTECTED]>
Subject: Re: PPP sending but not receiving packets?
Hi,
> Ellis Pritchard ([EMAIL PROTECTED]) wrote:
>
> : You wrote:
>
> : > Try adding asyncmap a0000 to the pppd options. The ZyXel TA may
> : > be causing a problem with xon/off flow control. Pure guess though,
> : > I don't use a ZyXel.
>
> : Tried it, and with xonxoff specified instead of crtscts, no change...
>
> OK, then try setting the pppd option kdebug 7 and get hexdumps of outgoing
> and incoming packets. A half-dozen pings should help to see what's going
> on but limit the quantity dumped to a reasonable number. You should be
> able to compare the RX packets with the TX packets and see where they
> differ, which might suggest what's going on.
Well, I can only see outgoing pings, but I can see incoming ones:
webforce 8# ping 194.112.54.204
PING 194.112.54.204 (194.112.54.204): 56 data bytes
----194.112.54.204 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss
On faulty box:
<7>ppp: frame with bad fcs, length = 52
<7>ppp: bad frame, count = 52
<7>FF 21 00 45 54 55 6A FE .!.ETUj.
<7>7F 84 C2 70 2C C2 70 36 ...p,.p6
<7>CC 54 36 24 43 37 CE 60 .T6$C7.`
<7>FC A8 20 21 22 23 24 25 .. !"#$%%
<7>26 27 28 29 2A 2B 2C 2D &'()*+,-
<7>2E 2F 30 31 32 33 34 35 ./012345
<7>36 37 CB 4E 67.N
<7>ppp: frame with bad fcs, length = 52
<7>ppp: bad frame, count = 52
<7>FF 21 00 45 54 55 6C FE .!.ETUl.
<7>7F 82 C2 70 2C C2 70 36 ...p,.p6
<7>CC 54 35 24 43 37 CE 60 .T5$C7.`
<7>FC A5 20 21 22 23 24 25 .. !"#$%%
<7>26 27 28 29 2A 2B 2C 2D &'()*+,-
<7>2E 2F 30 31 32 33 34 35 ./012345
<7>36 37 FE 24 67.$
<7>ppp: frame with bad fcs, length = 50
<7>ppp: bad frame, count = 50
<7>FF 21 00 45 54 55 6E FE .!.ETUn.
<7>7F 80 C2 70 2C C2 70 36 ...p,.p6
<7>CC 50 24 43 37 CE 60 B9 .P$C7.`.
<7>20 21 22 23 24 25 26 27 !"#$%%&'
<7>28 29 2A 2B 2C 2D 2E 2F ()*+,-./
<7>30 31 32 33 34 35 36 37 01234567
<7>CD 68 .h
So, it's dropping bytes all over the shop...
I've a suspicion that it's the serial port.
Gonna try me a head-swap operation (on the machine, obviously!!)
Cheers!
Ellis.
------------------------------
From: "Rick Orwig" <[EMAIL PROTECTED]>
Subject: Re: IPChains and FTP
Date: Thu, 2 Sep 1999 07:24:58 -0500
Chris <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Wed, 1 Sep 1999 14:43:09 -0500, "Rick Orwig" <[EMAIL PROTECTED]>
> wrote in comp.os.linux.networking:
>
> >I want the ability to turn on and off masquerading by ip address
> >inside and outside our lan. Also, I want the same ability to turn FTP on
> >and off by ip address inside and outside.
>
> >ipchains -A forward -s 10.0.0.1 -d 0.0.0.0/0 -j MASQ
> >ipchains -A forward -s 0.0.0.0/0 -d 0.0.0.0/0 -j REJECT
> >
> >This is simple but I gotta start somewhere. The above address of
10.0.0.1
> >can get anywhere on the net. That address can also FTP anywhere on the
net.
> >If I put a workstation of 10.0.0.2 on the above lan it will not get
anywhere
> >so that gives me what I want except for the FTP thing.
>
> ipchains allows you to specify rules that include the port as well as the
> address.
>
> You can enable outbound ftp access while blocking the rest of the net by
> placing port-specific MASQ rules before a more general REJECT rule. If
> you want to prohibit ftp, you would place an ftp REJECT rule ahead of a
> more general MASQ rule.
>
>
I thought that should work too. I had tried:
# the below 2 lines had no effect
ipchains -A forward -p tcp -s 0.0.0.0/0 ftp -d 10.0.0.1 -j REJECT
ipchains -A forward -p tcp -s 0.0.0.0/0 ftp-data -d 10.0.0.1 -j REJECT
# neither did these two lines did nothing
ipchains -A forward -p tcp -s 10.0.0.1 ftp -d 0.0.0.0/0 -j REJECT
ipchains -A forward -p tcp -s 10.0.0.1 ftp-data -d 0.0.0.0 -j REJECT
ipchains -A forward -s 10.0.0.1 -d 0.0.0.0/0 -j MASQ
ipchains -A forward -s 0.0.0.0/0 -d 0.0.0.0/0 -j REJECT
I also tried just putting in port 20 and 21 in above. No dice.
Rick
------------------------------
From: "Cowles, Steve" <[EMAIL PROTECTED]>
Subject: Re: Wierd characters
Date: Thu, 2 Sep 1999 07:32:54 -0500
The ftp program DOES convert ASCII files between Unix/OS correcltly. Simply
set the "asc" (ASCII) option before doing the "put/get". Ftp usually
defaults to setting its transfer mode to "bin" (binary). If your "putting" a
file from DOS to UNIX it will remove the <CR> or ^M during the transmission,
if "asc" is in effect. The opposite is true if "getting a file from UNIX to
DOS.
Most GUI based ftp programs allow you to set this option before "drag/drop"
of files. I use "CuteFTP" all the time to move ASCII files between OS's.
Just make sure this option is not set when you are transferring a "binary"
file. Your binary program will not work when it gets to the other end.
Samba was never designed to determine the file type before transferring
files. It's role is to copy/transfer a file "as is", or in ftp terms...
binary mode.
Steve Cowles
SWCowles at gte dot net
Romiko <[EMAIL PROTECTED]> wrote in message
news:7qll3q$15fl$[EMAIL PROTECTED]...
> Hi, I am using Samba, when I use Network Neighbourhood to copy files
windows
> has wierd output for text files using notepad and if I copy a test file
from
> Windows to Linux I get M^ in the records, How can I stop this?
>
> FTP does not do this but I want to drag and drop
>
>
>
------------------------------
From: Andrew Williams <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,alt.os.linux
Subject: Re: insmod problems
Date: Thu, 02 Sep 1999 13:34:59 +0200
Reply-To: [EMAIL PROTECTED]
In my experience, the missing symbols normally come from another module which is
liable to be in ipv4 or net. Load that one first and things should be fine.
Being incredibly lazy, I tend to write mini-scripts to load the modules in the
correct order and then do whatever needs to be done, for example: script
'zipmount' looks something like:
insmod scsi
insmod ppa
mount /dev/sda4 /zip
ok?
John S. Gorman III wrote:
> Howdy all,
>
> I recently compiled kernel version 2.2.12 on my PII box. Everything seems
> to be working fine. However, when I run 'insmod <module>' I get:
>
> /lib/modules/2.2.12/ipv4/<module>.o: unresolved symbol <symbol name>
>
> After the new kernel was compiled, I noticed that the System.map symlink was
> not updated in the /boot directory, nor was the module-info symlink.
> Although in the rc.sysinit there appears to be code for performing those two
> functions. I moved the System.map from /usr/src/linux/ to
> /boot/System.map-2.2.12 and created a symlink, but I don't know how to
> remedy the module-info problem. I am not sure if this would affect the
> 'insmod' or not, but just a little info.
>
> Please let me know if anyone has any insight on this issue. There are a
> couple of modules I would like to insert, but am not currently capable. I
> am running Redhat 6.0, and insmod version 2.1.121.
>
> Thanks in advance,
>
> John
--
Mielipiteet omiani - Opinions personal, facts suspect, especially on my
http://www.germanynet.de/teilnehmer/101/69082/samba.html
Simple Samba Solutions web page. ICQ 1722461
__________________________________________________________
| Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/ |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: "Cowles, Steve" <[EMAIL PROTECTED]>
Subject: Re: More help setting up Samba
Date: Thu, 2 Sep 1999 06:50:41 -0500
Without seeing the log files for nmb, there is not much any of us can offer
as to why nmbd is not starting. Samba logs are in /var/log/samba,
specifically log.nmb and log.smb if your using RedHat's rpm. These files
should give you some insight on why nmbd is not starting.
Steve Cowles
SWCowles at gte dot net
Justin Colson <[EMAIL PROTECTED]> wrote in message
news:7qlkeu$mpj$[EMAIL PROTECTED]...
> I've got a bit further setting up Samba, I've got SWAT running and my
> smb.conf file is almost identical to the one in the howto(But with my
> workgroup and IP addresses). When I type
> # /etc/rc.d/init.d/smb stop
> # /etc/rc.d/init.d/smb start
> The stop command reports both SMB and NMBD failed and the start command
> reports SMD OK but NMBD failed, what could be causing this?
>
>
------------------------------
From: [EMAIL PROTECTED] (Fr�d�ric Faure)
Subject: Re: RH/Upgrading Sendmail through RPM?
Date: Thu, 02 Sep 1999 11:55:46 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 01 Sep 1999 23:26:10 +0200, Jan-Albert van Ree <[EMAIL PROTECTED]>
wrote:
>Relaying is an option, you can block relaying by default and only allow
>certain domains/ip's using /etc/mail/relay_allow. Check the sendmail docs
>for more info.
In other words, adding this file w/ out modifying sendmail.cf and sticking to an
older 8.8.x version is enough to block spamers from using a mailer as relay?
Thx
FF.
------------------------------
From: Quet Kim Yong Teck <[EMAIL PROTECTED]>
Subject: AUTHENTICATE twinkie failure !!
Date: Thu, 02 Sep 1999 21:41:07 +1000
Hi all,
I have a Linux server running RH6.0 with pop3 server installed. When i
try to check mail using a Win95 Pc to check mail it works but the
/var/log/maillog file reads:
ipop3d[621]: port 110 service init from 192.168.1.41
ipop3d[621]: AUTHENTICATE twinkie failure host=pc41.mydomain.com
[192.168.1.41]
ipop3d[621]: login ..........etc ......
I've added imap and ipop3d: ALL in /etc/hosts.allow
Can somebody tell me what is this authentication failure ....
Thanks
Kim
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: What's IPv6 status?
Date: Thu, 02 Sep 1999 12:18:50 GMT
Regrettably, I do not have the latest version of the kernel (I am
downloading it even now). I was trying to work from a commonly known
and accepted kernel version (2.0.36). It did not have much to say
regarding IPv6 in the release notes. I looked in the release notes of
the 2.2.xx version but found no mention. So, I searched the web for
patches. I found several alpha (kernel patches) and pre-alpha sources
(libraries?), but I could find nothing that was blessed by Torvalds. I
will look at the 2.2.12 version and continue searching the web. It is
my assumption that Linux will comply with the Posix 1g IPv6
requirements. I will not try the "bleeding edge" kernels: I do not have
a sandbox computer.
If anyone has more information, I would appreciate a note.
-Sean Walton
KB7RFA
In article <[EMAIL PROTECTED]>,
Kyle Hargraves <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >
> > I am currently writing a book on Linux sockets programming. I would
> > like to add a chapter on IPv6, but the only items I have found are
> > pre-alpha patches. I could simply add the section as "future
support",
> > but that does not help to write and test sample programs.
> >
> > Sent via Deja.com http://www.deja.com/
> > Share what you know. Learn what you don't.
>
> You would think someone who was writing a programming book would have
> the intelligence to merely look at comments in the kernel source, or
> the source code itself.
>
> --
> Kyle Hargraves
> Technical madman, or something of that nature.
> "Religion is excellent stuff for keeping the common people quiet."
> -- Napoleon Bonaparte
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED]
Subject: Upgrade problems with SAMBA
Date: Thu, 02 Sep 1999 12:18:50 GMT
Hello,
I upgraded to Samba 2.0.5 and now have a problem:
I do not find the linux computer in a windows network environment box.
On the other hand, mounted network drives are still there.
Needless to say, that I left the /etc/smb.conf unchanged.
Thanks
Karl
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED]
Subject: Upgrade problems with NFS
Date: Thu, 02 Sep 1999 12:15:38 GMT
Hello,
I upgraded to SuSE 6.2 and now find my NFS server not responding as
before. I cannot mount exported directories.
The /etc/exports is untouched. The client is still the same, no change
compared to pre upgrade state.
It seems the nfsd is behaving different from the earlier version.
I do not find any message in /var/log/messages or /var/log/warn.
After a mount trial, I get the simple answer "Time Out".
Thanks
Karl
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Brandon Szalai <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.unix.programmer
Subject: Re: Dual Modem Support
Date: Thu, 02 Sep 1999 09:19:10 -0400
I have a Diamond SupraSonic II dual modem in my machine. What I had to end up
doing is buying a PS/2 mouse and port and install it. Had to get rid of my
serial mouse. I also had to disable PnP in my computer bios. I was having IRQ
conflicts between my serial mouse and "com 3". Both modems work fine for me. My
first modem is ttyS0 and my second is ttyS1. Hope this helps...
Brandon Szalai
Anonymous wrote:
> Hello,
>
> Is anyone have any idea, source or link to the info on how to make
> dual-modem ppp connection in Linux /
> Unix ? or through writing our own program ? how is the concept behind ?
> any RFC for this ?
>
> Ie, use two modem to dial-up to the same site to speed up the tranfer rate,
> as in win95 multi-link support
> in dial-up networking.
>
> Thank in advance
>
> --
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> :< [EMAIL PROTECTED]
> :< [EMAIL PROTECTED]
> :< [EMAIL PROTECTED]
> :< [EMAIL PROTECTED]
> :< [EMAIL PROTECTED]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: stet <[EMAIL PROTECTED]>
Subject: Re: telnet: how to know it's version and get it's source?
Date: Thu, 02 Sep 1999 08:35:02 -0700
Reply-To: [EMAIL PROTECTED]
Hi, Steve, thank you for your advice.
I bellieve it has something to do with those resolver libs(are they in
/lib?)
because ftp behave in the same way, and the files in /lib are of
different
version for the two system, but it has nothing to do with
/etc/resolv.conf
because they are the same for the two system.
As for /etc/nsswitch.conf, neither system has it, perhaps it's only
for
recent versions of RedHat to have it? (mine are slackware) I believe
untill
RH 4.2, there's no /etc/nsswitch.conf, because I have a RH 4.2 disc
attached
to a linux book which say nothing about /etc/nsswitch.conf.
But I'm still interested in this /etc/nsswitch.conf, becaause I also
have
a solaris7-x86 which has this /etc/nsswitch.conf and I don't know how to
config it, and now it's telet behave just like the telnet of that older
slackware system. Can you show me your /etc/nsswitch.conf?
--Jim
Cowles, Steve wrote:
>
> Jim,
>
> Telnet uses the resolver libs (type: man resolver) which provide access to
> the Internet Domain Name System (DNS). The resolver libs are configured
> through the /etc/resolv.conf file and the /etc/nsswitch.conf. At least on
> the RedHat versions I have used.
>
> Judging from your post, I would say that the older system that you mentioned
> does not have the resolver libs properly configured. You might want to check
> that out before you go and grab the source code.
>
> Steve Cowles
> SWCowles at gte dot net
>
> Jim White <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> > I have two linux box. one is of earlier version , the other, later,
> > both are connected to internet via a gatewey, (also a linux box).
> > The telnet of the later one is smarter: It can go throurh the gateway
> > to make use of my ISP's DNS. The telnet of the earlier one is less
> > smart, if a remote host is not in it's /etc/hosts, it's ip address
> > must be used to make telnet connection. I think this is funny, so I
> > want to know their version and look their source. how can I do this?
> > Thank you for help.
> > --Jim
------------------------------
** 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
******************************