Debian Installation :: Preseed Hostname Reconfiguration

Aug 25, 2014

I'm trying to create preseed configuration for debian. Currently I'm working with Debian version: 7 (wheezy), Installer build: 20130613+deb7u2+b1.

What I want to achieve is to have different network configuration than during installation.

I have two preseed files, one in intrd and the second that is fetched through http (url argument to kernel)

In the initrd file there are settings required to get dhcp network settings that will be used during installation:

Code: Select alld-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain

Then in the preseed file that is downloaded from network i have this:

Code: Select alld-i netcfg/choose_interface select auto
d-i netcfg/disable_autoconfig boolean true

d-i netcfg/get_ipaddress string 192.168.56.199
d-i netcfg/get_netmask string 255.255.255.0

[Code] ....

IP address settings work as expected, at the end of the installation netcfg runs again and when installed system boots it has static address set (.199). However hostname stays the same, it is not reconfigured.

I have tried many different combinations like removing get_hostname and get_domain options form initrd preseed and appending 'priority=critical' to kernel boot arguments but no matter what I do it always fails.

Is there any way to do this? I know that hostname can be set by hostname= krenel boot arg or by using dhcp option but I'd like to avoid this.

View 0 Replies


ADVERTISEMENT

Debian Installation :: Cannot Preseed Language / Country / Locate

Dec 14, 2014

I'm booting a usb stick with a custom initrd.gz, which contains a preseed.cfg at /. This preseed.cfg has the following initial lines:

d-i debian-installer/language string en
d-i debian-installer/country string BR
d-i debian-installer/locale string en_US.UTF-8

But the installer keeps asking for language/country/locale.

View 0 Replies View Related

Debian Installation :: Preseed : Keyboard Config Not Taken Into Account?

Jul 7, 2011

I'm trying to automate Squeeze 6 installation with preseed.cfg, but the keyboard configuration (fr) is not taken into account.Given the debconf logs, it seems that the language is set before preseed.cfg is read. So I added "console-keymaps-at/keymap=fr locale=fr_FR" to the syslinux.cfg kernel line.That skips the installer keyboard selection page. But in debconf logs I can seed "Setting debconf/language to en".What am I doing wrong ?Here are the related options I set in preseed.cfg. I can't find an exhaustive debconf options list, and their exact meaning ; does anyone know of one ?d-i debian-installer/locale string fr

# The values can also be preseeded individually for greater flexibility.
d-i debian-installer/language string fr
d-i debian-installer/country string FR

[code]....

View 1 Replies View Related

Debian Installation :: Preseed Install Of 8.2 Amd 64 Fails To Wait For DHCP

Oct 9, 2015

I've run into a situation where when performing a pxe/preseed install the system boots up into the install without issue, getting a dhcp address, then the installer begins to configure the network and it gets to where it request a dhcp address and it instantly fails the install stating that we are either not using dhcp or it's slow.

I've added d-i netcfg/dhcp_timeout string 600 to the preseed file but it doesn't seem to be honoured here since it doesn't wait 600 seconds before failing. I have 2 other identical systems that install using the same preseed file but the installer completes as expected. This system has no issues installing centos just debian fails. I did try, once the install failed, to switch to the console and run udhcpc and the server received the address reserved for it.

Is there a method to force debian installer to wait a bit longer for the dhcp server besides what I've already done?

View 0 Replies View Related

Debian Installation :: Get Preseed Working On A Bunch Of Machines With Multiple NICs?

Mar 15, 2011

I am trying to get preseed working on a bunch of machines with multiple NICs but it doesn't pick the right interface and/or gets "no link" on all interfaces. My PXE kernel line looks like so (I have auto=true priority=critical and interface=auto)

label squeeze
kernel debian-installer/squeeze/i386/linux
append vga=788 initrd=debian-installer/squeeze/i386/initrd.gz auto=true priority=critical ramdisk_size=10800 root=/dev/rd/0 rw url=example.com/d-i/squeeze/preseed.cfg interface=auto netcfg/dhcp_timeout=60

[Code]...

View 13 Replies View Related

Debian :: Browser Stopped Working After Reconfiguration Of Interfaces

Nov 5, 2015

My Iceweasel is not consistently opening pages. This is new behavior after changing the /etc/network/interfaces file for setting up bridging. The home page is advanced google search. When Iceweasel opens to google, I get a message saying the site is not secure and won't open it. Inputting [URL] ...., it takes about 90 seconds before it opens the site then freezes. If I go to forums.debian.net, the site is fully navigable, if I put anything in the Iceweasel search bar, it freezes.

View 3 Replies View Related

Debian Configuration :: Make Boot Partition Within LVM In Debian Usin Preseed?

Mar 16, 2011

I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.

### Partitioning.
# you can specify a disk to partition. The device name can be given in either
# devfs or traditional non-devfs format. For example, to use the first disk

[code]....

View 1 Replies View Related

Debian :: How To Make Boot Partition Within LVM In Debian Using Preseed

Mar 16, 2011

