LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-10-2009, 04:32 PM   #16
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

Quote:
Originally Posted by nimnull22 View Post
In OpenSuse it works perfect:
whereis dhclient
dhclient: /sbin/dhclient /etc/dhclient.conf /usr/share/man/man8/dhclient.8.gz
Not on debian though
Code:
cannabis:/home/repo# whereis dhclient
dhclient: /sbin/dhclient /usr/share/man/man8/dhclient.8.gz
cannabis:/home/repo#
 
Old 11-10-2009, 08:27 PM   #17
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
ok, then:
Code:
johnnie@johnnie-xps:~$ sudo find / -name dhclient.conf
/etc/dhcp3/dhclient.conf
and this is the dhclient.conf file:
Code:
# Configuration file for /sbin/dhclient, which is included in Debian's
#	dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
#	man page for more information about the syntax of this file
#	and a more comprehensive list of the parameters understood by
#	dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
#	not leave anything out (like the domain name, for example), then
#	few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

send host-name "<hostname>";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, domain-search, host-name,
	netbios-name-servers, netbios-scope, interface-mtu,
	rfc3442-classless-static-routes, ntp-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
#  interface "eth0";
#  fixed-address 192.5.5.213;
#  option subnet-mask 255.255.255.255;
#}

#lease {
#  interface "eth0";
#  fixed-address 192.33.137.200;
#  medium "link0 link1";
#  option host-name "andare.swiftmedia.com";
#  option subnet-mask 255.255.255.0;
#  option broadcast-address 192.33.137.255;
#  option routers 192.33.137.250;
#  option domain-name-servers 127.0.0.1;
#  renew 2 2000/1/12 00:00:01;
#  rebind 2 2000/1/12 00:00:01;
#  expire 2 2000/1/12 00:00:01;
#}
I'm not sure though how can any problem with the dhcp client prevent me to detect any wireless network.
It's working with the static IP so far, but I also have to say that it's also been two or three days between each "failure"...as well as 10 mins sometimes

Since I'm at it, I'd also thank you both for your effort...It's not like I have to have a database running or any other "mission critical" task, but those failures are nonetheless quite annoying...and therefore any help really appreciated.

Anyway, I don't know if it could be a relevant info, but my router sets a dynamic IP address to "decay" after 24h...that is, 86400 seconds.

Last edited by Johnnie.it; 11-10-2009 at 08:33 PM.
 
Old 11-10-2009, 09:56 PM   #18
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Ok, you do not lose anything.

Add "renew 2 2010/12/2 23:00:00" without "" somewhere into /etc/dhcp3/dhclient.conf.
This should tells dhcp client to change IP address on 2010/12/2 23:00:00 (I hope), and in /var/log/daemon.log shouldn't be many "localhost dhclient: DHCPREQUEST"

But, it is up to you.
 
Old 11-12-2009, 01:18 PM   #19
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
No luck so far.
Even with a static IP set up in wicd, it happened again...

...any further idea?
 
Old 11-12-2009, 01:35 PM   #20
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Can you post again "dmesg | tail -n 200", please
 
Old 11-13-2009, 12:39 PM   #21
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Not that I know much, but ... this sounds like a wpa_supplicant scanning issue, that I encountered in Karmic Koala alpha Kubuntu 9.10 ... I wasn't using any encryption and this confused the wpa_supplicant scanning; whether or not I created a wpa_supplicant.conf file and wexp driver (for my Broadcom 4306 builtin on may acer ferrari 3400. Even setting ap_scan=0 did nothing and I regularly got a 2MB daemon.log.

By the way, what is the make and model of your wifi card, and what driver are you using?

Cheers
Rich
 
Old 11-13-2009, 01:22 PM   #22
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Code:
johnnie@johnnie-xps:~$ dmesg | tail -n 200
[    1.525101] Linux agpgart interface v0.103
[    1.597471] acpi device:32: registered as cooling_device2
[    1.598018] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:2e/device:2f/input/input5
[    1.598058] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[    1.614613] sky2 driver version 1.23
[    1.614657] sky2 0000:09:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.614673] sky2 0000:09:00.0: setting latency timer to 64
[    1.614702] sky2 0000:09:00.0: Yukon-2 FE+ chip revision 0
[    1.614814]   alloc irq_desc for 29 on node -1
[    1.614815]   alloc kstat_irqs on node -1
[    1.614834] sky2 0000:09:00.0: irq 29 for MSI/MSI-X
[    1.616566] sky2 eth0: addr 00:1d:09:44:ac:48
[    1.621996] ohci1394 0000:03:09.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.629119] usb 2-2: new high speed USB device using ehci_hcd and address 2
[    1.679110] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16]  MMIO=[f1bff800-f1bfffff]  Max Packet=[2048]  IR/IT contexts=[4/4]
[    1.771342] usb 2-2: configuration #1 chosen from 1 choice
[    1.777235] Initializing USB Mass Storage driver...
[    1.777400] scsi5 : SCSI emulation for USB Mass Storage devices
[    1.777511] usbcore: registered new interface driver usb-storage
[    1.777514] USB Mass Storage support registered.
[    1.777520] usb-storage: device found at 2
[    1.777522] usb-storage: waiting for device to settle before scanning
[    2.177053] usb 6-1: new low speed USB device using uhci_hcd and address 2
[    2.435005] usb 6-1: configuration #1 chosen from 1 choice
[    2.468089] usbcore: registered new interface driver hiddev
[    2.468152] usbcore: registered new interface driver usbhid
[    2.468155] usbhid: v2.6:USB HID core driver
[    2.484170] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.0/input/input6
[    2.484222] logitech 0003:046D:C517.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.1-1/input0
[    2.591962] logitech 0003:046D:C517.0002: fixing up Logitech keyboard report descriptor
[    2.592585] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.1/usb6/6-1/6-1:1.1/input/input7
[    2.592674] logitech 0003:046D:C517.0002: input,hiddev96,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.1-1/input1
[    2.740147] usb 7-2: new full speed USB device using uhci_hcd and address 2
[    2.958098] xor: automatically using best checksumming function: pIII_sse
[    2.976026]    pIII_sse  :  8842.000 MB/sec
[    2.976028] xor: using function: pIII_sse (8842.000 MB/sec)
[    2.977960] device-mapper: dm-raid45: initialized v0.2594b
[    2.983657] md: linear personality registered for level -1
[    2.985713] md: multipath personality registered for level -4
[    2.987527] md: raid0 personality registered for level 0
[    2.990307] md: raid1 personality registered for level 1
[    2.992237] async_tx: api initialized (async)
[    3.001224] usb 7-2: configuration #1 chosen from 1 choice
[    3.004188] hub 7-2:1.0: USB hub found
[    3.006164] hub 7-2:1.0: 3 ports detected
[    3.060066] raid6: int32x1    923 MB/s
[    3.077091] ieee1394: Host added: ID:BUS[0-00:1023]  GUID[364fc00021584470]
[    3.128093] raid6: int32x2    838 MB/s
[    3.196103] raid6: int32x4    709 MB/s
[    3.264077] raid6: int32x8    586 MB/s
[    3.285162] usb 7-2.1: new full speed USB device using uhci_hcd and address 3
[    3.332042] raid6: mmxx1     3008 MB/s
[    3.400028] raid6: mmxx2     3475 MB/s
[    3.413209] usb 7-2.1: configuration #1 chosen from 1 choice
[    3.468049] raid6: sse1x1    1979 MB/s
[    3.489166] usb 7-2.2: new full speed USB device using uhci_hcd and address 4
[    3.536037] raid6: sse1x2    2546 MB/s
[    3.604045] raid6: sse2x1    3651 MB/s
[    3.620218] usb 7-2.2: configuration #1 chosen from 1 choice
[    3.627430] input: Broadcom Corp as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2.2/7-2.2:1.0/input/input8
[    3.627488] generic-usb 0003:0A5C:4502.0003: input,hidraw2: USB HID v1.11 Keyboard [Broadcom Corp] on usb-0000:00:1d.2-2.2/input0
[    3.672037] raid6: sse2x2    4132 MB/s
[    3.672039] raid6: using algorithm sse2x2 (4132 MB/s)
[    3.674475] md: raid6 personality registered for level 6
[    3.674478] md: raid5 personality registered for level 5
[    3.674480] md: raid4 personality registered for level 4
[    3.680287] md: raid10 personality registered for level 10
[    3.701171] usb 7-2.3: new full speed USB device using uhci_hcd and address 5
[    3.835223] usb 7-2.3: configuration #1 chosen from 1 choice
[    3.842438] input: Broadcom Corp as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2.3/7-2.3:1.0/input/input9
[    3.842501] generic-usb 0003:0A5C:4503.0004: input,hidraw3: USB HID v1.11 Mouse [Broadcom Corp] on usb-0000:00:1d.2-2.3/input0
[    3.919356] PM: Starting manual resume from disk
[    3.919359] PM: Resume from partition 8:3
[    3.919361] PM: Checking hibernation image.
[    3.919535] PM: Resume from disk failed.
[    3.931525] EXT4-fs (sda2): barriers enabled
[    3.946886] kjournald2 starting: pid 458, dev sda2:8, commit interval 5 seconds
[    3.946917] EXT4-fs (sda2): delayed allocation enabled
[    3.946923] EXT4-fs: file extents enabled
[    3.946999] EXT4-fs: mballoc enabled
[    3.947017] EXT4-fs (sda2): mounted filesystem with ordered data mode
[    4.562002] type=1505 audit(1258142471.953:2): operation="profile_load" pid=481 name=/usr/share/gdm/guest-session/Xsession
[    4.586559] type=1505 audit(1258142471.976:3): operation="profile_load" pid=482 name=/sbin/dhclient3
[    4.587229] type=1505 audit(1258142471.976:4): operation="profile_load" pid=482 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[    4.587560] type=1505 audit(1258142471.976:5): operation="profile_load" pid=482 name=/usr/lib/connman/scripts/dhclient-script
[    4.623453] type=1505 audit(1258142472.012:6): operation="profile_load" pid=483 name=/usr/bin/evince
[    4.633098] type=1505 audit(1258142472.024:7): operation="profile_load" pid=483 name=/usr/bin/evince-previewer
[    4.638772] type=1505 audit(1258142472.029:8): operation="profile_load" pid=483 name=/usr/bin/evince-thumbnailer
[    4.684299] type=1505 audit(1258142472.073:9): operation="profile_load" pid=485 name=/usr/lib/cups/backend/cups-pdf
[    4.685110] type=1505 audit(1258142472.077:10): operation="profile_load" pid=485 name=/usr/sbin/cupsd
[    5.842783] Adding 4000176k swap on /dev/sda3.  Priority:-1 extents:1 across:4000176k 
[    6.717640] EXT4-fs (sda2): internal journal on sda2:8
[    6.777239] usb-storage: device scan complete
[    6.778245] scsi 5:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 0 CCS
[    6.778603] sd 5:0:0:0: Attached scsi generic sg2 type 0
[    6.782764] sd 5:0:0:0: [sdb] 16064512 512-byte logical blocks: (8.22 GB/7.66 GiB)
[    6.784406] sd 5:0:0:0: [sdb] Write Protect is off
[    6.784409] sd 5:0:0:0: [sdb] Mode Sense: 23 00 00 00
[    6.784412] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[    6.790383] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[    6.790453]  sdb: sdb1
[    6.792611] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[    6.792678] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[    7.874094] udev: starting version 147
[    8.747141] kjournald starting.  Commit interval 5 seconds
[    8.747650] EXT3 FS on sda4, internal journal
[    8.747658] EXT3-fs: mounted filesystem with writeback data mode.
[    9.785574] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[    9.795367] Bluetooth: Generic Bluetooth USB driver ver 0.5
[    9.795467] usbcore: registered new interface driver btusb
[   10.621607] sdhci: Secure Digital Host Controller Interface driver
[   10.621609] sdhci: Copyright(c) Pierre Ossman
[   10.626523] Linux video capture interface: v2.00
[   10.644734] lp: driver loaded but no devices found
[   10.659241] nvidia: module license 'NVIDIA' taints kernel.
[   10.659246] Disabling lock debugging due to kernel taint
[   10.689618] sdhci-pci 0000:03:09.1: SDHCI controller found [1180:0822] (rev 22)
[   10.689638]   alloc irq_desc for 18 on node -1
[   10.689640]   alloc kstat_irqs on node -1
[   10.689646] sdhci-pci 0000:03:09.1: PCI INT B -> GSI 18 (level, low) -> IRQ 18
[   10.691699] Registered led device: mmc0::
[   10.692739] mmc0: SDHCI controller on PCI [0000:03:09.1] using DMA
[   10.922833] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   10.922842] nvidia 0000:01:00.0: setting latency timer to 64
[   10.922987] NVRM: loading NVIDIA UNIX x86 Kernel Module  180.60  Tue May 12 12:12:11 PDT 2009
[   10.961266] cfg80211: Calling CRDA to update world regulatory domain
[   10.975716] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.058330] uvcvideo: Found UVC 1.00 device Laptop Integrated Webcam (05a9:2640)
[   11.059030] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[   11.059384] input: Dell WMI hotkeys as /devices/virtual/input/input10
[   11.059608] input: Laptop Integrated Webcam as /devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.0/input/input11
[   11.059655] usbcore: registered new interface driver uvcvideo
[   11.059658] USB Video Class driver (v0.1.0)
[   11.333412] input: PS/2 Mouse as /devices/platform/i8042/serio1/input/input12
[   11.359486] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input13
[   11.984702] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27k
[   11.984705] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[   11.984810] iwlagn 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   11.984841] iwlagn 0000:0b:00.0: setting latency timer to 64
[   11.984898] iwlagn 0000:0b:00.0: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
[   12.033911] iwlagn 0000:0b:00.0: Tunable channels: 13 802.11bg, 19 802.11a channels
[   12.033979]   alloc irq_desc for 30 on node -1
[   12.033981]   alloc kstat_irqs on node -1
[   12.034001] iwlagn 0000:0b:00.0: irq 30 for MSI/MSI-X
[   12.318411] cfg80211: World regulatory domain updated:
[   12.318414] 	(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   12.318416] 	(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.318419] 	(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.318421] 	(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   12.318423] 	(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.318425] 	(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   12.833186] __ratelimit: 9 callbacks suppressed
[   12.833189] type=1505 audit(1258138880.224:14): operation="profile_replace" pid=1029 name=/usr/share/gdm/guest-session/Xsession
[   12.834653] type=1505 audit(1258138880.224:15): operation="profile_replace" pid=1030 name=/sbin/dhclient3
[   12.835265] type=1505 audit(1258138880.224:16): operation="profile_replace" pid=1030 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[   12.835597] type=1505 audit(1258138880.224:17): operation="profile_replace" pid=1030 name=/usr/lib/connman/scripts/dhclient-script
[   12.838736] type=1505 audit(1258138880.228:18): operation="profile_replace" pid=1031 name=/usr/bin/evince
[   12.848526] type=1505 audit(1258138880.240:19): operation="profile_replace" pid=1031 name=/usr/bin/evince-previewer
[   12.854242] type=1505 audit(1258138880.244:20): operation="profile_replace" pid=1031 name=/usr/bin/evince-thumbnailer
[   12.862411] type=1505 audit(1258138880.252:21): operation="profile_replace" pid=1034 name=/usr/lib/cups/backend/cups-pdf
[   12.863125] type=1505 audit(1258138880.252:22): operation="profile_replace" pid=1034 name=/usr/sbin/cupsd
[   12.865212] type=1505 audit(1258138880.256:23): operation="profile_replace" pid=1035 name=/usr/sbin/mysqld
[   12.884413] phy0: Selected rate control algorithm 'iwl-agn-rs'
[   13.033527] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[   13.033554] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   13.196170] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input14
[   13.409239] input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[   13.409317] input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[   13.409364] input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[   21.875047] IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs
[   22.799449] iwlagn 0000:0b:00.0: firmware: requesting iwlwifi-4965-2.ucode
[   22.854069] iwlagn 0000:0b:00.0: loaded firmware version 228.61.2.24
[   23.146633] Registered led device: iwl-phy0::radio
[   23.146649] Registered led device: iwl-phy0::assoc
[   23.146663] Registered led device: iwl-phy0::RX
[   23.146678] Registered led device: iwl-phy0::TX
[   23.289432] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   23.931371] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   23.931374] Bluetooth: BNEP filters: protocol multicast
[   23.937565] Bridge firewalling registered
[   24.957843] ppdev: user-space parallel port driver
[   27.799055] sky2 eth0: enabling interface
[   27.799216] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   35.428215] sky2 eth0: disabling interface
[   35.437015] sky2 eth0: enabling interface
[   35.437228] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   36.139426] Registered led device: iwl-phy0::radio
[   36.139443] Registered led device: iwl-phy0::assoc
[   36.139458] Registered led device: iwl-phy0::RX
[   36.139473] Registered led device: iwl-phy0::TX
[   36.182387] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   38.861702] wlan0: authenticate with AP 00:17:33:9b:de:85
[   38.863557] wlan0: authenticated
[   38.863562] wlan0: associate with AP 00:17:33:9b:de:85
[   38.870215] wlan0: RX AssocResp from 00:17:33:9b:de:85 (capab=0x411 status=0 aid=1)
[   38.870220] wlan0: associated
[   38.891315] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   39.883819] padlock: VIA PadLock not detected.
[   49.044061] wlan0: no IPv6 routers present
[  210.763670] CE: hpet increasing min_delta_ns to 15000 nsec
Raid 6? I don't have any raid array on my laptop...and with a single disk it'd be hard to get a raid 6!

minrich: lspci lists my wifi card as "0b:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)". As I said, I'm using a Dell XPS 1530.
How do I find out about drivers? I didn't install anything, with every version of ubuntu all peripherals start working at once without intervention...

In most EMEA market, as well as in the US, Canada and most south american countries, XPS 1330 laptops were sold with ubuntu preinstalled, so I'd think all the hardware should work out of the box.
I know I'm talking about a 1530, not 1330, but the only notable exception is the gfx card, which posed no problem for me.
A friend of mine has a 1330 though, and he has this same problem with the wifi connection.

Anyway, as I said a few posts before, I am filtering mac addresses on my router, so I could even do without the password (encrypted wpa-psk), but will that confuse wicd even more?
 
Old 11-13-2009, 01:40 PM   #23
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
According to your log file:

[ 36.182387] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 38.861702] wlan0: authenticate with AP 00:17:33:9b:de:85
[ 38.863557] wlan0: authenticated
[ 38.863562] wlan0: associate with AP 00:17:33:9b:de:85
[ 38.870215] wlan0: RX AssocResp from 00:17:33:9b:de:85 (capab=0x411 status=0 aid=1)
[ 38.870220] wlan0: associated
[ 38.891315] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

I can see only ONE moment, when your wireless adapter was connecting to the router. NO MORE.

No more RECONNECTS.

Do you really sure that you lost physical connection with your router?
 
Old 11-13-2009, 02:16 PM   #24
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Johnnie.it : Your firmware is loading (automagically) at 22.xx seconds in your listing above. Do you have a file @ /etc/wpa_supplicant/wpa_supplicant.conf ? if so, can you post its contents. Also if you do have you checked your /var/log/ directory for a wpa_supplicant log - I am not sure if this is only created if you run # wpa_supplicant with a --dd option in a terminal, as far as I recall it basically duplicated what was shown in my daemon.log.

Don't know if your wifi is up or down at this moment but could you post output of:
ifconfig -a
iwconfig wlan0
iwlist wlan0 scan

Cheers
 
Old 11-14-2009, 09:25 AM   #25
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
nimnull: being a wireless network, it's a bit difficult to identify a *physical* link.
I only know that when it happens, the icon in my systray goes "Disconnected", the network manager (gnome net man before, wicd now) can't find ANY wifi hotspot, and I can't connect to the internet (of course) nor even to my own router, on my private network.
Actually, thinking about it, I'd say that there are no more reconnection attempt because it cannot find any network to reconnect to....

minrich: nope, no /etc/wpa_supplicant/wpa_supplicant.conf
I checked my wpa_supplicant logs (also .1.gz, .2.gz etc.) and they're all blank. Weird, isn't it?

here's what you asked for:
Code:
johnnie@johnnie-xps:~$ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1d:09:44:ac:48  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000 
          Byte RX:0 (0.0 B)  Byte TX:0 (0.0 B)
          Interrupt:16 

lo        Link encap:Loopback locale  
          indirizzo inet:127.0.0.1  Maschera:255.0.0.0
          indirizzo inet6: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:108 errors:0 dropped:0 overruns:0 frame:0
          TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:0 
          Byte RX:12136 (12.1 KB)  Byte TX:12136 (12.1 KB)

pan0      Link encap:Ethernet  HWaddr 26:07:4e:b9:70:ac  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:0 
          Byte RX:0 (0.0 B)  Byte TX:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:1f:3b:07:91:c3  
          indirizzo inet:192.168.1.99  Bcast:192.168.1.255  Maschera:255.255.255.0
          indirizzo inet6: fe80::21f:3bff:fe07:91c3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4963393 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5351657 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000 
          Byte RX:3371519147 (3.3 GB)  Byte TX:538117542 (538.1 MB)

wmaster0  Link encap:UNSPEC  HWaddr 00-1F-3B-07-91-C3-30-37-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000 
          Byte RX:0 (0.0 B)  Byte TX:0 (0.0 B)

johnnie@johnnie-xps:~$ iwconfig wlan0
wlan0     IEEE 802.11abgn  ESSID:"John_WiFi"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:17:33:9B:DE:85   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-35 dBm  Noise level=-92 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

johnnie@johnnie-xps:~$ iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:17:33:9B:DE:85
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=70/70  Signal level=-32 dBm  
                    Encryption key:on
                    ESSID:"John_WiFi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000000aecd254d1b
                    Extra: Last beacon: 72829144ms ago
                    IE: Unknown: 00094A6F686E5F57694669
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: Unknown: 32040C121860
                    IE: Unknown: DD090010180200F0000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
For now everything's fine, I'll do that again when the connection will have gone, and post the results.

P.S. "indirizzo" means address
 
Old 11-14-2009, 10:16 AM   #26
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by Johnnie.it View Post

For now everything's fine, I'll do that again when the connection will have gone, and post the results.

P.S. "indirizzo" means address
Ok, right.

You can do next thing. Turn off any encryption on your router and do MAC filtering.

So, we can check if that problem is really connected to wpa_supplicant.
 
Old 11-14-2009, 11:44 AM   #27
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Further to nimnull22's advice above - please make a check (when the router/ap disappears as predicted) of your ifstate, if I remember correctly yours will be in /var/run/ in debian lenny mine is at /etc/network/run/ , also check the contents of your /etc/resolv.conf and make sure you have: nameserver 192.168.1.1 {or whatever you have set your router IP to}.

Just for info, I have installed wifi-radar on my laptop since I can set all but the ap address to reconnect almost automagically when I am dropped by my wifi ISP, without having to use a string of commands such as ifdown wlan0, ifup wlan0, iwconfig wlan0 essid myapname commit, iwconfig wlan0 ap 00:00:00:00:00:00, and iwconfig wlan0 channel 4. These were all required to restore my wifi connection, notwithstanding the fact that I have all these details in my /etc/network/intefaces:
allow-hotplug wlan0
iface wlan0 inet static
address 10.0.0.7
netmask 255.255.255.0
broadcast 10.0.0.255
gateway 10.0.0.1
wireless-essid myapname
dns-nameservers 10.0.0.1

Hope this helps
 
Old 11-14-2009, 12:34 PM   #28
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
It may have helped if I understood a single word

Anyway, I don't think it's a wpa_supplicant problem.
As I said, when this happens, my network manager can't find *any* wireless network, regardless of encryption, essid or anything else.

My ISP also provides a free connection; that is, it's unprotected when you connect, but when you open a web page it automatically loads a page asking for your login and password so that you can browse.
The point is, when the network manager gets stuck, it can't even detect that one...

It's just like my wifi card shuts down every now and then...
 
Old 11-14-2009, 02:34 PM   #29
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by Johnnie.it View Post
It may have helped if I understood a single word
Lets make things simple, can you turn off wireless encryption/protection (Wireless Security), so you can connect to it without password for 2 days for the test.

Connect to it and leave for few days.

Last edited by nimnull22; 11-14-2009 at 05:32 PM.
 
Old 11-15-2009, 08:11 AM   #30
Johnnie.it
Member
 
Registered: Nov 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Oh well, done that.

By the way, my /etc/network/interfaces looks just like that:
auto lo
iface lo inet loopback

Is there something missing?

I'm going to check this wifi-radar too, who knows...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UBUNTU Karmic don't work with SITECOM Wireless 300N USB Adapter (WL-577)? maiden2 Linux - Networking 1 10-14-2009 07:01 PM
Wireless - Domain Name Servers Disappearing johnaaronrose Linux - Laptop and Netbook 1 07-13-2008 09:40 AM
Disappearing Bcm43xx Wireless integrated card B4lulu Linux - Hardware 0 09-25-2007 09:46 PM
Wireless Card Disappearing ekimyerac Debian 0 07-24-2006 10:41 AM
Mandrake 10 and network disappearing for no reason esteeven Linux - Networking 21 09-15-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration