On Mon, Sep 02, 2013 at 11:50:04AM +0530, Anubhav Yadav wrote: > Hello List, > > I used to make use of this script extensively when I was using ubuntu. > It used to work perfectly out-of-the-box. > > But on debian when I start the script, it runs without any error, but > the hotspot is never shown on my mobile. > > When I restart the script, I get this error message: > > Restarting Wireless Hotspot... > Stopping Wireless Hotspot... > mon.wlan0: ERROR while getting interface flags: No such device I suspect this is coming from line 253 (ifconfig "mon.$INTERFACE_WLAN" down). I believe that the "." has a special meaning in interface names inasmuch as it indicates a VLAN (virtual LAN) device. So "mon.wlan0" would be the VLAN "wlan0" running over physical interface "mon". Now, as VLAN IDs can only be numeric and I don't think you've got a "mon" interface, that's why it's failing. I *also* can't find any other mention of "mon." in that file. It's possible one of the commands it calls creates such an interface (I'm not familiar with hostapd or dnsmasq), so check how they work first. But you might get away with just commenting out line 253 :) > Starting Wireless Hotspot... > Wireless Hotspot active > > The script is here http://paste.debian.net/33549/ > > And I downloaded the script here: > http://www.webupd8.org/2013/06/how-to-set-up-wireless-hotspot-access.html > > Any help will be appreciated. > > -- > Regards, > Anubhav Yadav, > Computer Engineering Final Year Student, > Imperial College of Engineering and Research, > Pune. > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > Archive: [🔎] 1378102804.7954.3.camel@Innovator">http://lists.debian.org/[🔎] 1378102804.7954.3.camel@Innovator >
Attachment:
signature.asc
Description: Digital signature