From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 24 Sep 1995 11:04:14 -0400 From: presotto@plan9.att.com presotto@plan9.att.com Subject: PPP over serial line Topicbox-Message-UUID: 26cc2058-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950924150414.zDvr-Hg9_nyJmQTbs0qprFYXkWbJJz7UdKWVM-KGuiU@z> As has been said before, this ppp is minimal. Someone really should work on it. I don't have time to now. It's on the release more as an excuse to release a newer version later without a new license. The con part (1-5) should work. (6) doesn't do what you want. In fact it's pretty destructive. You copied "add myipaddr" onto the executable /bin/ndb/cs. By the way, double quotes mean nothing to /bin/rc. 'add xyz' written to /net/cs adds protocols for /bin/ndb/cs to use when someone dials a string unbound to a protocol, i.e., one starting with net! instead of tcp! or il! or dk!... When cs starts, it looks to see whats already configured and uses that. If you start up other networks later, you van let cs know by writing 'add tcp' or whatever to /net/cs. The 'bad exec header' usually means that you're trying to execute something that has the execute bit set but isn't a binary for the processor you are executing it on. Perhaps you wrote onto /bin/ndb/query also? ------ original message follows ------ >>From cse.psu.edu!9fans-outgoing-owner Sun Sep 24 07:48:44 EDT 1995 Received: by colossus.cse.psu.edu id <78417>; Sun, 24 Sep 1995 07:41:30 -0400 Received: from goggins.bath.ac.uk ([138.38.32.13]) by colossus.cse.psu.edu with SMTP id <78415>; Sun, 24 Sep 1995 07:40:13 -0400 Received: from bath.ac.uk (actually host solomon.bath.ac.uk) by goggins.bath.ac.uk with SMTP (PP); Sun, 24 Sep 1995 12:29:19 +0100 Original-Received: from GATEWAY by bath.ac.uk with netnews for 9fans@bath.ac.uk (9fans@cse.psu.edu) PP-warning: Illegal Received field on preceding line To: 9fans@cse.psu.edu Date: Sun, 24 Sep 1995 02:13:44 -0400 From: Craig Brent Ludington Message-ID: <442suo$8b@quilla.tezcat.com> Organization: t e z c a t . c o m - Wicker Park (Chicago) 312-850-0112 Subject: PPP over serial line Source-Info: From (or Sender) name not authenticated. Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans@cse.psu.edu Could someone who has set up PPP over a serial line please help. I've used the following approach: 1. telco /dev/eia1 2. con -l telco!5551212 3. logged on to ppp server and started ppp 4. used the ! combination to execute pppclient as: 5. pppclient -i myipaddr -p ISP'sipaddr At this point all the con's i/o seem to be going to pppclient. I then try to: 6. echo "add myipaddr" > /bin/ndb/cs to put the new ip address in the network database. (I'm logged on as sys). Any effort to ping results in a "not found" message. ndb/query won't execute, saying only "bad exec header" (I may not remember that precisely). I've read the man pages, and searched the archives for this newsgroup, without success so far. Any help would be greatly appreciated. Craig Ludington (who's delighted to be running Plan9!)