You are not logged in.

#1 2011-05-09 15:04:10

Votan
Member
Registered: 2010-11-05
Posts: 26

Wireless no working - New Installation

Hello,

I re-installed my own netbook (Samsung N220) yesterday evening and freshly installed my gf's netbook (Samsung NC10) at the same time. Everything works fine, except for the wlan0 connection. On my own netbook it worked before the reinstallation, but not now.

I tested network and networkmanager. Using networkmanager it sometimes works for a few seconds, then the connection dies and when I try to reconnect networkmanager freezes at "Connecting...".

Both netbooks have the same problem.

Offline

#2 2011-05-09 15:52:29

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Wireless no working - New Installation

What DE/WM are you using?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-05-09 17:26:55

hiciu
Member
Registered: 2010-08-11
Posts: 84

Re: Wireless no working - New Installation

Could you post your `dmesg` and `iwconfig` output?

Offline

#4 2011-05-09 17:45:30

Votan
Member
Registered: 2010-11-05
Posts: 26

Re: Wireless no working - New Installation

Inxsible wrote:

What DE/WM are you using?

Gnome3 - My laptop was running the fully updated gnome3 aswell so i do not think it is gnome related.

hiciu wrote:

Could you post your `dmesg` and `iwconfig` output?

iwconfig:

wlan0     IEEE 802.11bgn  ESSID:"Vikingz" 
          Mode:Managed  Frequency:2.472 GHz  Access Point: 00:23:69:88:E1:72   
          Bit Rate=24 Mb/s   Tx-Power=17 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=59/70  Signal level=-51 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:11   Missed beacon:0

dmesg:

http://codepad.org/YPnaCpIY

Offline

#5 2011-05-09 18:11:41

hiciu
Member
Registered: 2010-08-11
Posts: 84

Re: Wireless no working - New Installation

Votan wrote:

I got this wifi card too, I think I can help smile.

Votan wrote:

I tested network and networkmanager. Using networkmanager it sometimes works for a few seconds, then the connection dies and when I try to reconnect networkmanager freezes at "Connecting...".

Try to connect manually:
- turn networkmanager off: /etc/rc.d/networkmanager stop / systemctl stop networkmanager.service
- turn interface down: ifconfig wlan0 down
- killall dhcpd; killall dhclient; killall wpa_supplicant; and others

I assume you are trying to connect to WPA / WPA2 protected network:
- create /etc/test_wpa_supplicant.conf. Here is mine:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=network
update_config=1

network={
    ssid="network1"
    psk="password"
}

network={
    ssid="othernetwork"
    psk="otherpassword"
}

(you can also create wpa_supplicant.conf with wpa_gui; I don't know exacly how it works)
- Run wpa_supplicant with your test config: /usr/sbin/wpa_supplicant -iwlan0 -c/etc/tes_wpa_supplicant.conf -u
- Run dhcpcd on wlan0: /usr/sbin/dhcpcd wlan0

In case of successful connection you should see something like this:

0 | ~> sudo /usr/sbin/wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -u
Trying to associate with 00:1d:7e:3a:6b:b7 (SSID='hiciu' freq=2422 MHz)
Associated with 00:1d:7e:3a:6b:b7
WPA: Key negotiation completed with 00:1d:7e:3a:6b:b7 [PTK=CCMP GTK=CCMP]
CTRL-EVENT-CONNECTED - Connection to 00:1d:7e:3a:6b:b7 completed (auth) [id=0 id_str=]
0 | ~> sudo /usr/sbin/dhcpcd wlan0
Hasło: 
dhcpcd[5740]: version 5.2.12 starting
dhcpcd[5740]: wlan0: rebinding lease of 192.168.1.43
dhcpcd[5740]: wlan0: acknowledged 192.168.1.43 from 192.168.1.1
dhcpcd[5740]: wlan0: checking for 192.168.1.43
dhcpcd[5740]: wlan0: leased 192.168.1.43 for 86400 seconds
dhcpcd[5740]: forked to background, child pid 5746

Try these steps and post output if something fails. If everything will be OK then you could blame networkmanager and try wicd.

Offline

#6 2011-05-09 18:38:09

tlmiller
Member
Registered: 2009-06-10
Posts: 93

Re: Wireless no working - New Installation

hiciu wrote:

Try these steps and post output if something fails. If everything will be OK then you could blame networkmanager and try wicd.

I would start with that.  I've had REALLY poor success with networkmanager and Arch (actually, networkmanager and ANYTHING other than Fedora or Ubuntu), while I've had great luck with wicd.

Offline

#7 2011-05-09 20:08:36

Votan
Member
Registered: 2010-11-05
Posts: 26

Re: Wireless no working - New Installation

I somehow fixed the problem by isntalling dhclient. So I suppose the problem wasn'T networkmanager specifically but the dhcpd instead.

Offline

Board footer

Powered by FluxBB