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

Re: wicd trouble -- continued



On 07/29/2016 07:22 AM, Brian wrote:

It obviously wasn't a reasonable routing table. :) The control socket in
/run probably disappeared too.

Yes it was. Same as I've been using on that net forever.

When I set up a static IP, wicd fills in the net mask and the default router automatically. I don't know where it gets the info, but the values and the table are the same as the table on a known working, E'net host on the net (sbox) built at boot from /e/n/i:

route built by wicd on success:
root@gobook:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.3.1 0.0.0.0 UG 0 0 0 wlan0 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

route table on the known working box:
root@gobook:~# ssh sbox route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0         192.168.3.1     0.0.0.0         UG    0      0        0 eth0
192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

route table during wicd failure:
root@gobook:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.3.1 0.0.0.0 UG 0 0 0 wlan0 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

All the same, except for the interface (which is correct too).

With a static IP you are providing all the information instead of using
discovery. Are you sure you have the correct gateway and netmask?

Yes.

But there is a difference in wpa_supplicant.conf:

after a DHCP connection:
[20:C9:D0:29:41:17]
afterscript = None
dhcphostname = gobook.slsware.lan
bssid = 20:C9:D0:29:41:17
ip = None
dns_domain = None
gateway = None
use_global_dns = False
encryption = True
postdisconnectscript = None
beforescript = None
hidden = False
channel = 6
mode = Master
netmask = None
usedhcphostname = 0
predisconnectscript = None
enctype = wpa-psk
dns3 = None
dns2 = None
dns1 = None
use_settings_globally = False
use_static_dns = False
apsk = <secret>
encryption_method = WPA2
essid = slsware.wif.2T
search_domain = None

and after an attempt on a static address:
[20:C9:D0:29:41:18]
afterscript = None
dhcphostname = gobook.slsware.lan
bssid = 20:C9:D0:29:41:18
ip = 192.168.3.90
dns_domain = None
gateway = 192.168.3.1
use_global_dns = 0
encryption = True
postdisconnectscript = None
beforescript = None or the static config.
hidden = False
channel = 36
mode = Master
netmask = 255.255.255.0
usedhcphostname = 0
predisconnectscript = None
enctype = wpa-psk
dns3 = None
dns2 = None
dns1 = 192.168.2.205
use_settings_globally = 0
use_static_dns = 1
apsk = <secret but the same>
encryption_method = WPA2
essid = slsware.wif.2T 5GHz
automatic = 0
search_domain = None

(There are 2 ESSIDs: slsware.wif.2T and slsware.wif.2T 5GHz -- a low frequency and a 5G. To keep down the typing, the low is set for DHCP and the high is a static IP. Both are the same IP, etc.)

It looks to me like the info's better when it comes from the static config than it is from DHCP. But DHCP works.

Do you see something I missed? Is set wrong?

--
Glenn English


Reply to: