Linux-Networking Digest #280, Volume #11         Tue, 25 May 99 15:13:40 EDT

Contents:
  Re: PPP with MSCHAP - hint (Richard Birchall)
  Mapping drives with file as input ([EMAIL PROTECTED])
  Re: 1st IP-packet silences PPP-interace (Clifford Kite)
  Re: Problem routing from cable modem (was "Can't communicate with 2nd NIC") ("Tony")
  Re: no /dev/eth0
  Red Hat 5.2 NFS - Please Help (Matthew du Plessis)
  Multiple via-rhine NICs (Eric Sandeen)
  Solaris 7 as NFS Server for Linux (Yueshi)
  Re: All I want for Christmas is a ppp internet connection (Kevin Martin)
  Re: My Modem Cablemodem has got a Hangup. Might just be the pppd... ([EMAIL PROTECTED])
  Re: Can I mount a serial port on a WIN machine??? (Greg Menke)
  Re: Firewall (Eric LEMAITRE)
  PCAnywhere ("Indra Nusantara")
  Re: HP JetDirect ("Kenneth M. Stasick")

----------------------------------------------------------------------------

From: Richard Birchall <[EMAIL PROTECTED]>
Subject: Re: PPP with MSCHAP - hint
Date: Tue, 25 May 1999 14:36:25 GMT

In article <7icrq5$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Clifford Kite) wrote:

> I'll have to differ with the statement made in an earlier post that
> the remotename option is necessary though.  I'm able to connect to
> two ISPs using CHAP without it and I can't believe MS-CHAP is any
> difference in  that regard.  Or happens to just be coded differently
> for MS-CHAP in pppd. Why would it be needed?  The CHAP challenge sent
> by the peer contains the hostname for lookup in the second field of
> chap-secrets.


The remotename option is needed because the NT RAS server does not give
its name in the MS-CHAP challenge.

Therefore, there has to be an arbitrary string in both pppd options and
in chap-secrets.


Richard





--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

------------------------------

From: [EMAIL PROTECTED]
Subject: Mapping drives with file as input
Date: Tue, 25 May 1999 17:29:23 GMT

Does anyone know how to get a batch file to map to a workstations home
directory do a routine
disconnect and the move on to another workstation etc.  All the
workstations would be entered in
by using a text file as the input.  I cannot seem to get the NET USE
command to work with
the < command.  I know it needs to be in a loop, but has anyone ever
tried this before or has some
code as an example.

Thanks
Chris Cannata


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: 1st IP-packet silences PPP-interace
Date: 25 May 1999 09:05:36 -0500

Fredric Lonngren ([EMAIL PROTECTED]) wrote:

: I have a very strange ppp problem. I seem to be able to get a working
: ppp connection, but the first IP exchange over the interface makes it
: unusable. It's an external ISDN-modem that I have set according to log
: from a working modem setup under NT. I used the ppp log from the same NT
: setup to tailor the ppp-negotion accordingly, and have now what seems
: like a clean ppp-setup. The only difference from NT is that my ISPs
: ppp-server only asks for MS-PPC or STAC compression, niether of them
: available under Linux, so I turned of compression negotiation.
: The problem is that I can verify the ppp-connection with lcp-echoes, but
: after the first IP-packet exchange I don't get anything more over the
: interface.
: If I ping against an IP-number the first ping returns, but then nothing
: more. If I ping against a host name, the DNS lookup comes back
: correctly, but none of the pings comes back, and the lcp-echoes goes
: unanswered.

Everything looks fine until the pings begin to fail.  The PPP interface
and routing are good, and the PPP link negotiations look good.  The lack
of software compression shouldn't be a factor.

Do IDSN modems use the box's serial port as do most regular external
modems?  The only thing that comes to mind is whether the maximum
speed of 115200 for the ordinary PC serial port is sufficient for the
ISDN connection.  Although it's hard to see how this could result in
totally wiping out communications.

It's a good post but I don't have a good answer.

: I run this on a newly installed redhat 6.0 Linux box and had the same
: problem in redhat 5.2. Does anyone have any idea what may be causing
: this kind of problem? I have tried with asyncmap of both 0 (that the
: NT setup uses) and a0000 without any difference.

It's not an asyncmap problem.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* The signal-to-noise ratio is too low in many [news] groups to make
 * them good candidates for archiving.
 *    --- Mike Moraes, Answers to FAQs about Usenet */

------------------------------

From: "Tony" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Problem routing from cable modem (was "Can't communicate with 2nd NIC")
Date: Wed, 26 May 1999 00:41:56 +1000


