Linux-Networking Digest #736, Volume #10          Sat, 3 Apr 99 21:14:08 EST

Contents:
  Re: Windows 98 --> Linux: Samba Problem ("Robert Hurst")
  Re: pppd woes (the eternal saga) (Mike Graham)
  Re: RedHat 5.2 PPP hell (Jon-o Addleman)
  Re: Dialin-Server in WIN-Network: No browse-list on client ("Curt")
  Re: pppd probs (Qozmoe)
  Re: pppd woes (the eternal saga) ("Kevin P. Miller")

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

From: "Robert Hurst" <[EMAIL PROTECTED]>
Subject: Re: Windows 98 --> Linux: Samba Problem
Date: Sun, 04 Apr 1999 01:07:16 GMT

This is a multi-part message in MIME format.

=======_NextPart_000_0016_01BE7E0D.9014A7E0
Content-Type: multipart/alternative;
        boundary="----=_NextPart_001_0017_01BE7E0D.9014A7E0"


=======_NextPart_001_0017_01BE7E0D.9014A7E0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is it because you did not setup an smbpasswd file on your Linux/SAMBA =
server?  If you do not use the encrypted password scheme, Win'98 must =
have a registry entry key like this to disable encryption:
  REGEDIT4

  [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP]
  "EnablePlainTextPassword"=3Ddword:00000001
P.S., why are you using the Class "A" setup with a netmask of Class "C"? =
 A typical PC and Linux server uses the standard Class "C" as =
192.168.0.xx/24.
--=20
Robert Hurst
http://members.home.net/rhurst1/

  <[EMAIL PROTECTED]> wrote in message =
news:7e6bga$fla$[EMAIL PROTECTED]...
  I can't get my windows 98 box to recognize my liuux box.  I'm running
  redhat 5.2.  My smb.conf file is shown below along with a smbclient -L
  dump.  At one time, my host "brett" appeared in my Network =
Neighborhood
  window, but after rebooting my linux box I can't it to show up again.

  I would appreciate any comments or suggestions on what I might try
  to find the problem and fix it.  My windows 98 and Linux setup is
  shown below.

  -Brett

  Windows 98 Setup
  ----------------------
  Computer Name: windows
  Workgroup: MYGROUP
  IP 10.0.2.14
  WINS Server 10.0.2.15


  LINUX SETUP
  -----------------------

  # /etc/hosts
  127.0.0.1 localhost localhost.localdomain
  10.0.2.15 brett
  10.0.2.14 windows

  # /etc/lmhosts
  localhost brett
  windows windows

  ---------------------
  # /etc/smb.conf

  # Global parameters
    workgroup =3D MYGROUP
    server string =3D Samba SMB Server
    interfaces =3D 10.0.2.14/24 10.0.2.15/24 127.0.0.1/24
    bind interfaces only =3D Yes
    security =3D SHARE
    log file =3D /var/log/samba/log.%m
    max log size =3D 50
    read bmpx =3D No
    time server =3D Yes
    socket options =3D TCP_NODELAY
    os level =3D 65
    preferred master =3D Yes
    dns proxy =3D No
    wins support =3D Yes
    guest account =3D smbuser
    hide dot files =3D No
  [data]
    comment =3D Data
    path =3D /home/samba/data
    read only =3D No
    create mask =3D 0660
    directory mask =3D 0770
    guest ok =3D Yes



  ******* smbclient -L localhost

  Added interface ip=3D10.0.2.14 bcast=3D10.0.2.255 =
nmask=3D255.255.255.0
  Added interface ip=3D10.0.2.15 bcast=3D10.0.2.255 =
nmask=3D255.255.255.0
  Added interface ip=3D127.0.0.1 bcast=3D127.0.0.255 =
nmask=3D255.255.255.0
  Server time is Sat Apr  3 17:31:11 1999
  Timezone is UTC-8.0
  Domain=3D[MYGROUP] OS=3D[Unix] Server=3D[Samba 1.9.18p10]
  security=3Dshare

  Server=3D[LOCALHOST] User=3D[root] Workgroup=3D[MYGROUP] =
Domain=3D[MYGROUP]

  Sharename      Type      Comment
  ---------      ----      -------
  data           Disk      Data
  IPC$           IPC       IPC Service (Samba SMB Server)


  This machine has a browse list:

  Server               Comment
  ---------            -------
  BRETT                Samba SMB Server


  This machine has a workgroup list:

  Workgroup            Master
  ---------            -------
  MYGROUP              BRETT

  -----------=3D=3D Posted via Deja News, The Discussion Network =
=3D=3D----------
  http://www.dejanews.com/       Search, Read, Discuss, or Start Your =
Own

=======_NextPart_001_0017_01BE7E0D.9014A7E0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE>BODY {
        BACKGROUND-REPEAT: repeat-y; COLOR: #000000; FONT-FAMILY: "MS Sans =
Serif", "sans serif"; FONT-SIZE: 12pt; MARGIN-LEFT: 50px
}
HR {
        COLOR: #00ffff; HEIGHT: 1px; WIDTH: 100%
}
</STYLE>
</HEAD>
<BODY background=3Dcid:001101be7e37$78e18820$[EMAIL PROTECTED]=20
bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Is it because you did not setup an =
smbpasswd file=20
on your Linux/SAMBA server?&nbsp; If you do not use the encrypted =
password=20
scheme, Win'98 must have a registry entry key like this to disable=20
encryption:</FONT></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV><FONT face=3DCourier size=3D2>REGEDIT4</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DCourier=20
  =
size=3D2>[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSU=
P]<BR>"EnablePlainTextPassword"=3Ddword:00000001</FONT></DIV></BLOCKQUOTE=
>
<DIV><FONT face=3DArial size=3D2>P.S., why are you using&nbsp;the Class =
"A" setup=20
with a netmask of Class "C"?&nbsp;&nbsp;A typical PC and Linux server=20
uses&nbsp;the standard Class "C" as 192.168.0.xx/24.</FONT><BR>-- =
<BR>Robert=20
Hurst<BR><A=20
href=3D"http://members.home.net/rhurst1/">http://members.home.net/rhurst1=
/</A><BR></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV>&lt;<A=20
  =
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>&gt; =
wrote in=20
  message <A=20
  =
href=3D"news:7e6bga$fla$[EMAIL PROTECTED]">news:7e6bga$fla$[EMAIL PROTECTED]=
anews.com</A>...</DIV>I=20
  can't get my windows 98 box to recognize my liuux box.&nbsp; I'm=20
  running<BR>redhat 5.2.&nbsp; My smb.conf file is shown below along =
with a=20
  smbclient -L<BR>dump.&nbsp; At one time, my host "brett" appeared in =
my=20
  Network Neighborhood<BR>window, but after rebooting my linux box I =
can't it to=20
  show up again.<BR><BR>I would appreciate any comments or suggestions =
on what I=20
  might try<BR>to find the problem and fix it.&nbsp; My windows 98 and =
Linux=20
  setup is<BR>shown below.<BR><BR>-Brett<BR><BR>Windows 98=20
  Setup<BR>----------------------<BR>Computer Name: =
windows<BR>Workgroup:=20
  MYGROUP<BR>IP 10.0.2.14<BR>WINS Server 10.0.2.15<BR><BR><BR>LINUX=20
  SETUP<BR>-----------------------<BR><BR># /etc/hosts<BR>127.0.0.1 =
localhost=20
  localhost.localdomain<BR>10.0.2.15 brett<BR>10.0.2.14 windows<BR><BR># =

  /etc/lmhosts<BR>localhost brett<BR>windows=20
  windows<BR><BR>---------------------<BR># /etc/smb.conf<BR><BR># =
Global=20
  parameters<BR>&nbsp; workgroup =3D MYGROUP<BR>&nbsp; server string =3D =
Samba SMB=20
  Server<BR>&nbsp; interfaces =3D 10.0.2.14/24 10.0.2.15/24 =
127.0.0.1/24<BR>&nbsp;=20
  bind interfaces only =3D Yes<BR>&nbsp; security =3D SHARE<BR>&nbsp; =
log file =3D=20
  /var/log/samba/log.%m<BR>&nbsp; max log size =3D 50<BR>&nbsp; read =
bmpx =3D=20
  No<BR>&nbsp; time server =3D Yes<BR>&nbsp; socket options =3D=20
  TCP_NODELAY<BR>&nbsp; os level =3D 65<BR>&nbsp; preferred master =3D =
Yes<BR>&nbsp;=20
  dns proxy =3D No<BR>&nbsp; wins support =3D Yes<BR>&nbsp; guest =
account =3D=20
  smbuser<BR>&nbsp; hide dot files =3D No<BR>[data]<BR>&nbsp; comment =
=3D=20
  Data<BR>&nbsp; path =3D /home/samba/data<BR>&nbsp; read only =3D =
No<BR>&nbsp;=20
  create mask =3D 0660<BR>&nbsp; directory mask =3D 0770<BR>&nbsp; guest =
ok =3D=20
  Yes<BR><BR><BR><BR>******* smbclient -L localhost<BR><BR>Added =
interface=20
  ip=3D10.0.2.14 bcast=3D10.0.2.255 nmask=3D255.255.255.0<BR>Added =
interface=20
  ip=3D10.0.2.15 bcast=3D10.0.2.255 nmask=3D255.255.255.0<BR>Added =
interface=20
  ip=3D127.0.0.1 bcast=3D127.0.0.255 nmask=3D255.255.255.0<BR>Server =
time is Sat=20
  Apr&nbsp; 3 17:31:11 1999<BR>Timezone is UTC-8.0<BR>Domain=3D[MYGROUP] =
OS=3D[Unix]=20
  Server=3D[Samba =
1.9.18p10]<BR>security=3Dshare<BR><BR>Server=3D[LOCALHOST]=20
  User=3D[root] Workgroup=3D[MYGROUP]=20
  Domain=3D[MYGROUP]<BR><BR>Sharename&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  Comment<BR>---------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  ----&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
=======<BR>data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
  Disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
Data<BR>IPC$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

  IPC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IPC Service (Samba SMB=20
  Server)<BR><BR><BR>This machine has a browse=20
  =
list:<BR><BR>Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
Comment<BR>---------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;=20
  =
=======<BR>BRETT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  Samba SMB Server<BR><BR><BR>This machine has a workgroup=20
  =
list:<BR><BR>Workgroup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
  =
Master<BR>---------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;=20
  =
=======<BR>MYGROUP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;=20
  BRETT<BR><BR>-----------=3D=3D Posted via Deja News, The Discussion =
Network=20
  =3D=3D----------<BR><A=20
  =
href=3D"http://www.dejanews.com/">http://www.dejanews.com/</A>&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;=20
  Search, Read, Discuss, or Start Your Own</BLOCKQUOTE></BODY></HTML>

=======_NextPart_001_0017_01BE7E0D.9014A7E0==

=======_NextPart_000_0016_01BE7E0D.9014A7E0
Content-Type: image/jpeg;
        name="Notebook.jpg"
Content-Transfer-Encoding: base64
Content-ID: <001101be7e37$78e18820$[EMAIL PROTECTED]>

/9j/4AAQSkZJRgABAgEASABIAAD/7QSyUGhvdG9zaG9wIDMuMAA4QklNA+kAAAAAAHgAAwAAAEgA
SAAAAAADBgJS//f/9wMPAlsDRwUoA/wAAgAAAEgASAAAAAAC2AIoAAEAAABkAAAAAQADAwMAAAAB
Jw8AAQABAAAAAAAAAAAAAAAAYAgAGQGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4
QklNA+0AAAAAABAASAAAAAEAAQBIAAAAAQABOEJJTQPzAAAAAAAIAAAAAAAAAAA4QklNBAoAAAAA
AAEAADhCSU0nEAAAAAAACgABAAAAAAAAAAI4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEA
L2ZmAAEAoZmaAAYAAAAAAAEAMgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklN
A/gAAAAAAHAAAP////////////////////////////8D6AAAAAD/////////////////////////
////A+gAAAAA/////////////////////////////wPoAAAAAP//////////////////////////
//8D6AAAOEJJTQQAAAAAAAACAAA4QklNBAIAAAAAAAIAADhCSU0ECAAAAAAAEAAAAAEAAAJAAAAC
QAAAAAA4QklNBAkAAAAAAqIAAAABAAAAgAAAAAIAAAGAAAADAAAAAoYAGAAB/9j/4AAQSkZJRgAB
AgEASABIAAD//gAnRmlsZSB3cml0dGVuIGJ5IEFkb2JlIFBob3Rvc2hvcKggNC4wAP/uAA5BZG9i
ZQBkgAAAAAH/2wCEAAwICAgJCAwJCQwRCwoLERUPDAwPFRgTExUTExgRDAwMDAwMEQwMDAwMDAwM
DAwMDAwMDAwMDAwMDAwMDAwMDAwBDQsLDQ4NEA4OEBQODg4UFA4ODg4UEQwMDAwMEREMDAwMDAwR
DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIAAIAgAMBIgACEQEDEQH/3QAEAAj/xAE/
AAABBQEBAQEBAQAAAAAAAAADAAECBAUGBwgJCgsBAAEFAQEBAQEBAAAAAAAAAAEAAgMEBQYHCAkK
CxAAAQQBAwIEAgUHBggFAwwzAQACEQMEIRIxBUFRYRMicYEyBhSRobFCIyQVUsFiMzRygtFDByWS
U/Dh8WNzNRaisoMmRJNUZEXCo3Q2F9JV4mXys4TD03Xj80YnlKSFtJXE1OT0pbXF1eX1VmZ2hpam
tsbW5vY3R1dnd4eXp7fH1+f3EQACAgECBAQDBAUGBwcGBTUBAAIRAyExEgRBUWFxIhMFMoGRFKGx
QiPBUtHwMyRi4XKCkkNTFWNzNP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qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl
8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXy
qkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKq
SSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJ
KfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp
+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn6
qSXyqkkp+qkl8qpJKfqpJfKqSSn6qSXyqkkp+qkl8qpJKfqpJfKqSSn/2Q==

=======_NextPart_000_0016_01BE7E0D.9014A7E0==


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

From: [EMAIL PROTECTED] (Mike Graham)
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions,comp.os.linux
Subject: Re: pppd woes (the eternal saga)
Reply-To: [EMAIL PROTECTED]
Date: Sun, 04 Apr 1999 02:00:26 GMT

On Sun, 04 Apr 1999 01:47:03 GMT, Mike Graham wrote:

>  Use the scripts.  Look in the directory /usr/doc/ppp-*.*.*/scripts and
>you'll find a few demo scripts.  Copy ppp-on, ppp-off, and ppp-on-dialer
>into the /etc directory. 

  Doh!  I meant /etc/ppp.  In supplication for this error, I have dug
through my server and found the original message that I alluded to, and it's
reproduced below.

==========

  I'm a relatively new linux user.  I used it a long time ago in the pre 1.0
days, when ole' Linus was pumping out kernels at a rate of about 3 per day
8-)  but I'm really not a unix expert.  However, I will tell you how I
solve problems like this in RedHat, and maybe it will help.
  Some of this information is very basic.  Please don't be insulted; I just
decided to spell it all out so that any newbies listening might be helped in
the right direction.
  First, do an "rpm -q ppp".  In my case it shows that I'm runing
ppp-2.3.3-4.  Since it showed a response, I know that that's what the
package is called. It didn't say "package <whatever> is not installed".
  So now I do an "rpm -ql ppp |less".  This lists all of the files that came
in the RPM package.  This shows me where the documentation is stored, and
where all of the executables are stores.  I do this so that I know what all
of the executables are called so that I can do "man <suchandsuch>" to get a
quick low-down on what each of them do.  In this case I see three
executables, all in /usr/sbin.  They are chat, pppd, and pppstats.  A quick
'man' of each executable tells me that chat is used to talk to the modem,
pppd is the resident daemon which stays active while you are using ppp, and
pppstats just prints out the statistics.
  Now that I have a vague handle on how the application works, I look at the
documentation.  To be honest, I found the documentation rather hard to
grasp.
  One thing that I didn't pick up from the documentation is that all of the
script files that you normally use, namely ppp-on and ppp-off and
ppp-on-dialer, are not installed.  They are sitting in the /scripts
directory of the ppp documentation directory where you can't really use
them.  The documentation said you needed these files.  When I typed "whereis
ppp-on" I didn't get an answer.  So I ran "rpm -ql ppp |less" again and
looked a little harder, and there they were in that scripts directory.
  So I logged in as root and copied the three scripts into my /etc/ppp
directory.  The only one you should need to edit is the ppp-on script.  I
has a location for your account name, and password, and the telephone number
of your ISP.  That is all you should have to worry about.
  Now, if you were only using PPP as root, then you would be pretty much
done.  I'm not a security stickler, and I don't much care if I have stuff
lying around with universal privilege, but I won't claim that my
laissez-faire attitude to security is the *right* attitude.  This is how I
set up my ppp permissions so that I could use it from my normal operating
account.  The less security-inept out there might have a better way to do
it, but this way works, but it assumes that you have already copied
/usr/doc/ppp-<version>/scripts/ppp* to /etc/ppp:
  login as root
  edit /etc/profile and add /etc/ppp to the execution path
  cd /etc/ppp
  chmod 755 ppp*   <- this sets permission to execute the scripts
  chmod 6755 /usr/sbin/pppd  <- this actives the set user ID bits.  This is
                                the part that a lot of security-conscious
                                people would probably worry about.
  chmod 755 /usr/sbin/chat  <-  chat doesn't need the set user ID bits set
                                because it is run by pppd which has
                                root access.
  
 After doing this, and logging out and back in to update your path
environment variable, you should be able to type 'ppp-on' to activate the
link to your ISP.  You'll hear the modem start dialing unless you've set it
with ATM0 or L0 or whichever that one is that shuts off the speaker. 
Anyway, just type ppp-off to shut it down.

  Hope this helps.

=============

-- 
Mike Graham, [EMAIL PROTECTED]
Caledon, Ontario, Canada (just NW of Toronto).

Raiser of animals.  Weldor of metals.  Driver of off-road vehicles.
Writer of FAQs.  Keeper of the faith, and all around okay guy.

<http://www.beeline.ca/personal/mike>

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

From: [EMAIL PROTECTED] (Jon-o Addleman)
Subject: Re: RedHat 5.2 PPP hell
Date: Sun, 04 Apr 1999 02:04:30 GMT

Once upon a  1 Apr 1999 08:31:58 GMT, Frank Corey <[EMAIL PROTECTED]>
wrote:

>I've read about 6 How-To docs and tried everything I can think of. I can 
>get minicom to work no problem. Occasionally I can get pppd to dial out but 
>never a connection. I followed W.G. Unruh's howtoto the letter and to no 
>avail. I've never had a problem like this before. I can echo ATDT and a 
>phone # to the /dev/ttyS0 port and get it to dial and connect so I know I 
>can reach the device. Tonight I got a message that the kernel lacks ppp 
>support. I thought this was a module used when needed but now I wonder... 
>The modem is question is an external USRobotics Sportster 56K X2 faxmodem. 
>Anyone have any suggestions? Thanks.

First of all, once you're connected using minicom, can you activate
PPP and use the net? 
If so, the only problem is with your chat script. The best way to test
is to make sure that chat is called with the -v switch. This will dump
all sorts of useful debugging info into /var/log/ppp.log.

Look at that file and see what the script is sending to, and receiving
from the modem. You'll probably see the error immediately, or else
post the log here so we can have a look. :)
-- 

