LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-28-2019, 07:03 AM   #1
glestwid
LQ Newbie
 
Registered: Apr 2018
Posts: 6

Rep: Reputation: Disabled
Question How to make a Wifi repeater or a hotspot?


I have got a laptop with Slackware 14 and 2 Wifi cards. One of them has good sensitivity and reaches necessary Wifi router easily, the other is not so good. I would like to make a 2nd router from this laptop which would get Inet from the original router and share it in the room. How can I have it done in Slackware, preferably in cmd line?
 
Old 01-28-2019, 09:48 AM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,200

Rep: Reputation: 2206Reputation: 2206Reputation: 2206Reputation: 2206Reputation: 2206Reputation: 2206Reputation: 2206Reputation: 2206Reputation: 2206Reputation: 2206Reputation: 2206
These are relatively cheap and commonplace and most have multiple means of connection. Way back in 2002, iirc, I had an Atheros based wifi card that was complex and clunky to use in Linux so I bought a portable 3-way Dlink device that combined USB, Ethernet and Wireless for around 40 bux. Now such devices are available for as low as 10 bux but ones of substantial power are still around 30. With multiple connections they are OpSys neutral since the OpSys will see the device as USB or Eth1 (no additional driver modules) even if it is ultimately converted to WiFi.
 
Old 01-28-2019, 10:36 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,571

Rep: Reputation: 2688Reputation: 2688Reputation: 2688Reputation: 2688Reputation: 2688Reputation: 2688Reputation: 2688Reputation: 2688Reputation: 2688Reputation: 2688Reputation: 2688
It should be possible to create a WiFi extender using a one or both adapters but it must be capable of access point mode. AP mode depends on chipset. I agree that it would be much easier to purchase an extender.


Here is some good information.
https://wiki.archlinux.org/index.php...e_access_point
 
Old 01-28-2019, 10:39 AM   #4
mralk3
Senior Member
 
Registered: May 2015
Location: Utah, USA
Distribution: Slackware 14.2 || Slackware-current && CentOS
Posts: 1,372

Rep: Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736
I am a bit confused about what you are asking. 1. Do you need a repeater for a second PC due to poor wireless signal? OR 2. Are you trying to share the wireless network with another PC with one of your 2 WLAN NICS?

If you are asking to extend your wireless network then you can accomplish what you are asking with hostapd, ip forwarding, and dhcpd running on one of your wireless NICs. In the end, it is probably better to purchase a cheap wireless repeater for your home.

You can find hostapd for Slackware here: http://slackbuilds.org/repository/14.2/network/hostapd/

I am the maintainer of hostapd. Yes, it is a bit out of date. The latest hostapd version is 2.7. I will be updating it soon.

DHCPD and IP Forwarding are features already included in stock Slackware.

There is a tutorial here, discussing how to set up a wireless hotspot on Slackware with hostapd. Some of the guide can safely be skipped if you are only going to extend your wifi.
 
1 members found this post helpful.
Old 01-28-2019, 01:15 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,282

Rep: Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643
Quote:
I will be updating it soon.
Yay!
 
1 members found this post helpful.
  


Reply

Tags
hotspot, routing, slackware 14, wifiwireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to share my wifi by creating a wifi hotspot ( While staying connected to wifi)? shadyXV Linux - Desktop 4 07-20-2015 05:37 PM
Need help to migrate from mikrotik hotspot to Linux Hotspot for I-net cafe.. thewhitelion Linux - Server 4 10-31-2007 03:47 AM
Need help to migrate from mikrotik hotspot to Linux Hotspot for I-net cafe.. thewhitelion Linux - Enterprise 5 10-03-2007 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration