You are not logged in.

#1 2006-04-26 17:49:26

BeardedYeti
Member
Registered: 2006-03-26
Posts: 11

wireless works, but not with network-profiles

here is my wireless network-profile (with fake essid and key):

#
# Network Profile
#

DESCRIPTION="wireless home"

# Network Settings
INTERFACE=ath0
HOSTNAME=$HOSTNAME

# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOPTS="dhcp"
GATEWAY=192.168.0.1

# DNS Settings (optional)
#DOMAIN=localdomain
DNS1=192.168.0.1
DNS2=

# Wireless Settings (optional)
ESSID="$ESSID"
KEY="s:$ASCIIKEY"
#IWOPTS="mode managed essid $ESSID channel 6 key restricted $KEY"

#WIFI_INTERFACE=wifi0   # use this if you have a special wireless interface
                        # that is linked to the real $INTERFACE

WIFI_WAIT=5            # seconds to wait for the wireless card to
                        # associate before bringing the interface up

#USEWPA="yes"           # start wpa_supplicant with the profile
#WPAOPTS=""             # use "" for normal operation or specify additional
                        # options (eg, "-D ipw")
                        # see /etc/wpa_supplicant.conf for configuration

it doesn't work. it says:

:: Starting network profile: home                                        [FAIL]
:: Starting Network                                                      [BUSY] SIOCADDRT: Network is unreachable
                                                                         [FAIL]

but, i wrote my own script that does work. it looks like this:

#!/bin/sh
ifconfig ath0 up
iwconfig ath0 essid "$ESSID" key s:$ASCIIKEY
dhcpcd ath0

what could i be doing wrong?

Offline

#2 2006-04-26 19:00:09

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,242

Re: wireless works, but not with network-profiles

maybe this will help :

- comment the gateway and DNS lines, usually they are not needed with dhcp

- UNcomment the line with IWOPTS


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#3 2006-05-01 13:54:06

curana
Member
From: Switzerland
Registered: 2006-04-14
Posts: 97
Website

Re: wireless works, but not with network-profiles

Gateway and DNS settings wont influence the connectivity.

Uncomment the IWOPTS and it should work.

Offline

Board footer

Powered by FluxBB