Steve Snyder wrote in message ...
>Thanks to all who responded to my post "Can't communicate through 2nd NIC".
>I actually *can* communicate through the 2nd NIC; it's the routing of
>packets through it to the cable modem that's screwed-up.
>
>In that original thread I passed along some bad information.  I claimed
>that the IP address of the cable modem (a 3Com USR CMX) was 24.4.162.173.
>In fact, according to @Home's tech support:
>
>        10.71.5.44      = The IP address of the cable modem itself.
>        24.4.162.173    = The IP address assigned to me for use by my NIC.
>
>Given those numbers, what, if anything, is wrong with this configuration:
>
># /sbin/ifconfig -a
>-------------------
>eth0      Link encap:Ethernet  HWaddr 00:10:4B:9A:82:E5
>          inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:1650 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:1047 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:100
>          Interrupt:11 Base address:0xe400
>
>eth1      Link encap:Ethernet  HWaddr 00:60:97:C8:01:C8
>          inet addr:24.4.162.173  Bcast:24.4.162.255  Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:1391 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:1043 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:100
>          Interrupt:10 Base address:0xe800
>
># cat /etc/sysconfig/network
>----------------------------
>NETWORKING=yes
>FORWARD_IPV4=false
>HOSTNAME="corona.snydernet.lan"
>DOMAINNAME=snydernet.lan
>#GATEWAY=
>#GATEWAYDEV=
>GATEWAY=24.4.162.173
>GATEWAYDEV=eth1


Think of it as a normal network

Now for your Linux box to get anywhere it needs to go thru a router / gatway
device, the router is NOT your network card or or anything like it.

IT is the cable modem> and it's IP address

So the Cable modem IP address is the gateway, and it happens to be connected
to one of your network  cards (eth1), that has an IP address of 24.4.162.173

If your gateway is yourself, how to you get thru the gate????

All other machines connected to your Linux box <to surf say> can use the
Linux box as their gateway, but the Linux box cannot use it's self as the
gateway for it's self.

Tony



------------------------------

From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: no /dev/eth0
Date: Tue, 25 May 1999 13:49:56 -0400

On Mon, 24 May 1999, Neil wrote:

> hi
> 
> I've installed SUSE 6.1 on my dell lattitude cpi 300. 
> 
> Installed the PCMCIA package etc.
> 
> Ethernet card detected at boot. But the initial installtion didn't create
> /dev/eth0 so I can't connect to my network.
As others have noted, there's no /dev/eth0...

> What's happened and any ideas how I can fix it pls. I've checked the
> HOWTOs etc.
What's happened is that your init scripts have tried to load the network
before the cardbus nic is recognized.  I've go the same card in another
CPi.  Eventually, you may want to change the order of your init scripts,
so the pcmcia modules (i.e., cb_enabler and 3c575_cb) are loaded before
the network.  In the meantime, try this:  after you login, check with
"ifconfig" to verify you only have lo, then issue "network restart" (I'm
not at my pc, but I believe it's in /etc/rc.d/init.d - someone correct
me if I'm wrong, since I'm so new at linux).  You should now see eth0,
and you can go about setting up your route(s).

c
-- 
Clifford Green               Internet -  [EMAIL PROTECTED]
Academic Computing Services                    UMDNJ-IST


------------------------------

From: [EMAIL PROTECTED] (Matthew du Plessis)
Subject: Red Hat 5.2 NFS - Please Help
Date: Tue, 25 May 1999 18:35:18 GMT

Hi 

I'm trying to set up a mount from a machine running AIX 4.1 to a PC
running RH 5.2

The command

mount -n chem2 /home/chem /mnt

works, however when I try 

mount -n chem2 /home/chem/pgm /mnt

to get to the level I want I get an error message saying I do not have
the necessary permissions. This also happens if I try mounting from
the linux box using the localhost option logged on as root. When I
mount the parent directory it allows me access to the pgm subdir and
the permissions on the subdir allow access to all.

Any help will be appreciated
Matthew du Plessis
[EMAIL PROTECTED]

------------------------------

From: Eric Sandeen <[EMAIL PROTECTED]>
Subject: Multiple via-rhine NICs
Date: Tue, 25 May 1999 09:24:38 -0500

I have 2 PCI NICs which use the via-rhine module.  These cards are
identical (except for the MAC id, of course)

I have

alias eth0 via-rhine
alias eth1 via-rhine

in my conf.modules file.

When the module loads, it detects the first card at IRQ 10, and creates
the eth0 interface.  It then detects the second card at IRQ 11, and ....
nothing.  No eth1.  I have swapped the second card from another
functioning machine, so I know that both cards are good.

/proc/pci shows both cards, at IRQs 10 and 11.

This is kernel 2.2.6....

