You are not logged in.

#1 2011-05-23 21:11:52

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

internet only on second connect (wi-fi)

hey,

after a startup the first connection attempt to my home wireless network will seemingly succeed. I don't get any error messages and I can use the LAN. However, i do not get a connection to the internet.
To gain internet access, i'll have to reconnect the profile.

Does anyone have similar issues and possibly solved them?

I'm using netcfg, the network card is

Intel Corporation Ultimate N WiFi Link 5300

Regards,
demian


no place like /home
github

Offline

#2 2011-05-23 21:46:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: internet only on second connect (wi-fi)

What works and what doesn't ?
What type of encryption does your router use?

After the first connection attempt, look at the output of:
iwconfig
ifconfig
and
route

Post the outputs here if you would like some help interpreting them.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2011-05-23 22:19:34

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: internet only on second connect (wi-fi)

iwconfig:
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"bett" 
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:14:D1:C7:43:C4   
          Bit Rate=108 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=70/70  Signal level=-37 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:1   Missed beacon:0

ifconfig
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:21:6A:12:AC:94 
          inet addr:192.168.0.51  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:18725 (18.2 Kb)  TX bytes:9729 (9.5 Kb)

route:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 wlan0
default         router.localdom 0.0.0.0         UG    0      0        0 wlan0

dmesg | tail
[    8.763385] ehci_hcd 0000:00:1d.7: power state changed by ACPI to D3
[   20.474349] wlan0: authenticate with 00:14:d1:c7:43:c4 (try 1)
[   20.476236] wlan0: authenticated
[   20.476327] wlan0: waiting for beacon from 00:14:d1:c7:43:c4
[   21.448678] wlan0: beacon received
[   21.463618] wlan0: associate with 00:14:d1:c7:43:c4 (try 1)
[   21.467376] wlan0: RX AssocResp from 00:14:d1:c7:43:c4 (capab=0x411 status=0 aid=2)
[   21.467386] wlan0: associated
[   22.325232] padlock_aes: VIA PadLock not detected.
[   22.356893] Intel AES-NI instructions are not detected

I get quite a few of these too when surfing:

[  299.592028] iwlagn 0000:03:00.0: GF was set with SGI:SISO

It might be related to my netcfg settings but from the few tests I did I couldn't draw any definitive conclusions.

RFKILL=hard
RFKILL_NAME=phy0
POST_UP="iwconfig wlan0 power on; rc.d start dropboxd"
PRE_DOWN="rc.d stop dropboxd"

The router is using WPA2-PSK (AES). I'm not quite sure as to what exactly works and what doesn't. Just now for example the connection was - on the first try after a reboot - established apparently including a working internet connection. I could ping both my LAN pcs and the google servers. But when I opened Firefox to go to this page internet connection vanished. I'll have to examine this further.
The only thing I'm absolutely positive of is that once the connection has been re-established (after the 1st attempt) everything works fine even after suspends and changes of network profiles etc. So i guess that's good tongue.

Gn,
demian

Last edited by demian (2011-05-23 22:21:24)


no place like /home
github

Offline

#4 2011-05-23 23:07:04

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: internet only on second connect (wi-fi)

Offline

Board footer

Powered by FluxBB