Re: Regarding Hotspot configuration

2015-10-28 Thread Sven Arvidsson
On Tue, 2015-10-27 at 13:17 -0700, Matt Ventura wrote:
> What card is it?

Intel Centrino 2230.

> With my Intel 7260 (which works as an AP if I use hostapd directly),
> n-m only wants to create an ad-hoc network.
> Does it present you with the option to create an AP mode network?

There's not really any options at all, if hotspot is enabled it just
show you the encryption mode and a key. 

This is with NM in GNOME from unstable. 

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Regarding Hotspot configuration

2015-10-28 Thread Himanshu Shekhar
/home/himanshu/Downloads/broadcom43142/hybrid_wl/src/wl/sys/wl_linux.c: In
function ‘wl_dump_ver’:
/home/himanshu/Downloads/broadcom43142/hybrid_wl/src/wl/sys/wl_linux.c:2049:3:
error: macro "__DATE__" might prevent reproducible builds
[-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
/home/himanshu/Downloads/broadcom43142/hybrid_wl/src/wl/sys/wl_linux.c:2049:13:
error: macro "__TIME__" might prevent reproducible builds
[-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
 ^
cc1: some warnings being treated as errors
make[4]: ***
[/home/himanshu/Downloads/broadcom43142/hybrid_wl/src/wl/sys/wl_linux.o]
Error 1
/usr/src/linux-headers-4.1.0-0.bpo.2-common/scripts/Makefile.build:263:
recipe for target
'/home/himanshu/Downloads/broadcom43142/hybrid_wl/src/wl/sys/wl_linux.o'
failed
make[3]: *** [_module_/home/himanshu/Downloads/broadcom43142/hybrid_wl]
Error 2
/usr/src/linux-headers-4.1.0-0.bpo.2-common/Makefile:1401: recipe for
target '_module_/home/himanshu/Downloads/broadcom43142/hybrid_wl' failed
make[2]: *** [sub-make] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [all] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: Leaving directory '/usr/src/linux-headers-4.1.0-0.bpo.2-amd64'
make: *** [all] Error 2
Makefile:140: recipe for target 'all' failed


Hope it is not at all pretty! :P

Regards
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Regarding Hotspot configuration

2015-10-28 Thread Lisi Reisz
On Wednesday 28 October 2015 14:53:11 Himanshu Shekhar wrote:
>  but
> received errors in installing them but received errors.

And the error messages were?

Lisi



Re: Regarding Hotspot configuration

2015-10-28 Thread Himanshu Shekhar
It supports AP mode, as I have used the stuff when I worked on Windows with
Connectify.
Possibly, this is a driver issue, as "wl" driver may not be supporting AP
mode.

However, I tried to download drivers from
http://www.broadcom.com/support/802.11 for this device, "43142", but
received errors in installing them but received errors. I use kernel
version 4.1.0.0.
Is there any problem with the kernel version?

On Wed, Oct 28, 2015 at 1:47 AM, Matt Ventura 
wrote:

> On 10/24/2015 01:26 AM, Sven Arvidsson wrote:
>
>> On Fri, 2015-10-23 at 14:38 -0700, Matt Ventura wrote:
>>
>>> I'm not sure about that, I just told n-m to create a new network,
>>> and it did ad-hoc even though my card supports AP mode.
>>> Can you check in iwconfig to confirm it's actually an AP?
>>>
>> iwconfig does say master mode.
>>
>> What card is it?
> With my Intel 7260 (which works as an AP if I use hostapd directly),
> n-m only wants to create an ad-hoc network.
> Does it present you with the option to create an AP mode network?
>
> Matt Ventura
>
>


-- 
Regards

Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Regarding Hotspot configuration

2015-10-27 Thread Matt Ventura

On 10/24/2015 01:26 AM, Sven Arvidsson wrote:

On Fri, 2015-10-23 at 14:38 -0700, Matt Ventura wrote:

I'm not sure about that, I just told n-m to create a new network,
and it did ad-hoc even though my card supports AP mode.
Can you check in iwconfig to confirm it's actually an AP?

iwconfig does say master mode.


What card is it?
With my Intel 7260 (which works as an AP if I use hostapd directly),
n-m only wants to create an ad-hoc network.
Does it present you with the option to create an AP mode network?

Matt Ventura



Re: Regarding Hotspot configuration

2015-10-27 Thread Matt Ventura

On 10/23/2015 08:56 PM, Himanshu Shekhar wrote:

Got it!
My wireless driver is "wl", and "iw list" shows that it doesn't 
supports "ap" mode. Also, I have browsed Linux_Drivers_page 
 and Wikipedia_article 
 about 
the same, and found that there were no "wl" drivers, but something 
like "wl***".
My "iw list" and "lspci -v" outputs are attached. Please have a look 
at them.
Also, I didn't mention that my hardware has bluetooth and wireless 
combined, and bluetooth doesn't work.

It would be great if anyone could suggest the proper drivers.

Thanks for help!

Regards,
Himanshu Shekhar



Looking at that, it doesn't look like it supports AP mode.
If it does, it would say "AP" and/or "AP/VLAN" under "Supported 
interface modes".


Matt Ventura


Re: Regarding Hotspot configuration

2015-10-24 Thread Sven Arvidsson
On Sat, 2015-10-24 at 09:26 +0530, Himanshu Shekhar wrote:
> Also, I didn't mention that my hardware has bluetooth and wireless
> combined, and bluetooth doesn't work.
> It would be great if anyone could suggest the proper drivers.

Hi,

Probably a better idea to start a new thread for the Bluetooth issue.

AFAICT, you are running the right driver, it just isn't very good, and
that's a problem with the Broadcom stuff.

Support on that card seems to have been problematic, it seems to
require some sort of firmware.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1065400

lsusb output, dmesg after boot and similar would probably be helpful,
and any further information on what works and doesnt.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Regarding Hotspot configuration

2015-10-24 Thread Himanshu Shekhar
So what do I do now?
Googling doesn't seem to help with that!

-- 
Regards
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Regarding Hotspot configuration

2015-10-24 Thread Sven Arvidsson
On Fri, 2015-10-23 at 14:38 -0700, Matt Ventura wrote:
> I'm not sure about that, I just told n-m to create a new network,
> and it did ad-hoc even though my card supports AP mode.
> Can you check in iwconfig to confirm it's actually an AP?

iwconfig does say master mode. 

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Regarding Hotspot configuration

2015-10-23 Thread Himanshu Shekhar
Got it!
My wireless driver is "wl", and "iw list" shows that it doesn't supports
"ap" mode. Also, I have browsed Linux_Drivers_page
 and Wikipedia_article

about
the same, and found that there were no "wl" drivers, but something like
"wl***".
My "iw list" and "lspci -v" outputs are attached. Please have a look at
them.
Also, I didn't mention that my hardware has bluetooth and wireless
combined, and bluetooth doesn't work.
It would be great if anyone could suggest the proper drivers.

Thanks for help!

Regards,
Himanshu Shekhar


lspci
Description: Binary data


iwlist
Description: Binary data


Re: Regarding Hotspot configuration

2015-10-23 Thread Lisi Reisz
On Friday 23 October 2015 22:38:56 Matt Ventura wrote:
> On 10/23/2015 01:39 PM, Sven Arvidsson wrote:
> > I think NM only uses ad-hoc if your network driver doesn't support
> > anything else.
>
> I'm not sure about that, I just told n-m to create a new network,
> and it did ad-hoc even though my card supports AP mode.
> Can you check in iwconfig to confirm it's actually an AP?

Your *card* supports AP, but does your Linux network driver?

Lisi



Re: Regarding Hotspot configuration

2015-10-23 Thread Matt Ventura

On 10/23/2015 01:39 PM, Sven Arvidsson wrote:

On Fri, 2015-10-23 at 19:13 +0530, Himanshu Shekhar wrote:

I have spent couple of hours about using hotspot on my Debian laptop.
The
hotspotd method didn't work. So, I tried ap-hotspot after knowing
that the
hotspot which the GNOME network manager starts is an ad-hoc network
which
Android cannot identify.

I only made a very quick test, but on my laptop the "hotspot"
NetworkManager creates is visible on my Android phone.

I think NM only uses ad-hoc if your network driver doesn't support
anything else.


I'm not sure about that, I just told n-m to create a new network,
and it did ad-hoc even though my card supports AP mode.
Can you check in iwconfig to confirm it's actually an AP?



Re: Regarding Hotspot configuration

2015-10-23 Thread Sven Arvidsson
On Fri, 2015-10-23 at 19:13 +0530, Himanshu Shekhar wrote:
> I have spent couple of hours about using hotspot on my Debian laptop.
> The
> hotspotd method didn't work. So, I tried ap-hotspot after knowing
> that the
> hotspot which the GNOME network manager starts is an ad-hoc network
> which
> Android cannot identify.

I only made a very quick test, but on my laptop the "hotspot"
NetworkManager creates is visible on my Android phone. 

I think NM only uses ad-hoc if your network driver doesn't support
anything else. 

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Regarding Hotspot configuration

2015-10-23 Thread Matt Ventura

On 10/23/2015 06:43 AM, Himanshu Shekhar wrote:
I have spent couple of hours about using hotspot on my Debian laptop. 
The hotspotd method didn't work. So, I tried ap-hotspot after knowing 
that the hotspot which the GNOME network manager starts is an ad-hoc 
network which Android cannot identify. So, I began searching for 
solution for creating Infrastructure network, and eventually found 
that there was no simple way, like a click and hotspot started.


Also, some googling suggested "iw list" which would expose device's 
capability, and didn't mention ap in the list. However, I have used ap 
using Connectify in Windows on the same device.


Any help will be appreciated!

--
Regards
Himanshu Shekhar
IIIT-Allahabad
IRM2015006
Post the output of 'iw list'. It's entirely possible that the driver 
and/or firmware used in the windows drivers support AP mode while the 
ones in Debian do not. It also might not have AP support on all bands.


Matt Ventura



Regarding Hotspot configuration

2015-10-23 Thread Himanshu Shekhar
I have spent couple of hours about using hotspot on my Debian laptop. The
hotspotd method didn't work. So, I tried ap-hotspot after knowing that the
hotspot which the GNOME network manager starts is an ad-hoc network which
Android cannot identify. So, I began searching for solution for creating
Infrastructure network, and eventually found that there was no simple way,
like a click and hotspot started.

Also, some googling suggested "iw list" which would expose device's
capability, and didn't mention ap in the list. However, I have used ap
using Connectify in Windows on the same device.

Any help will be appreciated!

-- 
Regards
Himanshu Shekhar
IIIT-Allahabad
IRM2015006