You are not logged in.

#1 2008-12-05 21:45:33

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

wireless connection suddenly stop send/receiving data until reboot

hi! I did a fresh FTP install of x86_64 and I'm using this command to connect to my wireless network

[aleyscha@aleyscha 1 ~ 19:03]$ sudo ifconfig wlan0 up                                                                            
[aleyscha@aleyscha 2 ~ 19:10]$ sudo iwconfig wlan0 essid <ESSID> key <KEY>

because I configured netcfg but is dying on me with

[aleyscha@aleyscha 5 ~ 19:33]$ sudo netcfg Link                                                                                            
:: Link up  - Adding gateway 192.168.1.1 failed                                                                                     [FAIL]

but let's say two to three times a week the connection seems to get lost, its weird but, i can make a "sudo iwlist wlan0 scan" and i get the available wireless points, and if i do a "iwconfig" alone i can see that the connection is alive, but i cannot receive any data through it, but the connection works as espected if i reboot

the most interesting thing is that i have a windows xp msi wind also accesing the same internet connection and it connects and browse the internet fine when this arch box "disconnects"

Please, tell me what config file do you guys need and i'll post them, THANKS! smile

my /etc/network.d/Link file...

CONNECTION="wireless"
DESCRIPTION="A wep encrypted wireless connection using static ip"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wep"
ESSID="Link"
KEY="mykey"
IP="static"
IFOPTS="192.168.1.X netmask 255.255.255.0 broadcast 192.168.0.X"
GATEWAY="192.168.1.1"
DNS1=xxx.xx.xxx.xx
DNS2=xxx.xx.xxx.xx

my /etc/rc.conf file...

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(r8169 slhc rt2500usb rt2x00lib rt2x00usb rt73usb snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="aleyscha"

# 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
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#eth0="dhcp"
wlan0="wlan0 192.168.1.X netmask 255.255.255.0 broadcast 192.168.0.X"
#wlan_wlan0="wlan0 essid ESSID key KEY"
INTERFACES=(wlan0)

# 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.1.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.d
#
# This now requires the netcfg package
#
#NETWORKS=(ESSID)

# -----------------------------------------------------------------------
# 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 !iptables network net-profiles netfs crond @hal @alsa @gpm @sensors)

Last edited by leo2501 (2008-12-05 21:58:16)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2009-01-18 15:00:53

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: wireless connection suddenly stop send/receiving data until reboot

solved it using wicd, don't like to use a gui app for this, but i dont have the time to get netcfg working tongue


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#3 2009-04-01 16:03:15

cob4lt
Member
Registered: 2009-03-30
Posts: 4

Re: wireless connection suddenly stop send/receiving data until reboot

My advice is to copy a example like wep-example from /etc/network.d directory and then modify the file for your network
I was having same problem like you until I modify wep-example file

Offline

Board footer

Powered by FluxBB