Linux-Networking Digest #346, Volume #12 Tue, 24 Aug 99 16:13:53 EDT
Contents:
What network identifier to use??? (Will Muldrew)
hostid and byte order (jonathan silver)
HP page count (John Martin)
Re: SMTP Server Problem (Andre van Dijk)
Linux 2.2.x support for Apple? (Bob James)
Setingup the Bridge module under RedHat 5.2 ? (Arion Blishen)
masquarading +video/audio ([EMAIL PROTECTED])
Re: WhereToFind? Socket 7 motherboard with onboard ethernet, sound, and video?
([EMAIL PROTECTED])
Printing needs lpd restarted ("Mitch Appleby")
Tuning ppp for bad phone line (Bob Wood)
active ftp with masquarading ([EMAIL PROTECTED])
Re: problems with 2 networks (Peter Buelow)
Re: SSH (Dave McCracken)
problem with packet errors and "overruns"? ("Alan Brown")
Linux IP router ("Ying Q. Li")
Re: Obtaining Class C IP address block. (Miguel Cruz)
peer to peer netwoking w/ mandrake 6.0 (Kona Stan)
FTP large files fails ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: Will Muldrew <[EMAIL PROTECTED]>
Subject: What network identifier to use???
Date: Tue, 24 Aug 1999 19:56:28 +0100
I've just connected by two linux machines together, recompiled kernel
many times to install hardware, and am now trying to get a tiny network
going. I connect to the internet via a dial up using pppd. I can
telnet between my two machines - but so far I've just used some
arbitrary network identifier
My question is, what network address should I use for my machines - the
x.x.x.mymachine bit...? Does it matter if there's another network out
there with the same address? I know you have to register domain names,
but what about IP addresses?
Forgive me if I'm being an idiot - I'm quite pleased I've got this far!!
Will Muldrew
------------------------------
From: jonathan silver <[EMAIL PROTECTED]>
Crossposted-To: redhat.hardware.arch.intel,redhat.networking.general
Subject: hostid and byte order
Date: Tue, 24 Aug 1999 18:30:55 GMT
On most systems gethostid returns the (primary) ipaddress of the box.
On linux, (on an intel box), I am getting the nibbles and the bytes
reversed. If I convert to network order, the bytes are ok but the
nibbles are still reversed. So instead of getting ip = 1.2.3.4
I am getting 2.1.4.3.
Any ideas how to fix?
It appears that this function (gethostid) is going away? Is there
another function that I can use to get the ipaddress that goes with
my hostname? I'd rather not shell out and parse the ping results or
ifconfig. Any ideas?
thanks,
j
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
From: John Martin <[EMAIL PROTECTED]>
Subject: HP page count
Date: 23 Aug 1999 20:25:00 +0100
Is it possible to retrieve the pagecount from an HP laserjet using snmp?
Doing an 'snmpwalk' to bring back all data I can find everything except
the page count yet 'print test page' shows the page count so the info
must be held somewhere.
tia,
--
John
------------------------------
From: [EMAIL PROTECTED] (Andre van Dijk)
Subject: Re: SMTP Server Problem
Date: 24 Aug 1999 16:44:57 GMT
Reply-To: [EMAIL PROTECTED]
Op Mon, 23 Aug 1999 15:21:30 -0500 is het volgende aan dmalcolm ontsproten:
>sago wrote:
>
[cut some sendmail problem]
>
>You need to enable message relay.
>Create a directory (if it doesn't already exist) called /etc/mail.
>Create a file in it named relay-domains and simply list the domain names that
>you want to forward mail to. Your internal domain should be one (like abc.com).
>
>Next edit /etc/sendmail.cf and find the entry that looks like:
># Hosts that will permit relaying ($=R)
>FR-o /etc/mail/relay-domains
>and make sure the 'FR' line is uncommented.
>
>Reboot and it should work
Eeeek rebooting to activate some changes in the sendmail config?? I did't know
that sendmail was ported to NT :-).
Just restart sendmail and you're done. On most systems issueing
``/etc/rc.d/init.d/sendmail restart'' wil do the trick.
--
Andre van Dijk
,----------------------------------+-------------+-----------------------.
| mailto:[EMAIL PROTECTED] | icq:4249631 | fax:(+31)(0)208833917 |
`----------------------------------+-------------+-----------------------'
You get your b*tch *ss in the kitchen and bake me some pie.
-- Cartman, South Park.
------------------------------
From: Bob James <[EMAIL PROTECTED]>
Subject: Linux 2.2.x support for Apple?
Date: Tue, 24 Aug 1999 18:19:23 GMT
I have a COL2.2 box running Samba, FTP, Apache, BIND for my small=20
company's LAN. We have a few Macs still on the wire, and I want to=20
make this box available to them. I've seen in the HOWTO that the=20
kernel supports AppleTalk, and I've read about netatalk, but I was=20
wondering if there wasn't an easier way to do it. Is there some kind=20=
of module config that enables AppleTalk for the server?
--=20
Bob James |mailto:[EMAIL PROTECTED]
IS Manager |http://www.orielinc.com
Oriel Incorporated |(608) 238-8134 x223
------------------------------
From: Arion Blishen <[EMAIL PROTECTED]>
Subject: Setingup the Bridge module under RedHat 5.2 ?
Date: Wed, 25 Aug 1999 04:16:34 +1000
Is there any good guides on how to setup the Ethernet Bridge module
under RedHat 5.2 ?
And a guide to the source code as well ?
Thanks.
------------------------------
From: [EMAIL PROTECTED]
Subject: masquarading +video/audio
Date: Tue, 24 Aug 1999 18:28:23 GMT
Hi there,
I am using a firewall with masquarading based on kernel 2.2.5 (Suse
6.1). And I would like to make video transmissions with clients
installed Real Player (www.real.com). I am using the VDOLive, CUSeeMe ,
ICQ-modules delivered with Suse. When trying to connect to a video
server (based on PNA (port 1090) or RTSP port 554 I can not get any
connection even if I open all tcp und udp ports. I am using the squid
proxy server (not configured for these ports) as well. The problem
seems to be the masquarading. What further definitions are necessary to
run video transmissions?
TIA
regards Claus
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.portable,comp.os.linux.hardware
Subject: Re: WhereToFind? Socket 7 motherboard with onboard ethernet, sound, and video?
Date: Mon, 23 Aug 1999 21:18:30 GMT
Why not hook up a portable mp3 player... I'd be to interested in playing
quake or surfing the internet to keep my eyes on the road ;)
Eric
In article <[EMAIL PROTECTED]>,
Jon Akers <[EMAIL PROTECTED]> wrote:
> Simple. He probably wants to build an mp3 player for his car, and this
sort
> of board would work quite well for playing and updating the mp3's.
>
> As for boards, I know that PC-100 is notorious for making these kinds
of
> boards. I know that right now they also have a board that you can use
> either a Sockey 370 or Slot 1 chip in that has all of these features.
I
> would go with a low end Socket 370 chip and go to town for this sort
of
> application.
>
> Shawn Green wrote:
>
> > OK, I need to ask. Why/how are you going to put a computer in your
car?
> >
> > BTW, go to www.atacom.com or www.astak.com. You may be able to find
the
> > board at one of those places.
> >
> > Shawn
> >
> > David Scott Copus wrote:
> >
> > > I'm looking for a Socket 7 (preferable Super 7) that has *onboard*
> > > sound, ethernet, and video. Does anybody recommend any
> > > motherboards that have all these features... and can work
> > > with Linux?
> > >
> > > Or... if you know where I can look to find motherboards with all
> > > these features... I will gladly accept any suggestions!!
> > >
> > > Just curious... but would an Intel 166 MMX (socket 7) run _cooler_
> > > or _warmer_ than any Pentium II chip? I want to put a computer
> > > in my car... and am concerned about heat. :>
> > >
> > > thanks!
> > > Scott.
> > > [EMAIL PROTECTED]
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Mitch Appleby" <[EMAIL PROTECTED]>
Subject: Printing needs lpd restarted
Date: Tue, 24 Aug 1999 09:59:44 -0500
using Linux (Redhat 5.2)
When ever anyone (root or a samba client) tries to print I get "jobs queued
, but cannot start daemon". After this I input " /ect/rc.d/init.d/lpd
restart", then the job prints. I have to do this 'every time'. Why?
Please help.
Mitch Appleby
IS Admin
Dubuque Stamp
------------------------------
From: Bob Wood <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Tuning ppp for bad phone line
Date: Tue, 24 Aug 1999 10:54:21 -0400
>From previous experience, I know that the phone line to my home (and
hence my computer) is not real clean. Nevertheless, Windows 98 is
generally able to maintain a connection between 26400-28800, with
very little stalling.
I recently started using kppp to connect to the same ISP that I call
under Windows. Most of the time that I try to download a large file
(via Netscape), it will stall. Sometimes the stall is after several
KB have been downloaded; sometimes only after a few hundred bytes.
If I wait long enough it will eventually complete, but the stalls seem
to last for up to 30 seconds each.
I've tried decreasing MTU/MRU to 576, with some success. Cranking down
the modem speed to 19200 also helped a bit. I've looked at the pppd
debug log info, and there are error messages each time I notice the
stalling. The error messages will say things like "sequence number
incorrect" or "decompress error". Then I'll see something like "the
above error was repeated 41 times". (I don't see any messages about
decompress modules not being found.)
Anyway, I'm wondering if there's any fine-tuning I can do to speed up
pppd's recovery when incoming data gets trashed? I fully expect to
see some data get lost, but I want to minimize the time that it takes
for the data to be retransmitted and received correctly.
--
bob wood
[EMAIL PROTECTED] http://www.ziplink.net/~wood
------------------------------
From: [EMAIL PROTECTED]
Subject: active ftp with masquarading
Date: Tue, 24 Aug 1999 18:38:36 GMT
Hi there,
I would like to enable active ftp for clients in the local network. I
have a firewall with masquarading based on kernel 2.2.5 (Suse 6.1). The
udp and tcp ports 20 and 21 are enabled. Ports 1024 to 65536 as well.
What further definitions (ipchains?) are necessary to run active ftp?
Thanks for help
regards
Claus
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Peter Buelow <[EMAIL PROTECTED]>
Subject: Re: problems with 2 networks
Date: Tue, 24 Aug 1999 09:36:43 -0500
hollywoodjoe wrote:
>
> In article <[EMAIL PROTECTED]>, Peter Buelow
> <[EMAIL PROTECTED]> wrote:
> > Do you have an actual problem?
>
> yes, I am having odd problems.
>
> some of my machines cannot be accessed from outside my
> network, and some can. and sometimes it flip-flops. for
> example, machine A has 2 nics with an ip each on each
> network, and is reachable on one network and not the
> other, then suddenly the reverse is true
>
Sounds then like the routing table is getting confused. This can
happen easily especially if you compile in too many routing options, or
not enough. Can't say for sure what routing options you might need
because each network is unique, but play with a few of them. What you
will probably have to do is define the routes by hand. If you don't use
dhcp, then this is fairly easy to do in rc.local or your local script
startup file. Each NIC should have a route to itself, a route to the
local network, and a route to the outside world. These need to be
defined fairly specifically, using as few .0's as possible. If the route
table is the one you posted, it doesn't look like you have a functional
routing table. Are both reachable from outside? If so, and you have some
routing options enabled, then this could be and probably is your problem
with the odd IP behaviour.
> also getting tons of packet loss (30%) and my line is
> only 25% used
This sounds to me like bad hardware here even with the following
paragraph. Problems like these are rarely software so check the cables,
the connection to the outside. Call your DSL company and tell them you
are having troubles and it is their fault so they check the connection
to you. If the service is new, they might not have all the bugs worked
out on their end. And take a look at the NIC's your using and the
drivers. Last time I had high packet loss it was due to a funky cat 5
cable. When hunting these problems, look everywhere, even if you are
sure it isn't the problem. Weirder things happen.
>
> also, packet loss flips between machines. one machine
> will have 10% packet loss for a few hours, then suddenly
> another machine does for a few hours, and then back to the
> first machine. I have graphs that show it right to the
> minute. I am pinging from work.
>
> I have problems where I cannot ping a machine but I
> can telnet to it, and then maybe a few minutes later I
> can't telnet but I can ping
>
Holey cripes, I don't know. I have never heard or experienced this.
Get slackware or something?! Is you machine posessed? AFAIK this
wouldn't be a routing or a hardware problem, so I can't really make a
call here. Anyone else seen this kind of thing? Maybe call the
ghostbusters.
> and I get disconnected constantly
Disconneted? Do you mean there is a period where this is not traffic
getting through? I didn't think DSL required you to connect and
disconnect, but maybe I'm wrong. If you mean no traffic or activity,
then call the DSL company and ask if anyone is having trouble. We had
cable modem outages for a while while MediaOne was building
infrastructure, but now it seems to have smoothed out some. And with the
problems you describe here, it could be the hangup in your machine. Once
again, I just don't know. Sorry. Good luck
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!
--
Peter Buelow - Software Engineer
--
"Finger to spiritual emptiness underlying everything." -- How a C manual
referred to a "pointer to void."
------------------------------
From: Dave McCracken <[EMAIL PROTECTED]>
Subject: Re: SSH
Date: Mon, 23 Aug 1999 22:30:58 GMT
Paolo Cova wrote:
> I am using my linux box as a firewall for a masqueraded local network. I
> implemented a relatively strong filtering ruleset with ipchains and all
> works fine, but for some reason I can't login into a remote machine
> using the ssh client on the linux box. In fact I can ssh from machines
> on the local network both into the firewall box and remote machines on
> the internet, and it works fine. I think that all is fine in the ruleset
> to make ssh data pass through (I can even login into the firewall box
> with ssh from a remote machine on the internet), so right now I have
> exhausted ideas on the issue. I checked the config file for the ssh
> client but don't see anything that appears to prevent connections.
My guess is you overlooked something in your firewall config. Keep in
mind that you need to allow both outgoing packets to port 22, which it
sounds like you did since the internal machines work, and incoming
packets to whatever source port your ssh client happens to open. I'd
guess your internal machines work because you enabled incoming packets
to the masquerade ports (61000+). You should also have a rule that
allows packets without the SYN bit set (! -y) for ports 1024 and up.
This will allow incoming packets that are part of an established TCP
session.
Dave McCracken
[EMAIL PROTECTED]
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
From: "Alan Brown" <[EMAIL PROTECTED]>
Subject: problem with packet errors and "overruns"?
Date: Tue, 24 Aug 1999 09:52:50 -0500
I have set up a router with 2 network cards. My first attempts to "ping"
between 2 machines on the internal net fail. When I look at "ifconfig" for
the Linux machine it seems to transmit the packets, but has errors receiving
the replies. It seems all the packets fail with the "overruns" counter equal
to the number of failed packets!
Anyone have ideas what the "overruns" errors could mean? How do I overcome
it?
Thanks,
Alan.
------------------------------
From: "Ying Q. Li" <[EMAIL PROTECTED]>
Subject: Linux IP router
Date: Tue, 24 Aug 1999 15:21:59 -0400
hello, all, I would like to configure a linux IP router to connect two
subnets, does any have detail instruction how to do that, or any usefull
links. there is none specific router related HowTo available. thanks in
advance.
Li
------------------------------
Crossposted-To: comp.infosystems.www.servers.unix
Subject: Re: Obtaining Class C IP address block.
From: [EMAIL PROTECTED] (Miguel Cruz)
Date: Tue, 24 Aug 1999 19:32:24 GMT
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
> I need a block of 50 to start with.
> My co-location ISP told me he could rent a block to me. But what would
> happen if I decide to move to another location some time in the
> future. Do I loose the IP addresses and have to register new ones or
> rent new ones from another ISP?
That's what DNS is for. If you need to change IP numbers later, just adjust
your name server data and nobody will be the wiser.
miguel
------------------------------
From: Kona Stan <[EMAIL PROTECTED]>
Subject: peer to peer netwoking w/ mandrake 6.0
Date: Mon, 23 Aug 1999 16:31:07 -1000
I am trying to get a peer to peer network setup.
I can ping one machine to itself and the other machine
but the other machine I can only ping itself.
I dont think this is correct. I should be able to
do both. Any one got any ideas as to what I may
have wrong?
Kona Stan
------------------------------
From: [EMAIL PROTECTED]
Subject: FTP large files fails
Date: Tue, 24 Aug 1999 14:57:33 GMT
I have a problem on a Dell PPR180 with a 3com 3c595 running Mandrake
6.0 2.2.9-27mdk; when I try to ftp a large file either as a client or
server the file begins to download then stops and networking locks.
Ifconfig:
eth0 Link encap:Ethernet HWaddr 00:60:97:07:F7:42
inet addr:192.168.64.154 Bcast:192.168.64.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16517 errors:0 dropped:0 overruns:0 frame:0
TX packets:7288 errors:0 dropped:0 overruns:3 carrier:3
collisions:23 txqueuelen:100
Interrupt:9 Base address:0xff80
I switched out the network card, cables, and hub port and double
checked the config. The machine was working fine on RH5.2 with the
same equipment until a hard disk crash. Anyone have some clues for me??
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
** 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
******************************