NetBSD-Users archive

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

using dhcpcd-gtk and wpa_gui questions

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-     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.)

wpa_cli and wpa_gui appear to work now that I added the control 

The wpa_gui "scan" only shows my one network which is also configured in 
that configuration. But wiconfig iwi0 -D on a different system nearby 
shows 11 AP. Why doesn't wpa_gui see all these?

I started writing a quick README to install with wpa_gui package. So any 
hints would be appreciated.

Running the dhcpcd-gui results in:

$ 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) 

Program terminated with signal 11, Segmentation fault.
#0  0x0000000000408931 in dhcpcd_send_reply ()
(gdb) bt
#0  0x0000000000408931 in dhcpcd_send_reply ()
#1  0x0000000000408a31 in dhcpcd_message_reply ()
#2  0x0000000000408aae in dhcpcd_command ()
#3  0x0000000000405367 in main ()

I have these dbus daemons running:

$ ps auxww | grep dbus
heather   162  0.0  0.1 2076   1568 ?      I     8Jul09  0:00.00 
dbus-launch --autolaunch 3f956952edcc96f53fd01f5d49be0152 --binary-syntax 
heather   580  0.0  0.1 2380   1648 ?      Is    8Jul09  0:01.37 
/usr/pkg/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session 

$ ls -l /var/run/dbus /var/db/dbus/                                            
ls: /var/run/dbus: No such file or directory
total 4
-rw-r--r--  1 root  dbus  33 Mar 16 02:35 machine-id

What are the steps to run to get the dhcpcd-gtk working?

And is the dhcpcd-ui the same program? (Maybe old name?)

Once I have dhcpcd-gtk working, should I consider not using wpa_gui?

Do I need to run a newer wpa_supplicant? (Note I have one in pkgsrc but 
not running.) Or Should I install a newer version of wpa_supplicant?

Also she will also be using pppd as an alternative by connection through a 
phone device. What is best way to turn off or make the 
wpa_supplicant/dhcpcd combination not affect the network when using pppd?
(Any way using a gui?)

I haven't used a gui for PPP in a long time and I am not sure I can if it 
uses a different configuration that I already have working with pppd.

To re-explain my goal in different words: allow my wife to get her network 
connection up and going without my assistance and without using shell 
commands and manually editing text configuration files :)

Home | Main Index | Thread Index | Old Index