View previous topic :: View next topic |
Author |
Message |
ventricle Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1970514853f32042591a35.gif)
Joined: 04 Apr 2003 Posts: 305 Location: UK/Australia
|
Posted: Tue Apr 06, 2004 8:53 am Post subject: dhcp |
|
|
I use static ip's for home, but when I bring laptop to work, it is dhcp. I have changed some settings in /etc/conf.d/net to use dhcp, but eth0 won't start.
Is there someway to make the network look at the dhcp server? I'm not really sure what to do to get it to work. I've read a lot of posts, but none seem to have the answer. _________________ [LRU] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Cocker68 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 16 Jan 2003 Posts: 227 Location: Germany
|
Posted: Tue Apr 06, 2004 9:14 am Post subject: |
|
|
Being at Your workplace just boot-up Your notebook like always, plug in the LAN-cable, and as root invoke- Cocker :wq
Last edited by Cocker68 on Tue Oct 05, 2004 8:00 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kpack Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 29 Mar 2004 Posts: 137
|
Posted: Tue Apr 06, 2004 12:34 pm Post subject: |
|
|
Stupid question, but, are you sure you're running a DHCP server at home?
Have you installed and configured dhcpd or do you have a broadband router that provides a dhcp server? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kpack Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 29 Mar 2004 Posts: 137
|
Posted: Tue Apr 06, 2004 12:35 pm Post subject: |
|
|
Never mind my prior stupid reply. I didn't read your post carefully enough. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SuperSheep Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/145508675140747968d841a.gif)
Joined: 06 Apr 2004 Posts: 133 Location: South London, England
|
Posted: Tue Apr 06, 2004 8:50 pm Post subject: |
|
|
Perhaps your workplace uses some form of authorisation - probably by MAC address. You might want to talk to your IT/Networks guy and ask him.
My university does MAC authorisation, preventing you from getting an IP via DHCP until you've registered your MAC address. When you register, they make you update Windows with security fixes, and virus scan the machine - I guess this is all to prevent security breaches on the much less secure internal network of uni. _________________ http://www.bash.org/?65749 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ventricle Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1970514853f32042591a35.gif)
Joined: 04 Apr 2003 Posts: 305 Location: UK/Australia
|
Posted: Wed Apr 07, 2004 7:25 am Post subject: |
|
|
Nope, no mac address stuff. (I was able to use suse yast when it was installed once to automatically do it).
I tried dhcpcd -n but this didn't work. I end up with nothing (in fact, what /var/log/messages ends up saying is that it timed out waiting for a valid dhcp server response).
How does it know which dhcp server to use? Does it need to know? _________________ [LRU] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
netapex n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jun 2004 Posts: 7
|
Posted: Mon Jun 28, 2004 5:50 am Post subject: |
|
|
Not sure if this will help you or not, but type dhcpcd eth0 as root and see if it works for you then. After a few long days of searching I found that to be the reason dhcp wasn't working for me. After typing that, I was issued an ipaddress and the world was once again within my grasp. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|