You are not logged in.

#1 2007-06-10 19:19:51

Louis
Member
Registered: 2007-06-10
Posts: 4

Problem with my wireless network

Hi everyone,

I succeed in operating my wireless network. But a few times after the start it dies... no errors messages, nothing.
I just noticed on KWiFiManager that if my network is working, MAC adress of the access point is written, and if it's not working "no access point" is written.

So here my network-profile for wireless network :

DESCRIPTION="Reseau WiFi"

# Network Settings
INTERFACE=ath0
HOSTNAME=ordinateur-louis

# Wireless Settings (optional)

ESSID=WIFI-MF
IWOPTS="mode managed essid $ESSID channel 11"

WIFI_WAIT=5

USEWPA="yes"
WPAOPTS="-Bw -Dmadwifi -c/etc/wpa_supplicant.conf"

IFOPTS="dhcp"

And the networking part of rc.conf :

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="ordinateur-louis"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# 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   netmask  broadcast "
INTERFACES=(lo)
#
# 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.0.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)
NET_PROFILES=(ath0)

How can I fix it ? Thank you for helping.

See you.

PS : I'm sorry for my english, I'm french.

Last edited by Louis (2007-06-10 19:20:23)

Offline

#2 2007-06-11 14:48:57

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 358

Re: Problem with my wireless network

I use the madwifi driver as well with networking profiles and I do not have a problem.  I've seen your symptoms before when the WPA encryption wasn't quite set right.  What does your /etc/wpa_supplicant.conf look like?  Are you using WPA or WPA2?  Are you using TKIP or PSK?

BTW,  Here's the /etc/networking-profiles/ profile for my home. 

DESCRIPTION="Home"
INTERFACE="ath0"
IFOPTS="dhcp"
ESSID=beerville
IWOPTS="essid $ESSID"
USEWPA="yes"


"Oh, they have the internet on computers now."

Offline

#3 2007-06-11 15:16:29

Louis
Member
Registered: 2007-06-10
Posts: 4

Re: Problem with my wireless network

First, thanks for replying me smile

I'm using WPA-PSk and here my wpa_supplicant.conf below :

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="WIFI-MF"
        #psk="7########"
        psk=36f###########d8248######9b288##########1d972e63e##########bfc23
        key_mgmt=WPA-PSK
        proto=WPA
}

Thanks for your help,
Louis.

Offline

#4 2007-06-11 15:59:10

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 358

Re: Problem with my wireless network

First, try adding

-iath0

to WPAOPTS="-Bw -Dmadwifi -c/etc/wpa_supplicant.conf" in your network profile.  If that doesn't work you can try adding

pairwise=tkip

to the network section of your wpa_supplicant

Finally, it you could dig through your /var/log/messages or run 'dmesg' to see if theres anything that jumps out at you.


"Oh, they have the internet on computers now."

Offline

#5 2007-06-11 16:11:40

Louis
Member
Registered: 2007-06-10
Posts: 4

Re: Problem with my wireless network

Actually, I've erased -iath0 from WPAOPTS. I thought it was useless because I've already written INTERFACE=ath0. But maybe I was wrong, wasn't I ?

Thanks once again for your help wink

Offline

Board footer

Powered by FluxBB