LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-17-2005, 07:47 PM   #1
vu_t_nguyen
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Rep: Reputation: 0
No IP Address while Using DHCP


The system spec is SUSE 10 running on a Dell Inspiron 1200 with a old Compaq wireless card.

The wireless card is recognized by Linux. No problem there. No need for ndiswrapper.

While the laptop is booting up, I notice a message saying "DHCP client not running". However, after logging in, I do a "ps aux | grep dhcp" and get the following:

/sbin/dhcpcd -C -D -K -N -t 999999 -h Inspiron1200 -c
/etc/sysconfig/network/scripts/dhcpcd-hook wlan0

My question is do I have a dhcp client running or not? The problem is I am not getting a dynamic IP address from my router. I have to use a static IP.

Please help with some hints. Thank you.
 
Old 12-18-2005, 12:55 PM   #2
cybrog
Member
 
Registered: Oct 2005
Location: Earth
Distribution: Slackware 10.2
Posts: 60

Rep: Reputation: 15
Have you tried running dhcpcd after startup?
Code:
dhcpcd -d -t 10 wlan0
 
Old 12-18-2005, 03:54 PM   #3
vu_t_nguyen
LQ Newbie
 
Registered: Mar 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Thank you for your reply.

By trialing and erroring, I am finally able to do dynamic IP by doing the following steps:

1. Uninstalling wap_supplicant. Suse 10.0 installed and ran wap_supplicant by default. I don't have WAP, only WEP. Before the uninstallation, I had to do "iwconfig wlan0 essid string key string" manually to get a connection with my router.

At this point I still had to do static IP.

2. Do "route add default gateway GatewayIPAddress" to finally be able to do dynamic IP.
 
  


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
dhcp no ip address and netmask dont match route address pengy666 Linux - Wireless Networking 1 05-08-2005 09:33 AM
DHCP cannot get IP address friend3141 SUSE / openSUSE 4 01-28-2005 09:27 PM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
IP Address for /etc/hosts when using DHCP jimbo Linux - Networking 5 03-27-2004 06:59 PM
IP address / DHCP supersport Linux - General 1 11-01-2001 06:30 PM

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

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