You are not logged in.

#1 2007-09-06 18:37:12

kandrews
Member
Registered: 2007-04-21
Posts: 119

network profile question

Hi,

Thanks to ataraxia and blonkkie (sp?) on irc, I now have a working file system. The next problem on my list is that my network profiles often don't work. I have specified essid's in the directory, but those seem to be ignored.

Here is my rc.conf network section:

lo="lo 127.0.0.1"
eth0="dhcp"
wlan_eth1="dhcp"
INTERFACES=(lo eth0)

gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
NET_PROFILES=(menu)

And here is my /etc/network-profiles/gvsu

#
# Network Profile
#

DESCRIPTION="GVSU Wireless Profile"

# Network Settings
INTERFACE=eth1
HOSTNAME=archlinux

# 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="GVSTUDENT"
#KEY=
#IWOPTS="mode managed essid $ESSID channel 6 key restricted $KEY"

#WIFI_INTERFACE=wlan0   # 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
#AUTOWPA="yes"          # automatically configure WPA
#PASSKEY=""             # wpa passkey/phrase. for use with AUTOWPA

And yet when I run it, sometimes it connects me to GVSU or linksys or "eth0/eth1 timed out" even though I can easily get a strong signal from GVSTUDENT. Have configured something wrong or is this a known issue?

Last edited by kandrews (2007-09-06 18:43:34)

Offline

#2 2007-09-07 09:18:51

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: network profile question

You could try uncommenting the IW_OPT and WIFI_INTERFACE lines and setting WIFI_INTERFACE to eth1, as in

IWOPTS="mode managed essid $ESSID channel 6 key restricted $KEY"

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

And check if you're actually using channel 6. If the channel varies, try removing "channel 6" from IWOPTS.
If the AP has no WEP or WPA, remove the "restricted $KEY" part as well.

[edit] fixed typos [/edit]

Last edited by klixon (2007-09-07 09:19:40)


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2007-09-07 18:51:20

kandrews
Member
Registered: 2007-04-21
Posts: 119

Re: network profile question

Thanks, klixon.

So far I haven't had it connect to the wrong network but I still get "eth0 timed out" a good amount of the time. I'll try removing eth0 from rc.conf and making another profile for my wired connection.

Offline

Board footer

Powered by FluxBB