hallikainen
2008-03-25, 03:51 PM CDT
I'm trying to set up an Ad-Hoc network using NetworkManager Applet 0.7.0 on Fedora 8. Network Manager handles my managed networks fine. But, when I try to connect to another device that is set as an Ad-Hoc device, it does not connect. The device DOES show up in the NM drop down menu, and is indicated as ad-hoc. The /var/log/messages log that is generated in the connection attempt is shown below.
Also, information I've seen on ad-hoc networks seems to imply a rather complex configuration at each end (set up IP addresses, subnet masks, etc.). Is there some automatic method of doing this? In this application, I've got a device with a wireless card in it. I just want to be able to select it in NetworkManager and then view its embedded web server. Is this possible? How do IP addresses get assigned? How would a browser know where to go to see this embedded web server? Do I need to have the device do DHCP and maybe even DNS?
First off, of course, I need to get the connection to work...
Here's the log:
Mar 25 14:30:10 localhost NetworkManager: <info> Activating device wlan0
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
1 of 5 (Device Prepare) scheduled...
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
1 of 5 (Device Prepare) started...
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
2 of 5 (Device Configure) scheduled...
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
1 of 5 (Device Prepare) complete.
Mar 25 14:30:10 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 7 -> 0
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
2 of 5 (Device Configure) starting...
Mar 25 14:30:10 localhost NetworkManager: <info> Activation
(wlan0/wireless): connection 'Auto hh' requires no security. No secrets
needed.
Mar 25 14:30:10 localhost NetworkManager: <info> Config: added 'ssid'
value 'hh'
Mar 25 14:30:10 localhost NetworkManager: <info> Config: added 'mode'
value '1'
Mar 25 14:30:10 localhost NetworkManager: <info> Config: added 'key_mgmt'
value 'NONE'
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
2 of 5 (Device Configure) complete.
Mar 25 14:30:10 localhost NetworkManager: <info> Config: set interface
ap_scan to 2
Mar 25 14:30:10 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 0 -> 2
Mar 25 14:30:10 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 2 -> 3
Mar 25 14:30:25 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 3 -> 0
Mar 25 14:30:25 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 0 -> 2
Mar 25 14:30:25 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 2 -> 3
Mar 25 14:30:35 localhost NetworkManager: <info> Activation
(wlan0/wireless): association took too long, failing activation.
Mar 25 14:30:35 localhost NetworkManager: <info> Activation (wlan0)
failed for access point (hh)
Mar 25 14:30:35 localhost NetworkManager: <info> Marking connection 'Auto
hh' invalid.
Mar 25 14:30:35 localhost NetworkManager: <info> Activation (wlan0) failed.
Mar 25 14:30:35 localhost NetworkManager: <info> Deactivating device wlan0.
THANKS!
Harold
Also, information I've seen on ad-hoc networks seems to imply a rather complex configuration at each end (set up IP addresses, subnet masks, etc.). Is there some automatic method of doing this? In this application, I've got a device with a wireless card in it. I just want to be able to select it in NetworkManager and then view its embedded web server. Is this possible? How do IP addresses get assigned? How would a browser know where to go to see this embedded web server? Do I need to have the device do DHCP and maybe even DNS?
First off, of course, I need to get the connection to work...
Here's the log:
Mar 25 14:30:10 localhost NetworkManager: <info> Activating device wlan0
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
1 of 5 (Device Prepare) scheduled...
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
1 of 5 (Device Prepare) started...
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
2 of 5 (Device Configure) scheduled...
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
1 of 5 (Device Prepare) complete.
Mar 25 14:30:10 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 7 -> 0
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
2 of 5 (Device Configure) starting...
Mar 25 14:30:10 localhost NetworkManager: <info> Activation
(wlan0/wireless): connection 'Auto hh' requires no security. No secrets
needed.
Mar 25 14:30:10 localhost NetworkManager: <info> Config: added 'ssid'
value 'hh'
Mar 25 14:30:10 localhost NetworkManager: <info> Config: added 'mode'
value '1'
Mar 25 14:30:10 localhost NetworkManager: <info> Config: added 'key_mgmt'
value 'NONE'
Mar 25 14:30:10 localhost NetworkManager: <info> Activation (wlan0) Stage
2 of 5 (Device Configure) complete.
Mar 25 14:30:10 localhost NetworkManager: <info> Config: set interface
ap_scan to 2
Mar 25 14:30:10 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 0 -> 2
Mar 25 14:30:10 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 2 -> 3
Mar 25 14:30:25 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 3 -> 0
Mar 25 14:30:25 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 0 -> 2
Mar 25 14:30:25 localhost NetworkManager: <info> (wlan0) Supplicant
interface state change: 2 -> 3
Mar 25 14:30:35 localhost NetworkManager: <info> Activation
(wlan0/wireless): association took too long, failing activation.
Mar 25 14:30:35 localhost NetworkManager: <info> Activation (wlan0)
failed for access point (hh)
Mar 25 14:30:35 localhost NetworkManager: <info> Marking connection 'Auto
hh' invalid.
Mar 25 14:30:35 localhost NetworkManager: <info> Activation (wlan0) failed.
Mar 25 14:30:35 localhost NetworkManager: <info> Deactivating device wlan0.
THANKS!
Harold