[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: Ad-Hoc Configuration
From:       "Gian Uberto Lauri" <saint () eng ! it>
Date:       2014-04-19 18:20:07
Message-ID: 21330.48727.246325.299035 () mail ! eng ! it
[Download RAW message or body]

Anubhav Yadav writes:
 > On Sat, Apr 19, 2014 at 10:11 PM, Ralf Mardorf
 > <ralf.mardorf@alice-dsl.net> wrote:
 > > I have given up to get a working ad-hoc on my Linux PC to have Internet
 > > access for an iPad.
 > 
 > I am going to make you happy then.
 > I am using an adhoc connection successfully on my nexus 7 and nokia 79.

Using hostapd and a fixed network configuration works perfectly. It may not be
the harder hotspot in the world but does the job.

interface=wlan0
driver=nl80211
ssid=/* a sid id */
ignore_broadcast_ssid=1
channel=11
hw_mode=g
auth_algs=3
wpa=3
wpa_passphrase=/* choose one */
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP
ht_capab=[HT40-][SHORT-GI-40][DSSS_CCK-40]
macaddr_acl=1
accept_mac_file=/etc/hostapd/hostapd.accept

List the accepted mac address in the file hostapd.accept and unwanted
usage of yur pc as an hotspot will be a bit harder.

Please remember the following to enable IP routing...

echo 1 > /proc/sys/net/ipv4/ip_forward

-- 
 /\           ___                                    Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____               African word
  //--\| | \|  |   Integralista GNUslamico            meaning "I can
\/                 coltivatore diretto di software       not install
     già sistemista a tempo (altrui) perso...                Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: https://lists.debian.org/21330.48727.246325.299035@mail.eng.it

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic