> Date: Mon, 1 Dec 2008 18:04:54 -0200
> From: sergiusens at ieee.org
> To: k_dal2 at hotmail.com
> Subject: Re: [eeepc-discuss] L1E/L2 driver for Eees has released by
> Murayama-san
> CC: masafumi.ohta at gmail.com; eeepc-discuss at opensolaris.org; ug-tsug at
> opensolaris.org; indiana-discuss at opensolaris.org
>
> On Mon, Dec 1, 2008 at 4:33 PM, Karl Dalen <k_dal2 at hotmail.com> wrote:
> >
> > I suppose I have some other problem with dual interfaces that
> > I need to understand. I could only reach out though atge0 using
> > IP numbers. Using domain names failed. Have never used multiple
> > interfaces before.
>
> If you can't reach networks outside of the one you are in, check the
> defaultrouter, search for a line that says default or 0.0.0.0 under
> the Destination column after running:
>
> $ netstat -rn
Thanks for your reply.
Am I correct in assuming that while having nwam enabled
there should be no need for any manual ifconfig or configuring
files dhcp.atge0 and hostname.atge0 under /etc ?
Then, it seems that nwam does not work correctly when using
two interfaces. After adding my atge driver for my wired nic
and booting I got a proper dhcp IP (192.168.1.103) but there
was no default route to gateway (192.168.1.1) in netstat -rn
% netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
192.168.1.0 192.168.1.103 U 1 6 atge0
127.0.0.1 127.0.0.1 UH 1 15 lo0
Should have been something like this (from another machine on same LAN):
% netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 192.168.1.1 UG 1 243886 nge0
192.168.1.0 192.168.1.101 U 1 2274 nge0
127.0.0.1 127.0.0.1 UH 7 1018 lo0
Even without default gateway I still can access my LAN using
IP numbers. I can do ssh and mount nfs so I know the interface
is up and and the driver is working. I'm using Opensolaris nv build 96.
Does nwamd even support two interfaces (wired and wireless
interfaces) which both use dhcp with different gateways ?
Do I need to manually configure something or add default route
using something like:
# route add default 192.168.1.1
Restarting nwam several times did not help. Unplugging the wired
ethernet and restarting nwam did not help. It says in the man pages
that nwam should fall back on wireless interface if the wired LAN is
brought down.
Even worse, after a reboot with the wired LAN unplugged
nwam did not bring back the wireless interface. It only
gave me IP 0.0.0.0. Restaring nwam did not help.
I had to remove the wired lan driver /kernel/drv/atge and reboot
to get back to the state where wireless works.
/Karl D
>
> And finally, to check out how dhcp is configured (if it still
> applies), check out /etc/default/dhcpagent, to manually find out if a
> parameter is being correctly sent by the dhcp server you can:
>
> $ dhcpinfo -i e1000g0 Router
> to check the default route sent
>
> $ dhcpinfo -i e1000g0 DNSserv
> to check what nameservers are being sent
>
> The full list is here for ipv4: /etc/dhcp/inittab
>
> In general, all of this is managed by NWAM on a default install.
> I hope this helps
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/eeepc-discuss/attachments/20081202/31d70d65/attachment.html>