DHCP is an auto configuration protocol used on IP networks.

learn more… | top users | synonyms

2
votes
1answer
107 views

How to handle DHCP on two network interfaces, one clobbers the other's /etc/resolv.conf

I have an embedded Debian Linux system. It has two network interfaces, eth0 and ppp0 via a cell modem. The problem I have is that when the system boots up it gets an address via DHCP on eth0. If ...
2
votes
2answers
475 views

Strip specific option from a response in dhclient

I aim to prohibit dhclient from updating my NTP config with servers received via DHCP, as it is the default on Debian/Ubuntu. However, my DHCP server ignores the list of requested options (from the ...
2
votes
1answer
211 views

Wireless network AND dhcp wired server

I have an ubuntu server, which automatically connects to a wireless network on startup. This is achieved through /etc/network/interfaces: auto lo iface lo inet loopback auto wlan0 iface wlan0 inet ...
3
votes
3answers
3k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
7
votes
3answers
1k views

How do I get NetworkManager to keep the same IP?

The DHCP-provided IP on my laptop changes periodically. It runs CentOS 6.5 and uses NetworkManager. My desktop, running Sabayon, on the same network, does not have this problem. How can I get ...
2
votes
1answer
439 views

Why is Debian hangs after DHCP?

This is my /etc/networking/interfaces file: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp iface eth0 inet6 auto And here is a picture of where it is hanging:      Source: ...
1
vote
1answer
347 views

Converting DHCP to static on ubuntu 12.0.4

I am trying to set up a static IP address for my new Ubuntu server. I have been trying to do some research and found information that got me started on this reference page. One thing that was ...
0
votes
0answers
34 views

How to use dhcpd on two network interfaces?

I have an embedded system that has Ethernet and wifi. I want to setit up in a way that it provides IP to both interfaces. The system uses BusyBox. and I an new in this area. can you provide a sample ...
1
vote
1answer
90 views

How to configure DHCP so that hostname is not sent?

A simialr question Host name on terminal changes when I connect internet : why? But since it was not resolved in my case so I am putting it here and asking in a different way. The answer given here ...
1
vote
1answer
2k views

Location of dhclient.conf

I need to check the client DHCP settings, which I expect to be in the file /etc/dhcp/dhclient.conf, but there is no such files there. What is the location of this file in RHEL 6, on 64 bit?
1
vote
0answers
501 views

dhcp settings wifi radar linux mint

I am trying to connect to my wifi network. Using the standard connection manager in linux mint 13 xfce was not a good idea. No wifi networks are shown there. and when I left-click on it, the wireless ...
0
votes
1answer
1k views

How do I set dhclient debug info on?

On a FreeBSD computer Is there a DHCP client log that I could use to debug a DHCP issue? Can I set a debug param to get more information from the dhclient? UPDATE 1: I found a lead on this article ...
1
vote
0answers
733 views

Getting Samba 4.1's “internal DNS” to update hostnames from dhcpd

Samba 4 comes with its own "internal DNS" which can be used rather than BIND. Since Samba 4's main new feature is AD replacement, I would figure that its DNS would function similarly to Windows ...
2
votes
1answer
1k views

DHCP IP lease attempt failed over ethernet and dhcp with netctl

My dhcp ethernet works fine in Windows but not in Arch Linux with netctl and dhcpcd. What am I doing wrong? Output of "ip link" 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state ...
5
votes
4answers
4k views

Fedora 20 - wifi hotspot almost work but something wrong

I have a Sony Vaio notebook with WiFi, and need to setup a hotspot (an ad-hoc one) under Fedora 20. I successfully did it under Debian and SuSE, but under Fedora I am struggling to understand the ...
3
votes
1answer
368 views

How to setup wireless AP with two wifi cards and ethernet as WAN on debian?

I'm trying to build wireless AP with 2 Atheros cards (AR5413 / AR5414 both), and one ethernet card to act as WAN. I am also having doubts if I should use ath5k or madwifi drivers. I've tried both ...
3
votes
3answers
625 views

Can I set my Debian box to use OpenDNS nameservers if it uses DHCP?

I have a Debian box with this in /etc/network/interfaces: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp auto wlan0 iface wlan0 inet dhcp wpa-ssid NetworkName wpa-psk NetworkPass and ...
1
vote
0answers
104 views

Arch Linux starting Wireless connection shuts down wired connection

When Im starting the wireless connection via SSH, as soon as th dhcp starts the connection(wired) to the computer stops working and the computer is only available on Wifi. Is that normal. Im using ...
1
vote
2answers
49 views

WLAN: get info about AP

I am troubleshooting WLAN connections from my laptop. I have several possible WLANs to connect to. When connection is established, I am unable to see to which AP I am connected. In my ...
0
votes
0answers
594 views

Connected to WiFi, no internet access - Linux Mint

I connect to a my AP and I get a message "Connect to ..." but I cant access the internet, nor ping anything exept my gateway. I tried changing the DNS Servers to google ones but with no use. Any ...
2
votes
1answer
184 views

Whonix no DHCP offer received

Hi I'm on the last step of setting up Whonix physical isolation and can't get the gateway to see the workstation. I'm confused because on the page linked below where it says 'Host Network' and 'NAT ...
1
vote
1answer
33 views

Measure time to get DHCP address?

Is there any tool or way to measure how much time your DHCP router needs to give you IP address? I'm sure that there is something, as it's pretty important when debugging network.
1
vote
0answers
85 views

What should be the right dhcp configuration for generating a new network over eth0?

Even not under a real server like scenario, I'm testing with dhcpd for learning and practice purposes. I'm using Ubuntu 12.04 LTS. I want to offer a network by my eth0 interface. I receive ip and so ...
0
votes
2answers
1k views

FATAL: Module p80211 not found. RTL8192CUS WLAN regression under antiX 13.1 (Debian Wheezy)

The problem concerns a driver support regression for the RTL8192CUS WLAN chip under antiX 13.1, a Debian Wheezy (stable) based distribution. The chip actually resides in a Edimax EW-7811Un 802.11n ...
1
vote
1answer
263 views

Executing a command after eth0 is available, but before DHCP client

I'm running Debian Weezy on an ARM board. Right now I'm working around an issue with my network driver by running an ethtool command that limits the Ethernet interface to 100 megabit. However, the ...
1
vote
1answer
405 views

Can I connet to internet with one PC and give over LAN (switch) internet to other PC?

I currently have one computer (it's called pc08 with Linux Mint 15) that is connected to the internet via WLAN. Now I want to install Arch Linux on another computer (lets call it archiso). I only ...
2
votes
2answers
659 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
2
votes
1answer
192 views

Determine the interface which was used for booting via PXE

I have a linux machine which was booted via PXE. Can I determine the network interface which was used for booting?
4
votes
2answers
10k views

Command to list assigned dhcp addresses

Is there a command I can use to ask the dhcpd server which addresses have been assigned?
0
votes
1answer
75 views

What is the pathname (the directory and file name) of the configuration file used for the DHCP client (not the server!)

(This question refers to the IPv4 client, not the IPv6 client.) (Hint: configuration files are kept under the directory /etc.) It is for a school assignment. I have to use man pages to find it. I ...
0
votes
1answer
493 views

How to force PC to release IP?

I'm working on BackTrack and I want to give a fake IP from my DHCP server to another PC. I'm trying to make that Windows PC run the command: ipconfig /release, but without remote access. I don't want ...
1
vote
2answers
366 views

Prevent dhcpcd from setting hostname

How to prevent dhcpcd from setting hostname got from server? Change of it breaks a lot of things (including X session). My current distribution is Gentoo, init system is systemd and dhcpcd is spawn ...
4
votes
1answer
2k views

Can't ssh to beaglebone?

After I did: route add default gw 192.168.7.1 I also changed /etc/resolv.conf: nameserver 192.168.7.1 in order to share internet between Ubuntu in VMware. I've got internet working but after a ...
3
votes
2answers
1k views

What is the simplest way to connect to wireless on a Debian system with nothing but essential?

I have a Debian Jessie system which, for reasons unrelated to this question, has nothing installed but the set of essential system packages. What is the simplest method for connecting to a wireless ...
1
vote
1answer
2k views

WiFi / WLAN: WPA2 authentication appears to be successful, but dhclient won't get a response

I'm trying to use a USB WiFi adapter to connect to a wireless router. I assume the adapter is brought to life with the correct driver, because # iwconfig gives some reasonable output: wlan0 IEEE ...
1
vote
0answers
273 views

Can't connect unsecured wifi from Wicd or terminal

I can connect without issue to WPA networks, but if I am somewhere like a hotel and try to connect to an unsecured WiFi, things hang at the DHCP part and I don't get an IP assigned. I'm running ...
3
votes
2answers
6k views

Renew IP with dhclient on different interfaces

I have two interfaces on my computer, eth0 and eth1. Both subnets have a DHCP server on them. How could I use dhclient to renew IP address for both interfaces? If I do: dhclient -r && ...
2
votes
1answer
1k views

dhcpcd can't startup at boot

when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable dhcpcd@eth0.service, after each boot it's inactive dhcpcd@eth0.service loaded ...
1
vote
2answers
8k views

Unable to set hostname for use within network

I am having a lot of trouble setting up a hostname for my home server for use within my home network. My home server is running Ubuntu 12.04 LTS and all packages are up to date. Management of this ...
0
votes
0answers
82 views

DHCP configuration for iPXE

Is there a way to configure the DHCP process in iPXE? In particular, I want to configure the DHCP Discover message sent by iPXE, so that the message issued by iPXE includes more options in Parameter ...
2
votes
1answer
1k views

Could not resolve host error

I'm using Arch Linux and I have a dynamic ip address with the use of dhcpcd. I can access websites through the google chrome but the problem is that I get 'could not resolve host' error when I run ...
6
votes
2answers
8k views

DHCPD ignoring my subnet declaration

eth0, my internal interface, has a static address of 10.0.0.1. I also have an interface, p4p1, acting as my external interface. If it matters, my external interface is not physically connected and ...
4
votes
0answers
139 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= ...
1
vote
1answer
149 views

Communication to device is lost when network starts on boot up?

I have an application that opens a socket on port 4444 to a device (/dev/linkToDevice). The "linkToDevice" is a link to ttyUSB0. The application is a c++ program of which is now a daemon and runs at ...
4
votes
3answers
1k views

Change default search name

My Ubuntu12 server VM is receiving its IP address from an DHCP server (actually my WLAN router called Fritz Box). Hence all domain names are resolved to machinename.fritz.box. The reason seems to be ...
1
vote
0answers
764 views

dhcpd on interface with multiple address and link labels (aliases)

I had been running a dhcp server on an old version of isc dhcpd circa 2005, 3.0 something. I just upgraded to ISC dhcpd version isc-dhcpd-4.1-ESV-R6. Before upgrading, the interface (eth0) had two ...
2
votes
2answers
2k views

Why does dhclient fail with my ISP's DHCP server on a virtual interface?

Recently I switched from a T1 to a residential cable service (Comcast). I have a virtual machine (XenServer 5.6) running Debian 6.0.6 that is acting as the default gateway for my home network, but for ...
3
votes
1answer
658 views

set VM IP address to be the same every time from DHCP on CentOS 5.6

I have an issue where, each time I start my CentOS 5.6 VM, DHCP (I believe) is allocating my VM a different IP. I have the VM mapped as a Samba share in Windows 7 and this changes between 192.168.0.8, ...
4
votes
2answers
319 views

What happens when I plug a Ethernet cable?

What happens when I plug in a Ethernet cable? I want to be able to see what's happening on the Level 2/3 (I believe the protocols I'm trying to watch is Ethernet, IP (v4 and v6) and DHCP for IP ...
1
vote
0answers
422 views

how to solve the problem of network DHCP when I install Debian?

I am trying to install Debian 6, but I have a problem every time I pass through the network part, it says cannot recognize the DHCP and couldnt connect to the network, so, I tried manually to ...