Linux-Networking Digest #213, Volume #11 Thu, 20 May 99 11:13:40 EDT
Contents:
Re: Mounting Extended windows partition (Bernd Deja)
Re: Win95->Linux PPP can't see past subnet (Robin Munn)
Re: PPP tantrums (gus)
Re: NFS and /usr (Jim Roberts)
Re: Linux box talking to Win9x (Lew Pitcher)
Re: Modemcard under Linux/KDE (Tom Garner)
Re: How do I make Linux listen on the serial port? (Neil Cherry)
Re: HP JetDirect (Gustin Kiffney)
open ports ("J S")
Re: ISDN interface card and RH6 setup? ("campbell")
Nameserver on Linux (vs. HP-UX) (Peter Nybo Rasmussen)
BDS for Linux ("J. Alberto Villa Diez")
Re: linux ADSL setup - name resolution problem (bryan)
Need Linux SNMP documentation (Mike Michaud)
Re: mounting an exported filesystem ([EMAIL PROTECTED])
Re: linux ADSL setup (pachell uptime and dsl quality) (bryan)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Bernd Deja)
Subject: Re: Mounting Extended windows partition
Date: Wed, 19 May 1999 20:34:16 +0200
[EMAIL PROTECTED] wrote on 16.05.99
regarding "Mounting Extended windows partition":
> How do you mount an extended windows partition in linux? What entry to you
> make in /etc/fstab?
>
> I have tried /dev/hda2 /mnt/DDrive msdos defaults 0 1
>
> but it did not work. Can anyone help me?
I had the same problem
as a newbie, I would say:
probably you got the error message "mount point does not exist"
at first you have to create the so called mount point, i.e.
md /mnt/DDrive
#btw, I use /dos/c, /dos/d, etc. to have the same drive letter as in dos
# afaik /mnt is usually for temporary files
I think it is easier to try the correct mounting at the prompt and if
successful, then putting it into /etc/fstab
Bernd
--
regards from wesel/germany
## CrossPoint v3.02 R ##
------------------------------
From: Robin Munn <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp
Subject: Re: Win95->Linux PPP can't see past subnet
Date: Wed, 19 May 1999 19:06:19 GMT
In article <[EMAIL PROTECTED]>,
Andrew Sun - UCE revokable account <[EMAIL PROTECTED]> wrote:
>
>
> Robin Munn wrote:
> >
> > I'm setting up a Linux box as an experimental PPP server here at
school.
> > It's running mgetty on Debian 2.1 (slink). I have mgetty set up
properly
> > -- I've dialed in, logged in, everything's fine on the hardware
side.
> > Now I'm trying to get PPP working, and that's where the "fun"
starts.
> > I've got mgetty set up with an AutoPPP line in
/etc/mgetty/login.options
> > so that pppd starts up automatically. So I go over to the Windows 95
box
> > I'm using to dial up, create a new connection in Dial-Up Networking,
> > enter the phone number, and use the default settings for IP
> > (server-assigned DNS and IP numbers) in the new DUN connection's
> > properties box. Dial it up, enter a username and password, get
through,
> > everything looks good. Except for one "little detail"...
> >
> > The Windows box (I'll call it "winbox") can't see past the class C
> > subnet it's on. The Debian box (I'll call it "thorn") has IP
a.b.65.12
> > and is assigning IP's a.b.65.101 and a.b.65.102 to incoming calls on
> > each of its two modems. (I'll hook up more modems once I can get
this
> > whole thing working). Now thorn is on a 20-bit subnet: its netmask
is
> > 255.255.240.0. At IP a.b.64.1 is a router that connects this subnet
to
> > the rest of the school's network (and thus to the Internet).
a.b.64.2
> > and a.b.64.3 are the primary and secondary DNS servers for this
subnet.
> > thorn can see the a.b.64.0/20 subnet just fine and can also see the
rest
> > of the network and the Internet, but winbox can't see anything
outside
> > the a.b.65.0/24 subnet -- can't even see a.b.64.1, so it can't see
the
> > Internet either. winbox can't see the DNS servers either, so I've
been
> > pinging things by IP. Machines on the a.b.65.0/24 subnet can ping
> > winbox, and winbox can ping them right back. But anything outside
the
> > a.b.65.0/24 subnet can't see winbox, and winbox can't see them. They
can
> > see thorn just fine, though, and thorn can ping them just fine.
> >
> > Running winipcfg on winbox I get:
> >
> > PPP Adapter
> > Adapter Address: 44-45-53-54-00-00
> > IP Address: a.b.65.102
> > Subnet Mask: 255.255.255.0 <-- should be 255.255.255.255, see
below
> > Default gateway: a.b.65.102 <-- shouldn't this be a.b.65.12?
> >
> > route -n on thorn gives:
> >
> > Destination Gateway Genmask Flags Metric Use
Iface
> > a.b.65.102 0.0.0.0 255.255.255.255 UH 0 0
ppp0
> > a.b.64.0 0.0.0.0 255.255.240.0 U 0 26
eth0
> > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 lo
> > 0.0.0.0 a.b.64.1 0.0.0.0 UG 1 5
eth0
> >
> > In /etc/ppp/options I have a "netmask 255.255.255.255" line, and
that
> > shows up just fine on thorn's routing table. But what winbox tells
me in
> > winipcfg doesn't seem right. A netmask of 255.255.255.0 and an
incorrect
> > gateway *would* kind of explain why winbox can see everything with
an IP
> > of a.b.65.(whatever) but can't see anything else... Should I change
the
> > netmask in thorn's /etc/ppp/options to be 255.255.240.0? Or would
that
> > have no effect?
> >
> > I'd appreciate help from anyone who has any ideas about what could
be
> > causing this. I've been working on it for several days now and am no
> > closer to understanding the cause of this problem.
> >
> > Thanks.
> >
>
> It appears that your Win95 is behaving as if it had no
> default route (despite what winipcfg says).
>
> What does the "route print" command on Win95 show?
C:\WINDOWS>route print
Active Routes:
Network Address Netmask Gateway Address Interface Metric
0.0.0.0 0.0.0.0 a.b.65.102 a.b.65.102 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
a.b.65.0 255.255.255.0 a.b.65.102 a.b.65.102 1
a.b.65.102 255.255.255.255 127.0.0.1 127.0.0.1 1
a.b.65.255 255.255.255.255 a.b.65.102 a.b.65.102 1
224.0.0.0 224.0.0.0 a.b.65.102 a.b.65.102 1
255.255.255.255 255.255.255.255 a.b.65.102 a.b.65.102 1
I have *no* idea what's causing the "224.0.0.0" line to appear, BTW. But
that first line sure looks like a default route to me...
> Is "Use default gateway on remote network" enabled on Win95 for
> this PPP connection?
Yes. And on the other end (on thorn), the default route goes through
gateway a.b.64.1, the main router that connects the a.b.64.0/20 subnet
to the "outside world". Oh yeah, I already posted the "route -n" results
from thorn above -- I'd forgotten.
> Can Win95 reach Internet addresses anyway (unrelated to your a.b.?.?)?
No. I've pinged several Internet addresses by IP number rather than name
(since winbox can't reach any of our DNS servers either), and pinged
them *at the same time* from thorn. thorn can reach them, winbox can't.
> Can you verify (check modem lights)
> if any traffic is going out via PPP from Win95,
> when you ping unreachable places?
It is. The TX light is flashing, but the RX light stays off. And the
"bytes sent" counter in the DUN pop-up status window increments, while
the "bytes received" counter doesn't. When I ping someplace that winbox
*can* see, I can see the TX light flash followed shortly by the RX light
flashing as the packet comes back, and both the "bytes sent" and the
"bytes received" counters increment in the DUN status window.
>
> In general, netmasks are not relevant for PPP connections,
> and setting them should have no direct effect (there are exceptions
> with bad implementations though).
> With Win95, the PPP netmask you see must have made its way into a
> Win95 routing table entry. This misfeature is likely to be causing
> your Win95 to be able to reach a.b.65.0/24.
>
Yes, it is in winbox's routing table. And this does seem to be the only
remotely reasonable explanation as to why winbox can see every machine
on a.b.65.0/24 but nothing else.
> Also, Win95 routing entries that point to PPP interfaces
> make reference to the connection's local IP address
> (rather than the next hop, remote IP address).
> This appears to be the normal, but it is another MS oddity.
>
That's good to know. At least it means that when it's sending packets to
"a.b.65.102" (the modem hooked up to winbox), they're reaching a.b.65.12
(the modem hooked up to thorn).
Hmmm, does it matter that thorn's Ethernet card is also a.b.65.12? I'm
assigning the same IP to thorn's Ethernet interface and modems. It
doesn't seem to be confusing thorn so far -- will it ever be a problem,
or is this the Right Thing to do?
> andrew
>
> --
> "Using & Managing PPP," March 1999,
http://www.oreilly.com/catalog/umppp
>
I'm impressed... Expert help, indeed. BTW, I just asked my supervisor if
he could order your book for me, and he said, "I think I can swing
that." So you'll be getting a royalty out of helping me... :-)
--
Robin Munn (Legal name: Robert A. Munn)
[EMAIL PROTECTED]
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: gus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: PPP tantrums
Date: Thu, 20 May 1999 13:30:08 +0100
In your ppp options, include the line:
212.72.2.80:212.72.1.1
This sets the local:remote IP address.
Check this with a "man pppd"
gus
Ferdinand V. Mendoza wrote:
>
> Folks, here's a bugger:
>
> A week back, my ppp connection was still perfect until recently
> when I heard from a friend that my ISP was undergoing some
> system upgrade and the reason at times I can't make a connection.
> Just last night when the connection was back and my nightmare
> started. I tried to dial my ISP as usual via my kppp and everything
> seems to
> be okay except that when I check the details of my kppp, the remote
> IP address (ISP) is okay but the local address set, is my own IP
> address I assigned for my hostname. This really baffles me. How come?
>
> // this is my /etc/hosts file: //
>
> 127.0.0.1 localhost
> 192.168.53.1 wildfire.yibal wildfire
>
> // this is the message from my /var/log/messages //
>
> May 19 05:55:34 wildfire pppd[863]: local IP address 192.168.53.1
> May 19 05:55:34 wildfire pppd[863]: remote IP address 212.72.1.2
> May 19 05:55:42 wildfire pppd[863]: Terminating on signal 15.
> May 19 05:55:42 wildfire pppd[863]: Connection terminated.
>
> As you can see from above 212.72.1.2 is my ISP's IP address.
> I can't do any Interneting at all with these.
>
> Now, I tried to experiment with putting a comment on the line ...
>
> # 192.168.53.1 wildfire.yibal wildfire
>
> in my /etc/hosts to disable this temporarily.
>
> When I reconnected and my log looked like these;
>
> May 19 18:46:35 wildfire pppd[1076]: pppd 2.3.5 started by buddy, uid
> 500
> May 19 18:46:35 wildfire pppd[1076]: Using interface ppp0
> May 19 18:46:35 wildfire pppd[1076]: Connect: ppp0 <--> /dev/ttyS1
> May 19 18:46:44 wildfire pppd[1076]: Remote message:
> May 19 18:46:45 wildfire kernel: PPP BSD Compression module registered
> May 19 18:46:45 wildfire kernel: PPP Deflate Compression module
> registered
> May 19 18:46:48 wildfire pppd[1076]: local IP address 212.72.2.80
> May 19 18:46:48 wildfire pppd[1076]: remote IP address 212.72.1.1
>
> See! I can be assigned a local IP address from my ISP and my Internet
> connection is back to normal.
>
> My problem now is that my /etc/hosts file is altered and it also
> cripples my Samba stuff. Is there a remedy for this small problem?
> Do I have to make changes to my /etc/ppp/options file now that
> I suspect that it has to do with my ISP's upgrade.
> So many thanks in advance.
>
> Ferdinand
>
> ++++++++++++++++++
>
> See no Microsoft.
> Hear no Microsoft.
> Speak no Microsoft.
>
> ++++++++++++++++++
------------------------------
From: [EMAIL PROTECTED] (Jim Roberts)
Subject: Re: NFS and /usr
Date: Wed, 19 May 1999 18:35:58 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
> With RH50 if host allows root access ('/') I can read any directory. I
> want this. With RH60, I cannot read /usr (or /root and some others). I
> -can- read /etc, among others.
> If I mount host:/usr as /something, I -can- read /usr. Anyone else seen
> this?
>
SNIP
It sounds like /usr is on another partition or disk. This is normal operation
for NFS. It works this way on solaris and SCO also.
I'm afraid I don't have a workaround for you. I have the same situtation
on my solaris file server.
Mabe someone else could help us both?
--
Jim Roberts
[EMAIL PROTECTED] Never enough time!
------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: Linux box talking to Win9x
Reply-To: [EMAIL PROTECTED]
Date: Thu, 20 May 1999 13:19:09 GMT
Take a look at the SMB Howto
http://metalab.unc.edu/LDP/HOWTO/SMB-HOWTO.html
On Thu, 20 May 1999 13:09:12 GMT, [EMAIL PROTECTED] wrote:
>Hi,
>
>Could someone steer me to a HOWTO that tells how to configure a Linux
>box on the same network with a Win9x box? I want to transition to a
>linux system for my main machine, but I still need to get at dos/win
>type systems on my network, and share files and printers.
>
>Tnx,
>
>
>Tim Olmstead WP5PFJ
>email : [EMAIL PROTECTED]
>Visit the unofficial CP/M web site.
>MAIN SITE AT : http://www.devili.iki.fi/cpm
>PRIMARY US MIRROR AT : http://www.mathcs.emory.edu/~cfs/cpm
>SECONDARY US MIRROR AT : http://CPM.INTERFUN.NET
Lew Pitcher
System Consultant, Integration Solutions Architecture
Toronto Dominion Bank
([EMAIL PROTECTED])
(Opinions expressed are my own, not my employer's.)
------------------------------
From: Tom Garner <[EMAIL PROTECTED]>
Crossposted-To:
alt.uu.comp.os.linux.questions,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Modemcard under Linux/KDE
Date: 20 May 1999 13:24:15 GMT
**Nick Brown <[EMAIL PROTECTED]> wrote in
<[EMAIL PROTECTED]>:
It's probably on a "readme" whch is *inside* the box, that also says
"refund only given if package unopened". Been there, done that.. <sigh>
>Does the box which the modem come in, say "only works with Windows" ?
>Sounds like you could have a Winmodem.
>
>Florian Thiel wrote:
>> I'm new at linux. Its very good, but I've problem with my modem card.
>> It's an ISA-Card under Win98 at COM2:. Only Linux want detect it.
>
------------------------------
From: [EMAIL PROTECTED] (Neil Cherry)
Subject: Re: How do I make Linux listen on the serial port?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 20 May 1999 13:30:34 GMT
On Thu, 20 May 1999 11:59:41 GMT, ft wrote:
>I tried the instructions detailed by smyth in issue 41 of the linux
>gazette, yet it doesn't work.
>
>
>are there any other alternatives?
>
>How do you make linux listen to the serial port, ttys0, btw?
I'm not sure what you are trying to get to listen to the port but you
might want to try /dev/ttyS0 (first available serial port). I think
/dev/ttys0 is for some other board. (Yes I could be wrong).
--
Linux Home Automation Neil Cherry [EMAIL PROTECTED]
http://members.home.net/ncherry (Text only)
http://meltingpot.fortunecity.com/lightsey/52 (Graphics GB)
------------------------------
From: Gustin Kiffney <[EMAIL PROTECTED]>
Subject: Re: HP JetDirect
Date: Thu, 20 May 1999 13:31:56 GMT
[posted and mailed]
I'm recalling off the top of my head, but generally you
o set up the jetdirect card with an appropriate IP
address for your net - either using the printer's
little set of buttons and menus or using JetAdmin (a sorry
piece of software in my experience)
o either using your distribution's easy printer setup, or
by editing /etc/printcap (man printcap for details) tell
linux where the printer is
Note that newer jetdirect cards pose as remote Unix machines
running their own lpd, so it's just like printing to any other
machine's printer. Older ones make you stuff the raw print
data into the printer's port 9000 and far as I know only
LPRng print daemon handles that (it's what I run here). Once
you get the printer set up try telnetting to it and see what
happens - that will tell you if you're new or old.
When all else fails,
metalab.unc.edu/Linux/doc/HOWTO/ etc etc.
[EMAIL PROTECTED] (Brian Vicente) wrote:
> I'm trying to find information on how to enable printing to a
> JetDirect for a Linux Print Server. Any help would be appreciated.
> Thanks,
> Brian
>
>
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: "J S" <[EMAIL PROTECTED]>
Subject: open ports
Date: Thu, 20 May 1999 16:18:57 +0200
Can somebody please tell me exactly how to open ports in RedHat.
We want to use some internetphone programs behind a firewall.
For example open the ports 2074 and 2075 UDP and 2076 TCP
------------------------------
From: "campbell" <[EMAIL PROTECTED]>
Subject: Re: ISDN interface card and RH6 setup?
Date: Wed, 19 May 1999 18:55:04 -0500
The SuSe website has some excellent links for ISDN and Linux, as there has
been a lot of work done in this field in Germany. They list an ftp site
where you can get more info and some files I believe too. I am working on
the same problem, if you would like to keep in touch: [EMAIL PROTECTED]
I use both the SuSe and RedHat variations. I think it has as much to do
with your provider as it does with your configuration, and I have not had
much luck with mine, which frustrates me because I know they are a big "Unix
house"--using all Solaris equipment and even Linux as 2nd DNS, but they have
not given me any help with the ISDN TA. Good Luck!
Lim Chee Onn wrote in message <[EMAIL PROTECTED]>...
>Brian wrote:
>>
>> Hello,
>>
>> What do I need to do to setup RH6 to use my Eicon Diva 2.0 PCI ISDN
>> interface card? (U.S. U interface). I've been hunting around and
believe
>> I need to use the HiSax driver, but have no idea how to set it up. Where
>> can I find information on getting this all going? I couldn't find
anything
>> in any of the usual HowTo documents.
>>
>> Thanks!
>> Brian
>
>A quick look at the kernel sources documentation shows that the EICON
>DIVA is supported as 'Type 11'. I do not know much more as I do not yet
>have an ISDN connection here. Look in
>/usr/src/linux/Documentation/isdn/README.HiSax for more information on
>how to configure Linux to use your card.
>
>I believe that there is a Linux-ISDN homepage somewhere but it has
>slipped my mind for the moment. Try doing a search at www.deja.com for
>"linux isdn hisax" and see what it turns up.
>
>Cheers.
>--
>=========================================================
>A successful man makes more money than his wife can spend
>A successful woman finds the man above
>=========================================================
>Alex C. O. Lim
>Future Trend Computer Services
>http://www.ftrend.com.my
>=========================================================
------------------------------
From: Peter Nybo Rasmussen <[EMAIL PROTECTED]>
Subject: Nameserver on Linux (vs. HP-UX)
Date: Thu, 20 May 1999 15:55:19 +0200
Hi,
I'm considering running our DNS nameserver on Linux instead of HP-UX.
On HP-UX I have the very nice command "hosts_to_named" which converts a
textfile i host format to files in nameserver format (This allows people
without understanding of DNS to maintain the DNS databases).
Does anyone know if "hosts_to_named" or equivalent is available on Linux
?
--- Peter
[EMAIL PROTECTED]
------------------------------
From: "J. Alberto Villa Diez" <[EMAIL PROTECTED]>
Subject: BDS for Linux
Date: Thu, 20 May 1999 16:30:47 +0200
Does anyone knows if there is any implementation of BDS (Bulk Data
Service) for Linux?
Thanks
------------------------------
From: bryan <[EMAIL PROTECTED]>
Subject: Re: linux ADSL setup - name resolution problem
Crossposted-To: onenet.linux
Date: Thu, 20 May 1999 14:41:55 GMT
Bill Hatter <[EMAIL PROTECTED]> wrote:
: Why fork out the money for RH6??? Get Mandrake Linux for a couple of bucks
: online, or let me know, and I'll burn ya a copy for the price of a cd. It's
: just as good as RH(it's a RH clone), and I've been able to get it setup
: great.
how funny that we both were offering to burn this bloke a copy of mandrake! ;-)
THAT's the spirit that made linux great in the first place...
--
Bryan
------------------------------
From: Mike Michaud <[EMAIL PROTECTED]>
Subject: Need Linux SNMP documentation
Date: Wed, 19 May 1999 16:02:07 -0400
Is there any documentation on SNMP setup and programming for Linux?
Thanks in advance.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: mounting an exported filesystem
Date: Thu, 20 May 1999 14:10:05 GMT
In article <7i0o70$[EMAIL PROTECTED]>,
"Jantje Smit" <[EMAIL PROTECTED]> wrote:
> Hi! I've exported the /tmp dir on a HPUX 10.20 machine.
> When I run mount hp:/tmp /hp_tmp I get the following message:
> mount: RPC: Program not registered
>
> Any suggestions?
>
>
make sure nfsd is running on both machines
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: bryan <[EMAIL PROTECTED]>
Subject: Re: linux ADSL setup (pachell uptime and dsl quality)
Crossposted-To: comp.os.linux.setup,comp.dcom.xdsl
Date: Thu, 20 May 1999 14:48:36 GMT
only marginally related to the subj line-
if you want to see how well MY adsl (from pachell) is doing, go to my 'ping page':
http://www.Grateful.Net/
and select "Bryan's ADSL!" from the menu.
it will let you interactively select the X- and Y-scale values of the graphs.
you can zoom in/out in time and value and see how much red pachell has
put me thru. (green is valid ping responses and red are timeouts or
non-reachability).
I'm monitoring about 100 public sites - just for my own amusement.
whenever the graph has red marks that are all up and down (all sites),
there was something wrong with the ADSL connection to pachell. either
the piece-of-shit alcatel modem they give us or DNS issues or layer-3
issues or ATM issues - you name it, pachell messes it up. its pretty
far from 'production quality'.
I'm paying $200/mo for 1.5meg in and 384k out.
(the linux system that my CGI is running on is a dual celeron (2*450)
with a 10k rpm disk, 256meg ecc sdram and mandrake linux 5.x, fwiw).
--
Bryan
------------------------------
** 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
******************************