[pptp-server] What do Select() errors mean?

Christopher S. Cosby ccosby at westhq.com
Tue Jun 27 18:00:01 CDT 2000


Seems like a common "broadcast doesn't work over anything but a local
subnet" problem.  So, I ask this:  are you using WINS?  Nevermind...I
answered my own question.  Your options file should contain "ms-wins
xxx.xxx.xxx.xxx", pointing to a WINS server.  If you don't have a WINS
server, use Samba to set one up (real simple).  Most (some)times this works
fine, browsing works.  At other times, browsing may not work, but using UNC
paths will work.  Never have figured that one out.

I still have my problem from yesterday, by the way (Win98 First Edition not
starting IPCP).  Here's a closer look at what's happening.  If I connect the
computer to the local LAN using its Ethernet adapter and connect to my VPN
that way, it works great.  A "route print" shows that all of the routes are
setup properly (I choose to use "Use default gateway on remote network" for
some unrelated things).  Now, let's try a real-life situation of being at
home and needing the VPN.  I dial my ISP with a dial-up networking
connection.  Fine.  Works.  I try the same VPN connection.  The server shows
the CHAP login.  Nothing at all after that.  The ppplog.txt from the Win98
machine shows a curious line right at the top:
"FSA : Protocol not bound - skipping control protocol 8021 (IPCP)."  This
compares to the working line of:
"FSA : Adding Control Protocol 8021 (IPCP) to control protocol chain."

What have I done?  On Jose's suggestion, I deleted the DUN connections.
Then, I uninstalled Dial-Up Networking.  Reboot.  Uninstall all of the
network clients, adapters, and protocols.  Delete C:\windows\protocol.*
Reboot.  Run regedit.  Look for anything even remotely related to "network",
remove that (selectively, of course).  Reinstall everything, starting with
Dial-Up Networking.  In my Network properties, I see "Client for Microsoft
Networks", "Dial-Up Adapter", "Dial-Up Adapter #2 (VPN Support)", "Microsoft
Virtual Private Networking Adapter", "NDISWAN -> msvpnadptr", "TCP/IP ->
dunadapter", "TCP/IP -> dunadapter2".  All bindings are present and working.
Nada.  Tried installing dun40.exe (40-bit encryption upgrade for Win98).
Nada.  I presented the janitor with the machine and asked him to bring it
back to me Friday.

Hope I was of a little help in the first half.  I also hope that someone
else can shed some of that Microsoft light on me.

Thanks regardless.
Coz

-----Original Message-----
From: Jose M. Sanchez [mailto:opjose at ex-pressnet.com]
Sent: Tuesday, June 27, 2000 6:26 PM
To: Brian Aust; nmeyers at javalinux.net
Cc: pptp-server at lists.schulte.org
Subject: RE: [pptp-server] What do Select() errors mean?


Re: Select()

The problem was user error... ME.

I have two connection points on the clients I was trying to use.

Either Dialup or via a local LAN/Cable modem/Masq connection.

I had originally deleted VPN after installing Windows.

I manually re-installed it. This creates the single VPN entry in the network
properties box in the control panel.

This works fine for my LAN connections but I kept getting select() errors
when attempting to connect via a dialup ISP.

I finally discovered what the Second VPN #2 dialup adapter was for.

It is used to enable VPN over dialups. PPP "rides" the second adapter.

After removing all vestiges of networking from the clients then
re-installing the VPN #2 connection re-appeared. This eliminated the
select() errors and permitted the clients to log in...

Otherwise I'm just running PPP 2.2.11 with the patch file applied.

options file contains

debug
+chapms
+chapms-v2
name firewall
remotename remote
mppe-40
mppe-128
mppe-stateless
require-chap
proxyarp
auth

chap-secrets contains

domain\\admin    *               password          *
firewall        domain\\admin    password          *
remote          *                password          *
*               remote           password          *

---

Now I know the tunnel works, because I can do things like run PC-ANYWHERE
thru the tunnel to machines on the remote LAN... but I am still totally
unable to view the shares.

I can even use the remote gateway.

Do you have any idea on what I might have missed?

The VPN clients log in just fine. They seem to authenticate via PoPToP even
with "Log in to Network" enabled...

However I cannot browse or attach to ANY shares on the remote LAN.

Even attempting to connect to a workstation share fails.

The remote LAN has a PDC and BDC, with TCP/IP enabled and working.

I've tried various versions of chap-secrets entries... the logs indicates
that the login and domain logon works... but I don't know if the PoPToP box
is actually passing requests to the NT PDC...

I even force the username in options with

name firewall
remotename domain\\admin

But still no shares.

Thanks.

-JMS




|-----Original Message-----
|From: Brian Aust [mailto:BAust at healthdec.com]
|Sent: Tuesday, June 27, 2000 4:43 PM
|To: 'opjose at ex-pressnet.com'; nmeyers at javalinux.net
|Cc: pptp-server at lists.schulte.org
|Subject: RE: [pptp-server] What do Select() errors mean?
|
|
|JMS,
|
|What did you wind up doing to the Winblows client to eliminate the SELECT()
|error?
|
|I've got a poptop server myself which only SOMETIMES works.  Sometimes my
|Winblows client can connect, and see all the internal machines and
|everything, but then the next time i try it i get a select() error in the
|/var/log/messages file, and the winblows client just hangs on the Verifying
|Username... screen.
|
|I'm excited that this SOMETIMES works, but I'm trying to roll this out to
|three coworkers in Britain, and i can't have it only work "sometimes".
|Anything specific that you modified?  There only seems to be so
|much one can
|change on the winblows DialUpNetworking client -- very few options, etc.
|
|Were there changes you made on the server??
|
|Cheers,
|Brian
|
|Brian R. Aust
|Manager of Information Technology
|Health Decisions, Inc.
|1512 East Franklin St.  Suite 200
|Chapel Hill, NC   27514
|919.967.2399 x247
|baust at healthdec.com
|
|
|> -----Original Message-----
|> From: Jose M. Sanchez [mailto:opjose at ex-pressnet.com]
|> Sent: Tuesday, June 27, 2000 1:25 PM
|> To: nmeyers at javalinux.net
|> Cc: pptp-server at lists.schulte.org
|> Subject: RE: [pptp-server] What do Select() errors mean?
|>
|>
|>
|> Thanks, I discovered that the cause was that I had not set up
|> VPN properly
|> on the Winblows client... I've lost SOOOO much time on this one...
|>
|> (That's what the second VPN connection was for!!!).
|>
|> Well now I have it working... sort of... I can't see any
|> windows shares on
|> the remote LAN I'm connected to, even though I'm able to log
|> in properly,
|> and I can access the remote gateway.
|>
|> I've given it the correct domain\\username in chap-secrets
|> but the domain
|> logons do not work under windows...
|>
|> You wouldn't have any ideas on where to look?
|>
|> Thanks
|>
|> -JMS
|>
|> |-----Original Message-----
|> |From: nmeyers at javalinux.net [mailto:nmeyers at javalinux.net]
|> |Sent: Tuesday, June 27, 2000 11:09 AM
|> |To: opjose at ex-pressnet.com
|> |Cc: pptp-server at lists.schulte.org
|> |Subject: Re: [pptp-server] What do Select() errors mean?
|> |
|> |
|> |"Jose M. Sanchez" wrote:
|> |
|> |> Hi all...
|> |>
|> |> Does anyone know what server side select() errors mean?
|> |
|> |Usually it means that the remote client has ended the
|> session, causing
|> |the server to detect a disconnect when using the select()
|> call. Unless
|> |you're seeing bad behavior, it's nothing to worry about.
|> |
|> |Nathan
|> |
|> |>
|> |>
|> |> What does this refer to?
|> |>
|> |> Thanks
|> |>
|> |> -JMS
|> |> opjose at ex-pressnet.com
|> |>
|> |> _______________________________________________
|> |> pptp-server maillist  -  pptp-server at lists.schulte.org
|> |> http://lists.schulte.org/mailman/listinfo/pptp-server
|> |> List services provided by www.schulteconsulting.com!
|> |
|>
|> _______________________________________________
|> pptp-server maillist  -  pptp-server at lists.schulte.org
|> http://lists.schulte.org/mailman/listinfo/pptp-server
|> List services provided by www.schulteconsulting.com!
|>

_______________________________________________
pptp-server maillist  -  pptp-server at lists.schulte.org
http://lists.schulte.org/mailman/listinfo/pptp-server
List services provided by www.schulteconsulting.com!



More information about the pptp-server mailing list