Gentoo Archives: gentoo-user

From: Bruce Hill <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] WLAN with fixed IP
Date: Tue, 13 Nov 2012 18:45:25
Message-Id: 20121113184347.GT17663@server
In Reply to: [gentoo-user] WLAN with fixed IP by Helmut Jarausch
1 On Tue, Nov 13, 2012 at 11:39:40AM +0100, Helmut Jarausch wrote:
2 > Hi,
3 > I'd like to assign fixed IP numbers to computers of a local network.
4 >
5 > Using dhcp as in
6 >
7 > modules="wpa_supplicant"
8 > wpa_supplicant_wlan0="-Dwext -iwlan0"
9 > config_wlan0="dhcp"
10 >
11 > works just fine but depends on dhcp for IP assignment.
12 >
13 > The following does not work, i.e. the network is not working
14 >
15 > modules="wpa_supplicant"
16 > wpa_supplicant_wlan0="-Dwext -iwlan0"
17 >
18 > config_wlan0="192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255"
19 > routes_wlan0="default via 192.168.1.1"
20 > dns_servers_wlan0="192.168.1."
21 >
22 >
23 > What am I missing. What does the "dhcp" option imply? Are there any
24 > additional
25 > necessary initialization (like an ifup) ?
26 >
27 > Many thanks for a hint,
28 > Helmut.
29
30 Forgot to mention that /usr/share/doc/openrc*/net.example* is pretty well
31 commented and 'recommended'.
32 --
33 Happy Penguin Gymnastics >')
34 126 Fenco Drive ( \
35 Tupelo, MS 38801 ^^
36 admin@××××××××××××××××××××××.com
37 662-321-7009
38 http://happypenguingymnastics.com/
39 FB: http://tiny.cc/HappyPenguinGymnastics
40
41 Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting