LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-31-2009, 09:31 PM   #1
dmchess
Member
 
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 (www.lazarus.freepascal.org) 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
jdkaye
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?
cheers,
jdk
 
Old 04-01-2009, 06:47 AM   #3
dmchess
Member
 
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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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