search for: netcfg

Displaying 20 results from an estimated 65 matches for "netcfg".

2019 Sep 26
1
[PATCH] builder: templates: set "unassigned" hostname
...templates/ubuntu.preseed | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/builder/templates/debian.preseed b/builder/templates/debian.preseed index 1f13eadbd..8c51fa7f9 100644 --- a/builder/templates/debian.preseed +++ b/builder/templates/debian.preseed @@ -71,7 +71,7 @@ d-i netcfg/get_domain string unassigned-domain # If you want to force a hostname, regardless of what either the DHCP # server returns or what the reverse DNS entry for the IP is, uncomment # and adjust the following line. -#d-i netcfg/hostname string somehost +d-i netcfg/hostname string unassigned-hostname...
2013 Nov 25
6
[PATCH/RFC OSSTEST] Debian PV netboot guest test
...eymaps-at/keymap select gb +d-i keyboard-configuration/xkb-keymap string en_GB + +#d-i debconf/frontend string readline + +d-i mirror/country string manual +d-i mirror/http/proxy string + +d-i clock-setup/utc boolean true +d-i time/zone string Europe/London +d-i clock-setup/ntp boolean true + +#d-i netcfg/disable_dhcp boolean true +d-i netcfg/get_nameservers string $c{NetNameservers} +#d-i netcfg/get_netmask string \$c{NetNetmask} +#d-i netcfg/get_gateway string \$c{NetGateway} +d-i netcfg/confirm_static boolean true +d-i netcfg/get_domain string $c{TestHostDomain} +d-i netcfg/wireless_wep string +...
2018 Jan 05
0
[PATCH v4 3/3] qemu: add linkspeed and duplex settings to virtio-net
...MTU, .end = endof(struct virtio_net_config, mtu)}, + {.flags = 1ULL << VIRTIO_NET_F_SPEED_DUPLEX, + .end = endof(struct virtio_net_config, duplex)}, {} }; @@ -89,6 +97,8 @@ static void virtio_net_get_config(VirtIODevice *vdev, uint8_t *config) virtio_stw_p(vdev, &netcfg.max_virtqueue_pairs, n->max_queues); virtio_stw_p(vdev, &netcfg.mtu, n->net_conf.mtu); memcpy(netcfg.mac, n->mac, ETH_ALEN); + virtio_stl_p(vdev, &netcfg.speed, n->net_conf.speed); + netcfg.duplex = n->net_conf.duplex; memcpy(config, &netcfg, n->co...
2018 Jan 05
5
[PATCH v4 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting
We have found it useful to be able to set the linkspeed and duplex settings from the host-side for virtio_net. This obviates the need for guest changes and settings for these fields, and does not require custom ethtool commands for virtio_net. The ability to set linkspeed and duplex is useful in various cases as described here: 16032be virtio_net: add ethtool support for set and get of settings
2013 Jan 17
1
[QEMU PATCH v3] virtio-net: introduce a new macaddr control
...ot;, \ } static QEMUMachine pc_machine_v1_3 = { diff --git a/hw/virtio-net.c b/hw/virtio-net.c index dc7c6d6..941d782 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -93,7 +93,8 @@ static void virtio_net_set_config(VirtIODevice *vdev, const uint8_t *config) memcpy(&netcfg, config, sizeof(netcfg)); - if (memcmp(netcfg.mac, n->mac, ETH_ALEN)) { + if (!(n->vdev.guest_features >> VIRTIO_NET_F_CTRL_MAC_ADDR & 1) && + memcmp(netcfg.mac, n->mac, ETH_ALEN)) { memcpy(n->mac, netcfg.mac, ETH_ALEN); qemu_format_nic...
2013 Jan 17
1
[QEMU PATCH v3] virtio-net: introduce a new macaddr control
...ot;, \ } static QEMUMachine pc_machine_v1_3 = { diff --git a/hw/virtio-net.c b/hw/virtio-net.c index dc7c6d6..941d782 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -93,7 +93,8 @@ static void virtio_net_set_config(VirtIODevice *vdev, const uint8_t *config) memcpy(&netcfg, config, sizeof(netcfg)); - if (memcmp(netcfg.mac, n->mac, ETH_ALEN)) { + if (!(n->vdev.guest_features >> VIRTIO_NET_F_CTRL_MAC_ADDR & 1) && + memcmp(netcfg.mac, n->mac, ETH_ALEN)) { memcpy(n->mac, netcfg.mac, ETH_ALEN); qemu_format_nic...
2005 Apr 26
3
A HowTo guide?
I've very new to this... what I want to achieve, is to have my clients network boot - and then be presented with a menu, allowing them *well, me* to choose what to do. Maybe, boot from the main hard disk, or boot a disk image from a samba share, or maybe even boot a CD image, instead of having the actual CD in the drive. Also, I would want to be able to change this menu, without actually
2013 Dec 11
29
[PATCH RFC V2 0/6] OSSTest: OVMF test job
RFC v2 of this series This series implements a basic test job for OVMF guest. The test case will install an OVMF guest and try to boot it. It is also possible to derive a debian HVM installation test case from ts-ovmf-debian-install - the only difference should be the BIOS option. I tested running the test script without specifying BIOS, it worked fine. I just didn''t figure out a
2010 Jan 16
0
Processed: tag ipv6 related packages
...port Added tag(s) ipv6. > tag 525290 +ipv6 Bug #525290 [axel] Axel doesn't do IPv6, error message is confusing Added tag(s) ipv6. > tag 520576 +ipv6 Bug #520576 [ifupdown] ifupdown: support for enabling/disabling IPv6 privacy extension Added tag(s) ipv6. > tag 509201 +ipv6 Bug #509201 [netcfg] Debian Installer does not work with IPv6 Bug #231003 [netcfg] Should include IPv6 support from the beginning Added tag(s) ipv6. Added tag(s) ipv6. > tag 498498 +ipv6 Bug #498498 [iproute] iproute: adding route blackholes doesn't work for IPv6 Added tag(s) ipv6. > tag 498297 +ipv6 Bug #49...
2010 Jan 16
0
Processed: tag ipv6 related packages
...port Added tag(s) ipv6. > tag 525290 +ipv6 Bug #525290 [axel] Axel doesn't do IPv6, error message is confusing Added tag(s) ipv6. > tag 520576 +ipv6 Bug #520576 [ifupdown] ifupdown: support for enabling/disabling IPv6 privacy extension Added tag(s) ipv6. > tag 509201 +ipv6 Bug #509201 [netcfg] Debian Installer does not work with IPv6 Bug #231003 [netcfg] Should include IPv6 support from the beginning Added tag(s) ipv6. Added tag(s) ipv6. > tag 498498 +ipv6 Bug #498498 [iproute] iproute: adding route blackholes doesn't work for IPv6 Added tag(s) ipv6. > tag 498297 +ipv6 Bug #49...
2013 Jul 18
0
Processed: dealing with old installation-reports and d-i related bugs
...ary files for kernel and initrd Bug reassigned from package 'debian-installer' to 'xen-utils-common'. No longer marked as found in versions debian-installer/20090123lenny4. Ignoring request to alter fixed versions of bug #560348 to the same values previously set > reassign 596667 netcfg Bug #596667 [debian-installer] debian-installer does not renew DHCP leases Bug #611108 [debian-installer] installation-report: Succesful install with some remarks Bug reassigned from package 'debian-installer' to 'netcfg'. Bug reassigned from package 'debian-installer' to ...
2014 Dec 11
0
[PATCH RFC v6 15/20] virtio-net: no writeable mac for virtio-1
...io-net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index d6d1b98..ebbea60 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -87,6 +87,7 @@ static void virtio_net_set_config(VirtIODevice *vdev, const uint8_t *config) memcpy(&netcfg, config, n->config_size); if (!virtio_has_feature(vdev, VIRTIO_NET_F_CTRL_MAC_ADDR) && + !virtio_has_feature(vdev, VIRTIO_F_VERSION_1) && memcmp(netcfg.mac, n->mac, ETH_ALEN)) { memcpy(n->mac, netcfg.mac, ETH_ALEN); qemu_format_nic_i...
2014 Dec 11
0
[PATCH RFC v6 15/20] virtio-net: no writeable mac for virtio-1
...io-net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index d6d1b98..ebbea60 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -87,6 +87,7 @@ static void virtio_net_set_config(VirtIODevice *vdev, const uint8_t *config) memcpy(&netcfg, config, n->config_size); if (!virtio_has_feature(vdev, VIRTIO_NET_F_CTRL_MAC_ADDR) && + !virtio_has_feature(vdev, VIRTIO_F_VERSION_1) && memcmp(netcfg.mac, n->mac, ETH_ALEN)) { memcpy(n->mac, netcfg.mac, ETH_ALEN); qemu_format_nic_i...
2010 Dec 28
1
Kickstart Network Configuration Issues
...echo "This script must be run as root" 1>&2 exit 1 fi # run system-config-network-tui /usr/sbin/system-config-network-tui # set variables eth0f="/etc/sysconfig/network-scripts/ifcfg-eth0" eth1f="/etc/sysconfig/network-scripts/ifcfg-eth1" netcfg="/etc/sysconfig/network" # turn on eth1 if it has an address, remove gateway.. shouldn't be set here # anyways if [ -f "\$eth1f" ]; then if grep -q "IPADDR" \$eth1f; then sed -i 's/ONBOOT=no/ONBOOT=yes/' \$eth1f sed -i '/...
2018 Jan 04
5
[PATCH v3 0/3] virtio_net: allow hypervisor to indicate linkspeed and duplex setting
We have found it useful to be able to set the linkspeed and duplex settings from the host-side for virtio_net. This obviates the need for guest changes and settings for these fields, and does not require custom ethtool commands for virtio_net. The ability to set linkspeed and duplex is useful in various cases as described here: 16032be virtio_net: add ethtool support for set and get of settings
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 2/7] userspace virtio
...VLANClientState *vc; + int can_receive; +} VirtIONet; + +static VirtIONet *to_virtio_net(VirtIODevice *vdev) +{ + return (VirtIONet *)vdev; +} + +static void virtio_net_update_config(VirtIODevice *vdev, uint8_t *config) +{ + VirtIONet *n = to_virtio_net(vdev); + struct virtio_net_config netcfg; + + memcpy(netcfg.mac, n->mac, 6); + memcpy(config, &netcfg, sizeof(netcfg)); +} + +static uint32_t virtio_net_get_features(VirtIODevice *vdev) +{ + return (1 << VIRTIO_NET_F_MAC); +} + +/* RX */ + +static void virtio_net_handle_rx(VirtIODevice *vdev, VirtQueue *vq) +{ + V...
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 2/7] userspace virtio
...VLANClientState *vc; + int can_receive; +} VirtIONet; + +static VirtIONet *to_virtio_net(VirtIODevice *vdev) +{ + return (VirtIONet *)vdev; +} + +static void virtio_net_update_config(VirtIODevice *vdev, uint8_t *config) +{ + VirtIONet *n = to_virtio_net(vdev); + struct virtio_net_config netcfg; + + memcpy(netcfg.mac, n->mac, 6); + memcpy(config, &netcfg, sizeof(netcfg)); +} + +static uint32_t virtio_net_get_features(VirtIODevice *vdev) +{ + return (1 << VIRTIO_NET_F_MAC); +} + +/* RX */ + +static void virtio_net_handle_rx(VirtIODevice *vdev, VirtQueue *vq) +{ + V...
2017 Dec 22
6
[PATCH 2/3] qemu: use 64-bit values for feature flags in virtio-net
In prepartion for using some of the high order feature bits, make sure that virtio-net uses 64-bit values everywhere. Signed-off-by: Jason Baron <jbaron at akamai.com> Cc: "Michael S. Tsirkin" <mst at redhat.com> Cc: Jason Wang <jasowang at redhat.com> --- hw/net/virtio-net.c | 54 +++++++++++++++++++++--------------------- include/hw/virtio/virtio-net.h |
2020 Aug 12
7
Samba DNS fails when queried with nslookup commands
Hello, ???? Having issues with a DC not responding to DNS requests. OS is Ubuntu 18.04.4 LTS. Samba version 4.12.2 compiled from source. Checking to see what is listening on port 53 reports; @soldc4:~# netstat -tulpn | grep ":53" tcp??????? 0????? 0 127.0.0.53:53 0.0.0.0:*?????????????? LISTEN????? 2935/systemd-resolv tcp6?????? 0????? 0 :::53 :::*??????????????????? LISTEN?????
2019 Feb 21
0
Error NT_STATUS_CONNECTION_REFUSED samba@lists.samba.org)
On Wed, 20 Feb 2019 17:21:18 -0500 samba.x.eliezer613 at spamgourmet.com wrote: > Hi, followed your github page. Near the end get... It's not my github page, it's Louis's >  cat /etc/netplan/01-netcfg.yaml > cat: /etc/netplan/01-netcfg.yaml: No such file or directory Cannot help you there, I always remove netplan, but perhaps Louis can comment. > > I am running ubuntu 18.04. Not sure if that is what your page is > about. You mean a document called 'full-howto-Ubuntu18.04-samb...