|
|
| I am running OpenSuse linux 13.1, it has KNetworkmanager to control the network.
Now this seems like an eay task (my cell phone can do it with 1 push on a button). I am connected by cable and I want my phone to be able to access the internet through WiFi.
I googled around and I found out this is sometimes called an ad-hoc network. So I created a new wireless network, set mode to ad-hoc, no security (for now). But nothing happens, it just stands there between all my other configured networks… Am I missing a simple button press (I surely hope so).
I googled a bit further and found hostapd. I was reluctant to start scripting for this, it should be able to be done through the gui no? Anyway, based on the instructions found here, I checked some things.
>lspci -k | grep -A 3 -i “network”
01:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)
Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
>hostapd /home/dorien/.hostapd-test.conf
Configuration file: /home/dorien/.hostapd-test.conf
nl80211: Failed to set interface wlp1s0 into AP mode
nl80211 driver initialization failed.
Probably my driver is not supported? was not the way to go? Did I use a wrong driver?
with .hostapd-test.conf being:
interface=wlp1s0
driver=nl80211
ssid=test
channel=1
Is the latter the way to go or can I get ad-hoc to work?
Thanks for any suggestions.
I am running
OpenSuse linux 13.1, it has KNetworkmanager to control the network.
Now this seems like an eay task (my cell phone can do it with 1 push
on a button). I am connected by cable and I want my phone to be able to
access the internet through WiFi.
<snip>
Hi
The hostapd application;
Information for package hostapd:
--------------------------------
Repository: openSUSE 13.1 OSS
Name: hostapd
Version: 2.0-2.2.1
Arch: x86_64
Vendor: openSUSE
Installed: No
Status: not installed
Installed Size: 1.2 MiB
Summary: Turns Your WLAN Card into a WPA capable Access Point
Description:
hostapd is a user space daemon for access point and authentication
servers. It implements IEEE 802.11 access point management, IEEE
802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and
RADIUS authentication server. Currently, hostapd supports HostAP,
madwifi, and prism54 drivers. It also supports wired IEEE 802.1X
authentication via any ethernet driver.
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-7-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
On 04/18/2014 07:06 PM, Dorax wrote:
>
> This seems to be a real problem with my driver in opensuse.
>
> Here is some extra information about my problem.
>
> When I try to start hostapd it says:
>
> hostapd /etc/hostapd.conf
>
> Configuration file: /etc/hostapd.conf nl80211: Failed to set interface
> wlp1s0 into AP mode nl80211 driver initialization failed
>
>
> So I guess my card does not support AP mode, so what to do now? How do I
> get a hotspot?
As you know, not all wireless drivers support nl80211 commands. As you failed to
specify what device you have, I can only guess.
As always, I recommend that you spend the money to buy an actual AP if you want
to set up a hot spot. There is a Linksys WRT54G V8 on E-bay for $15 with free
shipping. That one can not run openWRT, but the standard firmware works OK.