Jon-o Addleman

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

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Dialin-Server in WIN-Network: No browse-list on client
Date: Sat, 3 Apr 1999 21:05:18 -0500

I'm not positive on this, but the hostsnames show up in network neighborhood
via netbeui.  Netbeui is not routable. (hail mircrosoft)

You are making your connections to the systems via the netbios over TCP/IP,
which is routable.

Martin Pauly wrote in message <7e5g61$eva$[EMAIL PROTECTED]>...
>Hi!
>I have the following problem:
>I've configured a linux server in my network
>as dialin-server with pppd.
>Now I can connect from an NT-client via modem
>to the whole network (ping works; share-connect
>with explitly written destination - net use z: \\host\share -
>also works).
>I've also set up a DNS-server on the linux-server that
>I can use from the NT-client via modem.
>
>But now my problem:
>I can't see the WINDOWS-hosts on the network in
>the Network-Neighborhood of the NT-client although
>I can connect to them.
>Please help - what's wrong?
>
>Thanks in advance
>M.Pauly
>
>
>



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

From: [EMAIL PROTECTED] (Qozmoe)
Subject: Re: pppd probs
Date: 4 Apr 1999 02:03:29 GMT

>First of all, don't use /dev/cua? devices.  They are deprecated in
>2.2.x kernels, and will not be supported in the long term.  Use
>/dev/ttyS? instead.
>

this just happens to be what i put in the email.  i tried every variation;
cua2, ttyS2, and the symbolic link (/dev/modem) that points to the device. 
nothing helped.

>Is chat in your path?  I found I had to include the full path for
>chat, as in:
>
>    pppd /dev/ttyS2 38400 connect '/usr/sbin/chat -f /etc/ppp/script'
>

i'm pretty sure chat is in my path, and i know pppd is in my path, but i tried
running the command with the absolute pathnames to every program and file
mentioned in the command, but to no avail.

>BTW: what speed modem is it?  You may want to set the speed to 115200,
>so with compression and all, it'll go as fast as the modem will
>support, even if it's only a 28.8 or so.  Make sure that the actual
>serial port is a 16550A or better configured for spd_vhi with
>setserial.

it is a 28.8/33.6 fax/voice modem.  i tried setting the rate to both 38400 and
115200 and neither worked.  the serial port is definitely a 16550A, but i don't
know about the spd_vhi thing.
is it possible that there is just something screwy with my pppd program??  i
keep coming back to the fact that i can't get pppd to make the connection
manually even after i have connected using minicom.  this should work if pppd
is working right, correct?
qozmo

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

From: "Kevin P. Miller" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions,comp.os.linux
Subject: Re: pppd woes (the eternal saga)
Date: Sun, 04 Apr 1999 02:11:02 +0000

". . . .." wrote:

> Man. . .This seems like it is going to go on forever.
>
> Well, I've configured the proper files, I've contacted my ISP to find out
> whether it uses PAP or CHAP, set that stuff up, and I am still running
> into trouble.
>
> The problems come when I invoke pppd to connect to the remote host. Now,
> let's assume that my user name is "James Fannin", my password is "passwd",
> and the ISP's number is "5555555".
>
> I type:
> /usr/sbin/pppd /dev/ttyS1 57600 debug user James Fannin connect
> "/usr/sbin/chat -v '' ATD5555555 CONNECT '' ogin: James Fannin assword:
> passwd"
>
> This does not work; it prints the pppd help stuff, suggesting I improperly
> typed something. I suspect this is because my user name has a space in it,
> although I am not certain. When I type only one word in front of "user" my
> modem fires up, tries to connect, and I get dropped, which kind of
> confirms this theory. Any suggestions or guidance?

Typically, when a program requires a single parameter, and that parameter
contains white space, you can use quotes to make it a sigle argument. ie:

/usr/sbin/pppd /dev/ttyS1 57600 debug user "James Fannin" connect
"/usr/sbin/chat -v '' ATD5555555 CONNECT '' ogin: James Fannin assword:
passwd"


Good Luck,
Kevin


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


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