NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: using dhcpcd-gtk and wpa_gui questions



On Thu, 16 Jul 2009, Roy Marples wrote:

> Jeremy C. Reed wrote:
> > I am looking for a gui client to find and choose networks my wife can use on
> > her laptop as she travels.
> > 
> > It is running NetBSD/amd64 5.0_STABLE and:
> >  /sbin/dhcpcd --nohook resolv.conf --nolink rum0  /usr/sbin/wpa_supplicant
> > -B -i rum0 -c /etc/wpa_supplicant.conf
> > 
> > These versions are:
> > dhcpcd 5.0.1
> > wpa_supplicant v0.6.4
> > 
> > The rum0 hardware is
> > rum0 at uhub7 port 2
> > rum0: Belkin Belkin 54g USB Network Adapter, rev 2.00/0.01, addr 3
> > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:11:50:c1:a9:40
> > rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> > rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
> > 36Mbps 48Mbps 54Mbps
> > 
> > (this is an external hardware since the internal wireless doesn't work)
> > 
> > I also have these packages installed:
> > 
> > wpa_supplicant-0.6.7 Wireless connection client daemon for WPA, WPA2, and
> > WEP
> > wpa_gui-0.6.9       QT GUI for wpa_supplicant(8)
> > (I updated the package for wpa_gui, not committed yet.)
> > dhcpcd-5.0.6        RFC2131 compliant DHCP client
> > dhcpcd-dbus-0.4.1   DBus binding for dhcpcd
> > dhcpcd-gtk-0.4.0    GTK+ systray monitor for dhcpcd
> > dbus-1.2.4.2nb2     Message bus system
> > dbus-glib-0.80      GLib bindings for the D-BUS message bus system
> > libnotify-0.4.5     Desktop notification framework
> > (and xfce4 which I think will handle the notify.)
> 
> You say you use dhcpcd-5.0.1, but have dhcpcd-5.0.6 installed? I assume base
> vs pkgsrc. Try using dhcpcd from pkgsrc (either adjust /etc/rc.d/dhcpcd or
> copy /usr/pkg/sbin/dhcpcd -> /sbin)

Yes, one was from base.

I am not testing this on a different system and running dhcpcd from 
pkgsrc.

> > $ dhcpcd-gtk
> > ** Message: Connecting ...
> > 
> > ** (dhcpcd-gtk:12355): CRITICAL **: libdhcpcd: Failed to connect to socket
> > /var/run/dbus/system_bus_socket: No such file or directory
> > Memory fault (core dumped) 


I got past this by starting dbus:

     sudo /usr/pkg/share/examples/rc.d/dbus onestart

I was told about this off list. I will put in place and set variable when 
I know this works.

Please consider making it so it doesn't core dump but gives some 
reasonable failure message.

Now it fails with:

$ dhcpcd-gtk                                          
** Message: Connecting ...

** (dhcpcd-gtk:1276): CRITICAL **: libdhcpcd: GetVersion: Launch helper 
exited with unknown return code 96

> > What are the steps to run to get the dhcpcd-gtk working?
> 
> Well, as the developer, all the latest dhcpcd* versions Work For Me.
> Just ensure you are running the latest versions. If you're not running
> -current, then prefer the version in pkgsrc.

I am now trying the pkgsrc versions with NetBSD 5.0.

Any idea for the above critical failure?

(Thanks for the other info too.)




Home | Main Index | Thread Index | Old Index