Linux-Networking Digest #433, Volume #12          Wed, 1 Sep 99 01:13:30 EDT

Contents:
  D-link 220??? ("Kim V. & Steve S.")
  Re: How to connect à simple terminal to à linux machine ("Sagolsem C")
  Re: Linux as router. (Tom Eastep)
  Re: Need introduction on sendmail!!!! ("Sagolsem C")
  Re: Need introduction on sendmail!!!! ("Cowles, Steve")
  Re: Linux as router. (R. Christopher Harshman)
  Re: anon-ftp (Coredump)
  Re: Concerning NAT and IP_Masq.??? (Rod Smith)
  Re: Distributions (Steve - RH Linux User)
  Re: Samba: Linux and NT (Lucius Chiaraviglio)
  Finding my network card (Seth Rothberg)
  Re: pppd 2.3.9 won't compile ("dps")
  Re: NFS and permission denied (Allen Wong)
  Re: Finding my network card (Kyle Hargraves)
  Does HP LaserJet 4/5 driver work thru Netware in RH6 ? (Niann Shiang)
  Re: Remote printing from DGUX to Linux (Allen Wong)
  DHCP and detecting IP changes (Lorin Hochstein)
  Re: Where to Find Info (Allen Wong)
  Re: IPMASQADM (Allen Wong)
  Re: Starting Ethernet at boot in RH 5.2 (Allen Wong)
  Re: RH 6.0 PPP connection (Allen Wong)
  Re: Connecting to NT Server ("Matt Anderson")
  Re: Cobalt Qube 2 Windows file sharing partial failure -- FIXED! (actually 
workaround) (Lucius Chiaraviglio)
  Re: DHCP troubles (Tom Eastep)
  Samba smb.conf print spooling commands (Pat Cassidy)
  RH 6.0, PPP, and my ISP (Josh Thompson)

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

From: "Kim V. & Steve S." <[EMAIL PROTECTED]>
Subject: D-link 220???
Date: Tue, 31 Aug 1999 17:51:16 -0400

I just ditched the magitronic card that I had and got a D-link 220 in
exchange. Is this card going to work with Linux??

I really hope so...

Steve



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

From: "Sagolsem C" <[EMAIL PROTECTED]>
Subject: Re: How to connect à simple terminal to à linux machine
Date: Tue, 31 Aug 1999 17:57:27 -0400

You just have to add a line like

S0:3456:respawn:/sbin/getty ttyS0 DT9600 vt100

in your /etc/inittab  and do a init q. It is assuming the fact taht you are
connecting the terminal to ttyS0 ( Com 1 ) and your terminal type is VT100
and speed is 9600 bps
Though tere are many other issues like getting the null modem cable right
etc. Things can get a bit too much in cable design depending on yor
terminal, like harware handshake etc. etc. For indepth details read
Serial-HOWTO.

Good luck !

Sagolsem C


Igor GODI <[EMAIL PROTECTED]> wrote in message
news:01beb397$4d1359e0$390f81d4@486dx4-100...
> I search how to connect à simple terminal by RS232 ligne to my linux
> machine
>
> Thank you



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

From: Tom Eastep <[EMAIL PROTECTED]>
Subject: Re: Linux as router.
Date: Tue, 31 Aug 1999 23:18:30 +0000