Any ideas?  I tried passing explicit IRQ information when the module was
loaded, but the module says that "irq" (and "IRQ") is not a valid option
for this module.

Any ideas?

Thanks,
-Eric

------------------------------

From: [EMAIL PROTECTED] (Yueshi)
Subject: Solaris 7 as NFS Server for Linux
Date: 25 May 1999 20:36:28 +0200

Sorry for the previsous, corrupted posting!

Dear collegues,

I have a problem with the Solaris 7, since I'm trying to let my Solaris 7
computer be the NFS server for Linux, which is connected to the Solaris 7
machine with a 10Mbps network.  If I try to connect from the Linux machine
to Solaris, either by telnet or ftp, I had to wait for up to about 2-3
minutes, until I get the login prompt.  And the situation is even worser
if I try to use Solaris as NFS server.  I actually need to try many times,
until I'm coming into the moment, in which the Solaris server is willing
to response, and the NFS client don't stop with a timeout.  Are there any
possibilities to overcome this problem?

Thanks!

Yueshi Lai


------------------------------

From: [EMAIL PROTECTED] (Kevin Martin)
Subject: Re: All I want for Christmas is a ppp internet connection
Date: Tue, 25 May 1999 15:13:18 GMT

In article <[EMAIL PROTECTED]>, it says Sandwalker 
<[EMAIL PROTECTED]> wrote:

>my ISP has what seems like very explicit instructions to set up a
>linux connection (with PAP secruity) 

Okay, that's good.  You're lucky to have them.

>    they have listed a +ua option and the pap-secrets file location as
>an option.  I don't know what they are for, but they are not in the pppd
>man page.  They caused errors in the execution, so I took em out.

Bad puppy.  No biscuit for you. :-)  Seriously, when someone tells you you 
NEED X, Y, and Z, do not expect to leave two of them out and still have it 
work.   You MUST turn on "use-pap" and provide a pap-secrets file, or you 
won't connect to that ISP.  If putting them in gives you errors, something 
is wrong with your pppd version.  You may have to rebuild pppd; if so, my 
page (below) will walk you through that.

>It appears the connect script fails (the ppp-on-dialer chat script ?),
>but I have no idea what is wrong, if that is actually what is wrong.  

You may still be looking for a username and password prompt, and on a PAP 
system you WILL NOT receive either one of those.  The script should end as 
soon as the modem finishes dialing; pppd takes over and does the PAP 
negotiation to log you in.  (That's what PAP is all about.)  If your script 
is waiting for an "ogin:" prompt, that script WILL fail.

>If someone could please help me or recommend a better way to get
>online, I would deeply appreciate it.  I am extremely frustrated.

See http://www.brasscannon.com/Linux/   -- skip over the "recompile the 
kernel" stuff for now and go directly to the part about configuring PAP.  
(You don't have to set up demand-dialing if you don't want it; just take out 
the "demand" line in the "options" file.  That's the only part that requires 
rebuilding pppd as far as I know.)

But do check the part about adding compression schemes to the modules list; 
you can connect without that but it'll save you trouble later.  I'd print 
the whole page out  -- you may want to come back and add more features 
later, once you're connecting reliably.  So:

* Replace your chat script and options file with my examples;
* Give it the correct phone number (555-1212 probably won't work ;-)
* Provide a pap-secrets file as described, protected so only root    can 
read it;
* Type "pppd &" as root.   (You'll want to fix it so regular users can do it 
   eventually, but let's take it one step at a time.)

I bet it'll connect right away.  Try to ping your provider's IP address (you 
do know it, right?) - that should work.  Use Ctrl-C to stop it.  Then try to 
ping it by name.  If the latter doesn't work, you'll need to tell your 
system how to find their nameserver so you can resolve names; info on doing 
that is on my Web page.

As soon as you've done that, you're good to go with Netscape and any other 
'net software you want to use.  Then you can think about adding demand 
dialing, IP masquerade if you have other networked machines, etc etc.  Or 
not, your choice.

Good luck!

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: My Modem Cablemodem has got a Hangup. Might just be the pppd...
Date: Tue, 25 May 1999 17:48:25 GMT

In article <7ic7oc$[EMAIL PROTECTED]>,
  kite@NoSpam.% inetport.com (Clifford Kite) wrote:
> Clifford Kite (kite@NoSpam.% inetport.com) wrote:
>
> : The chat login/password scripting can then almost certainly be
removed,
> : and your   CONNECT ''  replaced by   CONNECT '\dc\' to avoid
possibly
>                                        ^^^^^^^^^^^^^^
> That should be  CONNECT '\d\c' .
>
> : confusing the ISP.
>
> --
> Clifford Kite <kite@inet% port.com>                       Not a guru.
(tm)
>

Not necessarily a guru required from my end.

OK. That above \d\c just locked up my ppp 2.3.7 now. Having upgraded.

I managed to help ctvm. I tried their help, still no success.
Though I wasn't previously using all caps on my userid. One bullet down.

Dejanews won't let me cut&paste my latest ppp log output.

Also, ctvm says their static ISP is "10.0.0.1", which I have specified.

So, what else could it be? I'm running Linux 2.2.6 now BTW. Just need
Cablemodem running.


Mahipal "It's been a bitch this communications thing(y)!" Virdy



--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

------------------------------

From: Greg Menke <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.os.linux,aus.computers.linux,comp.os.linux.help,linux.redhat.misc
Subject: Re: Can I mount a serial port on a WIN machine???
Date: 25 May 1999 14:15:23 -0400


There are a few people who've written server software that runs under
NT/95 which redirects communications from a TCP/IP socket to a comm
port.  There is at least one GPL and one proprietary solution.
Similar programs (termpkg...?) exist for Linux as well.

Check Simtel for the Winderz version.

Gregm


> Can I mount a serial port from my Win box?  I have a Linux server
> samba'd to a Win98 box.  What I want to do is mount a com port on the
> win macine to linux. Maybe something on this order (though this does
> not work)  mount //Win98/com3 /mnt/winmodem
> ( Oh and would be a BIG aid if I could specify the win IRQ)
> 
> tnx in advance

------------------------------

From: Eric LEMAITRE <[EMAIL PROTECTED]>
Subject: Re: Firewall
Date: Tue, 25 May 1999 19:40:27 +0200

Henrik Krogh a �crit :

> I am installing af linux-server (RH 5.2) as a firewall/proxy, according to
> the How-to.
> I have installed 2 nic's in the server, one with an IP that is on the
> internet and one with IP that is on our LAN.
> The linux-server can see the internet (I am able to ping various
> internet-adresses) and the LAN (I am able to ping local machines).
> The computers in the LAN can ping both nic's in the linux-server, but not
> internet-adresses.
> I have compiled the kernel as decribed in the How-to and Ipforwarding is
> turned on!
> Hope you have an answer
> Henrik Krogh

Hi !

Use "ipfwadm" commands to define your firewall filtering, to be placed later
in "/etc/rc.d/rc.local" by example. Many examples in "firewall & proxy" HOWTO.

Bye !


------------------------------

From: "Indra Nusantara" <[EMAIL PROTECTED]>
Subject: PCAnywhere
Date: Tue, 25 May 1999 22:24:08 +0700

Hello All,

I am really new to this Linux world. I have just succesfully setup a RedHat
5.2 box.

I have several NT servers that I usually administer from my Win98 PC through
PCAnywhere.

Is there a way to do that in Linux ? I mean, can I remotely connect to my NT
PCAnywhere hosts from the LInux machine ?

I really appreciate any sugestions. Thanks.

--
Regards,

Indra Nusantara
[EMAIL PROTECTED]



------------------------------

From: "Kenneth M. Stasick" <[EMAIL PROTECTED]>
Subject: Re: HP JetDirect
Date: Tue, 25 May 1999 18:47:39 GMT

The HP JetDirect EX series of print servers are exactly that; print
servers.  They will broadcast SAP packets for IPX networks and with
function as a completely independent lpd server for Unix environments.
By default, the JetDirect will try to obtain an IP address from a BOOTP
server.  If you don't have one, you'll have to use JetAdmin to configure
the IP address; however, you can't use JetAdmin without IPX on the wire.

Once you have an IP address configured, you'll need to add a section
similar to the following in /etc/printcap on your Linux box.

remote_printer:\
        :lp=/dev/null:\
        :rm=11.22.33.44:\
        :rp=text:\
        :sd=/usr/spool/remote/remote_printer:\
        :lf=/usr/adm/lpd-errs:

The 'rm' parameter is the address of the JetDirect server.  The 'rp'
parameter is the "printer" on the server.  That may sound odd because
you may only have a single printer attached to this device; however,
what this allows for is a remote server with many attached printers
(including HP JetDirect EX3 external print servers, which have three
parallel ports to attach printers).  Use the "text" printer for plain
ASCII documents, use the "raw" printer for documents which are PCL5.
Also, on the EX3, there are a total of eight "printers" available: text,
raw, text1, raw1, text2, raw2, text3, raw3.  The number refers to the
port that the printer is attached to; text and raw are equivalent to
text1 and raw1.

Ken

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


------------------------------


** 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
******************************

Reply via email to