I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition. My preseed file is below:

code:

View 1 Replies View Related

Debian :: Make Boot Partition Within Debian Using Preseed ?

Mar 16, 2011

I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition. My preseed file is below:

code:

View 1 Replies View Related

Ubuntu Installation :: 10.04 Preseed - Incorrect CD-ROM

Jun 4, 2010

I'm trying to preseed a 10.04 install, and it's giving me a lot of trouble. I've been using [url] as a guide, but I can't seem to make it work.

I have ripped the x64 alternate install .iso to my hard drive, inserted the preseed files (details on this later) and remastered and burned the iso. When I put the disc into my test PC, it boots up to the CD, checks for English keyboard, enters my custom install option and then fails. It brings up a red screen that says, "Incorrect CD-ROM detected. The CD-ROM drive contains a CD which cannot be used for installation. Please insert a suitable CD to continue with the installation."

The way I've understood the documentation is that there are 2 files that needed edited, and one file that needs created: edit /isolinux/text.cfg, edit /isolinux/isolinux.cfg, and create /preseed.cfg

Here is what I currently have in those files:

Code:

Code:

Code:

The preseed.cfg is 95% copied from the ubuntu documentation, I've only made the changes that are necessary. I'll admit I do not know what most of the boot parameters in the /isolinux/text.cfg file mean.

View 5 Replies View Related

Ubuntu Installation :: Preseed No Network Interfaces Detected

Feb 17, 2010

I am trying to preseed the UBUNTU 9.04 x86 installer and everything else is okay except that for some systems, it says "No Network Interfaces found" with options as "Continue" and "Go Back". My network interface detection is set to "auto" in my preseed file. I want to remove this popup. Can someone please help with the correct line in preseed.cfg?

View 1 Replies View Related

Ubuntu Installation :: Ubiquity Asking For Cd With Packages On Custom - Preseed?

Aug 18, 2010

I just made a custom ubuntu, following these instructions [url], and it works great, but during the install ubiquity tries to check the cd for extra packages... and prompts an error... but it doesn't have any packages nor it is needed to have... i just want that ubiquity skips this instruction.... I'm guessing the correct pressed instruction will solve this, but I can't find any mention to this...

View 1 Replies View Related

Ubuntu :: Preseed Installation Asks Ready To Install?

Sep 21, 2010

I've generated a preseed for my Ubuntu Lucid installation, its loading ubiquity automatically (from kernel parm automatic-ubiquity) and it fills in all the values from the preseed file its given. However it displays the Ubiquity page "Ready to Install" (I am using the kubuntu ubiquity package) and I have to click the button install for it to start. How can I get it to skip this and just start installing?

View 1 Replies View Related

Ubuntu Installation :: Likewise Open Install With Preseed Not Working?

Jan 6, 2011

I'm having trouble installing likewise open through preseed.I'v used the example from https://help.ubuntu.com/10.04/instal...le-preseed.txt as the source of my preseed file.It works just fine installing openssh, smbfs and libpam-mount. Se the code below. But if I try adding likewise to the code below installation stops when the likewise package is starting to install.Quote:

# Individual additional packages to install
d-i pkgsel/include string openssh-server build-essential smbfs libpam-mount
# Whether to upgrade packages after debootstrap.

[code]....

View 1 Replies View Related

Ubuntu Installation :: Set The Kernel Parameters To Perform An Unattended Install Using Preseed File?

Oct 23, 2010

I would like to create an unattended install ubuntu 10.10 cd. I have followed the ubuntu [URL].. on creating the preseed file, however, I can't find any useful tutorial on how to set the kernel parameters to perform an unattended install using my preseed file.

View 1 Replies View Related

Slackware :: 13.0 - Wireless Card Stopped Working After Reconfiguration

Jan 30, 2010

After doing a reconfigure of my wrt54gl router, trying to activate WEP encryption, and then finding WICD wouldn't connect, and returning to the original config on the router, now wicd won't reconnect the wireless card. Here's the wicd.log entry from the attempt to connect:

Code:
2010/01/30 18:40:46 :: ifconfig wlan0 up
2010/01/30 18:40:46 :: iwlist wlan0 scan
2010/01/30 18:40:47 :: ifconfig eth0
2010/01/30 18:40:47 ::
2010/01/30 18:40:47 :: {}
2010/01/30 18:40:47 :: hidden
2010/01/30 18:40:48 :: scanning done
2010/01/30 18:40:48 :: found 4 networks:
2010/01/30 18:40:48 :: found use_settings_globally in configuration 1
2010/01/30 18:40:48 :: found afterscript in configuration None .....

View 3 Replies View Related

Ubuntu Installation :: Preseed-file Not Working As Expected On Lucid Desktop Install - Read

Jul 30, 2010

I have a problem to get it to work. The installer seems to read the preseed-file alright, and some of the values defined in the preseed-file are taken into account. The questions regarding locale, keyboard layout and time zone are answered using the preseed-file, but in the user account creation-step the process goes wrong. The Full name-field is obtained from the preseed-file, but the login-name is generated by the installer and not read from the preseed. Also the password-fields are empty and not filled in. Also the script that I've defined with preseed/late_command is never run.

