* Re: [9fans] ipconfig
@ 2001-07-13 12:53 presotto
0 siblings, 0 replies; 5+ messages in thread
From: presotto @ 2001-07-13 12:53 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
The options have to happen before any of the ppsitional arguments.
You really want
ip/ipconfig -g 192.168.0.1 ether /dev/ether0 192.168.0.2 255.255.255.0
Alternately, you could leave out the '-g 192.168.0.1' and just use
echo -n 'add 0 0 192.168.0.1' > /net/iproute
I think the ipconfig is easier but the other lets you change it later.
[-- Attachment #2: Type: message/rfc822, Size: 2792 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 218 bytes --]
Does ip/ipconfig ether /dev/ether0 192.168.0.2 -g 192.168.0.1 255.255.255.0
give me an interface with 192.168.0.2 and with default gateway 192.168.0.1 ?
Or how do I set my default gateway ?
/Michael Grunditz
[-- Attachment #2.1.2: Type: text/html, Size: 663 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] ipconfig
2003-04-24 20:56 ` David Presotto
@ 2003-04-27 21:20 ` Russ Cox
0 siblings, 0 replies; 5+ messages in thread
From: Russ Cox @ 2003-04-27 21:20 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 255 bytes --]
if booting with root from the network the kernel
will run it using /ipconfig in order to dial the file
server. it doesn't need to be in termrc. if you
want a termrc that works in both places you can
do
if(! test -e /net/ipifc/0/ctl) ip/ipconfig
[-- Attachment #2: Type: message/rfc822, Size: 3453 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 163 bytes --]
9load doesn't currently pass the IP address it got to the kernel
Therefore, the booted kernel runs dhcp when it comes up (and can
get more info than bootp does).
[-- Attachment #2.1.2: Type: message/rfc822, Size: 1693 bytes --]
From: Sam <sah@softcardsystems.com>
To: <9fans@cse.psu.edu>
Subject: [9fans] ipconfig
Date: Thu, 24 Apr 2003 16:03:06 -0400 (EDT)
Message-ID: <Pine.LNX.4.30.0304241556210.26650-100000@athena>
Just to clarify this for me, is there any reason
ipconfig needs to be in termrc for bootp'd terminals?
I think our termrc has been around since 3rd ed
which had ipconfig by default (iirc). If it's
redundant I'd like to pull it.
Sam
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] ipconfig
2003-04-24 20:03 ` [9fans] ipconfig Sam
@ 2003-04-24 20:56 ` David Presotto
2003-04-27 21:20 ` Russ Cox
0 siblings, 1 reply; 5+ messages in thread
From: David Presotto @ 2003-04-24 20:56 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 163 bytes --]
9load doesn't currently pass the IP address it got to the kernel
Therefore, the booted kernel runs dhcp when it comes up (and can
get more info than bootp does).
[-- Attachment #2: Type: message/rfc822, Size: 1693 bytes --]
From: Sam <sah@softcardsystems.com>
To: <9fans@cse.psu.edu>
Subject: [9fans] ipconfig
Date: Thu, 24 Apr 2003 16:03:06 -0400 (EDT)
Message-ID: <Pine.LNX.4.30.0304241556210.26650-100000@athena>
Just to clarify this for me, is there any reason
ipconfig needs to be in termrc for bootp'd terminals?
I think our termrc has been around since 3rd ed
which had ipconfig by default (iirc). If it's
redundant I'd like to pull it.
Sam
^ permalink raw reply [flat|nested] 5+ messages in thread
* [9fans] ipconfig
2003-04-24 16:24 [9fans] DHCP weirdness? David Presotto
@ 2003-04-24 20:03 ` Sam
2003-04-24 20:56 ` David Presotto
0 siblings, 1 reply; 5+ messages in thread
From: Sam @ 2003-04-24 20:03 UTC (permalink / raw)
To: 9fans
Just to clarify this for me, is there any reason
ipconfig needs to be in termrc for bootp'd terminals?
I think our termrc has been around since 3rd ed
which had ipconfig by default (iirc). If it's
redundant I'd like to pull it.
Sam
^ permalink raw reply [flat|nested] 5+ messages in thread
* [9fans] ipconfig
@ 2001-07-13 9:31 Grunditz Mikael - migu
0 siblings, 0 replies; 5+ messages in thread
From: Grunditz Mikael - migu @ 2001-07-13 9:31 UTC (permalink / raw)
To: 9fans@cse.psu.edu (E-mail)
[-- Attachment #1: Type: text/plain, Size: 218 bytes --]
Does ip/ipconfig ether /dev/ether0 192.168.0.2 -g 192.168.0.1 255.255.255.0
give me an interface with 192.168.0.2 and with default gateway 192.168.0.1 ?
Or how do I set my default gateway ?
/Michael Grunditz
[-- Attachment #2: Type: text/html, Size: 663 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-04-27 21:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-13 12:53 [9fans] ipconfig presotto
-- strict thread matches above, loose matches on Subject: below --
2003-04-24 16:24 [9fans] DHCP weirdness? David Presotto
2003-04-24 20:03 ` [9fans] ipconfig Sam
2003-04-24 20:56 ` David Presotto
2003-04-27 21:20 ` Russ Cox
2001-07-13 9:31 Grunditz Mikael - migu
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).