Re: PPP

2002-01-07 Thread Marcus Brinkmann
On Sun, Jan 06, 2002 at 07:21:31PM +0100, Neal H Walfield wrote: > > However, the main point is: ping works, some basic stuff works, and it > > should be possible to debug the remaining problems without too much hassles. > > The main candidates for the problems are um-pppd (in particular the tty

Re: PPP

2002-01-07 Thread Neal H Walfield
> (I disable logging because a bug in the glibc package prevents syslog > from working correctly, this bug is fixed in CVS since quite a while. > If you have the poll fix then you can enable logging). ... using `set log all' instead of `set log -all'. > However, the main point is: ping works, s

Re: PPP

2002-01-04 Thread Marcus Brinkmann
On Fri, Jan 04, 2002 at 06:47:02PM -0500, Roland McGrath wrote: > > I set the speed of the serial line to 19200 by this: > > stty speed 19200 < /dev/com0 > > Why do you have to? Doesn't ppp set this speed itself? I don't think so, but I have not verified it. I surely had trouble without that.

Re: PPP

2002-01-04 Thread Roland McGrath
> I set the speed of the serial line to 19200 by this: > stty speed 19200 < /dev/com0 Why do you have to? Doesn't ppp set this speed itself? > I set up pfinet (after killing it with kill -9): > settrans /servers/socket/2 /hurd/pfinet -i tun0 Does settrans -gf not work? > (you can add -i tun

Re: ppp and the hurd

2001-12-03 Thread Neal H Walfield
> hi, i think i spoke with you on #hurd yesterday. i don't have much > low level programming experience, but i would really like to work on > porting pppoe to the hurd to get my adsl modem working. any advice or > pointers to useful information you can offer would be appreciated. > do you th

Re: PPP: uu_lock()

2001-05-06 Thread Roland McGrath
Figure out what lock file name it is actually trying to use. It is probably trying to use a file name in a nonexistent directory. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: PPP port status

2001-04-26 Thread Marcus Brinkmann
On Mon, Apr 23, 2001 at 02:22:55PM -0500, Daniel E Baumann wrote: > Hello all. I have been playing with PPP some more, but I am not very successfuly as > it seems pfinet just does not like me :P. It is basically doing the same thing as > bafore failing to set the gateway address initially then aft

Re: PPP Port: Cannot set gateway address

2001-03-06 Thread Marcus Brinkmann
On Tue, Mar 06, 2001 at 01:27:13PM -0600, Daniel E Baumann wrote: > Can I > justs rebuild the deb with debuggin symbols for now? How do I do that? (Yes I > should learn how to make a deb ;) ). Get the Debian source files (should be in ftp://ftp.debian.org/pool/h/hurd or so). Just get the tar.gz f

Re: PPP Port: Cannot set gateway address

2001-03-06 Thread Daniel E Baumann
On Mon, Mar 05, 2001 at 04:40:48AM +0100, Marcus Brinkmann wrote: > On Sun, Mar 04, 2001 at 08:00:37PM -0600, Daniel E Baumann wrote: > > Well if I try to set it with fsysopts the first time it will tell me: > > > > ./fsysopts: /servers/socket/2: Network is unreachable (something like that) > >

Re: PPP Port: Cannot set gateway address

2001-03-04 Thread Marcus Brinkmann
On Sun, Mar 04, 2001 at 09:42:50PM -0500, Roland McGrath wrote: > It sounds like it is pfinet you need to debug, not anything on the client end. > There might be a hurd package with debugging symbols, Marcus can tell you > (hurd-dbg I'd guess?), or you could just compile hurd yourself. We really

Re: PPP Port: Cannot set gateway address

2001-03-04 Thread Marcus Brinkmann
On Sun, Mar 04, 2001 at 08:00:37PM -0600, Daniel E Baumann wrote: > Well if I try to set it with fsysopts the first time it will tell me: > > ./fsysopts: /servers/socket/2: Network is unreachable (something like that) > > if I do it again it just hangs there and any subsequent invocations it wil

Re: PPP Port: Cannot set gateway address

2001-03-04 Thread Roland McGrath
So, if you can reduce the whole thing to a series of fsysopts commands (equivalent to what ppp does, but without running ppp) that produces problematic results from pfinet, then it will be much easier for someone else to try to debug it. ___ Bug-hurd m

Re: PPP Port: Cannot set gateway address

2001-03-04 Thread Roland McGrath
> Well if I try to set it with fsysopts the first time it will tell me: > > ./fsysopts: /servers/socket/2: Network is unreachable (something like that) > > if I do it again it just hangs there and any subsequent invocations it will > just hang. What I typed was 'fsysopts -R /servers/socket/2 --g

Re: PPP Port: Cannot set gateway address

2001-03-04 Thread Daniel E Baumann
On Sun, Mar 04, 2001 at 07:20:42PM -0600, Daniel E Baumann wrote: > On Sun, Mar 04, 2001 at 04:55:02PM -0500, Roland McGrath wrote: > > > Woops. Here is the message from the error () call: > > > > > > ./ppp: /servers/socket/2: --gateway=10.0.0.2: (ipc/mig) server died > > > > Ah. That would see

Re: PPP Port: Cannot set gateway address

2001-03-04 Thread Daniel E Baumann
On Sun, Mar 04, 2001 at 04:55:02PM -0500, Roland McGrath wrote: > > Woops. Here is the message from the error () call: > > > > ./ppp: /servers/socket/2: --gateway=10.0.0.2: (ipc/mig) server died > > Ah. That would seem to indicate that pfinet died. Please try doing the > same sequence of fsys_

Re: PPP Port: Cannot set gateway address

2001-03-04 Thread Roland McGrath
> Woops. Here is the message from the error () call: > > ./ppp: /servers/socket/2: --gateway=10.0.0.2: (ipc/mig) server died Ah. That would seem to indicate that pfinet died. Please try doing the same sequence of fsys_set_options calls by hand using fsysopts on /servers/socket/2 and see if you

Re: PPP Port: Cannot set gateway address

2001-03-04 Thread Daniel E Baumann
On Sat, Mar 03, 2001 at 06:39:51PM -0500, Roland McGrath wrote: > You have to show us the full error message from stderr, the > one that includes the errno code. Woops. Here is the message from the error () call: ./ppp: /servers/socket/2: --gateway=10.0.0.2: (ipc/mig) server died Dan -- Daniel

Re: PPP Port: Cannot set gateway address

2001-03-03 Thread Roland McGrath
You have to show us the full error message from stderr, the one that includes the errno code. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: PPP port available via SourceForge CVS

2001-01-12 Thread Marcus Brinkmann
On Fri, Jan 12, 2001 at 11:31:28AM -0600, Daniel E Baumann wrote: > Upon popular request, to make the code avaiable, I have imported the user > space PPP port ino the HURD SourceForge CVS tree. Great Daniel, thanks a lot! > This > code will not be tested or debugged until there is a glibc and

Re: PPP port: setproctitle()?

2000-12-09 Thread Daniel E Baumann
On Wednesday 06 December 2000 15:53, Roland McGrath wrote: > > Anyone know what the HURD equivalent would be to FreeBSD's > > setproctitle()? I assume it would be a call in libps. Is there a glibc > > equivalent function or way to do this? Please enlighten me. Maybe I'll > > look in the glibc manu

Re: PPP port: setproctitle()?

2000-12-06 Thread Roland McGrath
> Anyone know what the HURD equivalent would be to FreeBSD's setproctitle()? I > assume it would be a call in libps. Is there a glibc equivalent function or > way to do this? Please enlighten me. Maybe I'll look in the glibc manual > and see if I can figure somehtin' out. All setproctitle does

Re: PPP port: setproctitle()?

2000-12-06 Thread Neal H Walfield
On Wed, Dec 06, 2000 at 10:10:42AM -0600, Daniel E Baumann wrote: > Anyone know what the HURD equivalent would be to FreeBSD's setproctitle()? I > assume it would be a call in libps. Is there a glibc equivalent function or > way to do this? Please enlighten me. Maybe I'll look in the glibc manua

Re: PPP port: iface_Create

2000-12-02 Thread Marcus Brinkmann
On Sat, Dec 02, 2000 at 06:56:10PM -0600, Daniel E Baumann wrote: > > > ioctl(s, SIOCGIFFLAGS, &ifr); > > > > We have this, but ifr isn't initialized yet! You need to set the name. > > Also, the second argument is a struct ifreq **, while you need a struct > > ifreq *. But if you change ifr as a

Re: PPP port: iface_Create

2000-12-02 Thread Daniel E Baumann
On Saturday 02 December 2000 13:52, Marcus Brinkmann wrote: > On Sat, Dec 02, 2000 at 12:31:27PM -0600, Daniel E Baumann wrote: > > I have writen the function to create an iface startuct in PPP using > > several SIOC* ioctl glibc calls. This is the first time I've used this so > > I am posting it

Re: PPP port: iface_Create

2000-12-02 Thread Marcus Brinkmann
On Sat, Dec 02, 2000 at 12:31:27PM -0600, Daniel E Baumann wrote: > I have writen the function to create an iface startuct in PPP using several > SIOC* ioctl glibc calls. This is the first time I've used this so I am > posting it for inspection, comments and all that. > struct ifreq *ifr; Yo

Re: PPP port: iface_Create

2000-12-02 Thread Neal H Walfield
On Sat, Dec 02, 2000 at 12:31:27PM -0600, Daniel E Baumann wrote: > I have writen the function to create an iface startuct in PPP using several > SIOC* ioctl glibc calls. This is the first time I've used this so I am > posting it for inspection, comments and all that. Also, is it ok to reuse the

Re: PPP port: Code for setting gateway

2000-11-25 Thread Marcus Brinkmann
On Sat, Nov 25, 2000 at 04:31:31PM -0500, Igor Khavkine wrote: > > > > sprintf(node_name, "%s/%d", _SERVERS_SOCKET, PF_INET); > > Well, that's another segfault right there, you're trying to write > to a wild pointer. Try: > asprintf(&node_name, _SERVERS_SOCKET "%d", PF_INET); > Actually you d

Re: PPP port: Code for setting gateway

2000-11-25 Thread Igor Khavkine
On Sat, Nov 25, 2000 at 01:50:37AM -0600, Daniel E Baumann wrote: > Here is the code I wrote for setting the gateway in bundle.c, I welcome any > comments. Some of this I borrowed from fsysopts.c. > I hope this is prototype code because there is a couple of obvious blunders. > int > bundle_Set

Re: PPP port: Quick question about file_name_lookup function

2000-11-24 Thread Marcus Brinkmann
On Fri, Nov 24, 2000 at 11:30:40AM -0600, Daniel E Baumann wrote: > When I supply the node > name is it safe to hard code "/servers/socket/2" as the node name? As far as this hack goes, sure. > I think I may add a check to > ensure that it is a tunnel interface also. Don't bother. Marcus -

Re: PPP port: Routing

2000-11-22 Thread Neal H Walfield
On Wed, Nov 22, 2000 at 10:54:54AM +, Daniel E Baumann wrote: > I am porting BSD PPP as most know (I hope that most of you guys know that). > There is some code in there which uses the BSD routing implementation (which > is dfiferent from Linux) to set routes. I know that pfinet does not supp

Re: PPP for Hurd requirements

2000-08-09 Thread Kalle Olavi Niemitalo
Roland McGrath <[EMAIL PROTECTED]> writes: > (As your example is written, it suggests that /dev/eth0 and > /dev/ppp0 are devices that deliver IP packets, while I would > expect them to deliver Ethernet and PPP frames respectively. Well actually I thought they would deliver datagrams tagged with

Re: PPP for Hurd requirements

2000-08-06 Thread Roland McGrath
> Could one set up a tree like this: > > pfinet > +-- load balancing channel > |+-- network device channel > | +-- Mach eth0 > |+-- network device channel > | +-- Mach eth1 > +-- PPP channel > +-- serial port channel >+-- Mach com0 > > with command

Re: PPP for Hurd requirements

2000-08-06 Thread Kalle Olavi Niemitalo
Switching to the right list... Roland McGrath <[EMAIL PROTECTED]> writes: > My basic notion is a "channel" abstraction parallel to the > "store" abstraction and with similar support in libraries and > protocols a la file_get_storage_info and libstore. Could one set up a tree like this: pfinet