* [9fans] Network Configuration
@ 2005-11-25 23:36 Ray Amberg
2005-11-25 23:57 ` Gabriel IVANES
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Ray Amberg @ 2005-11-25 23:36 UTC (permalink / raw)
To: 9fans
Hi everyone,
Thanks again for helping me get the Sis900-based ethernet card working on
my machine. I'm sorry to bother again, but I've got a new problem trying
to get the machine configured to work on our network. I've read through
the Network Configuration wiki, and while I learned a few things, some
things still remain cloudy (my networking knowledge is minimal too,
apologies).
I have a Belkin router, which is located at 10.50.50.1 on the LAN, and
whose computers start at 10.50.50.100. There are a couple of other
computers, using Windows and Linux, and they are automatically assigned
IP addresses when they connect to the router. I think this is another way
of saying the router has its own DHCP server. On a query of one of the
Windows machines, I found that the Gateway, DHCP Server, and DNS server
were all 10.50.50.1, the address of the router.
Trying to make sense of the Network configuration wiki, I added the
following to my /lib/ndb/local file:
ip=10.50.50.104 ipsubmask=255.255.255.0
ipgw=10.50.50.1
dns=10.50.50.1
I manually put in 10.50.50.104, and have a feeling I shouldn't be doing
this. In any case, the result was a failure. The plan9 machine can ping
itself at 10.50.50.104, but can't ping 10.50.50.1. DNS queries fail with
the error: dns: temporary failure.
I tried looking through previous 9fans posts for ways to configure a
simple connection to a router, unsuccessfully.
Would someone be so kind as to help me find a way to get the ethernet
card connected to the router, and hence, the internet? Apologies again,
I'm not exactly sure what I'm doing. Thanks for your time.
Sincerely,
Ray Amberg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-25 23:36 [9fans] Network Configuration Ray Amberg
@ 2005-11-25 23:57 ` Gabriel IVANES
2005-11-26 2:29 ` Vester Thacker
2005-11-26 2:31 ` Federico Benavento
2 siblings, 0 replies; 13+ messages in thread
From: Gabriel IVANES @ 2005-11-25 23:57 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Ray Amberg wrote:
> Hi everyone,
>
> Thanks again for helping me get the Sis900-based ethernet card working
> on my machine. I'm sorry to bother again, but I've got a new problem
> trying to get the machine configured to work on our network. I've
> read through the Network Configuration wiki, and while I learned a few
> things, some things still remain cloudy (my networking knowledge is
> minimal too, apologies).
>
> I have a Belkin router, which is located at 10.50.50.1 on the LAN, and
> whose computers start at 10.50.50.100. There are a couple of other
> computers, using Windows and Linux, and they are automatically assigned
> IP addresses when they connect to the router. I think this is another
> way
> of saying the router has its own DHCP server. On a query of one of the
> Windows machines, I found that the Gateway, DHCP Server, and DNS
> server were all 10.50.50.1, the address of the router.
>
> Trying to make sense of the Network configuration wiki, I added the
> following to my /lib/ndb/local file:
>
> ip=10.50.50.104 ipsubmask=255.255.255.0
> ipgw=10.50.50.1
> dns=10.50.50.1
>
> I manually put in 10.50.50.104, and have a feeling I shouldn't be
> doing this. In any case, the result was a failure. The plan9 machine
> can ping itself at 10.50.50.104, but can't ping 10.50.50.1. DNS
> queries fail with the error: dns: temporary failure.
>
> I tried looking through previous 9fans posts for ways to configure a
> simple connection to a router, unsuccessfully.
>
> Would someone be so kind as to help me find a way to get the ethernet
> card connected to the router, and hence, the internet? Apologies
> again, I'm not exactly sure what I'm doing. Thanks for your time.
>
> Sincerely,
> Ray Amberg
>
Hello..
I'm a newbie... :p
Take a look at your /rc/bin/termrc ? seems necessary to address a DHCP..
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-25 23:36 [9fans] Network Configuration Ray Amberg
2005-11-25 23:57 ` Gabriel IVANES
@ 2005-11-26 2:29 ` Vester Thacker
2005-11-27 5:15 ` Ray Amberg
2005-11-26 2:31 ` Federico Benavento
2 siblings, 1 reply; 13+ messages in thread
From: Vester Thacker @ 2005-11-26 2:29 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 11/26/05, Ray Amberg <ramberg@cs.ucr.edu> wrote:
> Trying to make sense of the Network configuration wiki, I added the
> following to my /lib/ndb/local file:
>
> ip=10.50.50.104 ipsubmask=255.255.255.0
> ipgw=10.50.50.1
> dns=10.50.50.1
>
> I manually put in 10.50.50.104, and have a feeling I shouldn't be doing
> this. In any case, the result was a failure. The plan9 machine can ping
> itself at 10.50.50.104, but can't ping 10.50.50.1. DNS queries fail with
> the error: dns: temporary failure.
>
> I tried looking through previous 9fans posts for ways to configure a
> simple connection to a router, unsuccessfully.
>
> Would someone be so kind as to help me find a way to get the ethernet
> card connected to the router, and hence, the internet? Apologies again,
> I'm not exactly sure what I'm doing. Thanks for your time.
I'd recommend choosing an address outside of the dhcp pool of
addresses; for instance 10.50.50.94. Modify /lib/ndb/local to reflect
the change. Add the following to either your termrc or cpurc
configuration file:
ip/ipconfig -g 10.50.50.1 ether /net/ether0 10.50.50.94 255.255.255.0
Review the termrc or cpurc configuration file and ensure the following
is stated:
/ndb/dns -r
For testing purposes, try modifying the /lib/ndb/local file as
suggested then run the two commands before modifying any other files.
If you can connect at that point then add the commands to your
configuration.
--vester
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-25 23:36 [9fans] Network Configuration Ray Amberg
2005-11-25 23:57 ` Gabriel IVANES
2005-11-26 2:29 ` Vester Thacker
@ 2005-11-26 2:31 ` Federico Benavento
2005-11-27 5:22 ` Ray Amberg
2 siblings, 1 reply; 13+ messages in thread
From: Federico Benavento @ 2005-11-26 2:31 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
this is my sujestion:
in /lib/ndb/local
ipnet=your-net ip=10.50.50.0 ipmask=255.255.255.0
sys=my-system
then uncomment this in /rc/bin/termrc or /rc/bin/cpurc :
#if(! test -e /net/ipifc/0/ctl)
# ip/ipconfig >/dev/null >[2=1]
--
Federico G. Benavento
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-26 2:29 ` Vester Thacker
@ 2005-11-27 5:15 ` Ray Amberg
2005-11-27 10:50 ` Vester Thacker
0 siblings, 1 reply; 13+ messages in thread
From: Ray Amberg @ 2005-11-27 5:15 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Thanks for the response. I edited my /lib/ndb/local to look like this:
ip=10.50.50.94 ipsubmask=255.255.255.0
ipgw=10.50.50.1
dns=10.50.50.1
And here's the result of the commands suggested:
% ip/ipconfig -g 10.50.50.1 ether /net/ether0 10.50.50.94
255.255.255.0
% ndb/dns -r
% ssh eon.cs.ucr.edu
ssh: dialing eon.cs.ucr.edu: cs: temporary problem: dns: dns
failure
This error message occurs after a long pause. I also still cannot ping
the router.
On Sat, 26 Nov 2005, Vester Thacker wrote:
> On 11/26/05, Ray Amberg <ramberg@cs.ucr.edu> wrote:
>
>> Trying to make sense of the Network configuration wiki, I added the
>> following to my /lib/ndb/local file:
>>
>> ip=10.50.50.104 ipsubmask=255.255.255.0
>> ipgw=10.50.50.1
>> dns=10.50.50.1
>>
>> I manually put in 10.50.50.104, and have a feeling I shouldn't be doing
>> this. In any case, the result was a failure. The plan9 machine can ping
>> itself at 10.50.50.104, but can't ping 10.50.50.1. DNS queries fail with
>> the error: dns: temporary failure.
>>
>> I tried looking through previous 9fans posts for ways to configure a
>> simple connection to a router, unsuccessfully.
>>
>> Would someone be so kind as to help me find a way to get the ethernet
>> card connected to the router, and hence, the internet? Apologies again,
>> I'm not exactly sure what I'm doing. Thanks for your time.
>
> I'd recommend choosing an address outside of the dhcp pool of
> addresses; for instance 10.50.50.94. Modify /lib/ndb/local to reflect
> the change. Add the following to either your termrc or cpurc
> configuration file:
>
> ip/ipconfig -g 10.50.50.1 ether /net/ether0 10.50.50.94 255.255.255.0
>
> Review the termrc or cpurc configuration file and ensure the following
> is stated:
>
> /ndb/dns -r
>
> For testing purposes, try modifying the /lib/ndb/local file as
> suggested then run the two commands before modifying any other files.
> If you can connect at that point then add the commands to your
> configuration.
>
> --vester
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-26 2:31 ` Federico Benavento
@ 2005-11-27 5:22 ` Ray Amberg
2005-11-27 8:17 ` Federico Benavento
0 siblings, 1 reply; 13+ messages in thread
From: Ray Amberg @ 2005-11-27 5:22 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Thank you for the suggestion. I changed the entry in /lib/ndb/local to
look exactly as you specified, then uncommented the lines in /rc/bin/termrc.
When I restarted the computer and logged in, it hanged for a long time,
and then said this before starting up:
init: starting /bin/rc
ndb/dns: can't read my IP address
And then of course, I could not ping anything.
On Fri, 25 Nov 2005, Federico Benavento wrote:
> this is my sujestion:
>
> in /lib/ndb/local
>
> ipnet=your-net ip=10.50.50.0 ipmask=255.255.255.0
> sys=my-system
>
> then uncomment this in /rc/bin/termrc or /rc/bin/cpurc :
>
> #if(! test -e /net/ipifc/0/ctl)
> # ip/ipconfig >/dev/null >[2=1]
>
>
> --
> Federico G. Benavento
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-27 5:22 ` Ray Amberg
@ 2005-11-27 8:17 ` Federico Benavento
2005-11-27 22:00 ` Ray Amberg
0 siblings, 1 reply; 13+ messages in thread
From: Federico Benavento @ 2005-11-27 8:17 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
What driver are you using, ethersis.c or ether83815.c?
I ask this becase I couldn't get the 83815 driver to work
properly for my sis 900.
try changing the ipconfig line in your termrc to:
ip/ipconfig -DG
btw, as stated in plan9.ini(8) the 83815 driver doen't set
the right ethernet address for the sis 900 , so I added:
ether0=type=83815 ea=xxxxxxxx
then, ip/ipconfig worked, but I couldn't ping anywhere
and I didn't get an error message, so I'm still using ethersis.c.
--
Federico G. Benavento
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-27 5:15 ` Ray Amberg
@ 2005-11-27 10:50 ` Vester Thacker
2005-11-27 21:57 ` Ray Amberg
0 siblings, 1 reply; 13+ messages in thread
From: Vester Thacker @ 2005-11-27 10:50 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 11/27/05, Ray Amberg <ramberg@cs.ucr.edu> wrote:
>
> And here's the result of the commands suggested:
> % ip/ipconfig -g 10.50.50.1 ether /net/ether0 10.50.50.94
> 255.255.255.0
> % ndb/dns -r
> % ssh eon.cs.ucr.edu
> ssh: dialing eon.cs.ucr.edu: cs: temporary problem: dns: dns
> failure
>
> This error message occurs after a long pause. I also still cannot ping
> the router.
What do you see when you ping 10.50.50.94?
--vester
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-27 10:50 ` Vester Thacker
@ 2005-11-27 21:57 ` Ray Amberg
0 siblings, 0 replies; 13+ messages in thread
From: Ray Amberg @ 2005-11-27 21:57 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sun, 27 Nov 2005, Vester Thacker wrote:
>
> What do you see when you ping 10.50.50.94?
>
> --vester
>
I'll transliterate the mu symbol as an M.
% ip/ping -n 3 10.50.50.94
sending 3 64 byte messages 1000 ms apart
0: rtt 62 Ms, avg rtt 62 Ms, ttl = 255
1: rtt 56 Ms, avg rtt 59 Ms, ttl = 255
2: rtt 45 Ms, avg rtt 54 Ms, ttl = 255
read: interrupted
%
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-27 8:17 ` Federico Benavento
@ 2005-11-27 22:00 ` Ray Amberg
2005-11-28 15:35 ` Ray Amberg
0 siblings, 1 reply; 13+ messages in thread
From: Ray Amberg @ 2005-11-27 22:00 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sun, 27 Nov 2005, Federico Benavento wrote:
> What driver are you using, ethersis.c or ether83815.c?
> I ask this becase I couldn't get the 83815 driver to work
> properly for my sis 900.
>
I'm still using the ether83815.c driver. I think I am running into the
same problem that you had, because ipconfig now works, but I can't ping
anywhere, really.
I'll give the ethersis driver a shot and post the results.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-27 22:00 ` Ray Amberg
@ 2005-11-28 15:35 ` Ray Amberg
2005-11-28 15:38 ` Charles Forsyth
2005-11-28 16:00 ` andrey mirtchovski
0 siblings, 2 replies; 13+ messages in thread
From: Ray Amberg @ 2005-11-28 15:35 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Sun, 27 Nov 2005, Ray Amberg wrote:
>
> I'll give the ethersis driver a shot and post the results.
>
Upon recompiling the kernel with the line:
ethersis pci
and putting the following in /lib/ndb/local:
ipnet=my-net ip=10.50.50.0 ipmask=255.255.255.0
sys=mycomp
I was able to ping the router and get connected to the internet. Thanks
for the help!
Sincerely,
Ray
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-28 15:35 ` Ray Amberg
@ 2005-11-28 15:38 ` Charles Forsyth
2005-11-28 16:00 ` andrey mirtchovski
1 sibling, 0 replies; 13+ messages in thread
From: Charles Forsyth @ 2005-11-28 15:38 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 147 bytes --]
if i can find something with the SIS chipset i'll see if i can
put any required code into ether83815.c.
that one supports only the cards i had.
[-- Attachment #2: Type: message/rfc822, Size: 3243 bytes --]
From: Ray Amberg <ramberg@cs.ucr.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Network Configuration
Date: Mon, 28 Nov 2005 07:35:52 -0800 (PST)
Message-ID: <Pine.LNX.4.63.0511280733590.31749@eon.cs.ucr.edu>
On Sun, 27 Nov 2005, Ray Amberg wrote:
>
> I'll give the ethersis driver a shot and post the results.
>
Upon recompiling the kernel with the line:
ethersis pci
and putting the following in /lib/ndb/local:
ipnet=my-net ip=10.50.50.0 ipmask=255.255.255.0
sys=mycomp
I was able to ping the router and get connected to the internet. Thanks
for the help!
Sincerely,
Ray
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [9fans] Network Configuration
2005-11-28 15:35 ` Ray Amberg
2005-11-28 15:38 ` Charles Forsyth
@ 2005-11-28 16:00 ` andrey mirtchovski
1 sibling, 0 replies; 13+ messages in thread
From: andrey mirtchovski @ 2005-11-28 16:00 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
i wrote the ethersis.c driver back in 2002 but never submitted it for
inclusion because i only tested it on the one on-board card i had
available. indeed i haven't had any other SIS cards since then.
charles, if you want to incorporate ethersis into ether83815 you're
welcome to :)
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-11-28 16:00 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-25 23:36 [9fans] Network Configuration Ray Amberg
2005-11-25 23:57 ` Gabriel IVANES
2005-11-26 2:29 ` Vester Thacker
2005-11-27 5:15 ` Ray Amberg
2005-11-27 10:50 ` Vester Thacker
2005-11-27 21:57 ` Ray Amberg
2005-11-26 2:31 ` Federico Benavento
2005-11-27 5:22 ` Ray Amberg
2005-11-27 8:17 ` Federico Benavento
2005-11-27 22:00 ` Ray Amberg
2005-11-28 15:35 ` Ray Amberg
2005-11-28 15:38 ` Charles Forsyth
2005-11-28 16:00 ` andrey mirtchovski
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).