Liksys pci wireless card

2020-05-27 Thread man Chan
Hello,
I tried to setup my Linksys WLAN (Ralink RT2560) as access point with 

mediaopt hostap
nwid mynwid wpakey mywpakey
inet 192.168.2.1 255.255.255.0

When I ifconfig ral0,  I got status: no network.  Did I missing something to 
make it work or this card cannot config as hostap ?  any idea ?

Thanks.

Clarence




Re: Liksys pci wireless card

2020-05-27 Thread Stefan Sperling
On Wed, May 27, 2020 at 08:09:29AM +, man Chan wrote:
> Hello,
> I tried to setup my Linksys WLAN (Ralink RT2560) as access point with 
> 
> mediaopt hostap
> nwid mynwid wpakey mywpakey
> inet 192.168.2.1 255.255.255.0
> 
> When I ifconfig ral0,  I got status: no network.  Did I missing something to 
> make it work or this card cannot config as hostap ?  any idea ?
> 
> Thanks.
> 
> Clarence
> 
> 
> 

Try setting the channel explicitly:

mediaopt hostap mode 11g chan 1
nwid mynwid wpakey mywpakey
inet 192.168.2.1 255.255.255.0

This avoids an automatic search for a channel to use.
The interface will not come up before a channel is set.