9

I used create_ap: pacman -S create_ap sudo create_ap -m bridge wifi_interface ethernet_interface test_arch vinod123 Note: You won't be able to browse internet on the host. Maybe we should use NAT rather than bridge. I haven't tried it yet to confirm anything regarading NAT. UPDATE Used NAT and I'm able to browse on the host too. sudo create_ap -m nat ...


6

Edit /etc/NetworkManager/system-connections/Hotspot and change the line autoconnect=false to autoconnect=true


6

It is not possible to create an open hotspot through wifi hotspot command , because nmcli will generate a password for you (WPA or wep) , the --show-secrets option will be used to print the password. The easy way to create an open wifi-hotspot is using create_ap command: To install it run: git clone https://github.com/oblique/create_ap cd create_ap make ...


6

If you have wired connection, then do this: Go to "Network Connections" from bottom-corner networking icon. Click on "Add" and choose "Wi-Fi" option. Give the connection name (to adapter not SSID). Provide a name of your hotspot in SSID field. Set mode to Hotspot. Open the terminal and type ifconfig (make sure your ...


5

I have found the solution. I was missing some dependencies required to start ad-hoc. Here is the list of dependencies that network-manager requires. Depends On : libnm-glib iproute2 polkit wpa_supplicant libsoup libmm-glib libnewt libndp libteam Optional Deps : dnsmasq: connection sharing bluez: Bluetooth support [installed] ...


5

As the underlying layers /Os is not talking WISpr/not running a program to deal with captive portals, for connecting to a captive portal in the command line, you only need a browser or a script. One of the possible solutions is using lynx, a text mode browser. It will work in most captive portals, and will allow you to enter your login and password to ...


4

To have 802.11n mode, in your /etc/hostapd.conf you need the directives: hw_mode=g ieee80211n=1 ht_capab=[SHORT-GI-40][HT40+][HT40-][DSSS_CCK-40] So basically, you need support for g mode, with 802.11n extensions, and the ht_capab directive is for enabling support for 40MHz. If your chipset does not support 40MHz bandwidth, comment it out. Beware that for ...


4

TCP traffic from the hotspot can be passed through the ssh -D socks proxy using redsocks. With redsocks installed and configured one can use iptables to redirect all traffic from the wifi hotspot to redsocks which then passes it through the socks proxy. For instance if your wifi hotspot is on the 10.42.0.1/24 subnet and the incoming redsocks port is 12345 ...


4

IE stands for Information Element. They are transmitted as part of the beacon frames and carry all kinds of information such as SSID, supported rates, etc. Information element Element ID Length (in octets) --------------------------------------------------------------------------- SSID (see 7.3.2.1) 0 ...


4

The solution was adding the following line to my hotspot config file /etc/NetworkManager/system-connections/myHotspot in the ipv4 block: address1=192.168.0.1/24,192.168.0.1


3

Instructions for Mint 17: Go to Main Menu -> Preferences -> Network Connections, click on Add and choose Wi-Fi. Choose a network name (SSID), Infrastructure mode. Go to to Wi-Fi Security and choose WPA/WPA2 Personal and create a password. Go to IPv4 settings and check that it is shared with other computers. Do sudo vi /etc/NetworkManager/system-connections/...


3

There is a snap package (it's a new packaging technique created by Ubuntu developers) called wifi-ap. You can use it from terminal to create a wireless network, and even share internet if you want. To install the package : snap install wifi-ap. Then you have to configure the access point with this command wifi-ap.config. To be able to install and manage ...


3

In the output of iwconfig wlan0 look for whether Mode is set to Managed (the standard mode) or not (possibly running as a hotspot).


3

I encountered this on Arch Linux 4.19.2 because wpa_supplicant and dhcpcd were running on my system. The fix in my case was to end those programs and restart NetworkManager: sudo pkill wpa_supplicant && sudo pkill dhcpcd sudo systemctl restart NetworkManager After that, I can connect again: nmcli con up myNetwork The complete error message was ...


3

The failure is probably due to this Gnome control-center bug: https://bugzilla.redhat.com/show_bug.cgi?id=1399693 A workaround is to set a valid pretty-hostname with command: hostnamectl --pretty set-hostname $(hostname)


3

Funny coincidence. I was looking for this, too, today for Debian. Currently I'm following: http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/external/bsd/wpa/dist/hostapd/README-WPS and a bit of https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf I just needed to copy these lines: wpa_psk_file=/home/<username>/etc/hostapd/hostapd.psk ...


3

The point on the Wifi connectivity issue in the captive portal Mac login process is that if the process is not successful, either by lack of login, or some other technical problem in the Apple Captive Network Assistant (CNA), it will lose Wifi connectivity. So, the lack of ping connectivity is a symptom and not a cause. As it is a fairly common problem ...


3

There are three main reasons your ssh sessions (or other persistent connections) may be disrupted when using cellphone towers/a mobile hotspot for internet access: Your IP address is changing. This is usually not the cause of the problem. Theoretically this can happen with any provider (mobile or otherwise) that doesn't give you a static IP address, but ...


2

I've had success editing the essid and psk fields in /etc/NetworkManager/system-connections/Hotspot and then restarting NetworkManager with sudo service network-manager restart so that it reads in the new settings. It seems that as long as this file is still called Hotspot, it will be the configuration used when you start a hotspot from System Settings -> ...


2

You can edit the hotspot properties under "Main Menu -> Preferences -> Network Connections". There should be an entry called Hotspot, which you can edit. I also changed the "mode=infrastructure" to "mode=ap" under [802-11-wireless] in the /etc/NetworkManager/system-connections/Hotspot file. Have a look at How to enable Wi-Fi Access point on Mint 17 for ...


2

Having a proper, guest-friendly hotspot on a Linux machine require at least the following: 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; make you host a NAT-enabled router, which you can achieve with iptables -t nat -A POSTROUTING -s INPUT_CIDR -o OUTPUT_INTERFACE -j ...


2

Command line nmtui To navigate, use the arrow keys or press Tab to step forwards and press Shift+Tab to step back through the options. Press Enter to select an option. The Space bar toggles the status of a check box. Select your hotspot Hit enter and edit your connexion


2

Ok, apparently I do need openssh-server on Computer A, even though I am in the same network. I read that wrong somewhere else then.


2

Block it in the OUTPUT rule except to your IP too. iptables -I FORWARD -s 192.168.43.51 ! -d 192.168.43.1 -j DROP iptables -I FORWARD -m state --state ESTABLISHED,RELATED -s 192.167.43.51 ! -d 192.168.43.1 -j DROP


2

You can easily create a Hotspot using create_ap . Install create_ap and run the following command: create_ap wlan0 wlan1 MyAccessPoint MyPassPhrase wlan0 to get an internet connection wlan1 to create a hotspot wifi To install create_ap and starting the service , run: git clone https://github.com/oblique/create_ap cd create_ap make install systemctl ...


2

You can create an open AP using create_ap tool. Install create_ap git clone https://github.com/oblique/create_ap cd create_ap sudo make install Start and enable the service: sudo systemctl start create_ap sudo systemctl enable create_ap To create an open Access point run the following command: sudo create_ap wlan0 eth0 MyAccessPoint To create an open ...


2

When you set up a hot spot, you computer functions as a NAT router—all it is doing is rewriting packets to appear as if they come from your computer, and then rewriting and forwarding on the responses. This usually only extends as far tracking connections—except optionally for a few things (like FTP) it doesn't do anything to the data inside the packet, just ...


2

Quick reminder of the layers involved: LAN and WLAN communicate using MAC addresses (OSI level 2). The ARP protocol tells you which MAC address belongs to which IP address (OSI level 3). Names of machines are handled by DNS. Typically, your home router runs a DNS server, where you either can enter which name belongs to which MAC address, or it automatically ...


2

You can use this script linux-router Connect Internet hotspot on your box and run this on box: # lnxrouter -i eth0 (assume eth0 is connected with 3 computers) That script will do ther nat and dnsmasq(DHCP and DNS) jobs.


2

They are interfaces as any other when it comes to routing, so you can indeed setup a host Linux machine as router with several of them. While not an ideal situation, depending on the physical setup, due to them having a strong signal too near each other, it is possible to have several working at the same time. I would avoid however, putting them all on the ...


Only top voted, non community-wiki answers of a minimum length are eligible