Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unable to Create Hotspot(both Ad Hoc & AP) in Debian Stretch

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
naziblee
Posts: 15
Joined: 2013-10-27 01:30

Unable to Create Hotspot(both Ad Hoc & AP) in Debian Stretch

#1 Post by naziblee »

Hi All,

Recently, after installing Debian Strectch on hp pavilion G4, I can't create hotspot (both ad hoc and through Access point) as I did in debian Wheezy, Furthermore, the Bluetooth does not work too. Below is output result using lspci:

Code: Select all

01:00.0 Network controller: Ralink corp. Device 3290
01:00.1 Bluetooth: Ralink corp. Device 3298
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
Below is the output using iw list that tell me that the device should supported Access Point creation:

Code: Select all

	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * WDS
		 * monitor
		 * mesh point
Below is my hostapd.conf file:

Code: Select all

interface=wlan0
driver=nl80211

# BRIDGE NAME
bridge=br0

# COUNTRY
country_code=ID
#ieee80211d=1

# SSID
ssid=AIG.NET

# CHANGE MODE HERE IF NEEDED
hw_mode=g

# CHANGE CHANNEL EVENTUALLY
channel=1

# wme_enabled=0
macaddr_acl=0
auth_algs=1

# SECURITY
wpa=2
wpa_passphrase=abcdefgh
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
# Change the broadcasted/multicasted keys after this many seconds.
wpa_group_rekey=600
# Change the master key after this many seconds. Master key is used as a basis
wpa_gmk_rekey=86400
Below is my etc/networking/interfaces configuration:

Code: Select all

# The loopback network interface
auto lo br0
iface lo inet loopback

# Eth0 connected to the ISP Router
allow-hotplug eth0
iface eth0 inet manual

# Wireless wlan0
allow-hotplug wlan0
iface wlan0 inet manual

# Bridge setup

# for dhcp address
iface br0 inet dhcp
bridge_ports eth0 wlan0
Really appreciate your help

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Unable to Create Hotspot(both Ad Hoc & AP) in Debian Str

#2 Post by 4D696B65 »

Just a stab in the dark. Is eth0 still named eth0 or did it change?
For instance on the laptop I am on now, what was wlan0 is now wls1 and what was eth0 is now ens5.

User avatar
naziblee
Posts: 15
Joined: 2013-10-27 01:30

Re: Unable to Create Hotspot(both Ad Hoc & AP) in Debian Str

#3 Post by naziblee »

4D696B65 wrote:Just a stab in the dark. Is eth0 still named eth0 or did it change?
For instance on the laptop I am on now, what was wlan0 is now wls1 and what was eth0 is now ens5.
I am not sure about it, How do I check such an info? is there any command line to find out the status?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Unable to Create Hotspot(both Ad Hoc & AP) in Debian Str

#4 Post by 4D696B65 »

as root

Code: Select all

ifconfig

User avatar
Thorny
Posts: 542
Joined: 2011-02-27 13:40

Re: Unable to Create Hotspot(both Ad Hoc & AP) in Debian Str

#5 Post by Thorny »

naziblee, you might want to look over this explanation of the the newer Predictable Network Interface Names. Down near the end it also tells you how to disable the feature if you so choose.

https://www.freedesktop.org/wiki/Softwa ... faceNames/

Post Reply