Re: Network Manager fails to connect to a network when a static IP is in use

2008-08-02 Thread Tambet Ingo
On Fri, Aug 1, 2008 at 8:34 PM, Sebastian <[EMAIL PROTECTED]> wrote:
> Bad news:
> Name: NetworkManager
> Version: 0.7.0.r3685-7.1
> Arch: i586
>
> It looks like my NM 0.7 does not handle static IP correctly. Do you think it
> can be an openSUSE problem? Do you recommend me letting openSUSE team know
> about that?

Can you please provide the information I asked for? I am the opensuse
NM maintainer, I can't help you if you don't provide more info than
"it doesn't work". It does work for me.

Tambet
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network Manager fails to connect to a network when a static IP is in use

2008-08-01 Thread Sebastian
2008/8/1 Dan Williams <[EMAIL PROTECTED]>

> [cut]
>
> Happiness usually doesn't involve manual network configuration and NFS
> though :)


No, it does not, indeed. ;) I am sure we will make it happen in the
foreseeable future :)

In any case, NM 0.7 should handle static IPs fine.  For 0.6.6, it
> depends on whether your distro has written a backend correctly.
>

Bad news:
Name: NetworkManager
Version: 0.7.0.r3685-7.1
Arch: i586

It looks like my NM 0.7 does not handle static IP correctly. Do you think it
can be an openSUSE problem? Do you recommend me letting openSUSE team know
about that?

Sebastian.


> Dan
>
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network Manager fails to connect to a network when a static IP is in use

2008-08-01 Thread Dan Williams
On Fri, 2008-08-01 at 14:21 +0200, Sebastian wrote:
> Thanks for the hint. 
> However, I need a static IP to have access to a NFS file server. DHCP
> server is a hardware device (router/WIFI) and I have no idea how to
> make it keep the same IP address for the laptop.
> 
> Besides, I thought this was exactly NetworkManager designed for. When
> I need to connect my laptop to a network where a static IP is needed I
> just configure my laptop with NetworkManager. Pure and simple, to make
> users' life easier and make them happy running Linux.

Happiness usually doesn't involve manual network configuration and NFS
though :)

In any case, NM 0.7 should handle static IPs fine.  For 0.6.6, it
depends on whether your distro has written a backend correctly.

Dan

> I think I would wait until the problem will be successfully solved
> rather than use any workarounds (The easiest would be just to switch
> to ifup). I thought I found a bug which developers of NetworkManager
> may find interesting. If so, I can provide any information to support
> them working on the solution.
> 
> Please expect logs and answers to previous questions in my next post.
> 
> 2008/8/1 Stuart Ward <[EMAIL PROTECTED]>
> Wouldent a better solution be to configure your DHCP server to
> give the laptop the correct address rather than use static IP
> address on the laptop.
> 
> To do this create a subnet clause in dhcpd.conf with a:
> hardware ethernet 0:0:c0:5d:bd:95;
> Clause in it. 
> 
> Then you dont need to change anything when you use the laptop
> somewhere else.
> 
> -- Stuart Ward M +44 7782325143
> 
> 
> 
> 
> 
> ___
> NetworkManager-list mailing list
> NetworkManager-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network Manager fails to connect to a network when a static IP is in use

2008-08-01 Thread Sebastian
Thanks for the hint.
However, I need a static IP to have access to a NFS file server. DHCP server
is a hardware device (router/WIFI) and I have no idea how to make it keep
the same IP address for the laptop.

Besides, I thought this was exactly NetworkManager designed for. When I need
to connect my laptop to a network where a static IP is needed I just
configure my laptop with NetworkManager. Pure and simple, to make users'
life easier and make them happy running Linux.

I think I would wait until the problem will be successfully solved rather
than use any workarounds (The easiest would be just to switch to ifup). I
thought I found a bug which developers of NetworkManager may find
interesting. If so, I can provide any information to support them working on
the solution.

Please expect logs and answers to previous questions in my next post.

2008/8/1 Stuart Ward <[EMAIL PROTECTED]>

> Wouldent a better solution be to configure your DHCP server to give the
> laptop the correct address rather than use static IP address on the laptop.
>
> To do this create a subnet clause in dhcpd.conf with a:
> hardware ethernet 0:0:c0:5d:bd:95;
> Clause in it.
>
> Then you dont need to change anything when you use the laptop somewhere
> else.
>
> -- Stuart Ward M +44 7782325143
>
>
>
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network Manager fails to connect to a network when a static IP is in use

2008-08-01 Thread Stuart Ward
Wouldent a better solution be to configure your DHCP server to give the
laptop the correct address rather than use static IP address on the laptop.

To do this create a subnet clause in dhcpd.conf with a:
hardware ethernet 0:0:c0:5d:bd:95;
Clause in it.

Then you dont need to change anything when you use the laptop somewhere
else.

-- Stuart Ward M +44 7782325143
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network Manager fails to connect to a network when a static IP is in use

2008-08-01 Thread Tambet Ingo
On Fri, Aug 1, 2008 at 1:18 PM, Sebastian <[EMAIL PROTECTED]> wrote:
> The laptop needs a static IP in order to have access to a fileserver. When I
> try to configure static IP address with a help of Gnome Network Manager
> Applet, I cannot connect to the network then. It looks like the Network
> Manager fails to write a proper DNS address into resolv file. To be more
> specific, the file it writes is empty.

Could you please be more specific describing how you did that? Could
you try to create a new connection, fill in all the information there
and make a note of each step? Also, please attach the NM log file
(/var/log/NetworkManager) of the time when you try to activate the
newly created connection and fails to produce usable /etc/resolv.conf.

>The same happens when I try to
> configure static IP address via Yast.

Static IP configuration from yast is in a terrible state. The main
cause of this is that when you configure DNS information in yast, it
only saves it in /etc/resolv.conf. That means that if you use NM with
DHCP on any device, the information filled with yast is lost forever.
There are hacky work arounds to make it possible, but if you use
NetworkManager on suse, I'd suggest to remove all the network device
configuration in yast and use NM exclusively. (and yes, we are trying
to improve the situation).

> It is also very annoying that it takes several second for the Network
> Manager to connect to a network. It is very sad because previous version of
> the Netwok Manager seems to connect much faster to the same network.

This is more likely caused by the new driver for your card (opensuse
10.3 had a different driver from 11.0).

Tambet
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Network Manager fails to connect to a network when a static IP is in use

2008-08-01 Thread Sebastian
Hi,

I suppose I found a problem concerning Network Manager. I have a laptop
which connects via WIFI to a small home network. The laptop runs openSUSE
11.0:

> uname --all
Linux portatilgris 2.6.25.11-0.1-pae #1 SMP 2008-07-13 20:48:28 +0200 i686
i686 i386 GNU/Linux

WIFI hardware is Intel 3945ABG. Laptop make is HP 530.
Network Manager Applet ver. 0.7.0

The laptop needs a static IP in order to have access to a fileserver. When I
try to configure static IP address with a help of Gnome Network Manager
Applet, I cannot connect to the network then. It looks like the Network
Manager fails to write a proper DNS address into resolv file. To be more
specific, the file it writes is empty. The same happens when I try to
configure static IP address via Yast.
The only workaround of the problem I found is to choose ifup as a network
manager for the laptop.

It is also very annoying that it takes several second for the Network
Manager to connect to a network. It is very sad because previous version of
the Netwok Manager seems to connect much faster to the same network.

Is there any solution to the Network Manager problem or do I have to use
ifup?

Regards
Sebastian.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list