View previous topic :: View next topic |
Author |
Message |
drowwen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Oct 2002 Posts: 22
|
Posted: Sat Jun 21, 2003 3:26 pm Post subject: dhcp & wlan |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
btsg n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_7_-_Cloud.gif)
Joined: 11 Jun 2003 Posts: 16 Location: submanifold of euclidean space
|
Posted: Sun Jun 22, 2003 6:16 am Post subject: try editing |
|
|
/etc/conf.d/net
make sure you have a line like
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 |
|
![](templates/gentoo/images/spacer.gif) |
Matje l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Sun Jun 22, 2003 6:26 am Post subject: Re: try editing |
|
|
btsg wrote: | /etc/conf.d/net
make sure you have a line like
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 |
|
![](templates/gentoo/images/spacer.gif) |
|