Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
debugging dhcpcd?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Thu Sep 22, 2005 7:02 pm    Post subject: debugging dhcpcd? Reply with quote

I have problem running dhcpcd with the access point at home, and I don't know how to debug it by reading the error log...caz I don't know where it is...

It could be a kernel problem, but here's the deal:
I have two kernels currently compiled in my system 2.6.11-nitro1 and 2.6.12-nitro5

with nitro1 everything works....
with nitro5 (and hence the ipw2200 driver that comes with it) everything works in school (no encryption and such), but at home (with WEP -- I tested it with) wpa_supplicant is able to associate with the access point but dhcpcd just timed out....

I added dhcpcd_eth1 = "-d -t 60" in /etc/con.f/net, but the only extra line it prints out is the mac address of the ipw2200 card...

I also read man dhcpcd, in which it suggested adding "local0.* /var/log/dhcpcd.log" to syslog.conf, then I realize that I don't have syslog, but syslog-ng, which I don't quite know how to use...

Help please?
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Sep 23, 2005 1:58 pm    Post subject: Reply with quote

Nitro is unsupported. Try with a gentoo-sources build kernel.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
m_sqrd
Guru
Guru


Joined: 18 Jul 2005
Posts: 367

PostPosted: Fri Sep 23, 2005 3:35 pm    Post subject: Reply with quote

mathfeel,

for info on configureing syslog-ng see:
http://www.gentoo.org/doc/en/security/security-handbook.xml?part=1&chap=3#doc_chap4

Quote:

With this flag dhcpcd will syslog(LOG_DEBUG,...)

so if you set up you syslog-ng.conf file like the above doc's your output will be in the /var/log/debug file.
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Mon Sep 26, 2005 9:37 pm    Post subject: Reply with quote

nixnut wrote:
Nitro is unsupported. Try with a gentoo-sources build kernel.


I am not asking for support for Nitro. I am asking how can I log dhcpcd so that I can figure this out.
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum