Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcp & wlan
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
drowwen
n00b
n00b


Joined: 12 Oct 2002
Posts: 22

PostPosted: Sat Jun 21, 2003 3:26 pm    Post subject: dhcp & wlan Reply with quote

Hi !

I have the following network configuration :

<Laptop with pcmcia-wlan>
|
|wireless
|
<wlan-AP> ALL in one subnet 192.168.1.0/24
|
|ethernet (TP)
|
<ethernet-switch> ----TP----- <DHCP-Server>

If I boot Windows (don't hurt me) my laptop get its IP address via the dhcp-server, which is in the ethernet segment; everything works ..

Under linux I can issue the following command with NO success.

> dhcpcd eth1
eth1 is my wlan-card which then blinks until the dhcp timeout reaches.

But instead of dhcp I'm able to initialize it manually with :
> ifconfig eth1 192.168.1.36 up
> route add default gw 192.168.1.2

Why doesn't dhcpcd reaches the dhcp-server, windoof seem to find it.

Any Ideas ?
Back to top
View user's profile Send private message
btsg
n00b
n00b


Joined: 11 Jun 2003
Posts: 16
Location: submanifold of euclidean space

PostPosted: Sun Jun 22, 2003 6:16 am    Post subject: try editing Reply with quote

/etc/conf.d/net

make sure you have a line like
Code:
iface_eth1="dhcp"

there is also a line for setting your default gateway, it sounds like you will also want to edit this. Hope this was helpful.
Back to top
View user's profile Send private message
Matje
l33t
l33t


Joined: 29 Oct 2002
Posts: 619
Location: Hasselt, Belgium

PostPosted: Sun Jun 22, 2003 6:26 am    Post subject: Re: try editing Reply with quote

btsg wrote:
/etc/conf.d/net

make sure you have a line like
Code:
iface_eth1="dhcp"

there is also a line for setting your default gateway, it sounds like you will also want to edit this. Hope this was helpful.

That file is only used by the net.eth1 init-script. dhcpcd eth1 should work without it. What you might want to try is run dhcpcd and then in another terminal run tcpdump -i eth1. This way you'll be able to see if packages are actually sent out and received. Are you sure you are using the right module for the card? When you've set it manually, can you actually ping the other machines on you network?
_________________
Life is like a box of chocolates... Before you know it, it's empty...
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