public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Assigning an IP in AP mode
Date: Thu, 11 Aug 2011 19:11:52 -0700	[thread overview]
Message-ID: <CAN0CFw1ppzJwLVz1cLjYG0CdDYUiRdqDRHWUSA0k8qwyU90J4w@mail.gmail.com> (raw)

Does anyone know how to assign an IP address to a wireless interface
in AP mode?  It can't be specified in /etc/conf.d/net because
/etc/init.d/net.wlan0 is not executed since hostapd handles the whole
thing.  'ifconfig wlan0 192.168.0.1' works but I know I've done it
before without issuing that command each time I reboot, I just can't
remember how.

BTW, can I assign IP addresses on the same subnet to the 2 wireless
interfaces in my system if one of them connects to the WAN and the
other to the LAN?

- Grant



             reply	other threads:[~2011-08-12  2:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-12  2:11 Grant [this message]
2011-08-12  4:29 ` [gentoo-user] Assigning an IP in AP mode Adam Carter
2011-08-13 15:43   ` [gentoo-user] " James
2011-08-14  3:42     ` Grant
2011-08-14  3:41   ` [gentoo-user] " Grant
2011-08-15  1:45     ` Adam Carter
2011-08-15  3:38       ` Grant
2011-08-15  3:55         ` Adam Carter
2011-08-15 23:36           ` Grant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN0CFw1ppzJwLVz1cLjYG0CdDYUiRdqDRHWUSA0k8qwyU90J4w@mail.gmail.com \
    --to=emailgrant@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox