Re: Hotspot script not working

2013-09-03 Thread Catalin Soare
On Sep 3, 2013 7:01 AM, Anubhav Yadav anub...@icoer.in wrote:

 On Mon, 2013-09-02 at 10:33 +0100, Darac Marjal wrote:

  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 :)

 I commented out the line, the error won't come, but still the hotspot is
 not detected on my mobile!
  
   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-requ...@lists.debian.org
   with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
   Archive: http://lists.debian.org/1378102804.7954.3.camel@Innovator
  

 --
 Regards,
 Anubhav Yadav,
 Computer Engineering Final Year Student,
 Imperial College of Engineering and Research,
 Pune.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
 Archive: http://lists.debian.org/1378179642.5206.1.camel@Innovator


Hello
May I suggest trying to google for using debian as an ad-hoc wifi /
hotspot / whatever you want to call it, since it may just be easier to do
that rather than porting/debugging that script?

I was able to find quite a few guides, even on wiki.debian.org.

Good luck!

--
Sent from my Brick (TM)


Re: Re: Hotspot script not working

2013-09-03 Thread Anubhav Yadav
Hello
May I suggest trying to google for using debian as an ad-hoc wifi /
hotspot / whatever you want to call it, since it may just be easier to
do that rather than porting/debugging that script?

I was able to find quite a few guides, even on wiki.debian.org.

Good luck!

I will quote a line from where I downloaded the script


Ubuntu lets you easily create a wireless hotspot by using the Network
Manager, but it uses an ad hoc network and most Android and Windows
Phone devices can't connect to such networks.

But still I will give it a try!

-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1378221150.5999.2.camel@Innovator



Re: Hotspot script not working

2013-09-02 Thread Darac Marjal
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-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/1378102804.7954.3.camel@Innovator
 


signature.asc
Description: Digital signature


Re: Hotspot script not working

2013-09-02 Thread Anubhav Yadav
On Mon, 2013-09-02 at 10:33 +0100, Darac Marjal wrote:

 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 :)

I commented out the line, the error won't come, but still the hotspot is
not detected on my mobile!
  
  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-requ...@lists.debian.org 
  with a subject of unsubscribe. Trouble? Contact 
  listmas...@lists.debian.org
  Archive: http://lists.debian.org/1378102804.7954.3.camel@Innovator
  

-- 
Regards, 
Anubhav Yadav,
Computer Engineering Final Year Student,
Imperial College of Engineering and Research,
Pune.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1378179642.5206.1.camel@Innovator