Linux-Misc Digest #268, Volume #26 Wed, 8 Nov 00 21:13:02 EST
Contents:
Serial port interface for tty? ([EMAIL PROTECTED])
Re: network slow in linux, fast in win... (Matt Warnock)
Re: mmap() vs. lseek() on /dev/mem (Jeff Andre)
Problems with tcpdump and 100BaseT ([EMAIL PROTECTED])
Re: fetchmail/sendmail miscue-what? (John Todd)
Re: Serial port interface for tty? (Joe Humrickhouse)
Re: Amount of time Linux is running ("Peter T. Breuer")
Re: Software RAID (Peter)
Re: fetchmail/sendmail miscue-what? (Robert Kiesling)
Re: Amount of time Linux is running (Gareth Stephens)
Re: fetchmail/sendmail miscue-what? ("Peter T. Breuer")
Re: fetchmail/sendmail miscue-what? ("Peter T. Breuer")
Re: Can't get "ln -sf" to work ("Aitch")
Re: Best Distro For Newbie.... (Carl Fink)
Re: Can't get "ln -sf" to work ("Peter T. Breuer")
Re: Serial port interface for tty? (Neil Cherry)
Getting ETH0 up and conn to Ext Modem ([EMAIL PROTECTED])
Re: Getting ETH0 up and conn to Ext Modem (Dances With Crows)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.unix.questions
Subject: Serial port interface for tty?
Date: Wed, 08 Nov 2000 23:14:42 GMT
I need to connect to a "craft port", which is a com port used for
console access to an embedded system. On windows, I would use something
like HyperTerm, selecting com2 instead of a dialup. What is the unix
equivalent? I am using Mandrake Linux 7.1.
Thanks-
Carter
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Matt Warnock <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.networking
Subject: Re: network slow in linux, fast in win...
Date: Wed, 08 Nov 2000 18:18:40 -0500
Really? i never heard that before. since its on 12, i'll try that.
thanks a lot!
On Thu, 9 Nov 2000 08:34:00 +1100, "Me" <[EMAIL PROTECTED]> wrote:
>Check to see what IRQ your friend is using. IRQ 12 can play funny games on
>PC's sometimes. Try using 10
>"Matt Warnock" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> Yes, you're right, its NE2000 compatable. its an ISA card. Not sure
>> what you mean about the PnP/dynamically assicned recources, but i
>> turned off the PnP for the card, so it runs on IRQ 12 at address
------------------------------
From: [EMAIL PROTECTED] (Jeff Andre)
Crossposted-To: comp.os.linux.development.system
Subject: Re: mmap() vs. lseek() on /dev/mem
Date: 8 Nov 2000 23:17:15 GMT
Gary Parnes ([EMAIL PROTECTED]) wrote:
: Okay, I don't know what subtlety I'm missing here...
: I'm trying to access kernel memory from user space. A simple way to
: access kernel RAM is, of course, using lseek() on /dev/mem as root.
: lseek'ing lets me browse the virtual memory space on an x86 box (from
: 0xC0000000 up to end of RAM) quite nicely. But if I want to browse the
: memory mapped portions of a PCI peripheral, I end up having to use
: mmap() with the physical bus address of the PCI peripheral.
: What I'm looking for is a common way to access both kernel RAM and PCI
: memory space. The lseek technique doesn't seem to work in the PCI
: memory space, and the mmap() technique doesn't seem to work in kernel
: RAM space. I've tried playing with all sorts of permutations, but
: nothing seems to work.
: Why am I encountering problems?
What problems are you having? As a debugging tool I'm about to write
a read/llseek interface to a PCI's memory.
--
Jeff Andre
------------------------------
From: [EMAIL PROTECTED]
Subject: Problems with tcpdump and 100BaseT
Date: Wed, 08 Nov 2000 18:31:09 -0500
Has Anyone had problems using tcpdump on a 100BaseT network?
------------------------------
From: [EMAIL PROTECTED] (John Todd)
Subject: Re: fetchmail/sendmail miscue-what?
Date: 8 Nov 2000 23:02:11 GMT
Reply-To: [EMAIL PROTECTED]
ps shows sendmail running and receiving on port25. "use default routes"
is selected in PPP. AIUI, fetchmail passes the messages to sendmail to deliver
them to Me, the User. This doesn't happen. Fetchmail reports,
"SMTP connect to localhost failed" and shuts down. I don't know where to look.
On Tue, 07 Nov 2000 21:52:02 -0700, nuk
<[EMAIL PROTECTED]> wrote:
>
>This is usually what happens when I don't have sendmail running. If it isn't
>running, obviously fetchmail can't connect to it to deliver the messages. If
>you are running RH, try /etc/rc.d/init.d/sendmail stat, and if it isn't
>running, use the same command, but used start instead of stat. I'd recommend
>getting install-sendmail, a perl script which sets up fetchmail and sendmail
>pretty painlessly.
>
>Monte
>
>
>
--
_____________________
The lap of Linuxury
|<de in RH6
------------------------------
From: [EMAIL PROTECTED] (Joe Humrickhouse)
Crossposted-To: comp.unix.questions
Subject: Re: Serial port interface for tty?
Date: 8 Nov 2000 23:56:27 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 08 Nov 2000 23:14:42 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I need to connect to a "craft port", which is a com port used for
> console access to an embedded system. On windows, I would use something
> like HyperTerm, selecting com2 instead of a dialup. What is the unix
> equivalent? I am using Mandrake Linux 7.1.
Sounds like you want to set up a way to login over a serial port.
Here is a a link to a page that tells you want you need to do:
http://www.computerbits.com/archive/20001000/linux0010.htm
--
Joe Humrickhouse
[EMAIL PROTECTED]
www.itlabs.umn.edu/~humr0002
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Amount of time Linux is running
Date: 8 Nov 2000 23:59:40 GMT
Andy Kinsey <[EMAIL PROTECTED]> wrote:
: I know there's a command to type which will show how long a Linux box
: has been running, but I can't remember what it is (and I looked in all
: of my documentation). Can anyone help jog my feeble memory???
"uptime"? As in "man -k time | grep running"? Why did you need to use
your memory, or look in the `documentation'?
Peter
------------------------------
From: Peter <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.hardware,alt.linux
Subject: Re: Software RAID
Date: Thu, 09 Nov 2000 00:16:44 GMT
On Wed, 08 Nov 2000 18:17:53 GMT, "William Fong" <[EMAIL PROTECTED]>
wrote:
>Those cards are not really true hardware RAID devices. The only true EIDE
>hardware RAID is from Adaptec. Those are in the $200 range.
>
>-will
What do you define as "true" hardware RAID?
I tested the Promise IDE RAID card and it preformed RAID 1 without
operating system intervention. It does all the management and copying.
You can pull out a drive and start running again without intervention.
You can use it for any partition, including the boot partition, for
any operating system. It makes an IDE RAID array look like a SCSI
disk.
I do not know what the other brands of IDE RAID do.
------------------------------
Subject: Re: fetchmail/sendmail miscue-what?
From: Robert Kiesling <[EMAIL PROTECTED]>
Date: Thu, 09 Nov 2000 00:15:33 GMT
[EMAIL PROTECTED] (John Todd) writes:
> ps shows sendmail running and receiving on port25. "use default routes"
> is selected in PPP. AIUI, fetchmail passes the messages to sendmail to deliver
> them to Me, the User. This doesn't happen. Fetchmail reports,
> "SMTP connect to localhost failed" and shuts down. I don't know where to look.
I think (without looking it up somewhere), that sendmail won't answer
to localhost domain addresses, or 127.0.0.1, as a reasonable security
precaution. If the system does not have an internal DNS, and is not
connected to the internet, and/or does not have a domain name of its
own, then the machine(s) would need to have domain addresses in
/etc/hosts, and /etc/resolv.conf or /etc/hosts.conf, need to
reference /etc/hosts, with a statement like "order hosts,bind".
You can make up a domain name like "localdomain.local" and it should
work. It doesn't have to be registered, only parsible as a domain
name. Also, you can list the base host name as well as the fully
qualified name. This is the example /etc/hosts entry in the FAQ:
192.168.0.1 bilbo.bag-end.com bilbo
Of course, you would use names of your own choosing. The block of
192.168.0.0 IP addresses is reserved for local subnets, so there's no
clash with Internet IP addresses. However, _do not_ change the
"localhost" entery in /etc/hosts, because other programs like the X
server use it. Fetchmail should be able to use these entries as well
to resolve its host names, or you might need to add an alias in the
config file, but I'm not sure about that.
>
>
> On Tue, 07 Nov 2000 21:52:02 -0700, nuk
> <[EMAIL PROTECTED]> wrote:
> >
> >This is usually what happens when I don't have sendmail running. If it isn't
> >running, obviously fetchmail can't connect to it to deliver the messages. If
> >you are running RH, try /etc/rc.d/init.d/sendmail stat, and if it isn't
> >running, use the same command, but used start instead of stat. I'd recommend
> >getting install-sendmail, a perl script which sets up fetchmail and sendmail
> >pretty painlessly.
> >
> >Monte
> >
> >
> >
>
>
> --
> _____________________
> The lap of Linuxury
> |<de in RH6
--
Robert Kiesling
Linux FAQ Maintainer
[EMAIL PROTECTED]
http://www.mainmatter.com/linux-faq/toc.html http://www.mainmatter.com/
------------------------------
From: Gareth Stephens <[EMAIL PROTECTED]>
Subject: Re: Amount of time Linux is running
Date: Thu, 09 Nov 2000 00:19:41 +0000
Try 'uptime'
Regards,
Gareth.
Andy Kinsey wrote:
>
> I know there's a command to type which will show how long a Linux box
> has been running, but I can't remember what it is (and I looked in all
> of my documentation). Can anyone help jog my feeble memory???
>
> Thanks in advance,
>
> Andy
>
> [EMAIL PROTECTED]
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: fetchmail/sendmail miscue-what?
Date: 9 Nov 2000 00:18:46 GMT
John Todd <[EMAIL PROTECTED]> wrote:
: ps shows sendmail running and receiving on port25. "use default routes"
: is selected in PPP. AIUI, fetchmail passes the messages to sendmail to deliver
: them to Me, the User. This doesn't happen. Fetchmail reports,
: "SMTP connect to localhost failed" and shuts down. I don't know where to look.
"telnet localhost 25" and find out what's going on. If you need a
lesson in SMTP, try "helo localhost", followed by "help".
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: fetchmail/sendmail miscue-what?
Date: 9 Nov 2000 00:20:12 GMT
Robert Kiesling <[EMAIL PROTECTED]> wrote:
: [EMAIL PROTECTED] (John Todd) writes:
:> ps shows sendmail running and receiving on port25. "use default routes"
:> is selected in PPP. AIUI, fetchmail passes the messages to sendmail to deliver
:> them to Me, the User. This doesn't happen. Fetchmail reports,
:> "SMTP connect to localhost failed" and shuts down. I don't know where to look.
: I think (without looking it up somewhere), that sendmail won't answer
: to localhost domain addresses, or 127.0.0.1, as a reasonable security
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 barney.it.uc3m.es ESMTP Sendmail 8.9.3/8.9.3; Thu, 9 Nov 2000
01:19:23 +0100
helo localhost
250 barney.it.uc3m.es Hello ptb@localhost [127.0.0.1], pleased to meet you
...
Peter
------------------------------
Reply-To: "Aitch" <[EMAIL PROTECTED]>
From: "Aitch" <[EMAIL PROTECTED]>
Subject: Re: Can't get "ln -sf" to work
Date: Thu, 09 Nov 2000 00:52:53 GMT
"Timur Tabi" <[EMAIL PROTECTED]> wrote in message
news:8uck17$e01$[EMAIL PROTECTED]...
> I know that, and I'm doing it correctly. Try this:
>
> 1. ln -sf linux-2.2.14 linux (which you've already done)
> 2. mkdir temp
> 3. ln -sf temp linux
>
> Let me know if /usr/src/linux is a soft link to /usr/src/temp.
This doesn't make sense because 1 link can't point to 2 different folders.
The symbolic link: /usr/src/linux points to /usr/src/linux-2.2.14 ..
Which is a directory.
/usr/src/linux cannot point to /usr/src/temp .. Which is also a directory.
You asking 1 link too point to two folders here...
------------------------------
From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: Best Distro For Newbie....
Date: 9 Nov 2000 00:06:34 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 08 Nov 2000 20:30:02 -0000 Michael Lauzon <[EMAIL PROTECTED]> wrote:
>What is the best Linux distro for a newbie to learn on?
The one your friend has.
It sounds flip, but it's true: if you have an urgent question, you
don't want your guru to give you the Slackware answer when you're
using Mandrake.
--
Carl Fink [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Can't get "ln -sf" to work
Date: 9 Nov 2000 01:12:43 GMT
Aitch <[EMAIL PROTECTED]> wrote:
: "Timur Tabi" <[EMAIL PROTECTED]> wrote in message
: news:8uck17$e01$[EMAIL PROTECTED]...
:> I know that, and I'm doing it correctly. Try this:
:>
:> 1. ln -sf linux-2.2.14 linux (which you've already done)
:> 2. mkdir temp
:> 3. ln -sf temp linux
:>
:> Let me know if /usr/src/linux is a soft link to /usr/src/temp.
: This doesn't make sense because 1 link can't point to 2 different folders.
There are two or more things wrong with your sentence.
0) 1 link can't point to two differnt THINGS, directories or not. That
is correct. There is nothing wrong there.
1) the word "because" has no function. Given a false hypothesis, as in
(0) above, anything follows. Compare "I am rich because the pope is my
brother". As it happens, I am not rich, nevertheless, the statement is
true! The word "because" and the falsity of the conclusion do not
diminish the sentences truth, that's simple socratean logic. Work out
the truth value of "F->F" for yourself.
2) His procedure makes perfect sense. He's trying to show that that -sf
doesn't overwrite the link when it points to a directory.
I agree. This has annoyed me too. I don't know when it started
happening. Maybe forever, but I don't think so. A couple of years,
maybe. Report it as a bug to the debian downstream maintainer. He'll
take it up with "the authorities", or argue with you. But it annoys me
so I'd be grateful if you annoyed someone back on my behalf.
Peter
------------------------------
From: [EMAIL PROTECTED] (Neil Cherry)
Crossposted-To: comp.unix.questions
Subject: Re: Serial port interface for tty?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 09 Nov 2000 01:17:36 GMT
On 8 Nov 2000 23:56:27 GMT, Joe Humrickhouse wrote:
>On Wed, 08 Nov 2000 23:14:42 GMT, [EMAIL PROTECTED]
><[EMAIL PROTECTED]> wrote:
>> I need to connect to a "craft port", which is a com port used for
>> console access to an embedded system. On windows, I would use something
>> like HyperTerm, selecting com2 instead of a dialup. What is the unix
>> equivalent? I am using Mandrake Linux 7.1.
>
>Sounds like you want to set up a way to login over a serial port.
>Here is a a link to a page that tells you want you need to do:
>http://www.computerbits.com/archive/20001000/linux0010.htm
No, it sounds more like he is trying to get to a device connected to a
serial port on Linux. For that he should try something like 'minicom'.
--
Linux Home Automation Neil Cherry [EMAIL PROTECTED]
http://members.home.net/ncherry (Text only)
http://meltingpot.fortunecity.com/lightsey/52 (Graphics)
http://linuxha.sourceforge.net/ (SourceForge)
------------------------------
From: [EMAIL PROTECTED]
Subject: Getting ETH0 up and conn to Ext Modem
Date: Thu, 09 Nov 2000 01:24:06 GMT
I am have great difficultly getting my network card to come up. I
have an internal NIC that uses the tulip driver. I have checked the
proc/pci and found the card listed in there. When I do an lsmod I
find tulip installed. When I do an ifconfig eth0 up, it returns fine.
When I do ifconfig again it lists the information minus the inet
address. When I do the lsmod again tulip reports "Used by 1". The
IRQ is 5 and io base address is 8c00. No other device is conflicting
with the IRQ. Now correct me if I am wrong but should not the light
on the back of the card turn on when the card is brought up. If so,
why is it not coming on. Even when it is connected to my external
cable modem it doesn't turn on.
I am running Debian 2.2. I have read, among other things, an article
from Byte magazine which I found a link to in the mailing list
archive.
Someone please help, I have been working on this for a couple of weeks
and am getting discouraged.
John
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Getting ETH0 up and conn to Ext Modem
Date: 9 Nov 2000 01:56:24 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 09 Nov 2000 01:24:06 GMT, [EMAIL PROTECTED] wrote:
>I am have great difficultly getting my network card to come up. I
>have an internal NIC that uses the tulip driver. I have checked the
>proc/pci and found the card listed in there. When I do an lsmod I
>find tulip installed. When I do an ifconfig eth0 up, it returns fine.
>When I do ifconfig again it lists the information minus the inet
>with the IRQ. Now correct me if I am wrong but should not the light
>on the back of the card turn on when the card is brought up. If so,
The syntax you're looking for is:
ifconfig eth0 X.Y.Z.W broadcast A.B.C.D netmask E.F.G.H up
which will give eth0 the IP address X.Y.Z.W, and assign the required
other bits in what's hopefully an obvious way.
This is what you do for a *static* IP address. If you're lucky enough
to have a static IP address, this is all you need. If not, you need to
know whether your provider uses DHCP to assign IP addresses, or whether
they're using PPPoE, or something else. If it's DHCP, you'd most likely
do this:
ifconfig eth0 192.168.1.7 up # bogus IP, deliberately
dhclient eth0 # get IP from DHCP server
pump and dhcpcd are also used; you might find them easier or more
effective.
As for the light not coming on, what kind of light is it? All Ethernet
devices should have a "link light", which detects whether there is a
valid connection at the hardware level--no need for correct IPs or
netmasks or anything. If this light doesn't come on when you plug the
cable in, either the driver on your card is misconfigured, or one of the
devices at either end of the link has no power going to it. There are
often 2 other lights, the 10/100 light and the FDX light. Don't worry
about those for now.
Also, post the exact make and model of your network card; there are a
number of newer cards out there which use a newer Tulip driver, and you
may have to find that one and use it. HTH,
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
** 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.misc) 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-Misc Digest
******************************