LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-12-2010, 01:23 PM   #76
Maxximiliann
Member
 
Registered: Dec 2009
Posts: 72

Original Poster
Rep: Reputation: 16

Quote:
Originally Posted by nimnull22 View Post
I was talk to forum about WICD and they suggest, to check if there is more then one wireless network with AUTOCONNECT option.

And another suggestion is to " it may help to switch wicd to use dBm mode". Try to find that option in settings, as well as turn off autoconnect and reconnect.
Nexus was the only wireless network with AUTOCONNECT. I have since disabled this along with reconnect.

WICD - Wireless Interface setting
Use dbM to measure signal strength is enabled.

Here's my new log: http://pastebin.com/m7f4d882a
 
Old 01-12-2010, 01:31 PM   #77
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
Yes, good. But now, are you connected to your AP?
And please, reboot or just log out and in to X.
 
Old 01-12-2010, 01:35 PM   #78
Maxximiliann
Member
 
Registered: Dec 2009
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by minrich View Post
Hi guys - Happy New Year.

Just a quick note to say that I am stall following this thread but don't have a positive solution - I can't see why your connection keeps dropping - but it appears that WICD is still trying to open eth0 as a wired connection right after wpa_supplicant negotiates an encrypted connection on 192.168.1.3.

I would be interested in seeing the content of your wpa_supplicant.conf IIRC it should be in your /etc/wpa_supplicant directory. If you don't find it there you could try running the command (as root):

# locate wpa | grep .conf

the line therein that I am interested in is 'scan_ssid=' which starts scanning for other access point rather arbitrarily (in my opinion), I think there is a way to stop it but I can't remember if it is setting it to zero rather than 1.

