9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] getting ip/ipconfig right in /rc/bin/termrc
@ 2000-11-29 15:16 presotto
  0 siblings, 0 replies; 2+ messages in thread
From: presotto @ 2000-11-29 15:16 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 67 bytes --]

if you are running ppp directly,  you don't need to run ipconfig.

[-- Attachment #2: Type: message/rfc822, Size: 2411 bytes --]

From: "William Staniewicz" <wstan@planet.nl>
To: 9fans@cse.psu.edu
Subject: [9fans] getting ip/ipconfig right in /rc/bin/termrc
Date: Wed, 29 Nov 2000 16:09:34 +0100
Message-ID: <20001129160933.A210@localhost.local>

How do I properly set up the ip/ipconfig in /rc/bin/termrc?

In my case I am dialing into my isp using the string:
ip/ppp -s $host:$pass -uf -p '#t/eia1' -b115200

My /rc/bin/termrc already includes:
DNSSERVER=195.121.1.34
ndb/dns -r

My /lib/ndb/local includes:
database=
        file=/lib/ndb/local
        file=/lib/ndb/common

ipnet=localhost-local   ip=10.0.0.1     ipmask=255.255.255.0
        dns=195.121.1.34

This is what the manual IPCONFIG(8) says,
ip/ipconfig [-ndDrG] [-b baud] [-m mtu] [-g gateway] [-h hostname]
[-x netmtpt] type device [verb] [local-addr] [mask] [remote-addr]

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

* [9fans] getting ip/ipconfig right in /rc/bin/termrc
@ 2000-11-29 15:09 William Staniewicz
  0 siblings, 0 replies; 2+ messages in thread
From: William Staniewicz @ 2000-11-29 15:09 UTC (permalink / raw)
  To: 9fans

How do I properly set up the ip/ipconfig in /rc/bin/termrc?

In my case I am dialing into my isp using the string:
ip/ppp -s $host:$pass -uf -p '#t/eia1' -b115200

My /rc/bin/termrc already includes:
DNSSERVER=195.121.1.34
ndb/dns -r

My /lib/ndb/local includes:
database=
        file=/lib/ndb/local
        file=/lib/ndb/common

ipnet=localhost-local   ip=10.0.0.1     ipmask=255.255.255.0
        dns=195.121.1.34

This is what the manual IPCONFIG(8) says,
ip/ipconfig [-ndDrG] [-b baud] [-m mtu] [-g gateway] [-h hostname]
[-x netmtpt] type device [verb] [local-addr] [mask] [remote-addr]


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

end of thread, other threads:[~2000-11-29 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-29 15:16 [9fans] getting ip/ipconfig right in /rc/bin/termrc presotto
  -- strict thread matches above, loose matches on Subject: below --
2000-11-29 15:09 William Staniewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).