You are not logged in.

#1 2006-10-21 00:06:32

spotslayer
Member
From: Texas
Registered: 2006-09-09
Posts: 22

Wireless configuration files

Hi Guys, I have a question about wireless configuration files. I have set my wireless up and I am able to get it working. To do this I have to enter the iwconfig command manually.

iwconfig eth2 essid GillisLAN

When I do that and restart the network it works fine.  I have read the forum and wiki and have tried many of the suggestions I have found in them. I must be missing something because I cannot get any of the config files to set things up for me. I have posted my the network portion of rc.conf below. I would really like to solve this and need some help.

David
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="DsLNVO"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
###eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"

###eth0="dhcp"
eth2="dhcp"

###wlan_eth2="wlan0 essid GillisLAN"
##WLAN_INTERFACES=(wlan0)

INTERFACES=(lo eth2)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.7.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng ipw3945d network netfs portmap fam dbus hal crond kdm)

Offline

#2 2006-10-21 05:36:00

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Wireless configuration files

Are you using wpa_supplicant?

Offline

#3 2006-10-21 12:56:43

spotslayer
Member
From: Texas
Registered: 2006-09-09
Posts: 22

Re: Wireless configuration files

No I am not using it.  I am under the impression that it is for encryption which I don't want to use. Maybe I am not up to speed on exactly what it does.

David

Offline

#4 2006-10-21 13:24:11

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Wireless configuration files

As far as I know, wpa_supplicant can be setup without encryption.

Here is the Arch wiki page on setting up wpa_supplicant-

http://wiki.archlinux.org/index.php/Wpa_supplicant

Also take a look here at the WPA supplicant section in the gentoo handbook. It includes helpful examples of different configurations which the Arch documentation doesn't.

http://www.gentoo.org/doc/en/handbook/h … art4_chap4

Offline

#5 2006-10-21 15:43:54

spotslayer
Member
From: Texas
Registered: 2006-09-09
Posts: 22

Re: Wireless configuration files

Thanks for the links, but I really don't want to use wpa. I know there must be another solution. I have tried network-profiles and I still have to enter

iwconfig eth2 essid GillisLAN manually.

I could probably enter that in the local file, but that is a sloppy solution.

David

Offline

#6 2006-10-21 18:14:47

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Wireless configuration files

Thats fine smile 

Have you looked at this-

http://wiki.archlinux.org/index.php/Wir … up#ipw3945

Offline

#7 2006-10-21 21:45:57

spotslayer
Member
From: Texas
Registered: 2006-09-09
Posts: 22

Re: Wireless configuration files

I believe I have this corrected. I hacked around so much that I am not sure about what I did. I believe it had to no with the way I was naming things in the config files. Iwas attempting to make it be wlan0. Once I gave that up and just let it be eth2 it seemed to be OK. At any rate so far I don't have to run iwconfig manually. Thank' for the input.

As Arnold said "I'll be back"

David

Offline

#8 2006-10-22 01:14:26

Winblowz
Member
From: Rapid City, South Dakota
Registered: 2006-08-07
Posts: 29

Re: Wireless configuration files

I'm glad you figured it out smile

Offline

Board footer

Powered by FluxBB