I tried searching the forums but no-one had exactly this kind of problem, so it makes me think that this has to be some trivial error I'm doing. Could someone take a look at these configs and see if there's something wrong with them? How should I continue resolving this?

[Code]....

View 1 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

Jan 3, 2010

I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

View 7 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

Jul 29, 2010

I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.

Here's the not-so-quick-and-dirty description of the situation:

I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.

I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).

The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.

Every machine has an equivalent resolv.conf:

As an example, I will show the output of a handful of my development machines:

I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:

columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200

Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess

Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.

Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.

Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.

Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.

View 3 Replies View Related

OpenSUSE Install :: Set $HOSTNAME To Dynamically Update With The Hostname That Is Specified For The Ip In DNS?

Apr 6, 2010

How do I set $HOSTNAME to dynamically update with the hostname that is specified for the ip in DNS?

View 3 Replies View Related

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

May 24, 2010

I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

View 2 Replies View Related

Ubuntu Networking :: Hostname Changed But Email Still Using Old Hostname?

May 22, 2011

I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".

I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.

Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".

How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.

View 1 Replies View Related

Debian :: Trying To Change Hostname Through SSH

Apr 15, 2010

I tried to change hostname through ssh.
Old hostname = server1
New hostname = server1.domain.local

I changed the hostname by editing the /etc/hostname file
Old:
/etc/hostname
server1
New:
/etc/hostname
server1.domain.local

Then I executed /etc/init.d/hostname.sh, and get as below, looks OK!
hostname -f
server1.domain.local
hostname
server1.domain.local
hostname -s
server1

The logs are still just showing server1.
Example:
tail -f /var/log/auth.log
Apr 15 13:30:01 server1 CRON[22783]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 15 13:30:02 server1 CRON[22783]: pam_unix(cron:session): session closed for user root

Do I really have to reboot, or is this normal behaviour that it does not show the full hostname?

View 10 Replies View Related

Debian Configuration :: Ssh: Could Not Resolve Hostname

Apr 18, 2011

So I recently upgraded from Debian 5 to Debian 6 and now for some reason I cant SSH into my server FROM my server. All of the following fail with the same error:

[URL]

They all come back with: ssh: Could not resolve hostname 127.0.0.1: Name or service not known. I never actually tried this before upgrading so I'm not sure if its caused by the upgrade, but I would like to get this fixed. Also, ping with all of the above hostnames fails as well. I can SSH in from other computers and I can SSH out from the server. For whatever reason, I cant SSH from the server to the server though.

View 4 Replies View Related

Debian :: Check The Validity Of The Specified Hostname?

Apr 21, 2010

But, given that I've mixed some source and unstable packages in with my stable system, I'm now experiencing a few eccentricities (which really should make me swear off screwing around with my system, but, alas, I don't seem to learn from experience).

I digress. Anyway, in trying to play cdroms (with xplaycd and with kaffeine), it does not work. Kaffeine gives me the following feedback:

Code:
The host you're trying to connect is unknown.

Check the validity of the specified hostname. (unable to resolve)

PS, I am a member of both audio and cdrom.

View 1 Replies View Related

Debian :: Computer Not Sharing Hostname?

May 6, 2011

My server's hostname is 'cookhome'. I am wanting it to broadcast over my network so I can just use that name instead of the IP address, but it isnt working. I am unable to ping it from any other computer./etc/hosts

Code:
127.0.0.1 localhost
127.0.1.1 cookhome

[code]....

View 2 Replies View Related

Networking :: Ping Debian On Hostname

Mar 31, 2010

How I can ping my debian computers on their hostname?

I have installed both samba and winbind and I have also changed the line in /etc/nsswitch.conf to:

Hosts: files wins dns

I have done the same thing on another linux box (ubuntu) just to see if that worked and it did - I could ping it on the hostname.

Also, I have trid to add the ip/hostname in /etc/hosts and even that didn't work.

The /etc/resolv.conf seems to be as it should.

In the /etc/hostname the hostname is updated.

I have tried to restart the samba service and the networking service and even the entire computer but none of it worked.

View 2 Replies View Related

General :: Difference Between $HOSTNAME And $(hostname)

Jan 21, 2010

the difference between $HOSTNAME and $(hostname)?

View 5 Replies View Related

Debian :: Access System From Windows Box Using The Hostname?

Apr 20, 2010

On my Linux boxes, I can access another machine using hostname.local as the address. How can I do something similar from Windows (XP)?

View 2 Replies View Related

Debian Configuration :: Load A Webpage Gives A Cannot Resolve Hostname Error

Jun 11, 2010

Any attempt to load a webpage gives a Cannot Resolve Hostname error. i can ping [URL], but cannot load the page. However, the page will load by typing its IP address [URL] I have been trying to figure this out for days. cat /etc/resolv.conf nameserver 192.168.1.254

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved