Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Cc: William Hubbs <williamh@g.o>
Subject: [gentoo-user] openrc - network configuration fails - how to debug it
Date: Sun, 09 Dec 2012 14:20:18
Message-Id: 1355062729.25845.0@numa-i
1 Hi,
2
3 I have a problem with wlan without dhcpd. I have created the bug report
4 below but didn't get any comments.
5 Perhaps, some here on this list has an idea how to debug the problem.
6
7 Here my bug report
8
9 sys-apps/openrc (0.11.8 and earlier) doesn't play well with
10 wlan without dhcp, i.e.
11
12 This does work just fine :
13 modules="wpa_supplicant"
14 wpa_supplicant_wlan0="-Dwext -iwlan0"
15 config_wlan0="dhcp"
16
17
18 but when I try to assign fixed IPs (for a small fixed net) like
19
20 modules="wpa_supplicant"
21 wpa_supplicant_wlan0="-Dwext -iwlan0"
22
23 config_wlan0="192.168.1.3 netmsk 255.255.255.0"
24 routes_wlan0="default via 192.168.1.1"
25 dns_servers_wlan0="192.168.1.1"
26 dns_domain_wlan0="skynet.be"
27
28 The default route gateway is NOT set. Even if I set it afterwards, e.g.
29 within /etc/local.d/local.start, it still doesn't "supply" net, as
30 xinetd won't start (scheduled for start when net is ready or similar)
31
32 Only if I supply
33 rc_provide="net"
34 in /etc/rc.conf
35
36 it becomes usable.
37
38 /etc/init.d/net.wlan0 status
39 shows "inactive"
40
41 How can I debug this?
42
43 Many thanks for a hint,
44 Helmut.

Replies

Subject Author
Re: [gentoo-user] openrc - network configuration fails - how to debug it Neil Bothwick <neil@××××××××××.uk>