public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* buen dia
@ 2004-04-23 16:42 Gerardo Loredo
  2004-04-24  0:57 ` Enrique Baraibar
  0 siblings, 1 reply; 6+ messages in thread
From: Gerardo Loredo @ 2004-04-23 16:42 UTC (permalink / raw)
  To: linux-msdos

tengo dosemu 1.3 y active ipx_suport pero me da el siguiente error  :


cannot open:   /proc/net/ipx_route


esto porque el route esta en   /proc/net/ipx/route


la pregunta es como puedo redireccionarlo, en lugar de que busque ipx_route 
en /proc/net, que busque route en /proc/net/ipx...????????


por su atencion gracias

_________________________________________________________________
MSN. Más Útil Cada Día  http://www.msn.es/intmap/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: buen dia
  2004-04-23 16:42 buen dia Gerardo Loredo
@ 2004-04-24  0:57 ` Enrique Baraibar
  0 siblings, 0 replies; 6+ messages in thread
From: Enrique Baraibar @ 2004-04-24  0:57 UTC (permalink / raw)
  To: DOSemu mailing list

Did you try a symlink?
How did it go there in the first place? Perhaps you can move it without
bringing anything down?

O, en español:

¿Has probado un symlink?
Para empezar: ¿Cómo fue a parar allí? Quizá lo puedas mover sin que se te
desarme nada.

Gerardo, soy nuevo en esta lista, pero pienso que puede ser dificil
conseguir ayuda preguntando en español.  La lista y la gente son
excelentes, pero temo que el español no esté muy difundido aquí.

-- 
Enrique Baraibar

On Fri, 23 Apr 2004 16:42:35 +0000

Gerardo Loredo" <loredo_gerardo@hotmail.com> wrote:

> tengo dosemu 1.3 y active ipx_suport pero me da el siguiente error  :
> 
> 
> cannot open:   /proc/net/ipx_route
> 
> 
> esto porque el route esta en   /proc/net/ipx/route
> 
> 
> la pregunta es como puedo redireccionarlo, en lugar de que busque
> ipx_route en /proc/net, que busque route en /proc/net/ipx...????????
> 
> 
> por su atencion gracias
> 
> _________________________________________________________________
> MSN. Más Útil Cada Día  http://www.msn.es/intmap/
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos"
> in the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

English version:

I am using DOSemu 1.3 and active ipx_support, but I get the error:

 cannot open:   /proc/net/ipx_route

this is because the route is in /proc/net/ipx/route

The question is how can I redirect it so it looks for ipx_route in
proc/net/ipx instead of /proc/net ????????

Thank you for your help.
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: buen dia
@ 2004-04-24 13:33 Stas Sergeev
  2004-04-25  1:18 ` Enrique Baraibar
  2004-04-26  7:24 ` Reinhard Karcher
  0 siblings, 2 replies; 6+ messages in thread
From: Stas Sergeev @ 2004-04-24 13:33 UTC (permalink / raw)
  To: linux-msdos

Hello.

Enrique Baraibar wrote:
> The question is how can I redirect it so it looks for ipx_route in
> proc/net/ipx instead of /proc/net
This is hardcoded in ipxglt.c - just
change that file and recompile.
This was changed between 2.4 and 2.6
kernel series, and now dosemu needs
a runtime check.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: buen dia
  2004-04-24 13:33 Stas Sergeev
@ 2004-04-25  1:18 ` Enrique Baraibar
  2004-04-26  7:24 ` Reinhard Karcher
  1 sibling, 0 replies; 6+ messages in thread
From: Enrique Baraibar @ 2004-04-25  1:18 UTC (permalink / raw)
  To: DOSemu mailing list

On Sat, 24 Apr 2004 17:33:30 +0400
Stas Sergeev <stsp@aknet.ru> wrote:

> Hello.
> 
> Enrique Baraibar wrote:
> > The question is how can I redirect it so it looks for ipx_route in
> > proc/net/ipx instead of /proc/net
> This is hardcoded in ipxglt.c - just
> change that file and recompile.
> This was changed between 2.4 and 2.6
> kernel series, and now dosemu needs
> a runtime check.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-msdos"
> in the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Gerardo, traduzco lo que dijo Stas:

Esto está fijado en ipxglt.c - sólo cambia ese archivo y recompila.
Esto fue cambiado entre las series 2.4 y 2.6 del kernel, y ahora dosemu
necesita una revisión del runtime.

-- 
Enrique Baraibar

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: buen dia
  2004-04-24 13:33 Stas Sergeev
  2004-04-25  1:18 ` Enrique Baraibar
@ 2004-04-26  7:24 ` Reinhard Karcher
  2004-04-26  8:32   ` Bart Oldeman
  1 sibling, 1 reply; 6+ messages in thread
From: Reinhard Karcher @ 2004-04-26  7:24 UTC (permalink / raw)
  To: linux-msdos

On Sat, Apr 24, 2004 at 05:33:30PM +0400, Stas Sergeev wrote
> Hello.
> 
> Enrique Baraibar wrote:
> >The question is how can I redirect it so it looks for ipx_route in
> >proc/net/ipx instead of /proc/net
> This is hardcoded in ipxglt.c - just
> change that file and recompile.
> This was changed between 2.4 and 2.6
> kernel series, and now dosemu needs
> a runtime check.
>
Michael Karcher wrote a runtimecheck I'm using now.
cvs diff returns the following for src/dosext/net/net/ipxglt.c:
<       open_proc_scan("/proc/net/ipx_route");
---
>       if(access("/proc/net/ipx/route",R_OK) == 0)
>               open_proc_scan("/proc/net/ipx/route");
>       else if(access("/proc/net/ipx_route",R_OK) == 0)
>               open_proc_scan("/proc/net/ipx_route");
>       else
>               return 0;


Reinhard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: buen dia
  2004-04-26  7:24 ` Reinhard Karcher
@ 2004-04-26  8:32   ` Bart Oldeman
  0 siblings, 0 replies; 6+ messages in thread
From: Bart Oldeman @ 2004-04-26  8:32 UTC (permalink / raw)
  To: linux-msdos

On Mon, 26 Apr 2004, Reinhard Karcher wrote:

> On Sat, Apr 24, 2004 at 05:33:30PM +0400, Stas Sergeev wrote
> > Hello.
> >
> > Enrique Baraibar wrote:
> > >The question is how can I redirect it so it looks for ipx_route in
> > >proc/net/ipx instead of /proc/net
> > This is hardcoded in ipxglt.c - just
> > change that file and recompile.
> > This was changed between 2.4 and 2.6
> > kernel series, and now dosemu needs
> > a runtime check.
> >
> Michael Karcher wrote a runtimecheck I'm using now.
> cvs diff returns the following for src/dosext/net/net/ipxglt.c:
> <       open_proc_scan("/proc/net/ipx_route");
> ---
> >       if(access("/proc/net/ipx/route",R_OK) == 0)
> >               open_proc_scan("/proc/net/ipx/route");
> >       else if(access("/proc/net/ipx_route",R_OK) == 0)
> >               open_proc_scan("/proc/net/ipx_route");
> >       else
> >               return 0;

thanks! I was going to do something like this but now I know it's tested
as well. "cvs diff -u" would have been nicer by the way.

Bart

Index: ipxglt.c
===================================================================
RCS file: /cvsroot/dosemu/dosemu/src/dosext/net/net/ipxglt.c,v
retrieving revision 1.2
diff -u -r1.2 ipxglt.c
--- ipxglt.c	16 Jan 2004 20:50:30 -0000	1.2
+++ ipxglt.c	26 Apr 2004 08:31:07 -0000
@@ -81,7 +81,12 @@
 	sprintf(buf_node, "%02X%02X%02X%02X%02X%02X", node[0], node[1],
                      node[2], node[3], node[4], node[5]);

-	open_proc_scan("/proc/net/ipx_route");
+	if(access("/proc/net/ipx/route",R_OK) == 0)
+		open_proc_scan("/proc/net/ipx/route");
+	else if(access("/proc/net/ipx_route",R_OK) == 0)
+		open_proc_scan("/proc/net/ipx_route");
+	else
+		return 0;
 	proc_str = get_proc_string_by_key(buf_targ);

 	if (!proc_str) {


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-04-26  8:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-23 16:42 buen dia Gerardo Loredo
2004-04-24  0:57 ` Enrique Baraibar
  -- strict thread matches above, loose matches on Subject: below --
2004-04-24 13:33 Stas Sergeev
2004-04-25  1:18 ` Enrique Baraibar
2004-04-26  7:24 ` Reinhard Karcher
2004-04-26  8:32   ` Bart Oldeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox