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

Re: ad-hoc wifi - network unreachable



On 2011-08-05 09:42:11 -0400, Robert Blair Mason Jr. wrote:
> I am unable to connect to adhoc networks on debian sid using wicd.
> Whenever I try to connect to an adhoc network (in this case the one
> broadcast by barnacle on my phone, but the problem is reproducible on
> any adhoc network), wicd appears to go through all of the steps to
> connect successfully but then at the last second fails saying 'not
> connected', and ping complains that the network is unreachable.

I also sometimes connect to an adhoc network with wicd (between my
Debian laptop and my Nokia N900), and I also get random failures.
Otherwise I use a small script running ifconfig and iwconfig directly:

/etc/init.d/wicd stop
ifconfig wlan0 down
iwconfig wlan0 essid xxx mode Ad-Hoc channel 1 key yyy
ifconfig wlan0 up 192.168.17.3
iwconfig wlan0 essid xxx mode Ad-Hoc channel 1 key yyy

With that, I always get the IP address, but the network connection
itself doesn't always work (test with ping).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


Reply to: