From: Dave on
Hi,
I have a laptop running Solaris Community Edition (build 90). This has
two network interfaces

wpi0 - wireless

Marvel/yukonx (forget exact name), which has a Gigabit wired ethernet

Is it possible to use these two networks, so I can use the laptop at
home, in a hotel etc on WiFi, but leave a fixed IP (192.168.10.10) so I
can connect to another Sun with a simple crossover cable? (There's no
router or switch, as this has to be used with the bare minimum of
hardware).

I've got the crossover cable working between two Sun with both having a
fixed IP, but can't get the WiFi working like this. I've previously had
the WiFi working fine, but never with 1 Gbit/s ethernet

I need the WiFi to act as a DNS client and be able to connect to the
internet etc, but the ethhernet has no such need.

It seem if /etc/resolv.conf has the names of DNS server, the ethernet
will try to resolve a hostname and spend ages to boot. But clearly the
WiFi needs a DNS server.


I don't care if I run a couple of scripts to set up one or the other -
there is no need for me to have both WiFi and the fixed address at the
same time.


Any ideas?


From: Rich Teer on
On Sat, 21 Jun 2008, Dave wrote:

> Is it possible to use these two networks, so I can use the laptop at home, in
> a hotel etc on WiFi, but leave a fixed IP (192.168.10.10) so I can connect to
> another Sun with a simple crossover cable? (There's no router or switch, as
> this has to be used with the bare minimum of hardware).

WIth gigabit Ethernet, you don't need a crossover cable. The interface
is auto-detecting.

What you want to do is proabably doable using nwam (network auto magic).

HTH,

--
Rich Teer, SCSA, SCNA, SCSECA

CEO,
My Online Home Inventory

URLs: http://www.rite-group.com/rich
http://www.linkedin.com/in/richteer
http://www.myonlinehomeinventory.com
From: Dave on
Rich Teer wrote:
> On Sat, 21 Jun 2008, Dave wrote:
>
>> Is it possible to use these two networks, so I can use the laptop at home, in
>> a hotel etc on WiFi, but leave a fixed IP (192.168.10.10) so I can connect to
>> another Sun with a simple crossover cable? (There's no router or switch, as
>> this has to be used with the bare minimum of hardware).
>
> WIth gigabit Ethernet, you don't need a crossover cable. The interface
> is auto-detecting.

Thanks, that is useful to know. I did not have a long crossover, and a
normal cable will allow me to keep my distance from the server.
>
> What you want to do is proabably doable using nwam (network auto magic).

Thanks. I'll persist with that. I dont have my laptop handy at this
moment, but I'd really like to get WiFi wokring again, but I absolutely
need to keep it with a fixed IP.

I guess I can run sys-unconfig ! A bit drastic though


>
> HTH,
>
From: Paul Colquhoun on
On Sat, 21 Jun 2008 14:49:40 +0100, Dave <foo(a)coo.com> wrote:
| Hi,
| I have a laptop running Solaris Community Edition (build 90). This has
| two network interfaces
|
| wpi0 - wireless
|
| Marvel/yukonx (forget exact name), which has a Gigabit wired ethernet
|
| Is it possible to use these two networks, so I can use the laptop at
| home, in a hotel etc on WiFi, but leave a fixed IP (192.168.10.10) so I
| can connect to another Sun with a simple crossover cable? (There's no
| router or switch, as this has to be used with the bare minimum of
| hardware).
|
| I've got the crossover cable working between two Sun with both having a
| fixed IP, but can't get the WiFi working like this. I've previously had
| the WiFi working fine, but never with 1 Gbit/s ethernet
|
| I need the WiFi to act as a DNS client and be able to connect to the
| internet etc, but the ethhernet has no such need.
|
| It seem if /etc/resolv.conf has the names of DNS server, the ethernet
| will try to resolve a hostname and spend ages to boot. But clearly the
| WiFi needs a DNS server.


What have you set in /etc/nsswitch.conf?

If you set "hosts" to be "files dns" and then put your ethernet name/IP
information in /etc/hosts, then this should cut out the DNS lookups on
boot.


| I don't care if I run a couple of scripts to set up one or the other -
| there is no need for me to have both WiFi and the fixed address at the
| same time.
|
|
| Any ideas?
|
|

--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
From: Dave on
Paul Colquhoun wrote:
> On Sat, 21 Jun 2008 14:49:40 +0100, Dave <foo(a)coo.com> wrote:
> | Hi,
> | I have a laptop running Solaris Community Edition (build 90). This has
> | two network interfaces
> |
> | wpi0 - wireless
> |
> | Marvel/yukonx (forget exact name), which has a Gigabit wired ethernet
> |
> | Is it possible to use these two networks, so I can use the laptop at
> | home, in a hotel etc on WiFi, but leave a fixed IP (192.168.10.10) so I
> | can connect to another Sun with a simple crossover cable? (There's no
> | router or switch, as this has to be used with the bare minimum of
> | hardware).
> |
> | I've got the crossover cable working between two Sun with both having a
> | fixed IP, but can't get the WiFi working like this. I've previously had
> | the WiFi working fine, but never with 1 Gbit/s ethernet
> |
> | I need the WiFi to act as a DNS client and be able to connect to the
> | internet etc, but the ethhernet has no such need.
> |
> | It seem if /etc/resolv.conf has the names of DNS server, the ethernet
> | will try to resolve a hostname and spend ages to boot. But clearly the
> | WiFi needs a DNS server.
>
>
> What have you set in /etc/nsswitch.conf?
>
> If you set "hosts" to be "files dns" and then put your ethernet name/IP
> information in /etc/hosts, then this should cut out the DNS lookups on
> boot.

I've written a script to copy /etc/nsswitch.dns or /etc/nsswitch.file
over /etc/nsswitch.conf. In other words, I'm using the Sun ones supplied
as examples.

I've also either removed /etc/hosts.$wpi0 or /etc/hosts.$gigabit
interface and then touched the other one.


>
> | I don't care if I run a couple of scripts to set up one or the other -
> | there is no need for me to have both WiFi and the fixed address at the
> | same time.
> |
> |
> | Any ideas?
> |
> |
>