Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-31-2009, 09:31 PM   #1
Registered: Jan 2005
Posts: 244

Rep: Reputation: 43
dhclient ?

I installed FC10 on a laptop, but the wireless card isn't being detected correctly. It works though to run the following commands manually:

ifconfig wlan0 up
iwlist wlan0 scan

Then take the output from the previous command and determine what network you to connect to and then issue a:

iwconfig wlan0 essid <network>

and then finally issue a:

dhclient wlan0

Well I tryed to put all of this into a Lazarus Program ( and it all works pretty well except for dhclient. dhclient pretty much hangs, should I be putting a -c in front of the command or do I need to do something more?

Thx in advance.
Old 03-31-2009, 11:37 PM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
If you run dhclient manually (not as part of your script), does it throw up any errors? Is dhclient.conf set up properly?
Old 04-01-2009, 06:47 AM   #3
Registered: Jan 2005
Posts: 244

Original Poster
Rep: Reputation: 43
Yes it runs fine from the command prompt. I am assuming that the variables built into the command prompt are the problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dhclient greengrocer Linux - Newbie 1 10-27-2005 07:22 PM
dhclient laurentwahl Linux - Wireless Networking 6 05-30-2005 12:35 AM
I need dhclient but there is no one g-string 3 Linux - Networking 2 05-19-2005 03:42 PM
dhclient and 2.4.23 townfool Linux - Networking 1 12-16-2003 04:40 PM
dhclient helloworld Linux - Networking 2 03-06-2001 07:57 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:36 AM.

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