The other suggestion I would make is to turn-off/disable eth0 (your wired connection) in WICD - if that is possible [I don't and haven't ever used WICD, so don't have a clue if it is an option that you can select].

Hope this helps - if not then I might suggest that you download something called wifi-radar which requires manual set-up but doesn't use a network manager and doesn't require dchp to be running even if it is running on your router.

Cheers
Good to have you back!

From my wpa_supplicant.conf. For security purposes I masked my psk.

ap_scan=1
ctrl_interface=/var/run/wpa_supplicant

network={
ssid="Nexus"
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
psk="***"
pairwise=TKIP
group=TKIP
}

I installed WiFi Radar. How do I configure it?
 
Old 01-12-2010, 01:38 PM   #79
Maxximiliann
Member
 
Registered: Dec 2009
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by nimnull22 View Post
Yes, good. But now, are you connected to your AP?
And please, reboot or just log out and in to X.
I don't understand what you're trying to say. Please rephrase.
 
Old 01-12-2010, 01:45 PM   #80
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 Maxximiliann View Post
Nexus was the only wireless network with AUTOCONNECT. I have since disabled this along with reconnect.

WICD - Wireless Interface setting
Use dbM to measure signal strength is enabled.

Here's my new log: http://pastebin.com/m7f4d882a
After this, can you connect to your AP?
 
Old 01-12-2010, 02:06 PM   #81
Maxximiliann
Member
 
Registered: Dec 2009
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by nimnull22 View Post
After this, can you connect to your AP?
Take a look at the log. WICD does not maintain the connection.
 
Old 01-12-2010, 02:10 PM   #82
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
I don't think so:

2010/01/12 12:12:29 :: Putting interface up...
2010/01/12 12:12:29 :: ifconfig eth0 up
2010/01/12 12:12:29 :: Running DHCP
2010/01/12 12:12:29 :: /sbin/dhcpcd eth0
2010/01/12 12:12:33 :: dhcpcd.sh: interface eth0 has been configured with new IP=192.168.1.5
2010/01/12 12:12:33 ::
2010/01/12 12:12:33 ::
2010/01/12 12:12:33 :: DHCP connection successful
2010/01/12 12:12:33 :: Connecting thread exiting.
2010/01/12 12:12:33 :: ifconfig eth0
2010/01/12 12:12:33 :: IP Address is: 192.168.1.5
2010/01/12 12:12:33 :: Sending connection attempt result Success
 
Old 01-12-2010, 02:23 PM   #83
Maxximiliann
Member
 
Registered: Dec 2009
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by nimnull22 View Post
I don't think so:

2010/01/12 12:12:29 :: Putting interface up...
2010/01/12 12:12:29 :: ifconfig eth0 up
2010/01/12 12:12:29 :: Running DHCP
2010/01/12 12:12:29 :: /sbin/dhcpcd eth0
2010/01/12 12:12:33 :: dhcpcd.sh: interface eth0 has been configured with new IP=192.168.1.5
2010/01/12 12:12:33 ::
2010/01/12 12:12:33 ::
2010/01/12 12:12:33 :: DHCP connection successful
2010/01/12 12:12:33 :: Connecting thread exiting.
2010/01/12 12:12:33 :: ifconfig eth0
2010/01/12 12:12:33 :: IP Address is: 192.168.1.5
2010/01/12 12:12:33 :: Sending connection attempt result Success

eth2 is my wireless connection, not eth0. Disregard all references to eth0.
 
Old 01-12-2010, 02:29 PM   #84
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, then find your "Nexus" in the list of available AP and click "connect", because it looks like wicd do not connecting to it by it self (which is good actually)
 
Old 01-12-2010, 02:36 PM   #85
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Hi again.

Re Wifi-radar - You should have a wifi-radar and a wifi-radar.conf man pages loaded, have a quick look at them.

I have it on my desktop and just click on it, then I have to enter my root pswd, it should perform a scan (if it doesn't click on the Preferences button; unselect 'Auto-detect Wireless Device' and select 'eth2' in the pulldown box (I scan_timeout set to 22 for my 14 ap's) and Click on Close button.

When it comes up, you should then select/highlight the Nexus ap, click on the configure button, and put in the following settings:
click on wifi > and select Managed and channel 11
click on No wpa > and enter wext
if you can still see the Key box enter your key (otherwise click on wifi > again)
then enter your wpa-type it should give you options: WPA-PSK (select it)

Click on Automatic network configuration DHCP >
it should change to: manual network configuration
then enter:
IP : 192.168.1.3
Netmask : 255.255.255.0
Gateway : 192.168.1.1
Domain : (I leave this blank)
DNS : 192.168.1.1
DNS : 192.168.1.1

I have nothing in my connection commands

Click on Save

Click on Disconnect, wait for it ...., scroll through the ap's and select/ highlight Nexus now click on connect wait for it ....,

If all goes well you should be connected.

However, you may need to disable dhcp and Wicd so that they don't interfere.

Hope this helps
 
Old 01-12-2010, 02:40 PM   #86
Maxximiliann
Member
 
Registered: Dec 2009
Posts: 72

Original Poster
Rep: Reputation: 16
Problem persists. Here's my new log: http://pastebin.com/me3c9bc8
 
Old 01-12-2010, 02:58 PM   #87
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
2010/01/12 13:35:34 :: Running DHCP
2010/01/12 13:35:34 :: /sbin/dhcpcd eth2
2010/01/12 13:35:44 :: dhcpcd.sh: interface eth2 has been configured with new IP=192.168.1.3
2010/01/12 13:35:44 ::
2010/01/12 13:35:44 ::
2010/01/12 13:35:44 :: DHCP connection successful
2010/01/12 13:35:44 :: Connecting thread exiting.
2010/01/12 13:35:44 :: ifconfig eth2
2010/01/12 13:35:44 :: IP Address is: 192.168.1.3
2010/01/12 13:35:44 :: Sending connection attempt result Success


There is no any reconnect after it. You are connected.
 
Old 01-12-2010, 04:03 PM   #88
Maxximiliann
Member
 
Registered: Dec 2009
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by minrich View Post
Hi again.

Re Wifi-radar - You should have a wifi-radar and a wifi-radar.conf man pages loaded, have a quick look at them.

I have it on my desktop and just click on it, then I have to enter my root pswd, it should perform a scan (if it doesn't click on the Preferences button; unselect 'Auto-detect Wireless Device' and select 'eth2' in the pulldown box (I scan_timeout set to 22 for my 14 ap's) and Click on Close button.

When it comes up, you should then select/highlight the Nexus ap, click on the configure button, and put in the following settings:
click on wifi > and select Managed and channel 11
click on No wpa > and enter wext
if you can still see the Key box enter your key (otherwise click on wifi > again)
then enter your wpa-type it should give you options: WPA-PSK (select it)

Click on Automatic network configuration DHCP >
it should change to: manual network configuration
then enter:
IP : 192.168.1.3
Netmask : 255.255.255.0
Gateway : 192.168.1.1
Domain : (I leave this blank)
DNS : 192.168.1.1
DNS : 192.168.1.1

I have nothing in my connection commands

Click on Save

Click on Disconnect, wait for it ...., scroll through the ap's and select/ highlight Nexus now click on connect wait for it ....,

If all goes well you should be connected.

However, you may need to disable dhcp and Wicd so that they don't interfere.

Hope this helps
I get an "Could not get IP Address" error message. How do I disable dhcp?
 
Old 01-12-2010, 04:23 PM   #89
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Is this a test? I am not sure that my little grey cells can recall, what my kubuntu karmic beta distro looked like exactly. I don't recall if karmic automatically defaults to runlevel 2 (you can check by running as root # runlevel (if it returns N 2 - this means its initial runlevel was none and it booted into runlevel 2).

Anyhow once you know what it is/was you can edit your /etc/rcX.d directory (full of shell scripts) where X equals your runlevel - then just delete the s24dhcpbd entry -anyway that is what mine was [its gone now and I had to look in /etc/rc3d to see what it was - incidentally if you want it back just copy the entry from a different runlevel]. I also got rid of avahi-daemon which played silly b___ers with searching for DNS servers.
If you haven't got one yet I now have S51wifi-radar linked to /etc/init.d/wifi-radar.

You may have to reboot, as I am not sure that logging out and back in reruns then runlevel scripts

hope this helps

Last edited by minrich; 01-12-2010 at 04:25 PM.
 
Old 01-12-2010, 04:34 PM   #90
Maxximiliann
Member
 
Registered: Dec 2009
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by nimnull22 View Post
2010/01/12 13:35:34 :: Running DHCP
2010/01/12 13:35:34 :: /sbin/dhcpcd eth2
2010/01/12 13:35:44 :: dhcpcd.sh: interface eth2 has been configured with new IP=192.168.1.3
2010/01/12 13:35:44 ::
2010/01/12 13:35:44 ::
2010/01/12 13:35:44 :: DHCP connection successful
2010/01/12 13:35:44 :: Connecting thread exiting.
2010/01/12 13:35:44 :: ifconfig eth2
2010/01/12 13:35:44 :: IP Address is: 192.168.1.3
2010/01/12 13:35:44 :: Sending connection attempt result Success


There is no any reconnect after it. You are connected.

Then the problem is elsewhere because I still can't connect to the net.


Here are some results for you to review:

1. ping 192.168.1.3 - http://pastebin.com/m673e9ef4. It goes on ad infinitum.

2. ping 192.168.1.1
ifconfig -a
route -n http://pastebin.com/m9358c4a
 
  


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
Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03) Adler Linux - Laptop and Netbook 4 11-15-2008 02:34 PM
Broadcom card configured for 802.11g, but not 802.11b? MrPeabody Linux - Wireless Networking 2 10-07-2007 04:27 PM
Broadcom 802.11b/g WLAN Does Not turn on in Ubuntu beachbum2005 Linux - Hardware 3 02-20-2007 03:40 PM
Problem ON Broadcom Corporation BCM94306 802.11g (rev 02) ON Fedora honest Linux - Wireless Networking 4 07-17-2004 12:56 PM
Broadcom Corporation BCM94306 802.11g on Fedora core 2. honest Linux - Newbie 1 06-27-2004 08:57 AM

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

All times are GMT -5. The time now is 10:19 PM.

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