Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] Assigning an IP in AP mode
Date: Fri, 12 Aug 2011 02:13:06
Message-Id: CAN0CFw1ppzJwLVz1cLjYG0CdDYUiRdqDRHWUSA0k8qwyU90J4w@mail.gmail.com
1 Does anyone know how to assign an IP address to a wireless interface
2 in AP mode? It can't be specified in /etc/conf.d/net because
3 /etc/init.d/net.wlan0 is not executed since hostapd handles the whole
4 thing. 'ifconfig wlan0 192.168.0.1' works but I know I've done it
5 before without issuing that command each time I reboot, I just can't
6 remember how.
7
8 BTW, can I assign IP addresses on the same subnet to the 2 wireless
9 interfaces in my system if one of them connects to the WAN and the
10 other to the LAN?
11
12 - Grant

Replies

Subject Author
Re: [gentoo-user] Assigning an IP in AP mode Adam Carter <adamcarter3@×××××.com>