Linux-Networking Digest #80, Volume #10           Mon, 1 Feb 99 18:13:37 EST

Contents:
  Where can I find source for utilities? (Clarence Gardner)
  how do i let people see my .plan in RH5.2? (Mark Hilgart)
  Sound and Network conflict ("Aristotle B. Allen")
  Re: a samba what if question (Allen Wong)
  Re: How Many Collisions Are Too Many? (jerryn)
  Re: GTE, DSL and Linux ("Jason")
  Re: Still Trying-PPP (Clifford Kite)
  in.pop3d locks mail (Arthur Corliss)
  Re: can not ftp certain file types (Ted Potter)
  Kernel 2.2.1 ans IP Masquerading (Brant)
  Re: Newbie: Samba and Win98 ([EMAIL PROTECTED])
  Re: ppp dial-on-demand or Diald ??? (Clifford Kite)
  Re: It might be stupid... but another NT and Linux prob ("tommy obits�")
  Re: Still Trying-PPP ("tommy obits�")
  Re: It might be stupid... but another NT and Linux prob (Arthur Corliss)

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

From: Clarence Gardner <[EMAIL PROTECTED]>
Subject: Where can I find source for utilities?
Date: Mon, 1 Feb 1999 12:58:49 -0800


Every so often, this comes up and bugs me, so I'm finally going to ask :)
There are Linux distributions all over the planet with the source to the kernel,
and binaries of system utilities.  Where can one find the source to the
utilities?  I'm currently looking into some syslogd problems we're having and
the source would be a Good Thing.

Thanks.

 --
-=-=-=-=-=-=-=-=
Clarence Gardner
AvTel Communications
Software Products and Services Division
[EMAIL PROTECTED]


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

From: Mark Hilgart <[EMAIL PROTECTED]>
Subject: how do i let people see my .plan in RH5.2?
Date: Mon, 01 Feb 1999 12:38:12 -0600

I have Red Hat 5.2 installed, and when I finger myself, I see my user
information and my .plan.  When other users on my machine, or anyone remotely,
fingers me, all they get is my user information and a message saying I have no
.plan.  Can anyone help?  Do I need to write my own fingerd?

-- 
Mark Hilgart                          http://www.ews.uiuc.edu/~hilgart
[EMAIL PROTECTED]                            ICQ: 569586   AIM: Guess98

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

From: "Aristotle B. Allen" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Sound and Network conflict
Date: Mon, 01 Feb 1999 16:06:28 -0500
Reply-To: [EMAIL PROTECTED]

I just set up my linux box from scratch,  a clean install when I set it
up I built an NE2000 ISA card at 0x240 10, it worked fine

after that I ran sndconfig to get sound set up and had some problems
My card is a SB AWE 64
1) it diddn't find the card the first time I ran sndconfig
2) I ran it again and it seems to have found the card and set up
everything properly, awe, opl3, wav etc..
3) now I cant get out on the network

there are no apparent conflicts with io, irq, or dma, I checked but the
are all set properly

what is wrong and how can I fix it.... I need to use my network... but I
also want sound for some Quake2

Aristotle B Allen
Lucent Technologies

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

From: Allen Wong <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: a samba what if question
Date: Mon, 01 Feb 1999 13:12:49 -0800

Pete,

    Alternatively, there is a "Network Neighborhood" type of program for
Linux called "Cheops".  You could install it and see all the Windows and
Samba machines in your network.

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

From: jerryn <[EMAIL PROTECTED]>
Subject: Re: How Many Collisions Are Too Many?
Date: Mon, 01 Feb 1999 16:14:00 -0500

Places to check

Is Full Duplex 100BaseT offically supported on the hub?
Run EtherREAL or some other sniffer to see if the collisions
are comming from the NT box, the problem isn't necessarily the
AlPHA, it's just smart enough to detect the problem.


Do you have duplicate IP addresses assigned? Are you using a uniform
netmask? Is the netmask correct?

"Andrew C. Ohnstad" wrote:
> 
> Having never ran any kind of network before I really don't know if this
> is bad or not...
> 
> [andy@headunit /sbin]$ ./ifconfig
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>           UP BROADCAST LOOPBACK RUNNING  MTU:7168  Metric:1
>           RX packets:869 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:869 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0
> 
> eth0      Link encap:Ethernet  HWaddr 08:00:2B:E4:4A:9D
>           inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:59102 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:52914 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:12314
>           Interrupt:10 Base address:0x8000
> 
> [andy@headunit /sbin]$
> 
> 12300 collisions out of almost 60000 packets?  20%  Is that considered
> high?  The hardware involved is:
> 
> Cards:  1) Digital Equipment Tulip compatable built in Ethernet card.
> Built into a Digital Alpha.  This is running Linux 2.0.35.
>          2) Netgear FA310TX PCI.  In a Intel Pentium with windows 98.
> 
> Just running TCP/IP.
> 
> Brand new store bought cables, and a Linksys 5 port hub.
> 
> Any tips or ideas?
> 
> Thanks!
> Andrew

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

From: "Jason" <[EMAIL PROTECTED]>
Subject: Re: GTE, DSL and Linux
Date: Mon, 1 Feb 1999 14:06:35 -0500
Reply-To: <[EMAIL PROTECTED]>


Bob wrote in message <[EMAIL PROTECTED]>...
>Ron Forrester wrote:
>
>> Stephen Carville <[EMAIL PROTECTED]> writes:
>>
>> > I just got off the phone with a GTE rep who told me in no uncertain
>> > terms that GTE will not install ADSL if the connected machine runs
>> > UNIX, Linux, any MacOS, or Win 3.1.  I briefly explained to her that
>>
>> That's bullshit. I am a GTE DSL customer and I am running Linux.


Where are you located, Bob?  I've had nothing but good service from GTE
here in the Midwest; maybe I've just been lucky (oooh, shouldn't have
said that!  *grin!*)

I've been on the ADSL trial in West Lafayette for well over a year and
there's always been a Linux box acting as a router/firewall.  It's run
flawlessly since we first signed up.

I am scheduled to switch to the "real" service next Monday...

>> The ONLY issue there is if you use GTE as an ISP, they want to come out
>> and setup your computer, and they require it be running Windows 95 or
>> NT 4.0 when they do that.


Well, yes and no.  The woman I spoke with locally was very helpful and
honest about what they can and can't do.  GTE will do the actual wiring,
and then a subcontractor (can't think of their name right now) is supposed
to come out and setup the software, which does have to be a Win95 client.
Unfortunately (or maybe fortunately) the subcontractor has been a really
bad about even making it to the appointments, so Carol told me to call her
as soon as the wiring is done; she'll help me contact their networking
department who can give me the setup information directly.  So I should
be on in a matter of minutes, as has everybody else she has helped in the
past.  Truth be told, I'd rather set up the software myself anyways.

The only thing I dislike about GTE's service is the lack of static IPs.
I wanted to move my family's website to a machine I can directly control.
Can you run web services via dynamic IPs?  Is the assigned IP changed if
the machine is never rebooted?  (hey, it is a linux box!)


The only annoying thing so far (other than dynamic IPs) is that they can't
use my pre-existing GTE account information (email address, etc).  Oh
well, I was getting a lot of spam on that address anyways....  *laughs!*

Good luck!


Take care!
-- Jason ([EMAIL PROTECTED])





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

From: [EMAIL PROTECTED] (Clifford Kite)
Subject: Re: Still Trying-PPP
Date: 1 Feb 1999 15:14:05 -0600

George Lampke ([EMAIL PROTECTED]) wrote:

: I am still trying to connect Redhat 5.2 to my ISP! Had several
: suggestions from both the newgroup and others, but none have worked. I
: have included the following: dmesg and /var/log/messages output, ppp-on
: and ppp-on-dialer files. I also tried using the pap-secrets file with my
: login, password, and domain-name, but with no success, either!
:  
: The modem dials output and accepts my responses to 'host', 'login' and
: 'password' then connects and then get "Serial line is looped back"!!

<snip>

: ppp-on-dialer

: #!/bin/sh
: #
: # This is part 2 of the ppp-on script. It will perform the connection
: # protocol for the desired connection.
: #
: exec chat -v                                          \
:       TIMEOUT         3                               \
:       ABORT           '\nBUSY\r'                      \
:       ABORT           '\nNO ANSWER\r'                 \
:       ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
:       ''              \rAT                            \
:       'OK-+++\c-OK'   ATH0                            \
:       TIMEOUT         30                              \
:       OK              ATDT$TELEPHONE                  \
:       CONNECT         ''                              \

This expect/send generates a carriage return that sometimes causes a
problem with proper chat sequencing for ppp/login/password scripting.
Replacing it with <CONNECT  '\c'>, which suppresses the carriage return,
may help.  Other variations you can try are <CONNECT '\d'> and
<CONNECT '\d\c'>.

You'll need to look at the ppp negotiation messages in /var/log/debug
if this doesn't work.  If you don't have this file and can't find
these messages in another file in /var/log, then create it with
"echo -n > /var/log/debug", put the line

*.=debug                /var/log/debug

in /etc/syslog.conf, and do "kill -HUP `pidof syslogd`" to restart
syslogd and get it to read the /etc/syslog.conf file.  "man syslog.conf",
"man syslogd" and "man 7 signal" for insight about this.


--
Clifford Kite <[EMAIL PROTECTED]>                       Not a guru. (tm)
/* Better is the enemy of good enough. */

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

From: [EMAIL PROTECTED] (Arthur Corliss)
Subject: in.pop3d locks mail
Reply-To: [EMAIL PROTECTED]
Date: 1 Feb 1999 10:28:54 -0900


Greetings:

I have a somewhat unusual problem, and I'm hoping others have had the same, 
and conquered it already.  <G>  I hae a few users connecting to my server
on the internet, but their connections (dial-up) are very unstable in
certain locations.  Apparrently, when a connection is broken while they are
accessing their mail via POP3, they can no longer access their mail on
subsequent connections.

This one is driving me nuts.  I can access the mail locally, of course, or
via IMAP2, just not POP3.  The error returned is '/usr/spool/mail/XXXX is
already being read'.  Examination of the file doesn't show any locks, no
connections are reported open in netstat, and I can't seem to find any
obvious reasons in the logs, either.

Perhaps I'm being dense, but anyone else run into something like that?

Slack v3.5, slightly patched.  in.pop3d v1.005l.

        --Arthur Corliss

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

From: [EMAIL PROTECTED] (Ted Potter)
Subject: Re: can not ftp certain file types
Date: Mon, 01 Feb 1999 19:14:54 GMT


Thanks for the post, yes it does work!  and for my purpose the
solution will suffice. 

However my clients would not likely to be able to cope wit using
yet another application to get files off the net. 

Is it the passive option that makes this program able to transfer
files ?

Surely people are using my type of setup and able to use just netscape
to download files. 

Anyone else out there have some comments ? - can someone tell me
how they do what I am trying to do ? or can anyone else duplicate the
problem I am having ?

Thanks




On Mon, 01 Feb 1999 12:03:53 -0500, Alan Cohen
<[EMAIL PROTECTED]> wrote:

>Had the same problem
>Using Terrapin FTP on Windows machine and ended the problem
>Did not set up the firewall option in the FTP client and did set the
>client to be passive
>got the client at www.download.com
>
>Ted Potter wrote:
>
>> I have a redhat 5.0 system setup with ipfwadm running. From my windows
>> machine I can run netscape and agent just fine. Real Audio works as
>> well.
>>
>> However whenever I attempt to download a file that ends with an .exe
>> extentsion the download gets stuck after about 36K
>>
>> This happens at anysite anytime. So I thought something was wrong with
>> my ipfwadm setup.
>>
>> Using lynx from the redhat machine produces the same problem.
>>
>> I can download .zip .gz .tar files all day and night.
>>
>> This problem occures with both http and ftp.
>>
>> Help!
>>
>> Can someone tell me what more information I can get in order to
>> troubleshoot this problem ?
>>
>> Thanks
>>
>> Ted Potter
>> [EMAIL PROTECTED]
>


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

From: Brant <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Kernel 2.2.1 ans IP Masquerading
Date: Mon, 01 Feb 1999 22:08:40 GMT

Greetings

I had the  unfortunate experience of attempting to get Linux (it was
Debian) up on a Packard Bell monstrosity more than two years ago.  I've
been flirting with this attractive OS for some time since, and recently
got the funds together to set up another Intel box at home.  The
hardware (NIC, cable, hubs, topology) all check out fine.

I'm trying to get my Linux box to masquerade IP addresses for two
laptops, a Win 98 box, and an NT Server box.  Ideally, I'll learn enough

to get the linux box to server as a true firewall/proxy, but until then,

I'd be satisfied with just getting all the machines on this segment to
access the Internet at all.

The Linux box is a P54c at 133 MHz / 128 MB Ram with a 6.4 GB HDD:
enough muscle for some caching when I get proxy services up.  It has to
operating network cards (Intel's EtherExpress Pro 100).  One is assigned

an IP address through the local cable company's Internet service through

@Home.  The other card will be set up with 192.168.2.1 for the internal
network.

The problem:

    I compiled the 2.2.1 Kernel last night, selecting the proper options

as per the HOWTO at sunsite.  When I tell lilo to use the new kernel,
the following error messages appear during boot:

    <After both NIC are initialized>
finiding module dependancies...
...    nfsd.o unresolved symbols
...    ip_masq_mfw.o unresolved symbols
...    ip_masq_portfw.o unresolved symbols

<when I get to modprobe>
<cannot find> module net-pf-4
<cannot find> module net-pf-5
<repeats for three pairs of identical error messages>

I do not find an object file named anything like net-pf-# on my system.

I don't know enough abou this situation to ask a better question:
please point me in the right direction?

Best Regards
Brant Eaton




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

From: [EMAIL PROTECTED]
Subject: Re: Newbie: Samba and Win98
Date: Mon, 01 Feb 1999 22:10:40 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 31 Jan 1999 20:14:55 -0500, "Jeffrey D. Larson"
<[EMAIL PROTECTED]> wrote:

>
>Where can I find info on how to set this up?  I'm trying to connect a
>Win98 client to a Linux (Redhat 5.2) server.  I can ping the server, but
>
>get "Domain not found" when I try to log on to the win98 box.  Network
>Neighborhood doesn't show the Linux server either.  Can you point me in
>the right direction?

Hi there,

Actually in the man pages ("man samba" at the prompt) ... but guess
what.. they frustrated me.
... in fact just the same problems I had a few days ago with my SuSE
5.3. 
Even though I still have certain problems with the SAMBA - Win98
connection here is what I found out so far:

Your Login and Password seem to have to be identical on Win98 and
Linux
(e.g. if you login on Linux as "jlarson" you should login on win98 the
same way.)

watch on bootup of Linux for the line "Starting Samba" or smthg like
that... otherwise it is not initiated correctly and you�ll have to do
it manually. 
I use inetd for automated loading.

If you do not use a DNS (Direct Name Server)  you will have to enter
the win98-box IP number into the file "hosts" (should be in /etc ) for
Linux.
 Possible numbers for privat network without external connection
192.168.x.x whereas the last number can not be a 0 or 255.
  Under Win98 you will have to edit the file "host.sam" and enter the
IP of the Linux machine. 
Reboot after the changes to take any effect.

You will have to change an entry in the registry definitly...
use regedit.exe for this. Here is what to change:

1)run regedit

2)select HKEY_LOCAL_MACHINE / System / Current Control Set / Services
/
VXD / VNETSUP in regedit

3)choose NEW > DWORD Value from the EDIT menu.

4)Re-name the new DWORD "EnablePlainTextPassword" (without the
quotes), 
  double click it, give it a value of "1" and click OK.

5)Close regedit and re-boot windows.

Otherwise you will fail to login due to incorect password!

   Any configuration issue for samba has to be written into the file
smb.conf which is appearently comparable with a *.ini file under
Windows.
If you use samba 2.0 then you could use "swat" which is a frontend
under XWindows for the smb.conf file. 
However I never managed to get it run.

If I ever get this thing work I will immediately start writing a
howto. Seems many have problems on initiating samba.
However there is a howto missing for dummies who just want to play
arround and do not need all the information in the man pages and maybe
not all security issues.

I you should ever get a handy description or any further information
which is easy to read and practible please let me know.

Hope this might help a bit.





D. Toussi
_______________________________
Lacho calad, drego morn!
(J.R.R: Tolkien)

e-mail: [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Clifford Kite)
Subject: Re: ppp dial-on-demand or Diald ???
Date: 1 Feb 1999 12:48:43 -0600

Beno�t Cousson ([EMAIL PROTECTED]) wrote:

: I've also tried ppp with demand option, but when I start pppd, I get this
: message :
: "pppd: demand dialling is not supported by kernel driver version 2.2.0"
: the pppd version is 2.3.5...

: So, is demand dialing not supported anymore with last kernel version, or is
: there a version problem with the ppp module???

Demand dialing is supported by ppp-2.3.5 when the kernel pieces that
come with an original source package are properly installed and the
kernel recompiled.  The particular kernel piece ppp-2.3.5/linux/ppp.c
also requires a small patch.

I don't use demand dialing but I understand that the ppp-2.3.5 demand
dialing is not as versatile as diald.

--
Clifford Kite <[EMAIL PROTECTED]>                       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: "tommy obits�" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: It might be stupid... but another NT and Linux prob
Date: Mon, 01 Feb 1999 21:24:01 +0100

Martin Adler wrote:

> This one might be a little tough.... How do I make samba get the
> Usernames from an NT server and use the encrypted passwords that NT
> uses??
>
> Thanks for the help,
>
> Martin Adler
> [EMAIL PROTECTED]

You most use encryted passwd = yes in samba.conf
an passwd server = your nt server name.


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

From: "tommy obits�" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Still Trying-PPP
Date: Mon, 01 Feb 1999 21:21:22 +0100

George Lampke wrote:

> I am still trying to connect Redhat 5.2 to my ISP! Had several
> suggestions from both the newgroup and others, but none have worked. I
> have included the following: dmesg and /var/log/messages output, ppp-on
> and ppp-on-dialer files. I also tried using the pap-secrets file with my
> login, password, and domain-name, but with no success, either!
>
> The modem dials output and accepts my responses to 'host', 'login' and
> 'password' then connects and then get "Serial line is looped back"!!
> DMSEG output
>
> Memory: sized by int13 088h
> Console: 16 point font, 400 scans
> Console: colour VGA+ 80x25, 1 virtual console (max 63)
> pcibios_init : BIOS32 Service Directory structure at 0x000fad30
> pcibios_init : BIOS32 Service Directory entry at 0xfb1b0
> pcibios_init : PCI BIOS revision 2.10 entry at 0xfb1e0
> Probing PCI hardware.
> Calibrating delay loop.. ok - 599.65 BogoMIPS
> Memory: 30824k/32768k available (748k kernel code, 384k reserved, 812k
> data)
> Swansea University Computer Society NET3.035 for Linux 2.0
> NET3: Unix domain sockets 0.13 for Linux NET3.035.
> Swansea University Computer Society TCP/IP for NET3.034
> IP Protocols: IGMP, ICMP, UDP, TCP
> Linux IP multicast router 0.07.
> VFS: Diskquotas version dquot_5.6.0 initialized
> Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
> Checking 'hlt' instruction... Ok.
> Linux version 2.0.36 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #1
> Tue Oct 13 22:17:11 EDT 1998
> Starting kswapd v 1.4.2.2
> Serial driver version 4.13 with no serial options enabled
> tty00 at 0x03f8 (irq = 4) is a 16550A
> Real Time Clock Driver v1.09
> Ramdisk driver initialized : 16 ramdisks of 4096K size
> hda: Maxtor 7850 AV, 814MB w/64kB Cache, CHS=827/32/63
> hdb: Maxtor 85400D5, 5150MB w/256kB Cache, CHS=656/255/63
> hdd: WPI CDS-24X, ATAPI CDROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M
> FDC 0 is a post-1991 82077
> md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
> scsi : 0 hosts.
> scsi : detected total.
> Partition check:
>  hda: hda1
>  hdb: hdb1 hdb2 < hdb5 hdb6 hdb7 >
> VFS: Mounted root (ext2 filesystem) readonly.
> Adding Swap: 40124k swap-space (priority -1)
> sysctl: ip forwarding off
> Swansea University Computer Society IPX 0.34 for NET3.035
> IPX Portions Copyright (c) 1995 Caldera, Inc.
> Appletalk 0.17 for Linux NET3.035
>
> /var/log/messages output
>
> Jan 30 15:13:30 localhost kernel: CSLIP: code copyright 1989 Regents of
> the University of California
> Jan 30 15:13:30 localhost kernel: PPP: version 2.2.0 (dynamic channel
> allocation)
> Jan 30 15:13:30 localhost kernel: PPP Dynamic channel allocation code
> copyright 1995 Caldera, Inc.
> Jan 30 15:13:30 localhost kernel: PPP line discipline registered.
> Jan 30 15:13:30 localhost kernel: registered device ppp0
> Jan 30 15:13:30 localhost pppd[357]: pppd 2.3.5 started by root, uid 0
> Jan 30 15:13:31 localhost chat[358]: timeout set to 3 seconds
> Jan 30 15:13:31 localhost chat[358]: abort on (\nBUSY\r)
> Jan 30 15:13:31 localhost chat[358]: abort on (\nNO ANSWER\r)
> Jan 30 15:13:31 localhost chat[358]: abort on
> (\nRINGING\r\n\r\nRINGING\r)
> Jan 30 15:13:31 localhost chat[358]: send (rAT^M)
> Jan 30 15:13:31 localhost chat[358]: expect (OK)
> Jan 30 15:13:31 localhost chat[358]: rAT^M^M
> Jan 30 15:13:31 localhost chat[358]: OK
> Jan 30 15:13:31 localhost chat[358]:  -- got it
> Jan 30 15:13:31 localhost chat[358]: send (ATH0^M)
> Jan 30 15:13:31 localhost chat[358]: timeout set to 30 seconds
> Jan 30 15:13:31 localhost chat[358]: expect (OK)
> Jan 30 15:13:31 localhost chat[358]: ^M
> Jan 30 15:13:31 localhost chat[358]: ATH0^M^M
> Jan 30 15:13:31 localhost chat[358]: OK
> Jan 30 15:13:31 localhost chat[358]:  -- got it
> Jan 30 15:13:31 localhost chat[358]: send (ATDT416-0801^M)
> Jan 30 15:13:32 localhost chat[358]: expect (CONNECT)
> Jan 30 15:13:32 localhost chat[358]: ^M
> Jan 30 15:13:50 localhost chat[358]: ATDT416-0801^M^M
> Jan 30 15:13:50 localhost chat[358]: CARRIER 24000^M
> Jan 30 15:13:51 localhost chat[358]: ^M
> Jan 30 15:13:51 localhost chat[358]: PROTOCOL: LAP-M^M
> Jan 30 15:13:51 localhost chat[358]: ^M
> Jan 30 15:13:51 localhost chat[358]: COMPRESSION: V.42BIS^M
> Jan 30 15:13:51 localhost chat[358]: ^M
> Jan 30 15:13:51 localhost chat[358]: CONNECT
> Jan 30 15:13:51 localhost chat[358]:  -- got it
> Jan 30 15:13:51 localhost chat[358]: send (^M)
> Jan 30 15:13:51 localhost chat[358]: timeout set to 30 seconds
> Jan 30 15:13:51 localhost chat[358]: expect (host:)
> Jan 30 15:13:51 localhost chat[358]:  38400/ARQ^M
> Jan 30 15:13:53 localhost chat[358]: You have reached Verinet
> Communication's Internet Connection!^M
> Jan 30 15:13:53 localhost chat[358]: ^M
> Jan 30 15:13:53 localhost chat[358]: Customer support can be reached at
> [EMAIL PROTECTED] or by calling (970) 416-9
> Jan 30 15:13:53 localhost chat[358]: 152^M
> Jan 30 15:13:53 localhost chat[358]: At the host prompt type 'shell' for
> a Unix shell or 'ppp' for a ppp connection.^M
> Jan 30 15:13:53 localhost chat[358]:
> Jan 30 15:13:53 localhost chat[358]: ^M
> Jan 30 15:13:53 localhost chat[358]: ^M
> Jan 30 15:13:53 localhost chat[358]: host:
> Jan 30 15:13:53 localhost chat[358]:  -- got it
> Jan 30 15:13:53 localhost chat[358]: send (ppp^M)
> Jan 30 15:13:53 localhost chat[358]: timeout set to 5 seconds
> Jan 30 15:13:53 localhost chat[358]: expect (ogin:)
> Jan 30 15:13:53 localhost chat[358]:  ppp^M
> Jan 30 15:13:53 localhost chat[358]: login:
> Jan 30 15:13:53 localhost chat[358]:  -- got it
> Jan 30 15:13:53 localhost chat[358]: send (glampke^M)
> Jan 30 15:13:53 localhost chat[358]: timeout set to 5 seconds
> Jan 30 15:13:53 localhost chat[358]: expect (assword:)
> Jan 30 15:13:53 localhost chat[358]:  glampke^M
> Jan 30 15:13:53 localhost chat[358]: Password:
> Jan 30 15:13:53 localhost chat[358]:  -- got it
> Jan 30 15:13:53 localhost chat[358]: send (******^M)
> Jan 30 15:13:54 localhost pppd[357]: Serial connection established.
> Jan 30 15:13:55 localhost pppd[357]: Using interface ppp0
> Jan 30 15:13:55 localhost pppd[357]: Connect: ppp0 <--> /dev/cua2
> Jan 30 15:13:58 localhost pppd[357]: Serial line is looped back.
> Jan 30 15:13:58 localhost pppd[357]: Connection terminated.
> Jan 30 15:13:59 localhost pppd[357]: Exit.
> Jan 30 15:15:30 localhost kernel: PPP: ppp line discipline successfully
> unregistered
>
> ppp-on
>
> #!/bin/sh
> #
> # Script to initiate a ppp connection. This is the first part of the
> # pair of scripts. This is not a secure pair of scripts as the codes
> # are visible with the 'ps' command.  However, it is simple.
> #
> # These are the parameters. Change as needed.
> TELEPHONE=416-0801      # The telephone number for the connection
> ACCOUNT=glampke         # The account name for logon
> PASSWORD=******         # The password for this account
> LOCAL_IP=0.0.0.0        # Local IP address if known. Dynamic = 0.0.0.0
> REMOTE_IP=0.0.0.0       # Remote IP address if desired. Normally 0.0.0.0
> NETMASK=255.255.255.0   # The proper netmask if needed
> HOST=ppp                # Enter the type of protocol
> #
> # Export them so that they will be available at 'ppp-on-dialer' time.
> export TELEPHONE ACCOUNT PASSWORD HOST
> #
> # This is the location of the script which dials the phone and logs
> # in.  Please use the absolute file name as the $PATH variable is not
> # used on the connect option.  (To do so on a 'root' account would be
> # a security hole so don't ask.)
> #
> DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
> #
> # Initiate the connection
> #
> # I put most of the common options on this command. Please, don't
> # forget the 'lock' option or some programs such as mgetty will not
> # work. The asyncmap and escape will permit the PPP link to work with
> # a telnet or rlogin connection. You are welcome to make any changes
> # as desired. Don't use the 'defaultroute' option if you currently
> # have a default route to an ethernet gateway.
> #
> exec /usr/sbin/pppd debug lock modem crtscts /dev/cua2 38400 \
>         asyncmap 20A0000 kdebug 2 $LOCAL_IP:$REMOTE_IP \
>         noipdefault netmask  $NETMASK defaultroute connect $DIALER_SCRIPT
>
> ppp-on-dialer
>
> #!/bin/sh
> #
> # This is part 2 of the ppp-on script. It will perform the connection
> # protocol for the desired connection.
> #
> exec chat -v                                            \
>         TIMEOUT         3                               \
>         ABORT           '\nBUSY\r'                      \
>         ABORT           '\nNO ANSWER\r'                 \
>         ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
>         ''              \rAT                            \
>         'OK-+++\c-OK'   ATH0                            \
>         TIMEOUT         30                              \
>         OK              ATDT$TELEPHONE                  \
>         CONNECT         ''                              \
>         TIMEOUT         30                              \
>         host:           $HOST                           \
>         TIMEOUT         5                               \
>         ogin:           $ACCOUNT                        \
>         TIMEOUT         5                               \
>         assword:        $PASSWORD

Try to use pap instead of ppp , an if you use kde kppp you most remove the
lock statment in the /etc/ppp/options

Regards Tommy Obits�
               [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Arthur Corliss)
Subject: Re: It might be stupid... but another NT and Linux prob
Date: 1 Feb 1999 11:23:39 -0900

In article <[EMAIL PROTECTED]>, Martin Adler wrote:
>This one might be a little tough.... How do I make samba get the
>Usernames from an NT server and use the encrypted passwords that NT
>uses??

Here's something simpler--set up Samba to have the user authenticated not
locally, but by another NT box on the network.

        --Arthur Corliss

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


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