On 07/14/2010 07:16 PM, quantamm wrote:
>
> To try and answer the questions asked:
>
> -By “network name”, I mean SSID. For example, I can connect, using
> DHCP, to “JoesNetwork”, but not to “JoesNetwork123”.
> -Firewall: Since I can connect to some networks, I doubt that’s the
> problem. I checked anyway, and I haven’t enabled anything, but then
> again, the only DHCP entry is for the server, not the client.
> -No, the number isn’t meaningful. For example, I can’t connect to
> “myqwest4117”.
> -I doubt it’s a NetworkManager problem, since the “traditional way with
> ifup” still fails.
> -There are a number of association/disassociation entries in my dmesg,
> the tail of which I posted in the original post.
>
> Tararpharazon, what log/config file did you want me to post?
I think it is a bug. I get the following in /var/log/NetworkManager:
Jul 14 20:10:51 larrylap NetworkManager: <info> Activation (eth1) Stage 2 of 5
(Device Configure) complete.
Jul 14 20:10:51 larrylap NetworkManager: <info> Config: set interface ap_scan to 2
Jul 14 20:10:51 larrylap NetworkManager: <info> (eth1): supplicant connection
state: disconnected → scanning
Jul 14 20:10:51 larrylap NetworkManager: <info> (eth1): supplicant connection
state: scanning → associating
Jul 14 20:10:53 larrylap NetworkManager: <info> (eth1): supplicant connection
state: associating → associated
Jul 14 20:10:53 larrylap NetworkManager: <info> (eth1): supplicant connection
state: associated → completed
Jul 14 20:10:53 larrylap NetworkManager: <info> Activation (eth1/wireless)
Stage 2 of 5 (Device Configure) successful. Connected to wireless network
‘Larry_wep_12345678901234567’.
Jul 14 20:10:53 larrylap NetworkManager: <info> Activation (eth1) Stage 3 of 5
(IP Configure Start) scheduled.
Jul 14 20:10:53 larrylap NetworkManager: <info> Activation (eth1) Stage 3 of 5
(IP Configure Start) started…
Jul 14 20:10:53 larrylap NetworkManager: <info> (eth1): device state change: 5
→ 7 (reason 0)
Jul 14 20:10:53 larrylap NetworkManager: <info> Activation (eth1) Beginning
DHCP transaction (timeout in 45 seconds)
Jul 14 20:10:54 larrylap NetworkManager: <info> dhclient started with pid 6295
Jul 14 20:10:54 larrylap NetworkManager: <info> Activation (eth1) Stage 4 of 5
(IP6 Configure Get) scheduled…
Jul 14 20:10:54 larrylap NetworkManager: <info> Activation (eth1) Stage 3 of 5
(IP Configure Start) complete.
Jul 14 20:10:54 larrylap NetworkManager: <info> Activation (eth1) Stage 4 of 5
(IP6 Configure Get) started…
Jul 14 20:10:54 larrylap NetworkManager: <info> Activation (eth1) Stage 4 of 5
(IP6 Configure Get) complete.
Jul 14 20:10:54 larrylap NetworkManager: <info> DHCP: device eth1 state changed
normal exit → preinit
Jul 14 20:11:39 larrylap NetworkManager: <info> (eth1): DHCP transaction took
too long, stopping it.
Jul 14 20:11:39 larrylap NetworkManager: <info> (eth1): canceled DHCP
transaction, dhcp client pid 6295
Jul 14 20:11:39 larrylap NetworkManager: <info> Activation (eth1) Stage 4 of 5
(IP4 Configure Timeout) scheduled…
Jul 14 20:11:39 larrylap NetworkManager: <info> Activation (eth1) Stage 4 of 5
(IP4 Configure Timeout) started…
Jul 14 20:11:39 larrylap NetworkManager: <info> Activation (eth1/wireless):
could not get IP configuration for connection ‘long ESSID’.
Jul 14 20:11:39 larrylap NetworkManager: <info> (eth1): device state change: 7
→ 6 (reason 0)
Jul 14 20:11:39 larrylap NetworkManager: <info> Activation (eth1/wireless):
asking for new secrets
Jul 14 20:11:39 larrylap NetworkManager: <info> Activation (eth1) Stage 4 of 5
(IP4 Configure Timeout) complete.
As can be seen, it authenticates and associates, but never gets an IP, just as
you describe. My iwconfig for this device is as follows:
eth1 IEEE 802.11bg ESSID:“Larry_wep_12345678901234567” Nickname:“rtl_wifi”
Mode:Managed Frequency:2.412 GHz Access Point: 00:14:BF:85:49:FA
Bit Rate:48 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=100/100 Signal level=100/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This device is a D-Link DWA-130, for which I’m adapting a vendor driver for
inclusion in staging.
This should be entered in the Bugzilla entries. I’m using 11.3 and the same bug
still exists. Once you get a Bug number, post it here, and I’ll add my stuff to
it as well.