"R. Christopher Harshman" wrote:
> 
> I've got a box with two NICs in it that I'm trying to set up as a
> router.  One NIC is assigned 192.168.0.150, and is connected to
> the downstairs LAN.  The other is assigned 192.168.3.1 and should
> be the gateway for the 3rd floor.  I'm running a basically stock
> Debian 2.1 (Kernel 2.0.36, recompiled).  The box is called 'jump-gate'
> 
> The third floor boxen can access jump-gate (ssh and http), and
> jump-gate can get to the Internet (192.168.0.1 is hooked into a
> DSL feed downstairs, and is running IP Masq'ing).  But the third
> floor boxen cannot get to the Internet through jump-gate.  (I've set
> up Apache w/ Proxy on jump-gate as a temporary stopgap.)
> 

Have you enabled IP forwarding via:

        echo 1 > /proc/sys/net/ipv4/ip_forward

-Tom
-- 
Tom Eastep               \    Opinions expressed here
[EMAIL PROTECTED]        \    are my own and not 
Shoreline, Washington USA  \    those of my employer
Work: [EMAIL PROTECTED] \________________________

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

From: "Sagolsem C" <[EMAIL PROTECTED]>
Subject: Re: Need introduction on sendmail!!!!
Date: Tue, 31 Aug 1999 18:03:42 -0400

Sendmail is a complex software. You have to do some reading to understand
it, though getting it work is just a matter of minutes because the
configuration files are almost readymade.

Read TCP/IP nutshell book from O'Reilly Associates to get an introduction to
Sendmail. Well there are more ORA books on just sendmail if you want to get
into it.

Good luck.

Sagolsem C

Stefan Carstens <[EMAIL PROTECTED]> wrote in message
news:4QRy3.439$[EMAIL PROTECTED]...
> Is there somebody who can help me to started with sendmail?
> please mail to [EMAIL PROTECTED]
>
>
>



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

From: "Cowles, Steve" <[EMAIL PROTECTED]>
Subject: Re: Need introduction on sendmail!!!!
Date: Tue, 31 Aug 1999 19:52:36 -0500

try www.sendmail.org

Steve Cowles
SWcowles at gte dot net

Stefan Carstens <[EMAIL PROTECTED]> wrote in message
news:4QRy3.439$[EMAIL PROTECTED]...
> Is there somebody who can help me to started with sendmail?
> please mail to [EMAIL PROTECTED]
>
>
>



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

From: R. Christopher Harshman <[EMAIL PROTECTED]>
Subject: Re: Linux as router.
Date: Wed, 01 Sep 1999 02:18:31 GMT

Yes.

I think it's a routing problem.  The network looks sort of like
this:

*** internet <--->  sprawl [192.168.0.1] <---+---> 192.168.0.0 network
                                             |
                                             |
                     [eth1:192.168.0.150] <--+
           jump-gate [eth0:192.168.3.1]   <--+
                |
                |
                +---> 192.168.3.0 network

Now, if I put a static route into sprawl pointing at, say, my
machine [192.168.3.100] everything works as it should:

sprawl:~# route add 192.168.3.100 gw 192.168.0.150

But hand-coding routes to every potential host is obviously
less than ideal.  However, when I try to simply add a net
route, I don't seem to be able to:

sprawl:~# route add -net 192.168.3.0 gw 192.168.0.150
SIOCADDRT: Invalid argument

Eh?

FWIW, sprawl is running RedHat 6, jump-gate is running Debian 2.1.
TIA!

- Chris




In article <[EMAIL PROTECTED]>,
  Tom Eastep <[EMAIL PROTECTED]> wrote:
> Have you enabled IP forwarding via:
>
>       echo 1 > /proc/sys/net/ipv4/ip_forward
>
> -Tom
> --
> Tom Eastep               \    Opinions expressed here
> [EMAIL PROTECTED]        \    are my own and not
> Shoreline, Washington USA  \    those of my employer
> Work: [EMAIL PROTECTED] \________________________
>

--
R. Christopher Harshman             http://ebhon.jnst.uor.edu/~harshman
Going for a B.S. : "Information Systems and Media Production" (JNST-UOR)
Celeron 300a | i440BX | Mystique 220 + RRStudio | SB Live! | Win98
PIII-450 | i440BX-2 | Fusion AGP 3Dfx Banshee | Yamaha PCI | Linux / NT


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

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

From: [EMAIL PROTECTED] (Coredump)
Subject: Re: anon-ftp
Date: Wed, 01 Sep 1999 02:44:49 GMT

On Wed, 01 Sep 1999 00:08:38 GMT, [EMAIL PROTECTED] (Speedy Fast)
wrote:

>I am having problems giving upload access to anonymous FTP.  I checked
>all my permissions on my directory.  In fact I got so frustrated i
>just opened up the whole ftp directory with the intent in changing
>everything back.
>
>But I having problems giving upload access to my anonymous ftp users.
>I uninstalled and reinstalled the RPM with no luck.  I have read the
>man pages but with no luck.
>
>What am i missing?

Look at the man page for ftpaccess. 

You need to make some entries in /etc/ftpaccess to allow uploads.

core

-- 
[EMAIL PROTECTED]
www.enteract.com/~coredump
Dodging pot-holes on the Information Superhighway

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Concerning NAT and IP_Masq.???
Date: Wed, 01 Sep 1999 00:00:19 GMT

[Posted and mailed]

In article <7qgp98$m94$[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> Hello all,
> 
> I have a question concerning NAT and IP_Masquerading.
> 
> Here is my situation.  I have 4 machines running IP to get on the
> Internet, and only one valid IP address to use.  What I want to do
> is simple.  I want to run a Linux firewall (IPCHAINS) that does address
> translation for the rest of the machines.  Which is better, IPCHAINS
> with ip_masquerading or NAT for Linux?

IP masquerading is what you want.

> I am not too concerned with the the firewall portion of it as I
> want all trffic to go out and com in, my main concern is with the
> address translation but am unsure of which one to use.  From what I
> understand (IP_masq HOWTO) not all ports work with masq.

It's not so much the ports as it is the PROTOCOLS.  The most common
protocols do work with IP masquerading, at least when the client is on the
internal network and the server is on the Internet.  (Going the other way
is MUCH trickier.)  A few, such as some Internet telephony and video
protocols, don't work as of yet.  I don't know if these protocols would
work any better with NAT, though.

> and in order
> to use it I have to have a DNS set up and working on my private
> network???

No.  It doesn't hurt to have DNS on your private network, but DNS requests
get masqueraded just like anything else, and so work fine.

> As for NAT I cant find too much documentatio out there.

Try:

http://linas.org/linux/load.html

> Is there a way to do this using extrenal DNS servers?

Just list their IP addresses as usual in the internal network computers'
"DNS computers" configuration fields.

-- 
Rod Smith
[EMAIL PROTECTED]
http://members.bellatlantic.net/~smithrod
Author of _Special Edition Using Corel WordPerfect 8 for Linux_, from Que

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

From: Steve - RH Linux User <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Distributions
Date: Wed, 01 Sep 1999 02:15:26 GMT

root wrote:
> 
> I've been using RedHat for about 3 months now, and I really like the
> whole linux thing.  What I'm looking for though, is maybe a distrabution
> that's not quite so easy to set up.  I'd really like to get my hands
> dirty, buckle down, and see what kind of problems I can encounter by
> using a distribution that's not quite so user friendly.
> Any sugestions?

  Debian is supposed to be more rc and conf centric.

-- 
Steve Ackman                                        
Manager, New Age Forum                     http://www.delphi.com/newage
Glass Host, Arts & Crafts                  http://www.delphi.com/crafts
Metamorphosis Glassworks Page         http://people.delphi.com/stackman
 -- MSN uses Unix -- http://homepages.msn.com/hobbyct/stackman

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

From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Subject: Re: Samba: Linux and NT
Reply-To: [EMAIL PROTECTED]
Date: Wed, 01 Sep 1999 02:52:45 GMT

"Weapon X" <[EMAIL PROTECTED]> wrote:
>Hey, I've been working at this thing for days. I've managed to get my =
>Linux box in my Network Neighborhood and it looks like I set up Samba =
>and the Samba shares just fine (as per the Samba documents that I have =
>printed up).=20
>
>But when I go to access the shares from my NT box, the login screen =
>comes up, I punch in my login info and it says: sorry not authorized to =
>login in from this machine. (But I can Telnet and FTP into my Linux box =
>just fine) Again I read all the Samba docs, but they don't seem to be =
>any help.

        This sounds like it could be the exact same problem we were
having with our Cobalt Qube 2 -- whatever method you are using to set
your general Unix password may not be setting the Samba password.  If
you set your general password using the "passwd" command I wouldn't
expect it to -- some other utilities may set both at once, but might
be buggy, like the one on the Cobalt Qube 2.

        Also, make sure your Samba is set up to accept encrypted
passwords (I don't know why this isn't the default, at least not in
Samba 1.9x).

Lucius Chiaraviglio | [EMAIL PROTECTED]
--
To reply to this message, remove the first three letters from my user
name.  If you are seeing this in an e-mail message, it is because I am
posting it and e-mailing it at the same time -- normal e-mail messages
from me do not have this feature.
--
Note:  My news server has a very short expiration time (around 10 days
for most groups), so I will likely miss your reply unless you send it
by e-mail in addition to posting it.

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

From: Seth Rothberg <[EMAIL PROTECTED]>
Subject: Finding my network card
Date: Tue, 31 Aug 1999 22:16:42 -0400

I've got a 3com Fast Etherlink XL PCI (3905C-TX) NIC in my box and I'm tr=
ying to
get Red Hat 6.0 to find and use it. It works fine in Windows 98. But in L=
inux,
when I run "ifconfig eth0 192.168.140.1" I get told that eth0 is an unkno=
wn
interface.

Questions: Is eth0 an unknown interface because I don't have the right dr=
iver
for my card? I'm using the 3c590/3c900 series. If those are not the right
drivers, is there any way in Red Hat to get Linux to find which card it t=
hinks
I have. I thought it did when I installed it, but I didn't pursue it
as I wasn't ready to set up networking then.

Another question: If getting the eth0 interface working has nothing to do=
 with
finding the right driver for my card, or even if it does, how do I get  t=
he
eth0 interface up and running?

Thanks,
Seth

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

From: "dps" <[EMAIL PROTECTED]>
Subject: Re: pppd 2.3.9 won't compile
Date: Tue, 31 Aug 1999 22:49:20 -0400

Thank you all ... worked like a charm!!

Forgive me if this was something obvious that I overlooked in my haste.

- peter



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

From: Allen Wong <[EMAIL PROTECTED]>
Subject: Re: NFS and permission denied
Date: Tue, 31 Aug 1999 20:31:35 -0700

Bill,

    What do you get when you issue this command?

/usr/bin/showmount -e <NFS servername>

Could you also post your exports file?

Allen
-- 
Linux:  If you're not careful, you might actually learn something.

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

From: Kyle Hargraves <[EMAIL PROTECTED]>
Subject: Re: Finding my network card
Date: Wed, 01 Sep 1999 03:52:53 +0000

Seth Rothberg wrote:
> 
> I've got a 3com Fast Etherlink XL PCI (3905C-TX) NIC in my box and I'm trying to
> get Red Hat 6.0 to find and use it. It works fine in Windows 98. But in Linux,
> when I run "ifconfig eth0 192.168.140.1" I get told that eth0 is an unknown
> interface.
> 
> Questions: Is eth0 an unknown interface because I don't have the right driver
> for my card? I'm using the 3c590/3c900 series. If those are not the right
> drivers, is there any way in Red Hat to get Linux to find which card it thinks
> I have. I thought it did when I installed it, but I didn't pursue it
> as I wasn't ready to set up networking then.
> 
> Another question: If getting the eth0 interface working has nothing to do with
> finding the right driver for my card, or even if it does, how do I get  the
> eth0 interface up and running?
> 
> Thanks,
> Seth

If `ifconfig -a` doesn't list eth0 as a known device (even if it is down), then
you don't have the correct driver in your kernel. Just recompile with support
if that's the case.

-- 
Kyle Hargraves
man(1) pages are good for the soul.

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

From: [EMAIL PROTECTED] (Niann Shiang)
Crossposted-To: comp.os.linux.setup
Subject: Does HP LaserJet 4/5 driver work thru Netware in RH6 ?
Date: Wed, 01 Sep 1999 02:42:25 GMT

After successfully installing Netware package in RH 6.0 and having it
configured as a client, I could see entire network thru slist.
However, network printing to HP4000 or HP 4x  LaserJet did not seem to
work with drivers availabe in RH6.  Only garbage characters were
printed out on so many pages of paper wasted.  I called RH technical
support for support. The answer I got is that network printing (and
third-party software as well) is not in the list for 30-day phone and
90-day email support.  Does anyone know if HP LaserJet 4xxx network
printing work thru Netware in RH6 ? and any tricks ?

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

From: Allen Wong <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Remote printing from DGUX to Linux
Date: Tue, 31 Aug 1999 20:27:13 -0700

Kevin,

    Install lsof if you haven't already done so (If you don't know where
to get it, do a search for it at http://news.freshmeat.net).  Then issue
the command, "lsof -i".  Look for this line:

lpd          75  root    5u  inet     57       TCP *:printer (LISTEN)

If you don't have it, then it means "lpd" isn't listening on port 515. 
Kill it and restart it with this command:

/usr/sbin/lpd 515

Now, try printing from your DGUX machine.  Good luck!
              
Allen
-- 
Linux:  If you're not careful, you might actually learn something.

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

From: Lorin Hochstein <[EMAIL PROTECTED]>
Subject: DHCP and detecting IP changes
Date: Tue, 31 Aug 1999 23:43:02 -0400

Some DHCP questions:

1) When you're using a DHCP client to get an IP address, and you're
re-assigned a new IP address, what happens to networked applications
that are already running? Let's say you're doing a download by FTP and
your IP changes. Do the sockets close? Is it transparent? If it's
transparent, how does that work???

2) Is there any way to write a Linux application that can detect when
your IP changes? I'd like to have a daemon running that detects when I'm
re-assigned a new IP (using DHCP), and then takes some action. I realize
that polling at regular intervals is possible, but I was wondering if
there was a nicer solution.




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

From: Allen Wong <[EMAIL PROTECTED]>
Subject: Re: Where to Find Info
Date: Tue, 31 Aug 1999 20:19:23 -0700

Kees,

    The 3Com 905 NICs use the same driver as the 3Com 590, 3c59x.

Allen
-- 
Linux:  If you're not careful, you might actually learn something.

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

From: Allen Wong <[EMAIL PROTECTED]>
Subject: Re: IPMASQADM
Date: Tue, 31 Aug 1999 20:16:36 -0700

Luke,

    Try something like:

/sbin/ipfwadm -I -a accept -S <game server> 2300:2400

HTH

Allen
-- 
Linux:  If you're not careful, you might actually learn something.

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

From: Allen Wong <[EMAIL PROTECTED]>
Subject: Re: Starting Ethernet at boot in RH 5.2
Date: Tue, 31 Aug 1999 20:18:14 -0700

Rob,

    Isn't there an option to start eth0 at bootup in netcfg?

Allen
-- 
Linux:  If you're not careful, you might actually learn something.

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

From: Allen Wong <[EMAIL PROTECTED]>
Subject: Re: RH 6.0 PPP connection
Date: Tue, 31 Aug 1999 20:28:41 -0700

Jubbi,

    Log in as "root".  Will it dial if you do this?

