1

Using Opensuse 13.2 on a Toshiba Satellite.

I have been unable, so far, to make WiFi hotspot in my laptop, so that I can access internet from my WiFi enabled devices. How can I make it a hot-spot?

  • No I can't, but I have tried to improve your question. – anyone Feb 24 '15 at 15:59
  • If you use NetworkManager on your Laptop it is much easier. Follow this NetworkManager Tutorial on youtube that I just tested on Tumbleweed, while the video shows Leap 42.1. On both it works and should so on 13.2 or older as long as this feature was not added recently to NM. youtube.com/watch?v=auQ5tC1u6fM – user163407 Mar 30 '16 at 8:51
2

Having a proper, guest-friendly hotspot on a Linux machine require at least the following:

  1. switch your WiFi card to master (AP) mode - to make your AP secure you need to configure and run hostapd with at least WPA2-PSK auth;
  2. make you host a NAT-enabled router, which you can achieve with iptables -t nat -A POSTROUTING -s INPUT_CIDR -o OUTPUT_INTERFACE -j SNAT --to YOUR_PUBLIC_IP and sysctl net.ipv4.ip_forward=1;
  3. a DNS forwarder and (more importantly) DHCP server - dnsmasq can do both.

I have a set of Bash scripts to configure Linux as a WiFi hotspot in just 2 commands. I can share it if necessary.

  • Now I have installed hostapd and downloaded hotspotd.Then configured it through "sudo hotspotd start" but no network is detected in my android phone. – saptarshi nag Feb 22 '15 at 4:54
  • I can help with manual configuration, but have no idea about hotspotd, sorry. – sam_pan_mariusz Feb 22 '15 at 7:15
  • Can you provide iwconfig wlan0 output, run as root when the hostapd and hotspotd are running? Replace wlan0 with your wireless interface name. – sam_pan_mariusz Feb 22 '15 at 7:16
  • It says "wlan0 no such device" :\ – saptarshi nag Feb 23 '15 at 4:19
  • 1
    Replace wlan0 with your WiFi interface name. – sam_pan_mariusz Feb 23 '15 at 6:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.