public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] openrc - network configuration fails - how to debug it
@ 2012-12-09 14:18 Helmut Jarausch
  2012-12-09 16:50 ` Neil Bothwick
  0 siblings, 1 reply; 3+ messages in thread
From: Helmut Jarausch @ 2012-12-09 14:18 UTC (permalink / raw
  To: gentoo-user; +Cc: William Hubbs

Hi,

I have a problem with wlan without dhcpd. I have created the bug report  
below but didn't get any comments.
Perhaps, some here on this list has an idea how to debug the problem.

Here my bug report

sys-apps/openrc (0.11.8 and earlier) doesn't play well with
wlan without dhcp, i.e.

This does work just fine :
modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext -iwlan0"
config_wlan0="dhcp"


but when I try to assign fixed IPs (for a small fixed net) like

modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext -iwlan0"

config_wlan0="192.168.1.3 netmsk 255.255.255.0"
routes_wlan0="default via 192.168.1.1"
dns_servers_wlan0="192.168.1.1"
dns_domain_wlan0="skynet.be"

The default route gateway is NOT set. Even if I set it afterwards, e.g.
within /etc/local.d/local.start, it still doesn't "supply" net, as
xinetd won't start (scheduled for start when net is ready or similar)

Only if I supply
rc_provide="net"
in /etc/rc.conf

it becomes usable.

/etc/init.d/net.wlan0 status
shows "inactive"

How can I debug this?

Many thanks for a hint,
Helmut.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] openrc - network configuration fails - how to debug it
  2012-12-09 14:18 [gentoo-user] openrc - network configuration fails - how to debug it Helmut Jarausch
@ 2012-12-09 16:50 ` Neil Bothwick
  2012-12-11  8:43   ` Helmut Jarausch
  0 siblings, 1 reply; 3+ messages in thread
From: Neil Bothwick @ 2012-12-09 16:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

On Sun, 09 Dec 2012 15:18:49 +0100, Helmut Jarausch wrote:

> config_wlan0="192.168.1.3 netmsk 255.255.255.0"
                                ^
If this is a direct paste from your config, there's the problem.


-- 
Neil Bothwick

PC DOS Error #03: Windows not found: (C)heer (P)arty (D)ance

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] openrc - network configuration fails - how to debug it
  2012-12-09 16:50 ` Neil Bothwick
@ 2012-12-11  8:43   ` Helmut Jarausch
  0 siblings, 0 replies; 3+ messages in thread
From: Helmut Jarausch @ 2012-12-11  8:43 UTC (permalink / raw
  To: gentoo-user

On 12/09/2012 05:50:35 PM, Neil Bothwick wrote:
> On Sun, 09 Dec 2012 15:18:49 +0100, Helmut Jarausch wrote:
> 
> > config_wlan0="192.168.1.3 netmsk 255.255.255.0"
>                                 ^
> If this is a direct paste from your config, there's the problem.

Thanks Neil for spotting this. It was the problem, indeed.

Helmut.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-11  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-09 14:18 [gentoo-user] openrc - network configuration fails - how to debug it Helmut Jarausch
2012-12-09 16:50 ` Neil Bothwick
2012-12-11  8:43   ` Helmut Jarausch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox