On 2006-06-08, Jeff Waugh <[EMAIL PROTECTED]> wrote:
> That's exactly what NetworkManager does. :-) Plug in wired and you're on,
> unplug, and it'll use your preferred wifi network (ie. one that you've
> chosen before). Is it not doing this for you? Perhaps you're not actually
> using NetworkManager, but the installed-by-default network configuration
> tools? If so, I strongly recommend NM, depending on which kind of wireless
> hardware you have (the Atheros drivers suck for scanning, so they make NM
> entirely pointless, though a very recent version works around some of that
> breakage, to the detriment of some niceness).
>

For people following along at home, particularly those who have got this thing
to work:

The package you need to install is "network-manager". Don't bother with
/usr/share/doc/network-manager/README, it's not aimed at users, or at
least not at users with questions like "what program do I run sir?"

The user-space program to run is nm-tool. This probably shows up
somewhere in the desktop menus, but I have no idea what it's called and
"$ find ~/.gnome2 -type f -print0 | xargs -0 grep nm-tool" isn't helpful
on that front. Let me know if you find it.

So far so good. Now, does anyone know anything about this problem?

    $ nm-tool
    
    NetworkManager Tool
    
    State: disconnected
    
    print_devices(): didn't get a reply from NetworkManager.
    There are no available network devices.

I do in fact have some network devices!

    $ ifconfig
    eth0      Link encap:Ethernet  HWaddr [elided]
              inet addr:[elided]  Bcast:10.0.0.255  Mask:255.255.255.0
              [etc]
    
    eth1      Link encap:Ethernet  HWaddr [elided]
              [etc]

http://www.google.com.au/search?q=print_devices()%3A%20didn't%20get%20a%20reply%20from%20NetworkManager
returns only one result:
http://blog.gmane.org/gmane.linux.debian.devel.bugs.general/day=20060508/page=2

This in turn suggests that the problem is in fact probably not with
NetworkManager at all and that I should see what's in /var/log/syslog
and also see what "/usr/sbin/NetworkManager --no-daemon" does.

Here's what's in /var/log/syslog:
# grep NetworkManager /var/log/syslog
Jun  9 08:26:53 sourdust NetworkManager: <information>^Istarting...
Jun  9 08:26:53 sourdust NetworkManager: <WARNING>^I main (): nm_data_new: 
Setting up dbus filter

Here's what "/usr/sbin/NetworkManager --no-daemon" does (after I spent a while
trying to figure out whether there was some special way of killing the
daemonised version and eventually settling on "kill"):
# /usr/sbin/NetworkManager --no-daemon
NetworkManager: <information>   starting...
NetworkManager: <WARNING>        main (): nm_data_new: Setting up dbus filter

https://launchpad.net/distros/ubuntu/+source/network-manager/+bugs?field.searchtext=print_devices&orderby=-importance&search=Search
returns no results.

Anyone know what I'm meant to do next?

-Mary

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to