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

Kernels & Hardware, configuring network, installing services

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

Postby naziblee » 2017-08-04 21:38

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
naziblee
 
Posts: 15
Joined: 2013-10-27 01:30

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

Postby 4D696B65 » 2017-08-05 00:32

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
4D696B65
 
Posts: 2001
Joined: 2009-06-28 06:09

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

Postby naziblee » 2017-08-05 03:15

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
naziblee
 
Posts: 15
Joined: 2013-10-27 01:30

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

Postby 4D696B65 » 2017-08-05 03:17

as root
Code: Select all
ifconfig
User avatar
4D696B65
 
Posts: 2001
Joined: 2009-06-28 06:09

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

Postby Thorny » 2017-08-05 12:12

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/
Thorny
 
Posts: 325
Joined: 2011-02-27 13:40


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable