LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-22-2005, 11:41 AM   #1
IwritePatents
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Rep: Reputation: 0
WPC54g, Fedora Core 3, Crash on DHCP, help needed


I'm new as of today, but I've been lurking for 2 weeks trying to get the wpc54g working on my laptop.

I have fedora core 3 running on a sony pcg-r505el. I also have linksys wpc54g working using ndiswrapper. This morning, I got wpa_supplicant working and was able to associate with my access point using WPA-PSK TKIP.

I was able to ping the router, and google.com, so I know that a connection is made. My problem is that once I run wpa_supplicant, I am not able to open any other programs, and it sounds like the cpu is going at 100% (because of the fan, but I can't verify cause I don't know how in linux).

Any suggestions? I have looking for an answer all morning before I posted.

Last edited by IwritePatents; 02-23-2005 at 10:43 AM.
 
Old 02-22-2005, 03:36 PM   #2
technochef
Member
 
Registered: Jun 2004
Location: Texas
Distribution: Debian and FreeBSD
Posts: 58

Rep: Reputation: 15
I know this doesn't really help your problems but fyi

You can check cpu status with the command

top

(Sounds strange...its the actual name)
 
Old 02-22-2005, 03:42 PM   #3
IwritePatents
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
thanks.
 
Old 02-22-2005, 04:50 PM   #4
IwritePatents
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I have been messing around some more (keep in mind my very limited linux knowledge).
I have found that I can start the wlan0 interface with no problems ("ifconfig wlan0 up"), and I can also start wpa_supplicant and associate to my access point with no problems (using "wpa_supplicant -D ndiswrapper -i wlan0 -c /etc/wpa_supplicant.conf -Bw" or -dd instead of -Bw).

But, as soon as I do "dhclient wlan0" then the problems start. After that I am no longer able to open programs like firefox. I can ping servers, but nothing will open.

Any ideas?
 
Old 02-23-2005, 10:51 AM   #5
IwritePatents
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
some more testing:

The laptop functions perfectly on my home wireless network, but at work as soon as it pulls an IP address from the dhcp server then it crashes (Well, I call it crashing. The mouse still works but no programs will open).

Any help appreciated.
 
Old 02-23-2005, 11:08 AM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
I would normally suggest a look at your /ect/hosts file because a bad entry there can send apps that use the network in some way spinning, but your comment about fan makes it sound as though you have a runaway process.

When the "lock-up" occurs, try to open a console with CTRL-ALT-F2, log in and run "top" to see what's hogging the resources. If you can't get to a console, try to ssh in and run top.

It's probably worth checking the hosts file as well. Nothing to lose.
 
Old 02-23-2005, 06:43 PM   #7
IwritePatents
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I'm stumped.

Running "top" shows that the cpu usage while idle is about 1.3%, definitely not being all hogged by one application. But I am still not able to open any programs once I have done "dhclient wlan0."

I checked the hosts file and the only entry is 127.0.0.1 localhost.localdomain.

When I try to open a file from the terminal (for example: gedit /etc/hosts) I get "Gtk-Warning **: cannot open display:"

Also, when I tried "emacs /etc/hosts" I got "emacs: Cannot connect to X server :0.0.
 
Old 02-24-2005, 10:56 AM   #8
efanning
Member
 
Registered: Jul 2004
Distribution: Right now - Ubuntu 7.04
Posts: 81

Rep: Reputation: 15
IwritePatents:

I just went to www.google.com/linux and did a search for wpa_supplicant just to find out what it was (still learning myself) and I came across something that might help (or at least I hope it helps). It was posted on the 22nd of February 2005. Found it here It says it's a security patch for Gentoo to patch a buffer overflow problem that could lead to a Denial of Service.

Just a thought.

efanning
 
Old 02-24-2005, 11:13 AM   #9
IwritePatents
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Original Poster
Rep: Reputation: 0
thanks for the help, I finally isolated the problem.

I don't know what exactly was causing the problem, but I noticed something strange.
I had done a ctrl-alt-F1, when I returned to the desktop and opened a terminal, instead of saying danny@localhost, it showed danny@brian2. Brian2 was the name of a laptop that used to use the wireless adapter that is now in my laptop. All I can guess (cause I'm no expert) is that the router was assigning the same IP address that Brian2 used to get (because of the same mac address) and that was somehow messing up the laptop.

I am concerned that laptop renamed itself to Brian2 without any interaction from me. What fixed the problem was having the router assign my mac address a different ip (using static dhcp), and no more problems.

Could anyone tell me why that occured? The Brian2 laptop is just sitting here in my office not being used.
 
  


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
Linksys WPC54G with WPA Lin-For-All Linux - Wireless Networking 1 06-23-2005 12:33 PM
WPC54G v1 and Fedora Core 3 BFEINZIMER Linux - Wireless Networking 2 01-27-2005 07:21 AM
Fedora Core 2 Help Needed 74039186 Fedora 14 07-10-2004 11:42 PM
wpc54g + fedora core 2 + ndiswrapper chien_11 Linux - Wireless Networking 1 06-25-2004 12:30 PM
Fedora Core 2 test 3 not initilizing WPC54G linksys wireless card awejevlen Linux - Newbie 4 05-03-2004 06:45 AM

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

All times are GMT -5. The time now is 02:04 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