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. And what I forgot: I had to run minicom to at least once after booting, because some serial line attributes seemed to be wrong (I received garbage). > > I set up pfinet (after killing it with kill -9): > > settrans /servers/socket/2 /hurd/pfinet -i tun0 > > Does settrans -gf not work? It didn't work always for me. I think if there is a parallel ethernet configuration, and inetd is running, it refuses to go away. Or something like that. > > (you can add -i tun0 to your existing configuration to have ethernet and > > ppp). > > Does it also work to add it with fsysopts to test before changing the > translator setting? If that works you can do that to update the current > state and then use settrans -pk to change it for the next boot, without > ever killing pfinet. Yes, fsysopts /servers/socket/2 -i tun0 seems to work fine. > > I can do some of the things Neal described in one of the posts here. > > For example, I can ftp to the other machine, and download a small file > > (smaller than 500 bytes). But larger files are not retrieved. On the Hurd > > side, "show hdlc" shows bad frame check sequence fields errors. > > On the GNU/Linux side ifconfig shows receive errors, too. > > That sure sounds like serial port problems to me. > Have you tried really low speeds? Oh my! Indeed, it works with 600 and 4800 baud, but not with 9600 or higher. But this is interesting, because the test program by Diego, which I cat'ed over the serial port did not show any serial port problems at these speeds. telnet also works. The "no echo" problem is no more. > > The main candidates for the problems are um-pppd (in particular the tty > > backend of it) and the term translator. Neal and me tested ppp over ethernet > > (_not_ what you know as PPPoE), and it worked just fine. > > You mean PPP over TCP or UDP, right? (That might or might not actually be > over Ethernet.) Yes, you set up a service at the other host (we used a BSD system) and configure the local ppp to send its data over a socket. I will try some pty stuff as soon as I understood it. I had some vague ideas that pty would be the way to make some term tests, but I had no idea yet how to go about it. Your suggestions are highly appreciated and will be turned into a test session soon. Now I will enjoy my ppp connection at 500 bytes a second. Because we don't have any PCMCIA support, that's the best network connection I can get on my laptop under the Hurd. But hey, I don't complain. It's great to not have to reboot just to install telnet! Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd