You are not logged in.
Pages: 1
Hello,
I'd like to create a turn my laptop into an hotspot (I want to do some testing with squid).
I went to the Network Settings pannel in GNOME and choose "Use as Hotspot". After installing dnsmasq, it seems to work.
At least the network is up but I cannot connect to it. I tried with an android phone and a windows pc.
From the android debugger
D/dalvikvm( 639): GC_EXPLICIT freed 379K, 52% free 3013K/6151K, external 147K/512K, paused 67ms
E/dhcpcd ( 848): timed out
I/wpa_supplicant( 841): CTRL-EVENT-SCAN-RESULTS Ready
E/WifiStateTracker( 176): DHCP request failed: DHCP result was failed
I/wpa_supplicant( 841): CTRL-EVENT-STATE-CHANGE id=3 state=8
V/WifiMonitor( 176): Event [CTRL-EVENT-STATE-CHANGE id=3 state=8]
V/WifiStateTracker( 176): Changing supplicant state: COMPLETED ==> DORMANT
D/WifiStateTracker( 176): Reset connections and stopping DHCP
I/wpa_supplicant( 841): CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
V/WifiMonitor( 176): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]
I/wpa_supplicant( 841): CTRL-EVENT-STATE-CHANGE id=-1 state=8
V/WifiMonitor( 176): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=8]
D/WifiStateTracker( 176): Disabling interface
V/WifiStateTracker( 176): New network state is DISCONNECTED
V/WifiStateTracker( 176): Changing supplicant state: DORMANT ==> DORMANT
E/ConnectivityService( 176): Attempt to connect to WIFI failed.
E/ConnectivityService( 176): not failing over to mobile type 0 because Mobile Data Disabled
I tried to launch dhcpd on wlan0 (as there was a dhcp related error on the android device)
$ sudo dhcpcd wlan0
dhcpcd[7500]: version 5.2.12 starting
dhcpcd[7500]: wlan0: rebinding lease of 192.168.1.3
dhcpcd[7500]: wlan0: broadcasting for a lease
dhcpcd[7500]: timed out
Any idea ?
Also I don't succeed to change the settings of the hotspot (in the IPV4 tab, the method is set to "shared with computers" and I'd like to put it to "automatic (DHCP)"). I tried the "configure" button next to the "use as hotspot" one but it doesn't affect the current connection. Any idea how I can do ?
Thank you
Last edited by martvefun (2011-11-30 10:31:15)
English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro
Offline
I can't imagine configuring something like that with a GUI - last time I did it, I used this howto and it worked perfectly.
BTW, there seems to some dhcp-related confusion in your post - you say "I tried to launch dhcpd", but that's followed by a dhcpcd command and output (note the extra 'c' there). And apart from all that, you said you were using dnsmasq, so dhcpd is not required.
Offline
Pages: 1