Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] WLAN with fixed IP
Date: Tue, 13 Nov 2012 10:41:15
Message-Id: 1352803180.27946.0@numa-i
1 Hi,
2 I'd like to assign fixed IP numbers to computers of a local network.
3
4 Using dhcp as in
5
6 modules="wpa_supplicant"
7 wpa_supplicant_wlan0="-Dwext -iwlan0"
8 config_wlan0="dhcp"
9
10 works just fine but depends on dhcp for IP assignment.
11
12 The following does not work, i.e. the network is not working
13
14 modules="wpa_supplicant"
15 wpa_supplicant_wlan0="-Dwext -iwlan0"
16
17 config_wlan0="192.168.1.2 netmask 255.255.255.0 brd 192.168.1.255"
18 routes_wlan0="default via 192.168.1.1"
19 dns_servers_wlan0="192.168.1."
20
21
22 What am I missing. What does the "dhcp" option imply? Are there any
23 additional
24 necessary initialization (like an ifup) ?
25
26 Many thanks for a hint,
27 Helmut.

Replies

Subject Author
Re: [gentoo-user] WLAN with fixed IP Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] WLAN with fixed IP Bruce Hill <daddy@×××××××××××××××××××××.com>