I confirm this bug.

Upstream report (debian)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690536

You can work this out like this :

# howto use Access Point with networkManager in Ubuntu 13.04
$ sudo apt-get install build-essential dpkg-dev fakeroot
$ mkdir sources
$ cd sources/
$ apt-get source wpasupplicant
$ sudo apt-get build-dep wpasupplicant
$ gedit wpa-1.0/debian/config/wpasupplicant/linux
#add those lines at the end of the file
# AP mode
CONFIG_AP=y

$ cd wpa-1.0/
$ fakeroot debian/rules binary
$ cd ..
$ sudo dpkg -i hostapd_1.0-3ubuntu1_i386.deb wpagui_1.0-3ubuntu1_i386.deb 
wpasupplicant_1.0-3ubuntu1_i386.deb

"At the moment, neither nm-applet or the connection editor support
setting real AP mode from the GUI; that's work-in-progress because it
requires some rather extensive changes to the way that the editor
validates its UI so that you don't end up with incompatible options.

here's a sample "keyfile" connection
for /etc/NetworkManager/system-connections; name it "Hotspot".
you can start it with 
"nmcli con up id Hotspot":

[connection]
id=Hotspot
uuid=3e13073d-6d7a-440d-ab2b-4f42c9fdacaf
type=802-11-wireless
autoconnect=false

[802-11-wireless]
ssid=my Hotspot
mode=ap
security=802-11-wireless-security

[802-11-wireless-security]
key-mgmt=wpa-psk
psk=really secure password

[ipv4]
method=shared

[ipv6]
method=auto

cf.
https://mail.gnome.org/archives/networkmanager-list/2013-April/msg00100.html

You need to chmod 600 the keyfile to make network manager to use it.

Unfortunately, even if I get the hotspot running and an android phone
connect to it, it seems I can't reach the internet (well maybe an issue
with my usb wifi stick)

If you try this, please let me know if it works for you.

** Bug watch added: Debian Bug tracker #690536
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690536

** Also affects: wpa (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690536
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1186688

Title:
  AP-Mode doesn't work with network-manager

Status in “network-manager” package in Ubuntu:
  Confirmed
Status in “wpa” package in Debian:
  Unknown

Bug description:
  Of course I have verified with 'iw list' that my card supports AP mode (see 
attatchment).
  But still, AP-Mode won't work :-(
  Will add network-manager output in a few minutes.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: network-manager 0.9.8.0-0ubuntu6
  ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
  Uname: Linux 3.8.0-23-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  CRDA:
   country DE:
    (2400 - 2483 @ 40), (N/A, 20)
    (5150 - 5250 @ 40), (N/A, 20), NO-OUTDOOR
    (5250 - 5350 @ 40), (N/A, 20), NO-OUTDOOR, DFS
    (5470 - 5725 @ 40), (N/A, 26), DFS
  Date: Sun Jun  2 10:45:22 2013
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2013-04-10 (52 days ago)
  InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130410)
  IpRoute:
   default via 192.168.1.100 dev wlan0  proto static
   169.254.0.0/16 dev wlan0  scope link  metric 1000
   192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.101  
metric 9
  MarkForUpload: True
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  WifiSyslog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1186688/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to