echo "atdt <phone number>" >/dev/ttyS1

Allen
-- 
Linux:  If you're not careful, you might actually learn something.

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

From: "Matt Anderson" <[EMAIL PROTECTED]>
Subject: Re: Connecting to NT Server
Date: Wed, 1 Sep 1999 12:53:15 +1000

I am also setting up a similar type of arrangement, on a slightly larger
scale.  We have a 10 user LAN with W95 on the desktops and one server
running NT and IIS (dialup modem also connected for desktop internet access
across the LAN).

I'm trying to set up my RH6 Linux box so that it can not only connect to the
LAN, but also ping external IP addresses.

So I have assigned the Linux box a private IP address... ie 10.0.0.x and
have put in the NT server IP address as the default gateway.  However, I do
not have a name server on the network and am unable to resolve names, plus
if I ping any external addresses all I get are packets that wander off into
nowhere.

Any suggestions anyone?

Thanks.



<[EMAIL PROTECTED]> wrote in message news:7qhdm7$703$[EMAIL PROTECTED]...
> I have 2 computers on my desktop, a Linux box and a Win95 box.The WIN95
> is connected to an NT server that I have to log onto whenever I boot it.
> I would like to connect the Linux box to the NT server etc. I am quite a
> Newbie to Linux could anybody guide me through it?  I know this question
> has probably been answered somewhere else at some other time.
> I had figured I need Samba, but I have been subsequently told that is is
> not the case. Could someone tell me how I would be able to connect to an
>  NT Server, so that I can access the Network.  Thanks in advance for
> your assistance.
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.



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

From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Crossposted-To: comp.os.ms-windows.nt.admin.networking,comp.protocols.smb
Subject: Re: Cobalt Qube 2 Windows file sharing partial failure -- FIXED! (actually 
workaround)
Reply-To: [EMAIL PROTECTED]
Date: Wed, 01 Sep 1999 02:52:45 GMT

lorax <[EMAIL PROTECTED]> wrote:
>In comp.os.linux.networking Lucius Chiaraviglio <[EMAIL PROTECTED]> wrote:
>:      I won't bore you all by reposting the details of the problem,
>: but to summarize, I found out earlier that some accounts on the Cobalt
>: Qube 2's (we have 2, on in each of 2 offices) cannot log into their
>: shared file folders using Windows file sharing.  [. . .]
>
>:      By accident, I found that the real reason for this is that the
>: Cobalt Qube 2 main password (for unix logon and accessing your
>: personal profile and web pages) and Windows file sharing (Samba)
>: password are stored separately, and the synchronization between
>: changes to these passwords is not completely reliable.  [. . .]
>
>This was done to support Windows Encrypted passwords, they are stored in 
>/etc/smbpasswd, and when you change a user's password through the Cobalt UI, it also 
>updates this file using the gethash function(part of the Samba dist).  
>
>So users can't use the password function in the Windows Control Panel.  

        I know that last part -- I guess (although if it is in the man
pages it is thoroughly buried) that Windows password encryption must
produce a different encryption string than Unix password encryption,
thus requiring a separate smbpasswd file.  The problem on the Qube is
that the Cobalt Web-UI function for changing your password is supposed
to change both /etc/passwd and /etc/smbpasswd, but it is apparently
buggy and doesn't always do its job, and doesn't let you know when it
didn't do it (until you try the file sharing and it doesn't work, and
you happen to know that this is the first wrong thing to look for).

Lucius Chiaraviglio | [EMAIL PROTECTED]
--
To reply to this message, remove the first three letters from my user
name.  If you are seeing this in an e-mail message, it is because I am
posting it and e-mailing it at the same time -- normal e-mail messages
from me do not have this feature.
--
Note:  My news server has a very short expiration time (around 10 days
for most groups), so I will likely miss your reply unless you send it
by e-mail in addition to posting it.

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

From: Tom Eastep <[EMAIL PROTECTED]>
Subject: Re: DHCP troubles
Date: Wed, 01 Sep 1999 03:31:44 +0000

Lyle Hanson wrote:
> 
> Hello!  Hope somebody can help!
> 
> I just set up my system on the university's network.  This year instead
> of static IPs, they are now using dhcp.  I set everything up in Windows
> 98, and it works fine.  Linux, however, is proving to be a bit more
> difficult.  This confuses me a little: in Win98 Networking (TCP/IP)
> properties, under WINS configuration, I'm supposed to Disable WINS and
> NOT use DHCP for WINS resolution. It works, but is it really using
> DHCP?  It may not be relevant to my linux problem, but just a thought.
> 

Use of DHCP for WINS resolution has nothing to do with obtaining an IP
address. In other words, it's not relevant to your current problem.

A couple of things:

a) Why are you running DHCPD? That daemon allows your system to be a
DHCP _server_! From your boot logs, you only have one NIC so you
certainly don't want to be running this if you are trying to get an IP
dynamically from another DHCP server.

b) DHCPCD is pretty much deprecated with the 2.2.* kernels -- you should
be using dhcpclient or pump.

-Tom
-- 
Tom Eastep               \    Opinions expressed here
[EMAIL PROTECTED]        \    are my own and not 
Shoreline, Washington USA  \    those of my employer
Work: [EMAIL PROTECTED] \________________________

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

From: [EMAIL PROTECTED] (Pat Cassidy)
Subject: Samba smb.conf print spooling commands
Date: Tue, 31 Aug 1999 23:58:31 -0400

I'm trying to get printing set up on a Samba server for the 1st time and 
have a question about the smb.conf for printers.

I can print test pages to lp,lp1,lp2 (LPT1, 2 and 3) from Linux printer 
configuration utility, and I can see and attach to each the shares from a 
Win9x box, but Winx print jobs seem to go into the bit bucket.

I was trying to figure this out and ran testparm against my smb.conf 
file. I was surprised to see the the printing related stuff was like 
this:

        printing = sysv
        print command = lp -c -d%p %s; rm %s
        lpq command = lpstat -o%p
        lprm command = cancel %p-%j
        lppause command = lp -i %p-%j -H hold
        lpresume command = lp -i %p-%j -H resume
        queuepause command = lpc stop %p
        queueresume command = lpc start %p

I looked on the system and couldn't even find a program called lp or 
lpstat or cancel. This apparently is the "default" printing configuration 
from 2.03 that came with RedHat 6.0 (and also Caldera 2.2)

Is there something wrong with this configuration? It seems to be the 
default for both RH 6 and Caldera 2.2.

Thanks for taking the time to look at this,
Pat Cassidy

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

From: Josh Thompson <[EMAIL PROTECTED]>
Subject: RH 6.0, PPP, and my ISP
Date: Wed, 01 Sep 1999 03:52:57 +0000

I am trying to connect to my ISP (Intrex in Raleigh, NC).  They don't
officially support linux, but have several users connecting with it.  I
have tried everything I can think of.  I have set up the connection with
RedHat's netcfg, using scripts, connecting with minicom and then
starting pppd after exiting, and a few other methods.  I am using PAP. 
I have a Digicom Connection 144+ modem.  I can connect to a terminal
dialup somewhere else and use slirp without any problems.  I have
attached a script that I have tried, the output generated when starting
pppd from the command line after connecting with chat, and what is
generated in my log files.  What gives?!!

===============script================
#!/bin/bash -v
#       ppp-on
#       Set up a PPP link
#       /etc/ppp/pap-secrets file must exist and contain
#       USERNAME        *       PASSWORD

LOCKDIR=/var/lock/modem
DEVICE=modem
umask 022
PHONE=<my ISP's number>
NAME=<my PAP name>

if [ -f $LOCKDIR/LCK..$DEVICE ]
then
    echo "PPP device is locked"
    exit 1
fi
(
    stty 38400 -tostop crtscts
    if /usr/sbin/chat -v ABORT "NO CARRIER" ABORT BUSY "" ATZ OK
ATD$PHONE
    then
        echo "chat successful, attempting pppd at `date`..." >
/dev/console
        /usr/sbin/pppd -d -detach /dev/$DEVICE crtscts name $NAME
defaultroute &
        sleep 5
        exit 0
    else
        echo "PPP call failed" > /dev/console
        exit 1
    fi
) < /dev/$DEVICE > /dev/$DEVICE





================== output from starting pppd on command line
=================
Using interface ppp0
Connect: ppp0 <--> /dev/modem
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x58234418> <pcomp>
<accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x58234418> <pcomp>
<accomp>]
rcvd [LCP ConfReq id=0x1 < 00 04 00 00> <mru 1524> <asyncmap 0xa0000>
<auth pap> <pcomp> <accomp> < 11 04 05 f4> < 13 0b 01 52 61 6c 53 74 61
63 6b>]
sent [LCP ConfRej id=0x1 < 00 04 00 00> <auth pap> < 11 04 05 f4> < 13
0b 01 52 61 6c 53 74 61 63 6b>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x58234418> <pcomp>
<accomp>]
rcvd [LCP TermReq id=0x2]
sent [LCP TermAck id=0x2]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x58234418> <pcomp>
<accomp>]
Modem hangup
Connection terminated.





=============log file stuff========================
Aug 31 23:34:28 pokey chat[5364]: abort on (NO CARRIER)
Aug 31 23:34:28 pokey chat[5364]: abort on (BUSY)
Aug 31 23:34:28 pokey chat[5364]: send (ATZ^M)
Aug 31 23:34:28 pokey chat[5364]: expect (OK)
Aug 31 23:34:28 pokey chat[5364]: ATZ^M^M
Aug 31 23:34:28 pokey chat[5364]: OK
Aug 31 23:34:28 pokey chat[5364]:  -- got it 
Aug 31 23:34:28 pokey chat[5364]: send (ATD<ISP####>^M)
Aug 31 23:34:32 pokey modprobe: can't locate module char-major-108
Aug 31 23:34:32 pokey pppd[5365]: pppd 2.3.9 started by jfthomps, uid 0
Aug 31 23:34:52 pokey pppd[5365]: Using interface ppp0
Aug 31 23:34:52 pokey pppd[5365]: Connect: ppp0 <--> /dev/modem
Aug 31 23:34:59 pokey pppd[5365]: Modem hangup
Aug 31 23:34:59 pokey pppd[5365]: Connection terminated.
Aug 31 23:35:00 pokey pppd[5365]: Exit.



** the modprobe line only shows up occasionally

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


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