Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcp
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
ventricle
Guru
Guru


Joined: 04 Apr 2003
Posts: 305
Location: UK/Australia

PostPosted: Tue Apr 06, 2004 8:53 am    Post subject: dhcp Reply with quote

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
View user's profile Send private message
Cocker68
Apprentice
Apprentice


Joined: 16 Jan 2003
Posts: 227
Location: Germany

PostPosted: Tue Apr 06, 2004 9:14 am    Post subject: Reply with quote

Being at Your workplace just boot-up Your notebook like always, plug in the LAN-cable, and as root invoke
Code:
# dhcpcd -n
- Cocker :wq

Last edited by Cocker68 on Tue Oct 05, 2004 8:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
kpack
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2004
Posts: 137

PostPosted: Tue Apr 06, 2004 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
kpack
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2004
Posts: 137

PostPosted: Tue Apr 06, 2004 12:35 pm    Post subject: Reply with quote

Never mind my prior stupid reply. I didn't read your post carefully enough.
Back to top
View user's profile Send private message
SuperSheep
Tux's lil' helper
Tux's lil' helper


Joined: 06 Apr 2004
Posts: 133
Location: South London, England

PostPosted: Tue Apr 06, 2004 8:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
ventricle
Guru
Guru


Joined: 04 Apr 2003
Posts: 305
Location: UK/Australia

PostPosted: Wed Apr 07, 2004 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message
netapex
n00b
n00b


Joined: 20 Jun 2004
Posts: 7

PostPosted: Mon Jun 28, 2004 5:50 am    Post subject: Reply with quote

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
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