wireless requires network restart

Darryl Clarke smartssa at gmail.com
Sun Apr 23 20:33:53 UTC 2006


On 4/23/06, Toby Kelsey <toby_kelsey at ntlworld.com> wrote:
> I've recently switched to using a wireless connection with a broadband router.
> When I boot my machine (daily) the wireless initially doesn't work.  I have to
> do 'sudo /etc/init.d/networking restart' to get it to function.  Here is what
> deamon.log shows today after booting:
>
> Apr 23 16:03:20 localhost NetworkManager: <information>^Istarting...
> Apr 23 16:03:21 localhost NetworkManager: <information>^Ieth0: Driver

[snip]

> and here is my /etc/network/interfaces file:
>
> ===
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # This is a list of hotpluggable network interfaces.
> # They will be activated automatically by the hotplug subsystem.
> mapping hotplug
>    script grep
>    map eth0
>
> #iface eth0 inet dhcp
> #auto eth0
>
> iface ra0 inet dhcp
> wireless-essid *****
> wireless-key *****
> #wireless-mode Managed
>
> auto ra0
> ===
>
> any ideas what is causing this problem?

Looks like conflicting network configurations.

NetworkManager does not use /etc/network/interfaces

If you wish for network manager to manage your interfaces, disable
them in /etc/network/interfaces.

If you wish to just have them configured in /etc/network/interfaces,
disable or remove network-manager.

NetworkManager will also not bring up a wireless connection until it
is told to by a user (nm-applet allows for control and configuration
for wireless) - once configured it will be automagic on login.


--
~ Darryl  ~ smartssa at gmail.com
~ http://darrylclarke.com




More information about the ubuntu-users mailing list