LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-13-2009, 01:22 PM   #16
sheep
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware 12.2
Posts: 10

Original Poster
Rep: Reputation: 0

sorry to bother you again :-)
This is exactly what I don't understand. My rc.inet1.conf file looks the same as in your example. dhcp is enabled (=yes). At the moment I am setting the route manually every time again. Why does it not work with the conf-file? (I was reading the suggested wiki prior to the thread here but found no solution).
best,
s
 
Old 06-13-2009, 01:29 PM   #17
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
sorry to bother you again :-)
You're not ! Anyway - a little test first. Get connected to your WAP and, as root, run "dhcpcd wlan0" and see what happens.
 
Old 06-13-2009, 02:03 PM   #18
sheep
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware 12.2
Posts: 10

Original Poster
Rep: Reputation: 0
It says:
Quote:
**** dhcpcd: already running
**** dhcpcd: if not then delete /etc/dhcpc/dhcpcd-wlan0.pid file
not quite sure what that means...
 
Old 06-13-2009, 02:11 PM   #19
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231
OK - try :
Code:
dhcpcd -k wlan0
dhcpcd wlan0
If no joy (sometimes I cannot get the DHCPCD process to die) you may have to reboot (groan) !
 
Old 06-13-2009, 02:17 PM   #20
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Hmm. I wasn't aware of the -k option in dhcpcd. Perhaps I should start using that. I usually do:
killall -HUP dhcpcd

If it doesn't work, I use killall -9 dhcpcd and delete the file as the error message said. I've never had to reboot because of dhcpcd.

</Interrupting>
 
Old 06-13-2009, 02:23 PM   #21
sheep
LQ Newbie
 
Registered: Jun 2009
Distribution: Slackware 12.2
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bgeddy View Post
OK - try :
Code:
dhcpcd -k wlan0
dhcpcd wlan0
If no joy (sometimes I cannot get the DHCPCD process to die) you may have to reboot (groan) !
Okay... it seems the -k option worked and the process was killed. After dhcpcd wlan0 the system was DHCP broadcasting (without success - nothing happend and then there was a timeout).
 
Old 06-13-2009, 03:43 PM   #22
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
If it doesn't work, I use killall -9 dhcpcd and delete the file as the error message said. I've never had to reboot because of dhcpcd.
Hey - you have more patience than me ! I give it the three fingered salute if -k doesn't work.

Anyway - check that your router has DHCP set on and that it's OK to DHCP your Mac - i.e. look at the DHCP and wireless security settings.

Next i'd turn off any ecryption ~(WEP/WPA) as sometimes this can cause DHCP to hiccup. We can work towards security if this works.

The other problem solving route is to hard wire to the router (if possible) and try and DHCP an IP. That makes me think - are you statically setting the IP for the machine in question ? In other words it's not just faling on DNS and gateway assignations - is it ? Another solution is to statically set DNS/gateway ip's - this doesn't get to the bottom of the current fault though.

If at the end we can't figure this I'd just set all relevant addresses to be statically assigned on the client.

A few connected questions - can any other clients get DHCP functionality from the WAP (either differing machines or different OS's in a dual boot setup) ? If all this continues to fail we could always try WICD but I don't think that will progress this.
 
  


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
dhcp works but static only talks to the local net thadeausmaximus Linux - Networking 7 10-30-2006 02:16 AM
cableone.net DHCP on SuSE 9.1 LUB997 Linux - Software 1 07-18-2005 12:15 AM
dhcp problem no net!! Nz_Boy_2004 Linux - Distributions 10 12-12-2004 10:14 PM
Net access only works from behind the router! McBrain Linux - Networking 5 04-11-2004 05:58 AM
DHCP / Net Card Problems musicnut01 Linux - Networking 1 06-28-2001 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration