ppp problems on 4.3-RELEASE and PPPoE

2001-05-16 Thread James Housley

I have been having problems with the the newer Windows machines, 2000 &
Me, not being able to access some websites.  I have had to manually edit
the registry to change the MTU.  This should not be needed, because I am
running 4.3-RELEASE which has had the tcpmssfixup feature for a while. 
It is enabled.  Unfortunately this maching is in an office in Canada,
and I am not in Canada.  I am using natd and ipfw for NAT and the
firewall.  The link has a static IP if it matters.  Below I am attaching
ppp.conf.  I have watched some of the data with tcpdump on both tun0 and
ed0, but I am not sure what to look for.

Suggestion on how to proceed.

Jim

 ppp.conf 
default:
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuaa1

 set log Phase Chat LCP IPCP CCP tun command
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set timeout 180# 3 minute idle timer (the
default)
 add default HISADDR# Add a (sticky) default route
 enable dns # request DNS info (for
resolv.conf)

magma:
 ident
 set device PPPoE:ed0
 set MRU 1492
 set MTU 1492
 set authname **
 set authkey ***
 set log Phase Chat Connect
 set dial
 set login
 set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0/0 0.0.0.0/0
 set timeout 0
 set server +3000 ***
 enable tcpmssfixup
 disable dns
 set cd 5
 set crtscts off
 enable pap
 disable pred1

--
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -
[EMAIL PROTECTED]  http://www.FreeBSD.org The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
-
The wise man built his network upon Un*x.
The foolish man built his network upon Windows.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



How to auto-boot from an alternate disk

2001-05-16 Thread Brian Somers

Hi,

I have a machine with 3 IDE disks and 2 SCSI disks and I want to boot 
from the first SCSI disk *but* my BIOS won't boot it.

How are you supposed to do this ?

I've currently done

# boot0cfg -v -t 10 -B -s 5 ad0
# boot0cfg -v -t 1 -B -s 5 -m 0 ad1
# boot0cfg -v -t 1 -B -s 5 -m 0 ad2

Which causes things to merrily skip across my IDE disks 'till it 
finds the first SCSI disk, loads /boot/loader from there, finds my 
kernel and then drops into a dumb ``manual mount'' prompt that makes 
me say ``ufs:/dev/da0s1a''.

What I'd *REALLY* like is some way to just say ``default to 
3:da(0,a)/boot/loader''.

Any suggestions ?

Ta.
-- 
Brian <[EMAIL PROTECTED]>
     
Don't _EVER_ lose your sense of humour !



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



question....

2001-05-16 Thread Olson Cpl Eric S

i use hpux at work, and just recently decided to install freebsd on my home
system. i have some unix experience, and a nice bit of experience on linux.
i have a linksys usb 10/100 nic and was wondering if freebsd will support
it. if not, what other *nix system will, and where can i download it. if
freebsd CAN support it, i need help on setting it up. 

thank you, 
eric olson

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-16 Thread Julian Elischer

James Housley wrote:
> 
> I have been having problems with the the newer Windows machines, 2000 &
> Me, not being able to access some websites.  I have had to manually edit
> the registry to change the MTU.  This should not be needed, because I am
> running 4.3-RELEASE which has had the tcpmssfixup feature for a while.
> It is enabled.  Unfortunately this maching is in an office in Canada,
> and I am not in Canada.  I am using natd and ipfw for NAT and the
> firewall.  The link has a static IP if it matters.  Below I am attaching
> ppp.conf.  I have watched some of the data with tcpdump on both tun0 and
> ed0, but I am not sure what to look for.
> 

if you are using ppp you may save some overhead by using the builtin
NAT/filters in ppp.

In either case, you could do by looking at the tcpdump outputs 
of the initial session negotiations between the windows machines 
and the websites in question...


-- 
  __--_|\  Julian Elischer
 /   \ [EMAIL PROTECTED]
(   OZ) World tour 2000-2001
---> X_.---._/  
v

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-16 Thread Brian Somers

Try reducing the interface MTU further.  It's possible that there's a 
misconfigured router between you and the sites *and* a part of the 
route has an mtu of less than 1492.

``set mtu 1480'' or ``set mtu 1460'' may work.

> I have been having problems with the the newer Windows machines, 2000 &
> Me, not being able to access some websites.  I have had to manually edit
> the registry to change the MTU.  This should not be needed, because I am
> running 4.3-RELEASE which has had the tcpmssfixup feature for a while. 
> It is enabled.  Unfortunately this maching is in an office in Canada,
> and I am not in Canada.  I am using natd and ipfw for NAT and the
> firewall.  The link has a static IP if it matters.  Below I am attaching
> ppp.conf.  I have watched some of the data with tcpdump on both tun0 and
> ed0, but I am not sure what to look for.
> 
> Suggestion on how to proceed.
> 
> Jim
> 
>  ppp.conf 
> default:
>  ident user-ppp VERSION (built COMPILATIONDATE)
> 
>  # Ensure that "device" references the correct serial port
>  # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
>  #
>  set device /dev/cuaa1
> 
>  set log Phase Chat LCP IPCP CCP tun command
>  set speed 115200
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
>\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>  set timeout 180# 3 minute idle timer (the
> default)
>  add default HISADDR# Add a (sticky) default route
>  enable dns # request DNS info (for
> resolv.conf)
> 
> magma:
>  ident
>  set device PPPoE:ed0
>  set MRU 1492
>  set MTU 1492
>  set authname **
>  set authkey ***
>  set log Phase Chat Connect
>  set dial
>  set login
>  set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0/0 0.0.0.0/0
>  set timeout 0
>  set server +3000 ***
>  enable tcpmssfixup
>  disable dns
>  set cd 5
>  set crtscts off
>  enable pap
>  disable pred1
> 
> --
> -- 
> /"\   ASCII Ribbon Campaign  .
> \ / - NO HTML/RTF in e-mail  .
>  X  - NO Word docs in e-mail .
> / \ -
> [EMAIL PROTECTED]  http://www.FreeBSD.org The Power to Serve
> [EMAIL PROTECTED]  http://www.TheHousleys.net
> -
> The wise man built his network upon Un*x.
> The foolish man built his network upon Windows.

-- 
Brian <[EMAIL PROTECTED]>
     
Don't _EVER_ lose your sense of humour !



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: How to auto-boot from an alternate disk

2001-05-16 Thread jack

Today Brian Somers wrote:

> Which causes things to merrily skip across my IDE disks 'till it
> finds the first SCSI disk, loads /boot/loader from there, finds my
> kernel and then drops into a dumb ``manual mount'' prompt that makes
> me say ``ufs:/dev/da0s1a''.
>
> What I'd *REALLY* like is some way to just say ``default to
> 3:da(0,a)/boot/loader''.
>
> Any suggestions ?

I worked around a similar situation by installing OS-BS (from
/tools on the release CDs) on the IDE and making the SCSI drive
the default to boot.  Not very elegant but it worked until I was
able to pawn the IDE drive off to a windows weenie. :)

--
Jack O'NeillSystems Administrator / Systems Analyst
[EMAIL PROTECTED] Crystal Wind Communications, Inc.
  Finger [EMAIL PROTECTED] for my PGP key.
   PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67   FD 09 E9 3C 5F CC EB CD
   enriched, vcard, HTML messages > /dev/null
--
A Microsoft Certified Systems Engineer is to computing what
a McDonalds Certified Food Specialist is to fine cuisine.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: subscribe

2001-05-16 Thread Brian O'Shea

Such in-band signaling might occasionally cause a (mostly harmless)
false positive.  Consider the footer that is automatically appended to
list with unsubscribe instructions.  Now imagine it triggering a false
"unsubscribe" attempt for every list message!  Obviously that's an
extremem example and with some care it won't really happen, but it's
worth thinking about.

-brian


On Sat, May 12, 2001 at 12:25:37AM -0700, Jordan Hubbard wrote:
> I guess we could, but somebody would have to do it. :)
> 
> - Jordan
> 
> From: "David O'Brien" <[EMAIL PROTECTED]>
> Subject: Re: subscribe
> Date: Fri, 11 May 2001 18:34:57 -0700
> 
> > On Fri, May 11, 2001 at 05:01:13PM -0700, Jordan Hubbard wrote:
> > > Argh!  I'm sorry folks, I almost always remember to delete the cc
> > > line when I send somebody that particular form letter so as not to
> > > spam the list myself, but this time I forgot to do that before
> > > typing the send command.  Bad Jordan, no cookie!
> > 
> > Why is it we can't have majordomo filter these out and send the
> > people your form reponce.
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-hackers" in the body of the message
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 

-- 
Brian O'Shea
<[EMAIL PROTECTED]>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



send/sendto/sendmsg and ECONNREFUSED

2001-05-16 Thread Richard Hodges

I just spent a good half hour trying to figure out a strange problem
with a UDP socket.  I connect()'ed the socket, and used send() to
send small UDP packets to a server.  Real basic stuff, right?

Using tcpdump on the receiver, I could see that every other packet
was sent successfully, the other half died in the sender.  The
send() call returned 61, ECONNREFUSED.  This is not listed in the
man pages, but a few minutes searching the web turned up the
explanation - I had forgotten to start the UDP receiver...

This may be a "Well, duh!" issue for some, but I think it might be
appropriate to add a line for ECONNREFUSED in the man pages for
send/sendto/sendmsg.  It may be obvious, but is it _painfully_
obvious that the ICMP reply will trigger ECONNREFUSED on the
next packet?

All the best,

-Richard

---
   Richard Hodges   | Matriplex, inc.
   Product Manager  | 769 Basque Way
  [EMAIL PROTECTED]  | Carson City, NV 89706
775-886-6477| www.matriplex.com 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: FreeBSD 4.3 crashing with USB hub attached...

2001-05-16 Thread Jon Simola

On Mon, 14 May 2001, Chris Dillon wrote:

> > Did you notice, before the crash, that the kernel had some trouble
> > querying the offending device?  That happens with me, and then a
> > little while later in the boot it crashes.
> 
> Yes, the symptoms were the same as yours.  The initial probing during
> boot took quite a while, and generated a few errors if I remember
> correctly, then a panic shortly afterwards.  I'm going to try my USB
> joypad on my own 4.3-STABLE box tonight and see if I encounter any
> problems, since I just got a new OHCI USB controller for it (I was
> having what I can only explain as EMI/RFI problems with my on-board
> USB controller).

I believe I had a similar problem back on 4.2-RELEASE with a PSX->USB adapter.
http://www.geocrawler.com/mail/thread.php3?subject=Broken-by-design+USB+device%3F&list=159

I sent the offending hardware off to Nick Hibma for him to look at, uh, 4
months ago. Is he back from vacation yet?

---
Jon Simola <[EMAIL PROTECTED]> | "In the near future - corporate networks
Systems Administrator |  reach out to the stars, electrons and light 
 ABC  Communications  |  flow throughout the universe." -- GITS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: FreeBSD 4.3 crashing with USB hub attached...

2001-05-16 Thread Shannon

On Wed, May 16, 2001 at 02:53:43PM -0700, Jon Simola wrote:

> I believe I had a similar problem back on 4.2-RELEASE with a PSX->USB adapter.
> 
>http://www.geocrawler.com/mail/thread.php3?subject=Broken-by-design+USB+device%3F&list=159
> 
> I sent the offending hardware off to Nick Hibma for him to look at, uh, 4
> months ago. Is he back from vacation yet?

Did you send him crash details? Would you mind sharing them with me if
you did? I want to do the same on my system and compare them. Might be
helpful to compare the two incidents.

I've so far been unable to trigger a kernel panic with any other USB
hardware.  I have another force feedback device to try and that's
pretty much it for me.

After that I will submit a more detailed bug report if possible.

-- 
[EMAIL PROTECTED]  _
__/ armchairrocketscientistgraffitiexenstentialist
 "And in billows of might swell the Saxons before her,-- Unite, oh
 unite!  Or the billows burst o'er her!" -- Downfall of the Gael

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: ipv6 only?

2001-05-16 Thread Kris Kennaway

On Tue, May 15, 2001 at 03:20:52PM +0200, Alexis Yushin wrote:
> Hello there,
> 
> I wonder if anybody here has any experience with compiling
> pure IPv6 system without IPv4 support in the kernel at all?
> 
> Are there any projects like that?

It's probably not all that difficult, as these things go, but it
requires code fixes.

Kris

 PGP signature


Re: wint_t

2001-05-16 Thread Daniel C. Sobral

Terry Lambert wrote:
> 
> Internationalization, in general, is the process of
> taking code, and making it so that it is possible to
> localize it into a particular -- monolingual -- locale.
> 
> You need spacial software to deal with multilingual
> text; the vast majority of software doesn't have to
> do that (about the only place you will see it is in
> a translator-used application).

Funny. I use it on e-mail. Perhaps if you lived in a country that used a
language other than English you would have a different perception of
this issue...

-- 
Daniel C. Sobral(8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Caffeine is proof that God hates mornings too

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



MxN threads on Linux

2001-05-16 Thread Arun Sharma

Ran into this on freshmeat today:

http://oss.software.ibm.com/developerworks/opensource/pthreads/

Why isn't the FreeBSD equivalent happening on a public cvs
branch ? I'm not demanding that it should happen that way,
just curious about the reasons :)

-Arun

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: MxN threads on Linux

2001-05-16 Thread Dan Nelson

In the last episode (May 16), Arun Sharma said:
> Ran into this on freshmeat today:
> 
> http://oss.software.ibm.com/developerworks/opensource/pthreads/
> 
> Why isn't the FreeBSD equivalent happening on a public cvs branch ?
> I'm not demanding that it should happen that way, just curious about
> the reasons :)

Probably because the coders are waiting for SMPng to stabilize a bit
before working on threads.  Once work starts, it will be visible to all
in CVS, just like SMPng is now.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



RE: MxN threads on Linux

2001-05-16 Thread Arun Sharma

> 
> In the last episode (May 16), Arun Sharma said:
> > Ran into this on freshmeat today:
> > 
> > http://oss.software.ibm.com/developerworks/opensource/pthreads/
> > 

For those interested, it took me about an hour to write up
pth_native_freebsd.c (http://sharmas.dhs.org/~adsharma/pth_native_freebsd.c)
to use rfork_thread().

It creates multiple threads just fine, runs for a while and then core
dumps.

#0  0x2810badd in isatty () from /usr/lib/libc.so.5
#1  0x30 in ?? ()
#2  0x1 in ?? ()
#3  0x28079f08 in __DTOR_END__ ()
   from /usr.current/home/adsharma/src/ngpt-0.9.4/.libs/libpthread.so.9
#4  0xe82075c0 in ?? ()

Any hints on what this could be about ? I think getting a working implementation
of thread aware truss/gdb is pretty critical.

-Arun


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Su negocio esta al aire?... o en el aire?

2001-05-16 Thread digitecnia . com
Title: WEBPACK DIGITECNIA









El WEBPACK  es una 
solución integral compuesta por los servicios básicos necesarios para tener un 
sitio en Internet de una forma rápida, económica y profesional, esta compuesto 
por:
Nombre de Dominio Registro 
por 1 año  --  
www.su-empresa.com --
Diseño Web 
Portada inicial, 5 paginas adicionales, logotipo y 2 Formularios
Hosting Web 1 año de servicio incluido, con 20 MB de espacio
5 Buzones de Correo Electrónico

Valor 490 Dólares
 
Adiciones al WEBPACK:
Nuevo! 
Plug Comercial Consiste en un paquete 
adicional, que permite la implementación de comercio electrónico en su sitio 
Web. Esta compuesto por el sistema de catalogo en línea, carrito de compras, 
modulo de administración y un curso virtual de comercio electrónico. 1 año de 
servicio incluido. Valor 210 Dólares
Diseño de Pagina adicional: 30 Dólares c/u
Formulario con envio de resultados a un 
email: 25 Dólares c/u
 
Si esta interesado en el WEBPACK, por 
favor llene el siguiente formulario:

  






  Nombre
  


  Empresa
  


  Ciudad
  


  País
  


  Dirección
  


  Teléfono
  


  email
  


   
  
  WEBPACK


   
  
  WEBPACK 
  + Plug Comercial


  
  
  
  
  
 Nota: Es posible que este formulario no funcione correctamente 
en algunos programas de correo 
  electrónico. Puede completarlo en línea en: http://www.digitecnia.com/webpack.htm 
  
  

  
  


o contactarse a : [EMAIL PROTECTED]

 

www.digitecnia.com
SI NO DESEA RECIBIR OFERTAS DE DIGITECNIA, 
CONTESTE ESTE EMAIL CON LA PALABRA REMOVER COMO ASUNTO.




Re: ppp problems on 4.3-RELEASE and PPPoE

2001-05-16 Thread James Housley

Brian Somers wrote:
> 
> Try reducing the interface MTU further.  It's possible that there's a
> misconfigured router between you and the sites *and* a part of the
> route has an mtu of less than 1492.
> 
> ``set mtu 1480'' or ``set mtu 1460'' may work.
> 

That fixed it.  I fat-fingered it to 1450.  But is now working.  I will,
when bored, try raising it up to 1480, for a little more performance.  I
hadn't considered the possibility that the 1492, which their Windoze
software uses, would be too big.

Thanks again all.

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -
[EMAIL PROTECTED]  http://www.FreeBSD.org The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
-
"...there's no idea that's so good you can't 
ruin it with a few well-placed idiots." 
-- Charles Spickman

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message